/agterm:handoff [plan-file]from agterm
Hand off an implementation plan directly to a fresh agterm session running Claude or Codex. Explicit invocation only.
Ships in agterm. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Hand a plan straight to a fresh agterm session — the direct route from a
finished plan in docs/plans/ to a running implementation.
If an argument was given ($0), use it as the plan file path.
Otherwise, find the most recently modified plan:
Run: ls -t docs/plans/*.md 2>/dev/null | grep -v '/wbs-' | head -1
(this already excludes docs/plans/completed/, since *.md only globs
files directly under docs/plans/, not its subdirectories; grep -v
also excludes docs/plans/wbs-*.md epic-scope docs, which aren't
per-iteration implementation plans)
If step 2 produced no output (no .md files directly under docs/plans/),
tell the user there's no active plan to hand off and stop.
Verify the resolved path exists: test -f "<path>". If it doesn't, tell
the user the file wasn't found and stop.
Ask with AskUserQuestion — question "Which CLI should the new session run?",
header "Runtime", single-select, options:
claude process, matching this sessioncodex process (Codex CLI)Check the Step 2 answer before asking — do not default to the Claude tier list out of habit just because it's the familiar one. Codex gets its own, different question.
If Claude was chosen, ask with AskUserQuestion — question "Which model
should the new session use?", header "Model", single-select, options:
claude launches with by defaultMODEL is the lower-cased label, or an empty string for Inherit.
If Codex was chosen, ask with AskUserQuestion — question "Which model
should the new Codex session use?", header "Model", single-select, options:
-m flag; Codex uses whatever model it's
configured to use by defaultcodex --help or your ~/.codex/config.toml) via the "Other" free-text
choice; Codex has no built-in model tiers to pick from insteadMODEL is exactly what the user typed, or an empty string for Inherit.
Never guess or substitute a model name of your own.
Claude runtime only: call ListAgents first. Its first line reads
"This session is []"; PARENT_NAME is the bare <name>, without
the bracketed ref. The new session gets it as a plain "Spawned from" line so
it knows where it came from. If ListAgents isn't available or gives no name,
leave PARENT_NAME empty and hand off anyway.
bash "${CLAUDE_PLUGIN_ROOT}/scripts/HANDOFF_SCRIPT" "PLAN_FILE" "MODEL" ["PARENT_NAME"]
HANDOFF_SCRIPT is agterm-handoff.sh for the Claude runtime,
codex-handoff.sh for the Codex runtime (no PARENT_NAME: Codex has no
SendMessage).
# Claude, model chosen
... agterm-handoff.sh "docs/plans/2026-09-09-foo.md" "opus" "claude-dlc-8d"
# Claude, Inherit
... agterm-handoff.sh "docs/plans/2026-09-09-foo.md" "" "claude-dlc-8d"
# Codex, model chosen
... codex-handoff.sh "docs/plans/2026-09-09-foo.md" "gpt-5.1-codex"
# Codex, Inherit
... codex-handoff.sh "docs/plans/2026-09-09-foo.md" ""
The script checks agterm availability itself; don't pre-check. On non-zero exit, report its stderr and stop.
On success, the script's last stdout line is the new session's display name
(e.g. Implement: foo) — tell the user: implementation has been handed off
to a new agterm session with that name, running the chosen runtime (Claude or
Codex), as a companion under this session (noting the chosen model, unless
Inherit), and they can switch to it to watch or drive it directly. Stop completely.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub parmaster/claude-dlc --plugin agterm5 skills in this plugin
/mailbox-chatHold a back-and-forth conversation with the agent (Codex or Claude Code) running in the other pane of this agterm split, as peers, through agterm's pane mailboxes. Use when the user says "ask codex", "chat with codex", "talk to codex", "work with codex", "discuss this with codex", "ask codex what it thinks", "get a second opinion from codex", "chat with claude", "ask claude", "discuss this with claude", "work with the other pane", "ask the other agent", or when a prompt or hook message arrives starting with "[peer chat]". Not for handing a whole task to a new separate session (that is spawn-session)./overlayOpen a local HTML file or a URL in an agterm overlay floating over the current session. Activates on "open <file.html> in an overlay", "show <file.html> in agterm", "open <url> in an overlay". Markdown files and plans open with the webrev skill instead. Only for viewing inside agterm; running programs or any other terminal control belongs to the agterm skill./spawn-sessionHand off an arbitrary task to a freshly spawned, independent agterm session running its own `claude` or `codex` process — not a background subagent. Activates on "spawn a new session for this", "hand this off to a new session", "start a separate session for this job", "delegate this to a new terminal session", "run this in a separate/parallel session", "spin up a session for this slice", or when the user is slicing a larger job into pieces to hand off one at a time.Other plugins' skills for the same job