cancel

cancel is a skill for Claude Code, Codex from shousper/claude-kit. It costs 87 tokens per session (673 once invoked), scanned A, original, MIT.

A skill for stopping an active story loop, an automated worker that repeatedly works on development tasks, and reporting the current board status.

In plain words
What is it for?
Use it to stop one worker’s loop or every loop, inspect the active story, and decide whether unfinished work should be completed or parked.
Why use it?
It provides a controlled way to halt ongoing autonomous work while showing what was being worked on and how much progress was made.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to stop one worker’s loop or every loop, inspect the active story, and decide whether unfinished work should be completed or parked.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shousper/claude-kit/cancel
Install

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.

Any agent
npx skills add shousper/claude-kit --skill cancel
Clone the repo
git clone --depth 1 https://github.com/shousper/claude-kit

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for cancel

README.md
[![agentmods](https://agentmods.dev/badge/skills/shousper/claude-kit/cancel/github.svg)](https://agentmods.dev/skills/shousper/claude-kit/cancel)
Your own site
<a href="https://agentmods.dev/skills/shousper/claude-kit/cancel"><img src="https://agentmods.dev/badge/skills/shousper/claude-kit/cancel/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.

agentmods 80×15 button for cancel

Your own site · 80×15
<a href="https://agentmods.dev/skills/shousper/claude-kit/cancel"><img src="https://agentmods.dev/badge/skills/shousper/claude-kit/cancel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 673 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00087 $0.00673
Opus 5.5 $0.00035 $0.00269
Sonnet 5.5 $0.00017 $0.00135
Haiku 4.5 $0.00009 $0.00067

Measured 1mo ago against content hash 8610c536b639, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 1mo 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.

shared/stories/skills/cancel/SKILL.md · 57 lines

How it starts

The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cancel Story Run

The escape hatch. Stopping is cheap, safe, and never loses work — say so, then do it.

Process

1. Stop the loop

Loops are per-session — stopping one worker's loop needs its session id (or run this from that worker's own session, whose harness adapter supplies it as STORY_SESSION_ID); stopping every loop on the board needs --all.

story loop status --json                # no session: lists every active loop on the board
story loop status --session <id> --json # one worker's loop — capture goal, iteration count, and stalls vs budget BEFORE stopping
story loop stop --session <id>          # stop that one worker's loop — returns {stopped: true|false}
story loop stop --all                   # stop every loop on the board

Report the goal, iteration count, and stalls-vs-budget from the status output. If status reports no active loop ({active: false}), say so and continue to the report — the human still wants the picture.

2. Settle the in-flight story

If this session has a claimed in-progress story, ask your human partner which of:

  1. Finish it — one last pass through gates and story done.
  2. Park it — story park <id> --question "Cancelled mid-work: <current state, what remains>".
  3. Release it — story update <id> --status todo (work stays on the story branch; the worktree remains for the next claimant).

Never decide silently, and never leave it dangling without asking — a dead lease is reclaimable, but the next worker wastes time re-discovering state.

3. Report the board

From story board (and story list --json where detail helps):

  • Counts: done / in-progress / in-review / blocked / todo.
  • Parked questions, verbatim, with story ids — these are the human's inbox.
  • In-review stories awaiting human review or PR merge.
  • Other sessions' active claims — do NOT touch them; their leases expire on their own.

What cancel is not

  • Not rollback: completed stories stay done; merged code stays merged.
  • Not teardown: worktrees, branches, config, and learnings remain — a future stories:work run resumes cleanly.
  • Not cleanup of other workers: parallel sessions keep running; stopping them means cancelling in THEIR sessions.

Read the full file on GitHub · 57 lines

Changes

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.

  1. 1mo ago Changed 8610c536b639
  2. 1mo ago First seen · 57 lines · 87 tokens per session scan A 68cd9a583ba7

Subscribe to this mod's changes

cancel is a skill published in the GitHub repository shousper/claude-kit (4 stars, last pushed 1mo ago), licensed MIT. It adds 87 tokens to every session and 673 once invoked, about $0.0003 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.

Related

Other skills, from other repositories