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/tzachbon/smart-ralph/cancelgit clone --depth 1 https://github.com/tzachbon/smart-ralphWrote 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/tzachbon/smart-ralph/cancel)<a href="https://agentmods.dev/commands/tzachbon/smart-ralph/cancel"><img src="https://agentmods.dev/badge/commands/tzachbon/smart-ralph/cancel.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.00007 | $0.00375 |
| Opus 5 | $0.00003 | $0.00187 |
| Sonnet 5 | $0.00001 | $0.00075 |
| Haiku 4.5 | $0.00001 | $0.00038 |
Grade A, and why
cancel 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 5d ago.
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
Cancel Execution
You are canceling the active execution loop and cleaning up state files.
Determine Target Feature
- If
$ARGUMENTScontains a feature name, use that - Otherwise, read
.specify/.current-featureto get active feature - If no active feature, inform user there's nothing to cancel
Check State
- Check if
.specify/specs/$feature/.speckit-state.jsonexists - If not, inform user no active loop for this feature
Read Current State
If state file exists, read and display:
- Current phase
- Task progress (taskIndex/totalTasks)
- Iteration count
Cleanup
-
Delete state file:
rm .specify/specs/$feature/.speckit-state.json -
Optionally clear current-feature pointer (ask user or skip if they specified feature directly)
-
Keep
.progress.mdas it contains valuable context
Output
Canceled execution for feature: $feature
State before cancellation:
- Phase: <phase>
- Progress: <taskIndex>/<totalTasks> tasks
- Iterations: <globalIteration>
Cleanup:
- [x] Removed .speckit-state.json
- [ ] Kept .progress.md (contains history)
To resume later:
- Run /speckit:implement to restart execution
- Progress file retains completed tasks and learnings
If No Active Loop
No active execution loop found.
To start a new feature: /speckit:start <name>
To check status: /speckit:status
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.
- 5d ago First seen · 67 lines · 7 tokens per session scan A 56cc02530713
cancel is a command published in the GitHub repository tzachbon/smart-ralph (532 stars, last pushed 2d ago), licensed MIT. It adds 7 tokens to every session and 375 once invoked, about $0.0000 per session on Opus 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-30.
Other commands, from other repositories
psm
/oh-my-claudecode:psm is a compatibility alias for /oh-my-claudecode:project-session-manager.
project
Generate project documentation (product.md, structure.md, tech.md, codemaps/).
version
Display current guide and Claude Code versions.
discover
Run a full product discovery cycle — from outcome definition through opportunity mapping, prioritisation, and experiment design. Use when the team isn't sure what to build next, or before writing a PRD for a complex feature space.
voice-compliance
Voice/telephony compliance check — invokes voice-ai-reviewer to produce TM-voice-{slug}.md with TCPA, STIR/SHAKEN, state recording-consent, EU AI Act Art. 50, and synth-voice deepfake-law gaps.
diff-docs
Compare official Anthropic docs baseline vs current snapshot (no network — instant).