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.
npx agentmods add commands/d-o-hub/github-template-ai-agents/resumegit clone --depth 1 https://github.com/d-o-hub/github-template-ai-agentsWrote 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/d-o-hub/github-template-ai-agents/resume)<a href="https://agentmods.dev/commands/d-o-hub/github-template-ai-agents/resume"><img src="https://agentmods.dev/badge/commands/d-o-hub/github-template-ai-agents/resume.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.00434 |
| Opus 5 | $0.00000 | $0.00217 |
| Sonnet 5 | $0.00000 | $0.00087 |
| Haiku 4.5 | $0.00000 | $0.00043 |
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
Resume a previous session by loading state from plans/_status.json and the specified handover reference.
Description
This command allows an agent to quickly re-orient itself by reading the current planning state, loading the last handover notes, and identifying the active plan and its current phase.
Usage
/resume
Logic
-
Read
plans/_status.json:- Identify the
active_plan(if any). - Read the
phasesarray to determine completed vs. in-progress steps. - Extract the
handover_refpath.
- Identify the
-
Load Handover:
- If
handover_refexists and points to a valid file (e.g.,plans/handovers/session-XYZ.md), read its content. - Handover files should contain critical context, pending blockers, and immediate next steps not captured in the GOAP plan.
- If
-
Synchronize State:
- Load
plans/GOAP_STATE.md(or theactive_planfile) and determine the last✅ Completephase. - Cross-check against the
_status.json.phasesarray. - If they diverge, prefer
GOAP_STATE.mdas source of truth and flag the discrepancy. - Extract the current "todo" state and the next pending phase.
- Load
Example Output
🔄 Resuming Session...
📂 Status:
- Active Plan: plans/GOAP_STATE.md
- Current Phase: 3 (EXECUTE)
- Handover Ref: plans/handovers/session-2026-06-06.md
📝 Handover Context:
> "Finished Wave 2; Wave 3 docs normalization pending. CI is green on #504."
🎯 Next Steps:
1. Complete Phase 3 task: Normalize setup docs
2. Run quality gate
3. Finalize PR
Related Files
plans/_status.jsonplans/handovers/plans/GOAP_STATE.md
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 First seen · 56 lines · 0 tokens per session scan A 61468e3df57d
resume is a command published in the GitHub repository d-o-hub/github-template-ai-agents (2 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 434 tokens. 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-09-03.
Other commands, from other repositories
paul:progress
Smart status with routing - suggests ONE next action.
statusbar-style
Switch the status-bar style (classic / capsule / hairline).
statusbar-doctor
Run cs doctor to diagnose why the status bar isn't showing what you expect.
statusbar
Show current status-bar config and list available styles + themes.
context-stats
Display context window usage and token statistics.
generate-command
Génération Commande Symfony.