cancel-task

cancel-task is a command for Claude Code from fitlab-ai/agent-infra. It costs 5 tokens per session (71 once invoked), scanned A, original, MIT.

A task-cancellation command that reads and follows the cancel-task instructions in the project’s skill file.

In plain words
What is it for?
Use it when a coding task must be cancelled according to the project’s documented process.
Why use it?
It provides a defined way to stop a task and follow the project’s required cancellation steps.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

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.

agentmods
npx agentmods add commands/fitlab-ai/agent-infra/cancel-task
Clone the repo
git clone --depth 1 https://github.com/fitlab-ai/agent-infra

Made for: Claude Code.

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-task

README.md
[![agentmods](https://agentmods.dev/badge/commands/fitlab-ai/agent-infra/cancel-task.svg)](https://agentmods.dev/commands/fitlab-ai/agent-infra/cancel-task)
Your own site
<a href="https://agentmods.dev/commands/fitlab-ai/agent-infra/cancel-task"><img src="https://agentmods.dev/badge/commands/fitlab-ai/agent-infra/cancel-task.svg" alt="Measured on agentmods" height="20"></a>
Per session 5 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 71 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00005 $0.00071
Opus 5 $0.00003 $0.00036
Sonnet 5 $0.00001 $0.00014
Haiku 4.5 $0.00001 $0.00007

Measured 2d ago against content hash a5aeaa1e246d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

cancel-task 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 2d 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.

.claude/commands/cancel-task.md · 10 lines

What it actually says

读取并执行 .agents/skills/cancel-task/SKILL.md 中的 cancel-task 技能。

严格按照技能中定义的所有步骤执行。

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. 2d ago Changed a5aeaa1e246d
  2. 6d ago First seen · 10 lines · 5 tokens per session scan A 1dfed447b55a

Subscribe to this mod's changes

cancel-task is a command published in the GitHub repository fitlab-ai/agent-infra (83 stars, last pushed today), licensed MIT. It adds 5 tokens to every session and 71 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.

Related

Other commands, from other repositories

sdd

Gemini CLI command "sdd" from AsiaOstrich/universal-dev-standards, a project described as: Universal, language-agnostic development standards for software projects. Includes coding standards, git workflows, testing guidelines, documentation structure, and AI collaboration rules.

AsiaOstrich/universal-dev-standards · 0 tokens

atdd

Gemini CLI command "atdd" from AsiaOstrich/universal-dev-standards, a project described as: Universal, language-agnostic development standards for software projects. Includes coding standards, git workflows, testing guidelines, documentation structure, and AI collaboration rules.

AsiaOstrich/universal-dev-standards · 0 tokens

refactor

Gemini CLI command "refactor" from AsiaOstrich/universal-dev-standards, a project described as: Universal, language-agnostic development standards for software projects. Includes coding standards, git workflows, testing guidelines, documentation structure, and AI collaboration rules.

AsiaOstrich/universal-dev-standards · 0 tokens

journey-test

The /journey-test command turns a project description into a coherent user journey test plan (TESTPLAN-NNN.md) plus matching E2E skeletons, so a new project has a complete, ordered test journey from day one.

AsiaOstrich/universal-dev-standards · 0 tokens

bdd

Gemini CLI command "bdd" from AsiaOstrich/universal-dev-standards, a project described as: Universal, language-agnostic development standards for software projects. Includes coding standards, git workflows, testing guidelines, documentation structure, and AI collaboration rules.

AsiaOstrich/universal-dev-standards · 0 tokens

dev-workflow

Gemini CLI command "dev-workflow" from AsiaOstrich/universal-dev-standards, a project described as: Universal, language-agnostic development standards for software projects. Includes coding standards, git workflows, testing guidelines, documentation structure, and AI collaboration rules.

AsiaOstrich/universal-dev-standards · 0 tokens