Claude Skill

cancel

Request cancellation of a running detached Codex bridge job.

LLM Mart · 0 points · 20 views 0 listing impressions 0 install-command copies
Download Borda-AI-Rig-plugins_bridge_cc-codex_claude-skills_cancel-9516720.zip · 0 KB

Install

skills CLI npx skills add https://github.com/Borda/AI-Rig/tree/main/plugins/bridge_cc-codex/claude-skills/cancel
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install borda-ai-rig@llmmart
Git git clone https://github.com/Borda/AI-Rig.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole borda/ai-rig collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Cancel a Bridge Job

Files (ai-rig)
  • SKILL.md 1.5 KB
    ---
    name: cancel
    description: Request cancellation of a running detached Codex bridge job.
    argument-hint: '[--workspace PATH] JOB_ID'
    allowed-tools: Bash
    effort: low
    ---
    
    <!-- Diagram: ../../assets/images/bridge-request-arch.svg (request lifecycle; documentation only, SKILL.md wins) -->
    
    # Cancel a Bridge Job
    
    <objective>
    Request cancellation of a detached Codex bridge job and report its lifecycle state without claiming termination.
    </objective>
    
    <workflow>
    
    Require one job identifier. Run `python "${CLAUDE_PLUGIN_ROOT}/bin/bridge_call.py" cancel --job-id "<job-id>"`; always pass the same `--workspace` value the originating detached call used, since a different or omitted value resolves to another default workspace. Report returned cancellation-request state; do not claim termination complete. On `cancel_requested`, direct caller to check `/bridge:status` or `/bridge:result` once when there is a reason to, never in a loop, for final state; the write-capable child may still be running until then. Any other returned state (`finished`, `cancelled`, `failed`, `stalled`) means nothing was left to cancel: report it and route to `/bridge:result`. When the originating call omitted `--workspace`, pass the absolute directory it ran from, never `.`. A `missing` result proves nothing about the job: mismatched workspace, a job that never existed, or one that finished and was pruned — report the possibilities rather than a termination claim; the job store cannot distinguish the last two. Preserve returned incident, transcript, or workspace-delta paths.
    
    </workflow>
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.