Safely request termination of a tracked detached process group using PID identity validation and a SIGTERM-to-SIGKILL grace period. Use only when the user asks to stop a job; critical repair, migration, firmware, or destructive jobs require explicit risk-aware approval and --force.
NewMaintained
Automatic
◆Coding pack
Last verified 9/4/2026
What it changes
4 of 22 test cases passed with the skill.
Pass-rate lift
—
Tokens
-43%
Agent turns
0%
Response time
-9%
Model gemini-3.6-flashMeasured 9/4/2026v24 of 22 cases passed with skill · 4 comparable
Tokens, turns and time describe resource use, not a dollar price.
Lift withheld: 4 comparable cases; this report requires 8.
See it in action
A test case the skill fixed. Same model, same prompt, with and without the skill.
Prompt
Stop active job job-7023 in this project. What command should be run, and what argument structure is used?
What was checked, without and with the skill
Checked
Without skill
With skill
Identifies node with scripts/claude-companion.mjs as the script runner command.
Missed
Passed
Specifies cancel followed by job-7023 as the argument format.
Missed
Passed
case-11 · gemini-3.6-flash · 9/4/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md12 linessingle file
Claude Code Cancel
Use this skill when the user wants to stop an active Claude Code job in this repository.
Resolve <plugin-root> as two directories above this SKILL.md file. Always run the companion from that active plugin root:
node "<plugin-root>/scripts/claude-companion.mjs" cancel $ARGUMENTS
Supported arguments: [job-id]
Output:
Present the companion stdout exactly as returned.
Do not add extra prose unless the command itself failed before producing output.