src/claude/skills/dispatch/SKILL.md
Manage dispatches — list, read, fetch, reply, create, resolve
npx skillsauth add the-agency-ai/the-agency src/claude/skills/dispatchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Manage ISCP dispatches for inter-agent communication. Dispatches are indexed in the ISCP SQLite DB with payload files in git. All operations use integer dispatch IDs, not file paths.
$ARGUMENTS: Subcommand and arguments. One of:
list — list dispatches addressed to current agentlist --all — list all dispatches across agentslist --status <s> — filter by status (unread, read, resolved)list --type <t> — filter by typeread <id> — display dispatch payload and mark as readfetch <id> — read-only peek (no status change)reply <id> "message" — quick response to a dispatchcreate --to <addr> --subject <text> — create a new dispatchcreate --to <addr> --subject <text> --body <text> — create with inline contentresolve <id> — mark a dispatch as resolvedcheck — silent check for unread items (hook use)status <id> — show full dispatch recordIf empty, defaults to list.
Run bash $CLAUDE_PROJECT_DIR/agency/tools/dispatch list $ARGUMENTS and display results.
read <id> — displays the dispatch and marks it as read. Use when you're committing to process it.fetch <id> — displays the dispatch without changing status. Use to peek before deciding.Run bash $CLAUDE_PROJECT_DIR/agency/tools/dispatch read <id> or fetch <id>.
Summarize the content for the user.
Quick response to an existing dispatch. Auto-resolves the recipient from the original sender, prefixes subject with "Re:", and sets the in_reply_to FK.
bash $CLAUDE_PROJECT_DIR/agency/tools/dispatch reply <id> "Your response message"
Create a new dispatch. The --to address must be fully qualified (repo/principal/agent).
bash $CLAUDE_PROJECT_DIR/agency/tools/dispatch create --to <addr> --subject <text> [--body <text>] [--type <type>] [--priority <p>]
--body: writes a template payload (warns about placeholders — edit before committing)--body: writes the message as payload content (no template)Mark a dispatch as resolved, optionally linking a response dispatch:
bash $CLAUDE_PROJECT_DIR/agency/tools/dispatch resolve <id> [--response <id>]
Silent check for unread items. Returns JSON {"systemMessage": "..."} when items are waiting, silent exit 0 when empty. Used by the iscp-check hook.
Show the full record for a dispatch including timestamps, read_by, and payload path:
bash $CLAUDE_PROJECT_DIR/agency/tools/dispatch status <id>
dispatch list → see what's waitingdispatch fetch <id> → inspect without committingdispatch read <id> → commit to processing, marks as readdispatch reply <id> "message" → quick acknowledgment or responsedispatch resolve <id> → mark as doneDispatch payloads are resolved transparently across branches and worktrees. The resolution ladder: local worktree → main checkout → git show all branches → scan all worktree directories. You don't need to merge main to read a dispatch — just dispatch read <id>.
business
Sync worktree with master — merge, copy settings, run sandbox-sync, report changes
tools
List all git worktrees with status info (branch, clean/dirty, deps)
tools
Remove a git worktree and optionally delete its branch
development
Create a new git worktree with dedicated branch and bootstrapped dev environment