بنقرة واحدة
cancel
Cancel stuck or orphaned executions
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Cancel stuck or orphaned executions
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | cancel |
| description | Cancel stuck or orphaned executions |
| aliases | ["kill","abort"] |
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 executions
Trigger 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:
Determine which mode to use:
Run the appropriate CLI command using Bash:
Bare mode (interactive):
ouroboros cancel execution
This will list active executions and prompt for selection.
Explicit mode (specific execution):
ouroboros cancel execution <execution_id>
Cancel all mode:
ouroboros cancel execution --all
With custom reason:
ouroboros cancel execution <execution_id> --reason "Stuck for 2 hours"
Present results to the user:
End with a next-step suggestion:
📍 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:run
User: 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
Guided onboarding wizard for Ouroboros setup
Socratic interview to crystallize vague requirements
Socratic interview to crystallize vague requirements
Scan and manage brownfield repository/worktree defaults for interviews
Guided onboarding wizard for Ouroboros setup
Scan and manage brownfield repository/worktree defaults for interviews