Clade for Codex
This package composes the provider-neutral Clade core contract with the native
Codex surface adapter. Run the workflow directly in Codex; do not launch
another agent CLI or route it through Clade MCP.
Package provenance:
- core contract:
clade.status/v1
- surface adapter:
codex/v1
- explicit invocation:
$clade:status
- generated from:
configs/skills/<name>
Canonical Clade workflow
Build one compact status snapshot from sources available on the current
surface. Keep collection read-only.
Required semantic fields
observed_at
- task identity/state and progress
{completed,total,source}
- Git branch, dirty state, checkpoint SHA, upstream divergence
- execution runtime, connection, inference provider, wire model, degradations
- usage/rate-limit observations with source and observed/reset timestamps
- freshness per source
Unknown is a first-class value:
- Never render missing progress or quota data as
0, 0%, unlimited, or done.
- Never infer a provider from a model prefix or a model from the runtime name.
- Mark estimates explicitly and show the evidence behind them.
- Distinguish stale data, unreachable sources, unsupported capabilities, and
authoritative zero values.
Collection order
- Read conversation/runtime activity exposed by this surface.
- Inspect local Git without mutation. Prefer the delivery controller's
git_context.py when installed; otherwise use read-only Git commands.
- Read Clade worker
status_snapshot / execution_envelope if an
orchestrator is reachable.
- Query forge/CI only when a related PR is in scope.
- Query native usage data only through the current surface adapter.
Output
Keep the human view under 20 lines unless the user asks for JSON. Show:
Work: state · factual progress or unknown · freshness
Git: branch · dirty/clean/unknown · checkpoint/upstream
Execution: runtime · connection · inference provider · wire model
Limits: authoritative windows, or unknown/unavailable with reason
Delivery: PR/checks/merge state when in scope
Concern: stale/hung/degraded evidence, if any
Next: one concrete recommendation
Call work “hung” only when a source provides timestamps and no relevant change
has occurred past the repository/runtime threshold. Do not kill, restart,
commit, push, or merge from this read-only skill.
Completion
DONE: snapshot is clear and all relevant sources were observed.
DONE_WITH_CONCERNS: one or more sources are stale, unavailable, or
degraded; name them.
BLOCKED: even local/runtime state cannot be read; show the exact failure.
Codex surface adapter
Codex status adapter
- Invoke the installed plugin workflow explicitly as
$clade:status; bare
$status is not the Clade plugin identity.
- Use Codex task/tool activity exposed in the current conversation.
- Codex TUI status-line configuration is an ordered list of native fields, not
an arbitrary command renderer. Do not claim Claude-style custom rendering.
- Use
$clade:codex-usage --json when installed for authenticated native limit
observations; otherwise report limits as unavailable/unknown.
- Read the applicable agent instructions before interpreting
repository-specific progress.
AGENTS.override.md wins over AGENTS.md at
each scope with no merge, so do not report a shadowed AGENTS.md as in
effect; trusted legacy CLAUDE.md is Clade's own fallback rather than a
filename Codex resolves.
- Do not launch a nested Codex CLI to discover status.
Additional skill reference
Status
Render one clade.status/v1 snapshot. Separate observed facts from estimates,
attach source/freshness, and preserve unknown values as unknown. Read
prompt.md for the core contract and only the current runtime file under
surfaces/ for collection mechanics.
Delivery completion
If this workflow changes files or external state:
- Inspect the real final state before responding, including
git status for a
repository task.
- Never report
DONE while task-owned changes are uncommitted. Use or continue
$clade:delivery and create a repository-compliant checkpoint or preserve
the work when committing is unavailable.
- When the user request or trusted repository policy makes publication,
deployment, or live verification part of the task, do not silently downgrade
the result to local-only work.
- If a required delivery transition lacks authority, credentials, a destination,
or reachable external state, report
BLOCKED or NEEDS_CONTEXT rather than
appending a "not committed/pushed/deployed" caveat after DONE.
1---2name: status-23description: Show a provider-neutral, freshness-aware snapshot of active Agent work, Git delivery, execution identity, and usage limits. Use for “what's going on right now”, what is running, progress updates, active runtime/provider/model, or stuck-work checks.4---56# Clade for Codex78This package composes the provider-neutral Clade core contract with the native9Codex surface adapter. Run the workflow directly in Codex; do not launch10another agent CLI or route it through Clade MCP.1112Package provenance:1314- core contract: `clade.status/v1`15- surface adapter: `codex/v1`16- explicit invocation: `$clade:status`17- generated from: `configs/skills/<name>`1819## Canonical Clade workflow2021<command-metadata>22name: status23contract: clade.status/v124completion-status: DONE | DONE_WITH_CONCERNS | BLOCKED25</command-metadata>2627Build one compact status snapshot from sources available on the current28surface. Keep collection read-only.2930## Required semantic fields3132- `observed_at`33- task identity/state and progress `{completed,total,source}`34- Git branch, dirty state, checkpoint SHA, upstream divergence35- execution runtime, connection, inference provider, wire model, degradations36- usage/rate-limit observations with source and observed/reset timestamps37- freshness per source3839Unknown is a first-class value:4041- Never render missing progress or quota data as `0`, `0%`, unlimited, or done.42- Never infer a provider from a model prefix or a model from the runtime name.43- Mark estimates explicitly and show the evidence behind them.44- Distinguish stale data, unreachable sources, unsupported capabilities, and45 authoritative zero values.4647## Collection order48491. Read conversation/runtime activity exposed by this surface.502. Inspect local Git without mutation. Prefer the delivery controller's51 `git_context.py` when installed; otherwise use read-only Git commands.523. Read Clade worker `status_snapshot` / `execution_envelope` if an53 orchestrator is reachable.544. Query forge/CI only when a related PR is in scope.555. Query native usage data only through the current surface adapter.5657## Output5859Keep the human view under 20 lines unless the user asks for JSON. Show:6061```text62Work: state · factual progress or unknown · freshness63Git: branch · dirty/clean/unknown · checkpoint/upstream64Execution: runtime · connection · inference provider · wire model65Limits: authoritative windows, or unknown/unavailable with reason66Delivery: PR/checks/merge state when in scope67Concern: stale/hung/degraded evidence, if any68Next: one concrete recommendation69```7071Call work “hung” only when a source provides timestamps and no relevant change72has occurred past the repository/runtime threshold. Do not kill, restart,73commit, push, or merge from this read-only skill.7475## Completion7677- `DONE`: snapshot is clear and all relevant sources were observed.78- `DONE_WITH_CONCERNS`: one or more sources are stale, unavailable, or79 degraded; name them.80- `BLOCKED`: even local/runtime state cannot be read; show the exact failure.8182## Codex surface adapter8384# Codex status adapter8586- Invoke the installed plugin workflow explicitly as `$clade:status`; bare87 `$status` is not the Clade plugin identity.88- Use Codex task/tool activity exposed in the current conversation.89- Codex TUI status-line configuration is an ordered list of native fields, not90 an arbitrary command renderer. Do not claim Claude-style custom rendering.91- Use `$clade:codex-usage --json` when installed for authenticated native limit92 observations; otherwise report limits as unavailable/unknown.93- Read the applicable agent instructions before interpreting94 repository-specific progress. `AGENTS.override.md` wins over `AGENTS.md` at95 each scope with no merge, so do not report a shadowed `AGENTS.md` as in96 effect; trusted legacy `CLAUDE.md` is Clade's own fallback rather than a97 filename Codex resolves.98- Do not launch a nested Codex CLI to discover status.99100## Additional skill reference101102# Status103104Render one `clade.status/v1` snapshot. Separate observed facts from estimates,105attach source/freshness, and preserve unknown values as unknown. Read106`prompt.md` for the core contract and only the current runtime file under107`surfaces/` for collection mechanics.108109## Delivery completion110111If this workflow changes files or external state:112113- Inspect the real final state before responding, including `git status` for a114 repository task.115- Never report `DONE` while task-owned changes are uncommitted. Use or continue116 `$clade:delivery` and create a repository-compliant checkpoint or preserve117 the work when committing is unavailable.118- When the user request or trusted repository policy makes publication,119 deployment, or live verification part of the task, do not silently downgrade120 the result to local-only work.121- If a required delivery transition lacks authority, credentials, a destination,122 or reachable external state, report `BLOCKED` or `NEEDS_CONTEXT` rather than123 appending a "not committed/pushed/deployed" caveat after `DONE`.