← ClaudeAtlas

passdownlisted

Transfer context from another coding agent session into the current session. Auto-detects runtime (Codex/Pi/Claude Code/DSH). Defaults to current directory — no parameters needed for same-repo handoff. Multi-runtime sessions merged by recency with focus filtering and deduplication. Trigger on: "agent handoff", "handoff", "接手上下文", "agent交接", "上下文切换", "attach session", "继续上一个agent的对话", "上次在这个目录做了什么". Also use after starting a fresh conversation to continue a focused thread without resuming the full old transcript.
yuanhaorannnnnn/agent-skills · ★ 0 · AI & Automation · score 72
Install: claude install-skill yuanhaorannnnnn/agent-skills
# Agent Handoff Like tmux attach for coding agents. Read a previous agent's raw JSONL session log, extract the essential user/assistant conversation, and inject it into the current context. passdown transfers context, not workspace ownership. For durable context and artifacts, follow the shared Canon contract: ```text /home/yhr/.agents/repos/agent-skills/references/canon-output-contract.md ``` ## Core Rule Transfer the conversation and relationship map, not the implementation files. The goal is to understand what the user was doing, what decisions were made, what artifacts matter, and what the next step is. When the handoff target (交接对象) is a GPT model and the source (被交接对象) is DeepSeek or Gemini, enforce `review + passdown`: perform a read-only audit on the pending handoff content and evidence before completing the handoff. ## Modes `--former` is optional. When omitted, auto-detects sessions from all four runtimes (Codex + Pi + Claude Code + DSH) and merges by recency. `--dir` defaults to current working directory when not specified. ### Same-directory handoff(最简) ```bash python3 <skill-dir>/scripts/extract_handoff.py --focus "<topic>" --json ``` Auto-detect runtime, default to current cwd. ### Fresh-conversation rollover handoff Start a fresh conversation in the same workspace, then invoke passdown with the source runtime and focus. Passdown performs the handoff; same-runtime rollover may archive the source under the contract below. ```text /passdown --former