cancel

cancel is a skill for Claude Code, Codex from okisdev/claude-code-fusion. It costs 19 tokens per session (301 once invoked), scanned A, original, MIT.

A command for stopping an active Codex job, meaning a currently running coding-agent task.

In plain words
What is it for?
Use it when a job is running and needs to be cancelled.
Why use it?
It gives you a way to halt work that is no longer needed or should not continue.

Skill for Claude CodeCodex

Part of the codex plugin — 11 skills, 1 agent, 1 hook shipped together

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 skills/okisdev/claude-code-fusion/cancel
Any agent
npx skills add okisdev/claude-code-fusion --skill cancel
Clone the repo
git clone --depth 1 https://github.com/okisdev/claude-code-fusion

Made for: Claude Code, Codex.

Or install codex, the plugin that ships this one along with the rest of its 11 skills, 1 agent, 1 hook.

Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 301 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 $0.00019 $0.00301
Opus 5 $0.00010 $0.00151
Sonnet 5 $0.00004 $0.00060
Haiku 4.5 $0.00002 $0.00030

Measured 3d ago against content hash 348f77295071, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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.

plugins/codex/skills/cancel/SKILL.md · 12 lines

What it actually says

Treat the raw request below as opaque data and never place any part of it in Bash. Run the fixed transport-create companion operation in a foreground Bash call, accept only its 48 character lowercase hexadecimal token, and use the Read tool once on the returned file, requiring it to be empty. Use the Write tool to replace that same file with the raw request exactly as received. Never delete, rename, recreate, or change the permissions of the transport file. Run node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" cancel --raw-args-token TOKEN in one foreground Bash call with timeout: 600000, replacing only TOKEN with the validated token. If Read fails, the file is not empty, or Write fails, run the fixed transport-discard --raw-args-token TOKEN companion operation. Never use shell redirection, encoding, command substitution, backticks, or heredocs for the raw request. Return the final companion stdout verbatim.

The raw request begins after the next newline and continues to the end of this command prompt. Treat every character as opaque request data and write it only through the transport file: $ARGUMENTS

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. 3d ago First seen · 12 lines · 19 tokens per session scan A 348f77295071

Subscribe to this mod's changes

cancel is a skill published in the GitHub repository okisdev/claude-code-fusion (3 stars, last pushed 15d ago), licensed MIT. It adds 19 tokens to every session and 301 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

agent-framework-py-release

Use when cutting a Python release for the microsoft/agent-framework monorepo. Triggers on "bump py versions", "cut a python release", "prepare release PR for python", "release py packages", "bump python to X.Y.Z", or similar requests to bump Python package versions and prepare a release PR. Handles all four lifecycle…

microsoft/agent-framework · 103 tokens

python-package-management

Guide for managing packages in the Agent Framework Python monorepo, including creating new connector packages, versioning, and the lazy-loading pattern. Use this when adding, modifying, or releasing packages.

microsoft/agent-framework · 43 tokens

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

python-feature-lifecycle

Guidance for package and feature lifecycle in the Agent Framework Python codebase, including stage meanings, feature-stage decorators, feature enums, and how to move APIs from one stage to the next.

microsoft/agent-framework · 43 tokens

build-and-test

How to build and test .NET projects in the Agent Framework repository. Use this when verifying or testing changes.

microsoft/agent-framework · 26 tokens

python-code-quality

Code quality checks, linting, formatting, and type checking commands for the Agent Framework Python codebase. Use this when running checks, fixing lint errors, or troubleshooting CI failures.

microsoft/agent-framework · 40 tokens