BD session-sync
跨 Agent 会话同步(codex/hermes/dsh/zcode/workbuddy 等 agent → dsh 单向 + Markdown 归档)。当用户要"同步会话 / 导入会话 / 迁移会话 / 把 X 的会话搬到 Y / 归档会话 / 在 dsh 里继续另一家的会话"时使用。本目录即完整工具包:sync.py 为 CLI,AGENTS.md 为完整操作手册。 Cross-agent session sync — read chat history from 15+ AI coding agents (codex, Claude Code, openclaw, cursor, trae, Gemini CLI and more), import into dsh to continue conversations, plus Markdown archive export.
跨 Agent 会话同步(codex/hermes/dsh/zcode/workbuddy 等 agent → dsh 单向 + Markdown 归档)。当用户要"同步会话 / 导入会话 / 迁移会话 / 把 X 的会话搬到 Y / 归档会话 / 在 dsh…
As a process D 39/100 · Unfinished process — weak spots: result and completion, when it triggers, inputs and preconditions
What is at stake
Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
The skill contains commands that delete files, rewrite disks or execute code fetched from the network. The agent may run them without asking if it believes the instructions require it.
Replace destructive commands with safe equivalents that ask for confirmation, scope them to one folder, and stop piping curl into a shell: pin a version and a checksum.
How to improve
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 7
✓ No critical or high findings
Medium and low: 7
-
medium Dangerous commands
cmd-pipe-to-shellinstall.sh:34Downloads and executes remote code from an unrecognised host (pipe to shell) (code comment)# 脚本自身所在目录(curl | bash 管道执行时为空;旁边有 sync.py 则原地安装,不联网)
comment -
medium Dangerous commands
cmd-pipe-to-shell-known-hostREADME_EN.md:19Pipe-to-shell installer from a well-known host (still executes remote code)curl -fsSL https://raw.githubusercontent.com/Chendestiny/agent-session-sync/main/install.sh | bash
-
medium Dangerous commands
cmd-pipe-to-shell-known-hostREADME.md:30Pipe-to-shell installer from a well-known host (still executes remote code)帮我安装 agent-session-sync:curl -fsSL https://raw.githubusercontent.com/Chendestiny/agent-session-sync/main/install.sh | bash
-
low Secrets in code
secret-high-entropy-tokendocs/agents/pi.md:19High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- 文件名:`2026…9c-….jsonl`(时间戳_会话 uuid)
quoted -
low Secrets in code
secret-high-entropy-tokendocs/agents/workbuddy.md:22High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)`C:\Users\demo\WorkBuddy\2026-08-24-15-58-47` → `c-Us…-47`;
quoted -
low Dangerous commands
cmd-execpolicy-bypassinstall.ps1:5Runs PowerShell with execution policy bypassed (code comment)# powershell -ExecutionPolicy Bypass -File .\install.ps1
comment -
low Dangerous commands
cmd-pipe-to-shell-known-hostinstall.sh:5Pipe-to-shell installer from a well-known host (still executes remote code) (code comment)# curl -fsSL https://raw.githubusercontent.com/Chendestiny/agent-session-sync/main/install.sh | bash
comment
Files scanned: 78. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
description-no-whendescription does not say WHEN to use the skill (no "use when")
Process rating: all ten parameters 39/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Failures and branches. Linear process with no failure handling
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 1 mutating operations with no state check
- 40Consistency. Frontmatter name (session-sync) differs from the folder (agent-session-sync)
- 60Tools and files. Uses tools (python, node) that frontmatter does not declare
- 100Steps. 22 steps
- 100Execution cost. Instruction body is 1725 tokens
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- -32 of 2 scripts are never mentioned in SKILL.md
- +2Single-language instructions
- +3Description length 398: enough signal without eating the budget
- +4Structure: 6 headings
- +3Step-by-step instructions: 22 items
- +4Has examples (2 code blocks)
- +4Reference files are cited in the instructions (1 of 2)
- +1License stated
Quality base 70; lint remarks subtract, signals add up to 100. Result: 74.