cycle-status
Show cycle progress without changing it: one cycle, every cycle, the JSON document, or a view that redraws in a second terminal.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- cycle-status
- metadata
- { "tags": "cycles, status, progress, read-only", "bundles": "crux-docs", "triggers": "show cycle status | what's the status of CYC-NNNN | where are the cycles | list the cycles | watch the cycle | show the cycle dashboard", "risk_level": "low", "routing_note": "Read-only. Runs `cycle.py status` and shows its output; never advances or edits a cycle. The bare phrase \"cycle status\" routes to `cycle`.", "requires_access": "run-plugin-script" }
- description
- Show cycle progress without changing it: one cycle, every cycle, the JSON document, or a view that redraws in a second terminal.
03 SKILL.md 正文
Cycle Status
<!-- BEGIN GENERATED: runtime-compat -->
Runtime compatibility
This skill is portable across Claude Code, Codex, OpenCode, and OMP (Oh My Pi). This section overrides platform-specific labels below.
- Before running a command that uses
CRUX_PLUGIN_ROOT, set it to the installed plugin root. In Claude Code, use the value ofCLAUDE_PLUGIN_ROOT. In Codex, OpenCode, and OMP, derive it from the absolute path of this selectedSKILL.md: the plugin root is the parent of itsskills/directory (in OMPbash,skill://<name>resolves to the skill directory). In a source checkout, use the checkoutcrux/directory. - For project-local skills, use
.claude/skillsin Claude Code,.agents/skillsin Codex,.opencode/skillsin OpenCode (which also reads the singular.opencode/skill), and.omp/skillsin OMP. SetCRUX_LOCAL_SKILLS_DIRto that path before following any command below that uses it. - Translate Claude Code tool labels such as
Agent,Read,Write,Bash,WebSearch, andWebFetchto the matching capability in the current session. Codex names its own capabilities; OpenCode uses the lowercase formssubagent,read,edit,shell,websearch, andwebfetch, whereeditcovers bothEditandWrite; OMP usestask,read,edit,write,bash,grep,glob,find,todo, andweb_search(wherereadalso handles URLs andskill://URIs). Do not attempt to invoke the Claude Code labels as literal commands on another host. - Install the generated role agents before delegating:
install-codex-agentsin Codex,install-opencode-agentsin OpenCode,install-omp-agentsin OMP. Codex names themcrux_architect,crux_brainstormer,crux_commander,crux_dev_lead,crux_developer,crux_historian,crux_librarian,crux_night_gardener,crux_reviewer, andcrux_wayfinder; OpenCode and OMP use the bare role namesarchitect,brainstormer,commander,dev-lead,developer,historian,librarian,night-gardener,reviewer, andwayfinder(in OMP,scoutmay also be used for reconnaissance alongsidewayfinder). If a required role or capability is unavailable, report that truthfully instead of claiming it ran. - Argument placeholders such as
$adrand$bookbind only in Claude Code. On a host without argument binding they are unset — take the value from the user's phrase. The "Fields OpenCode ignores" section ofOPENCODE_GUIDE.mdnames the invocation-control fields OpenCode ignores. <!-- END GENERATED: runtime-compat -->
Run it
Run the status command and show its output to the user as printed:
uv run "${CRUX_PLUGIN_ROOT}/scripts/cycle.py" status # every cycle
uv run "${CRUX_PLUGIN_ROOT}/scripts/cycle.py" status CYC-NNNN # one cycle
Run it from the project root, or pass --repo-root PATH before status.
With no cycle named, it shows active cycles first, then the others by cycle number, highest first, at most 60, followed by the queue. Name a cycle to see older ones.
Each cycle shows its type, pass and limit, current phase and status, elapsed time,
tasks, return reasons, approval waits, any pause reason and the recorded outcome.
The text view labels its sections Tasks, Attempts and Councils, and nests each open
attempt under its task. A cycle with classifications shows the line Classifications: N,
where N is the number the cycle record holds; inspect shows each one in full.
An active or paused cycle also shows an Activity: line. It reads idle for <age>
when no attempt is open, and otherwise last activity <age> ago with its source:
record-write, last-seen, commit (a commit whose Cycle-Task: trailer names the
attempt's task), result-file or worktree-change. Each open attempt shows its own
last activity. Activity is not liveness: liveness stays unknown, and an activity age
is never evidence that an attempt is lost.
Options
--jsonprints the machine-readable document thatvisualize-cycle-progress.py --jsonprints. The JSON carries activity only on request:cycle.py status --json --activityorvisualize-cycle-progress.py --json --activityadds oneactivitykey to each cycle.--watch SECONDSclears the screen and redraws every SECONDS until Ctrl-C. Suggest it for a second terminal beside a session, for example while Codex or OpenCode runs a cycle:uv run "${CRUX_PLUGIN_ROOT}/scripts/cycle.py" --repo-root PATH status --watch 5. Do not start a watch inside the agent session; it runs until interrupted.
Rules
- The command writes nothing. It never advances, pauses or edits a cycle; route those
requests to
cycle. - Exit 0 means it printed the view. Exit 1 means the cycle identity is invalid or unknown. Exit 2 means an environment problem, such as no documentation tree; report its message.
- Report the output as printed. Do not summarize progress as a percentage.
04 同仓库更多 Skills
whiteboarding
Explore an idea through docs-informed dialogue before committing to a design. Capture the exploration for later filing as a brief.
verify-code-docs
Check generated code documentation against source and report drift without regenerating it.
transition-observation
Apply a human disposition to an observation's lifecycle state without changing its claim or body.
transition-invariant
Ratify, reject, or retire an invariant on human direction. Update lifecycle metadata without changing the invariant's body.
transition-decision
Apply a human ratify, reject, or defer verdict to a recovered decision candidate; ratification creates a Proposed ADR or observation.
transition-brief
Publish or abandon a draft brief, updating lifecycle metadata and indexes without changing its body.