Agent Skills
› tzachbon/smart-ralph
› ralph-specum-status
ralph-specum-status
GitHub用于报告Ralph Specum状态,解析配置根目录下的规格文件、原型记录及任务进度,汇总活跃规格、Epic状态、审批情况及阻塞项。
Trigger Scenarios
用户明确要求使用 $ralph-specum-status
用户询问 Ralph Specum 的状态或活跃规格进展
Install
npx skills add tzachbon/smart-ralph --skill ralph-specum-status -g -y
SKILL.md
Frontmatter
{
"name": "ralph-specum-status",
"metadata": {
"action": "status",
"surface": "helper"
},
"description": "This skill should be used only when the user explicitly asks to use `$ralph-specum-status`, or explicitly asks Ralph Specum in Codex for status or active spec progress."
}
Ralph Specum Status
Use this to report Ralph state across configured spec roots.
Derive RALPH_CODEX_PLUGIN_ROOT from this loaded skill by resolving two parent directories from the SKILL.md directory. Never derive it from the project working directory.
Contract
- Read
.claude/ralph-specum.local.mdwhen present - Default specs root is
./specs .current-speclives in the default specs root- Hidden directories do not count as specs
Action
- Resolve configured roots.
- Read
.current-specto identify the active spec.- If
.current-specis missing or empty, report that there is no active spec and continue listing specs across roots.
- If
- Read
specs/.current-epicwhen present and summarize epic status. - For each spec directory, inspect:
.ralph-state.jsonresearch.mdrequirements.mddesign.mdtasks.md
- When state exists, use the resolved spec path as
basePath, run"$RALPH_CODEX_PLUGIN_ROOT/scripts/prototype_records.py" reconcile --base-path "$BASE_PATH" --state "$BASE_PATH/.ralph-state.json", then re-read state. Never constructspecs/<name>after resolution. - Inventory prototype records in lexical order:
- Read
activePrototypes, treating a missing field as an empty map. - List
prototypes/.*.candidate.md, immutableprototypes/*.mdfinals, and visible or dot-prefixed*.quarantine.mdfiles. - Parse candidates and finals with
prototype_records.py parse; useselect-downstreamwith state to derive blockers and stale dependencies.
- Read
- If
tasks.mdexists, count completed and incomplete tasks. - Group results by spec root.
- Show the active spec, current phase, backlog state, approval state, granularity when present, and which artifacts exist.
Output
- Specs in the default root can be shown by name.
- Specs in other roots should include the root suffix for disambiguation.
- Include the next likely command when it is obvious.
- If an epic is active, include the next unblocked spec.
- If approval is pending, explicitly tell the user to approve the current artifact, request changes, or continue to the named next step.
- When prototype data exists, report counts and deterministic rows for active entries, candidates, immutable finals, and quarantines. Include prototype ID, lifecycle status or verdict, blocker targets,
returnPhase,returnTaskIndex,sourceDispositionor source pointer, gate approval, and quarantine reason. - Include derived
activeBlockers,staleArtifacts, andstaleTaskIndexes. Omit the prototype section when all overlay counts are zero so legacy output stays unchanged.
Version History
-
183c1be
Current 2026-09-02 23:24
新增可选的原型阶段功能,支持解析和报告原型记录的生命周期状态、依赖关系及隔离情况。
- 1b33202 2026-07-05 09:17


