Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Cancel stuck or orphaned executions
.claude/skills/q00-cancel/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | 5% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 5% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -54% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 41% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 2% | 0% |
Cancel stuck or orphaned executions by session ID, cancel all running sessions, or interactively pick from active executions.
/ouroboros:cancel # Interactive: list active, pick one
/ouroboros:cancel <execution_id> # Cancel specific execution
/ouroboros:cancel --all # Cancel all running executionsTrigger keywords: "cancel execution", "kill session", "stop running", "abort execution"
This skill interacts directly with the event store (not via MCP tool) to emit cancellation events. It uses the CLI command under the hood.
Three modes:
execution_id): Cancels the specified execution immediately--all flag: Cancels every running or paused execution at onceWhen the user invokes this skill:
Bare mode (interactive): bash ouroboros cancel execution This will list active executions and prompt for selection.
Explicit mode (specific execution): bash ouroboros cancel execution <execution_id>
Cancel all mode: bash ouroboros cancel execution --all
With custom reason: bash ouroboros cancel execution <execution_id> --reason "Stuck for 2 hours"
📍 Cancelled — use ooo status to verify, or ooo run to start fresh📍 No active executions — use ooo run to start a new oneOnly sessions in running or paused status can be cancelled. Sessions that are already completed, failed, or cancelled are skipped with a warning.
If the event store database does not exist:
No Ouroboros database found at ~/.ouroboros/ouroboros.db.
Run an execution first with: /ouroboros:ouroboros-runUser: cancel that stuck execution
> ouroboros cancel execution
Active Executions
┌───┬──────────────────┬──────────────┬─────────┬─────────┬──────────────┐
│ # │ Session ID │ Execution ID │ Seed ID │ Status │ Started │
├───┼──────────────────┼──────────────┼─────────┼─────────┼──────────────┤
│ 1 │ sess-abc-123 │ exec-001 │ seed-42 │ running │ 2024-01-15 │
│ 2 │ sess-def-456 │ exec-002 │ seed-99 │ paused │ 2024-01-14 │
└───┴──────────────────┴──────────────┴─────────┴─────────┴──────────────┘
Enter number to cancel (1-2), or 'q' to quit: 1
Cancel session sess-abc-123 (running)? [y/N]: y
✓ Cancelled execution: sess-abc-123
📍 Cancelled — use `ooo status` to verify, or `ooo run` to start fresh| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 5,810 | 19,888 | +242% | 1 | 1 | 0% | 1,076 | 1,141 | +6% | 0 | 0 | — |
case-02 | fail→fail | 12,394 | 5,900 | -52% | 1 | 1 | 0% | 2,017 | 1,195 | -41% | 0 | 0 | — |
case-03 | fail→fail | 9,274 | 6,351 | -32% | 1 | 1 | 0% | 1,389 | 1,123 | -19% | 0 | 0 | — |
case-04 | fail→fail | 14,580 | 5,797 | -60% | 1 | 1 | 0% | 621 | 1,287 | +107% | 0 | 0 | — |
case-05 | fail→pass | 10,842 | 6,841 | -37% | 1 | 1 | 0% | 1,737 | 1,826 | +5% | 0 | 0 | — |
case-06 | pass→pass | 6,032 | 2,052 | -66% | 1 | 1 | 0% | 1,157 | 1,192 | +3% | 0 | 0 | — |
case-07 | pass→pass | 13,310 | 3,656 | -73% | 1 | 1 | 0% | 2,039 | 1,453 | -29% | 0 | 0 | — |
case-08 | fail→pass | 6,654 | 2,545 | -62% | 1 | 1 | 0% | 1,200 | 1,260 | +5% | 0 | 0 | — |
case-09 | fail→pass | 20,254 | 3,456 | -83% | 1 | 1 | 0% | 3,231 | 1,479 | -54% | 0 | 0 | — |
case-10 | fail→pass | 6,964 | 4,685 | -33% | 1 | 1 | 0% | 1,045 | 1,471 | +41% | 0 | 0 | — |
case-11 | fail→pass | 8,491 | 3,139 | -63% | 1 | 1 | 0% | 1,402 | 1,435 | +2% | 0 | 0 | — |
case-12 | fail→pass | 10,670 | 2,922 | -73% | 1 | 1 | 0% | 1,644 | 1,343 | -18% | 0 | 0 | — |
case-13 | pass→pass | 11,440 | 2,454 | -79% | 1 | 1 | 0% | 1,640 | 1,307 | -20% | 0 | 0 | — |
case-14 | pass→pass | 5,938 | 3,559 | -40% | 1 | 1 | 0% | 893 | 1,332 | +49% | 0 | 0 | — |
case-15 | pass→pass | 7,720 | 3,004 | -61% | 1 | 1 | 0% | 1,312 | 1,400 | +7% | 0 | 0 | — |
case-16 | fail→pass | 12,302 | 4,775 | -61% | 1 | 1 | 0% | 1,597 | 1,429 | -11% | 0 | 0 | — |
case-17 | pass→pass | 8,127 | 3,603 | -56% | 1 | 1 | 0% | 1,238 | 1,333 | +8% | 0 | 0 | — |
case-18 | fail→pass | 12,728 | 3,350 | -74% | 1 | 1 | 0% | 1,919 | 1,455 | -24% | 0 | 0 | — |
case-19 | fail→pass | 23,197 | 2,261 | -90% | 1 | 1 | 0% | 4,003 | 1,133 | -72% | 0 | 0 | — |
case-20 | fail→pass | 8,603 | 2,883 | -66% | 1 | 1 | 0% | 1,423 | 1,190 | -16% | 0 | 0 | — |
case-21 | fail→pass | 9,836 | 5,016 | -49% | 1 | 1 | 0% | 1,344 | 1,599 | +19% | 0 | 0 | — |
case-22 | fail→pass | 11,692 | 5,777 | -51% | 1 | 1 | 0% | 1,619 | 1,676 | +4% | 0 | 0 | — |
case-23 | pass→pass | 12,123 | 5,468 | -55% | 1 | 1 | 0% | 2,366 | 1,777 | -25% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted, and 20 counted toward the lift figure. The other 3 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +52 percentage points is the difference between those two pass rates over the 20 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.