About agent-deck
agent-deck is a skill guide for operating agent-deck sessions, aimed at agents that launch and coordinate coding work. It provides command guidance for session control, messaging, MCP attachment, and sub-agent workflows.
Key features
- 01Launch and manage sessions
- 02Send messages and inspect output
- 03Fork supported conversations
- 04Attach MCPs on request
- 05Launch and coordinate sub-agents
Use cases
- 01Starting a coding session for a project
- 02Checking a session’s latest response
- 03Assigning a task to a child agent
- 04Attaching an MCP to a session
MCP support
The skill documents how to list available MCPs, attach one to a session, and restart the session so it loads.
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ asheshgoplani/ agent-deck --skill agent-deckAfter installing, type/agent-deckin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
evals/evals.jsonRUNNER.mdreferences/autonomy.mdcapabilities.mdcli-reference.mdconductors.mdconfig-reference.mdgoal.mdgotchas.mdsandbox.mdself-improvement.mdsession-communication.mdsession-workflows.mdsub-agents.mdtroubleshooting.mdtui-reference.mdscripts/launch-subagent.shscripts/goal/goal.shmanager.pyscripts/goal/prompts/worker.mdscripts/goal/tests/test_manager.pytest_progress_gate.pytest_run_budget.pytest_worker_prompt.pyscripts/self-improvement/analyze-all-conductors.shbuild_manifest.pydistill.pyfile_issue.pyfile-issues.shlist_candidates.pyDetails
From the project READMEAgent Deck
Run
agent-deck --versionfor your installed version. This skill targets v1.16.11+; most patterns work back to v1.7. See Backward Compatibility for what needs ≥1.16.11.
Scripts
Helper scripts live in this skill's scripts/ folder. Resolve them from the base directory shown when the skill loaded, not from the user's project:
SKILL_DIR="/path/shown/in/base-directory-line"
$SKILL_DIR/scripts/launch-subagent.sh "Title" "Prompt" --wait
Plugin installs resolve to ~/.claude/plugins/cache/agent-deck/agent-deck/<hash>/skills/agent-deck/; a repo checkout resolves to <repo>/skills/agent-deck/.
Essential Commands
| Command | Purpose |
|---|---|
agent-deck | Launch interactive TUI |
agent-deck add -t "Name" -c claude /path | Create session |
agent-deck launch . -c claude --account <name> | Create and start a session under a named account slot |
agent-deck session start/stop/restart <name> | Control session |
agent-deck session send <name> "message" | Send message |
agent-deck session send <name> --message-file <file> | Send message from file (- = stdin); no shell quoting. Also on launch/session start |
agent-deck session command --json <name> "/compact" | Run a Claude Code slash command or skill (/model, /compact, /clear, /exit) safely and verify it; never via session send. session commands --json <name> lists them |
agent-deck session output <name> | Get bounded, ANSI-clean last response (JSON/quiet/copy preserve full source) |
agent-deck session children --json | Child sessions' live status + asserted completions (non-blocking, read-only) |
agent-deck session current [-q|--json] | Auto-detect current session |
agent-deck session fork <name> | Fork Claude/OpenCode/Pi/Codex/Oh My Pi conversation |
agent-deck mcp list | List available MCPs |
agent-deck mcp attach <name> <mcp> | Attach MCP (then restart) |
agent-deck status | Quick status summary |
agent-deck open report.html | Show an HTML report to the user in the macOS app Browser panel (works from remote sessions too) |
agent-deck add --worktree <branch> | Create session in git worktree |
Status: ● running | ◐ waiting | ○ idle | ✕ error
Every other command and flag is in cli-reference.md.
Rules
- Flags before arguments:
session start -m "Hello" name, notname -m "Hello". A flag that seems ignored is almost always in the wrong position. - MCPs on request only: attach one when the user asks, then
session restartit; attaching alone does not load it.--globalwrites Claude's config for every project; the default writes the session's.mcp.json. - Leave other sessions to work: read another session with a single
session outputorsession childrencall rather than a polling loop, which can interfere with the target. - State only the task in a child's prompt. Every session agent-deck launches already carries its identity (session id, title, parent, core commands, completion sentinel;
$AGENTDECK_IDENTITY_FILEfor custom--cmd), so a prompt need not explain who the child is or how to reach its parent. Opt out with--no-identityor[launch] inject_identity = false; gemini also needs its identity folder trusted (documentation/HARNESS_IDENTITY.md).
Configuration
$XDG_CONFIG_HOME/agent-deck/config.toml (default ~/.config/agent-deck/config.toml; legacy ~/.agent-deck/config.toml still honored). Every option is in config-reference.md.
Where to Look Next
Read the matching reference before acting on anything beyond the commands above.
| When the task involves | Read |
|---|---|
What agent-deck and each session's CLI (claude, codex, gemini) can do; choosing the -c tool for a child | capabilities.md |
Sessions messaging each other, send delivery guarantees, output, children, inbox drain, handoff, send pitfalls | session-communication.md |
Launching a sub-agent (launch-subagent.sh), retrieval modes, worker prompt conventions, the ===AGENTDECK_DONE=== completion sentinel, consulting Codex or Gemini, root-level peers (-no-parent) | sub-agents.md |
| Fanning out several children and supervising them non-blockingly | fleet skill |
Conductors (conductor setup), Telegram/Slack channels, watchers (webhook, GitHub, ntfy, Slack) | conductors.md, then documentation/WATCHERS.md for custom watchers |
Context inspection (session context), worktrees, scratch sessions (try), runtime health (health, dead letters, remote update --from-build), recall hints and search, session sharing, switching a session to another Claude account | session-workflows.md |
| Self-improvement (transcript mining), goals (goal-driven worker autonomy), trust-but-verify for completion claims | autonomy.md, then self-improvement.md or goal.md for the deep dive |
Using agent-deck as a daemon supervisor (it is not one), known gotchas and workarounds (--no-wait Enter fallback, text file busy, -c "claude <subcommand>", config drift, channel subscription, Telegram conductor topology, v1.9.x findings), and what needs a deck newer than 1.16.11 | gotchas.md |
| TUI keys, dialogs, search, and layout | tui-reference.md |
| A session in error, MCPs not loading, diagnostics, getting help, or filing a bug | troubleshooting.md |
| Docker sandboxed sessions | sandbox.md |
Durable session hints and tags, the cross-harness transcript index, recall context --into current, federated search, the recall MCP server | recall skill |
| Exporting or importing a session for another developer | session-share skill |
| User-level vs pool skills, attaching and detaching skills | documentation/SKILLS.md |
| Fixing agent-deck itself and opening a PR | .github/skills/agent-deck-contributor/SKILL.md in an agent-deck checkout; it mirrors the PR intake gate and runs tests sandboxed |