Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/rbinar/cli-dispatchWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/rbinar/cli-dispatch/resume)<a href="https://agentmods.dev/commands/rbinar/cli-dispatch/resume"><img src="https://agentmods.dev/badge/commands/rbinar/cli-dispatch/resume/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/rbinar/cli-dispatch/resume"><img src="https://agentmods.dev/badge/commands/rbinar/cli-dispatch/resume.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00019 | $0.00984 |
| Opus 5.5 | $0.00008 | $0.00394 |
| Sonnet 5.5 | $0.00004 | $0.00197 |
| Haiku 4.5 | $0.00002 | $0.00098 |
Grade A, and why
resume scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Resume cli-dispatch session
Usage: /cli-dispatch:resume <session-id> <follow-up prompt>
Auto-detects backend (DeepSeek / Antigravity / Codex / OpenCode / Copilot / Ollama) from the session's status.json.
# The user's text is pasted into this script before bash parses it (never mention the
# placeholder in a comment: it would be pasted there too). A quoted heredoc keeps it unexpanded,
# so the follow-up reaches the worker byte-for-byte as ONE argument. `read`, not $(cat): bash 3.2
# mis-parses a lone quote inside $( ).
IFS= read -r -d '' ARGS <<'CLI_DISPATCH_ARGS_EOF_9f2c' || true
$ARGUMENTS
CLI_DISPATCH_ARGS_EOF_9f2c
ARGS="${ARGS%$'\n'}"
ARGS="${ARGS#"${ARGS%%[![:space:]]*}"}"
SID="${ARGS%%[[:space:]]*}"
PROMPT="${ARGS#"$SID"}"
PROMPT="${PROMPT#"${PROMPT%%[![:space:]]*}"}"
if [ -z "$SID" ] || [ -z "$PROMPT" ]; then
echo "usage: /cli-dispatch:resume <session-id> <follow-up prompt>"
echo "tip: /cli-dispatch:sessions to list session ids"
exit 1
fi
case "$SID" in */*|*\\*|*..*) echo "invalid session id: $SID"; exit 1 ;; esac
ROOT="${CLI_DISPATCH_SESSIONS_DIR:-${CLAUDE_DS_SESSIONS_DIR:-}}"
[ -n "$ROOT" ] || { _c="${XDG_CACHE_HOME:-$HOME/.cache}"; ROOT="$_c/cli-dispatch/sessions"; [ -d "$ROOT" ] || [ ! -d "$_c/claude-ds/sessions" ] || ROOT="$_c/claude-ds/sessions"; }
DIR="$ROOT/$SID"
if [ ! -d "$DIR" ]; then
echo "no such session: $SID (use /cli-dispatch:sessions to list)"
exit 1
fi
BACKEND=$(CLI_DISPATCH_SESSION_DIR="$DIR" node -e "
const fs=require('fs');
const d=process.env.CLI_DISPATCH_SESSION_DIR;
const read=p=>{try{return JSON.parse(fs.readFileSync(p,'utf8'))}catch{return{}}};
const s=read(d+'/status.json'), m=read(d+'/meta.json');
const b=s.backend||m.backend;
if(!b){process.stderr.write('warning: no backend field in session metadata, assuming deepseek\n');}
process.stdout.write(b||'deepseek');
" 2>/dev/null)
echo "session: $SID backend: $BACKEND"
printf 'prompt: %s\n' "$PROMPT"
echo ""
case "$BACKEND" in
deepseek|claude-ds|"")
claude-ds-stream --resume "$SID" -p "$PROMPT"
;;
antigravity|agy)
ag-agent --resume "$SID" "$PROMPT"
;;
codex|cx)
cx-agent --resume "$SID" "$PROMPT"
;;
opencode|oc)
oc-agent --resume "$SID" "$PROMPT"
;;
copilot|cp)
cp-agent --resume "$SID" "$PROMPT"
;;
ollama|ol)
CLAUDE_DS_BACKEND=ollama claude-ds-stream --resume "$SID" -p "$PROMPT"
;;
*)
echo "unknown backend '$BACKEND' — run manually:"
echo " deepseek: claude-ds-stream --resume $SID -p \"$PROMPT\""
echo " antigravity: ag-agent --resume $SID \"$PROMPT\""
echo " codex: cx-agent --resume $SID \"$PROMPT\""
echo " opencode: oc-agent --resume $SID \"$PROMPT\""
echo " copilot: cp-agent --resume $SID \"$PROMPT\""
echo " ollama: CLAUDE_DS_BACKEND=ollama claude-ds-stream --resume $SID -p \"$PROMPT\""
exit 1
;;
esac
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday Changed · +4 lines 75d688a3eaa3
- 12d ago Changed · +11 lines f55daf4f438a
- 1mo ago First seen · 73 lines · 19 tokens per session scan A fb87f92f9c17
resume is a command published in the GitHub repository rbinar/cli-dispatch (10 stars, last pushed today), licensed MIT. It adds 19 tokens to every session and 984 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
verify
Fidelity check — rebuild a page from the extracted tokens, pixel-diff it against the live site, and score how faithfully the tokens capture the design.
battle
Head-to-head graded battle card between two sites — eight dimensions, bar-by-bar, verdict line.
cli-anything-web:list
List all available CLI-Anything-Web CLIs (installed and generated).
zh
A short command that switches Claude Code to Simplified Chinese. It is handled locally by a command hook.
note
Add a note to the active task - progress, decisions, context. --session (aliases --snapshot, --pre-compact, --compact) writes a resume-grade session snapshot without ending the session. --team writes a fact or a decision into the standing team's file.
restaurant-snipe
Schedule a future reservation to book at the exact release time (e.g. 10am sharp when Resy slots open).