Skip to content
Back to skills

Status

ASecurity

Read a detached Codex bridge job's current state.

  • 31 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentspythongobashdocumentation

Works with

  • terminal

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add Borda/AI-Rig --skill status --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Status?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Status
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/borda-status/badge)](https://www.skillsdirectory.com/skills/borda-status)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: status
description: Read a detached Codex bridge job's current state.
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) -->

# Read Bridge Job Status

<objective>
Read a detached Codex bridge job's current state and route its next lifecycle action.
</objective>

<workflow>

Require one job identifier. Run `python -I "${CLAUDE_PLUGIN_ROOT}/bin/bridge_call.py" status --job-id "<job-id>"`; always pass the same `--workspace` value the originating detached call used; a different or omitted value can resolve to another default workspace and report `missing` for a job still running elsewhere. Return JSON status unchanged, then apply the routing below. One call per check, never wrapped in a `sleep`, `ScheduleWakeup`, `ListAgents`, or `Monitor` loop; any state other than `queued`, `running` or `cancel_requested` ends the wait.

`cancel_requested` does not end the wait — the supervisor and any write-capable child are still being torn down; the final state becomes `cancelled`. Terminal states: `finished`, `cancelled`, `failed` (the supervisor itself errored), `stalled` (supervisor gone, or still queued after 120 s), `missing`. For `failed` or `stalled` route the caller to `/bridge:result`; an `implement` job may already have edited files. When the originating call omitted `--workspace`, pass the absolute directory it ran from, never `.` — a later `cd` makes `.` another workspace. A `status=error` object (exit 2) is a refused lifecycle call, such as a malformed job id: report its `error`, never retry unchanged.

On Windows, `stalled` may never appear after supervisor PID reuse; the caller must retain the launch budget and dispatch time (`--timeout-seconds`, default 600 seconds for `implement` when the option was omitted), since the status payload does not carry the budget. Use a deadline of `--timeout-seconds` × 1.2 + 9 seconds termination/drain + 120 seconds startup grace, measured from dispatch. At that deadline, stop waiting and route to `/bridge:result`; report incomplete work if no result exists, and do not infer that the child has stopped or release ownership of paths an implement job may still be editing.

</workflow>

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.