Claude
Cursor
GitHub Copilot
Skill
ralph-specum-switch
This skill should be used only when the user explicitly asks to use `$ralph-specum-switch`, or explicitly asks Ralph Specum in Codex to switch the active spec.
Virus-scanned
Reviewed automatically before listing.
Download
tzachbon-smart-ralph-plugins_ralph-specum-codex_skills_ralph-specum-switch-4890dd3.zip · 1 KB
Install
skills CLI
npx skills add https://github.com/tzachbon/smart-ralph/tree/main/plugins/ralph-specum-codex/skills/ralph-specum-switch
Claude Code
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install tzachbon-smart-ralph@llmmart
Git
git clone https://github.com/tzachbon/smart-ralph.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole tzachbon/smart-ralph collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Ralph Specum Switch
Use this to switch the active spec.
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 - Parse
specs_dirsfrom frontmatter to discover all spec roots - Treat the first
specs_dirsentry as the default root - Default specs root is
./specs .current-speclives in the default specs root- Do not guess on ambiguous names
Action
- Resolve the requested target by full path or exact name.
- If no target was provided, list available specs grouped by root.
- If the name is ambiguous across roots, stop and require a full path.
- Update
.current-spec:- bare name for the default root
- full path for non-default roots
- Read the target spec state and summarize phase, progress, approval state, and present files.
- Report prototype dependencies without mutating them:
- Treat a missing
activePrototypesfield as an empty map. - When state exists, run
"$RALPH_CODEX_PLUGIN_ROOT/scripts/prototype_records.py" select-downstream --base-path "$BASE_PATH" --state "$BASE_PATH/.ralph-state.json"using the selected spec's resolvedbasePath. - Show each blocker from
activeBlockerswith prototype ID, status, blocked artifact or transition,returnPhase, andreturnTaskIndex. - Show
staleArtifactsandstaleTaskIndexesfrom the selection result. - Do not reconcile, remove active entries, edit records, or change blocker data. If no overlay or stale dependency exists, preserve the existing switch output.
- Treat a missing
Files (smart-ralph)
-
agents
-
openai.yaml 285 B
interface: display_name: "Ralph Specum Switch" short_description: "Switch the active Ralph spec" default_prompt: "Use $ralph-specum-switch to change the active Ralph spec and report the current approval state and next explicit action." policy: allow_implicit_invocation: false
-
-
SKILL.md 1.9 KB
--- name: ralph-specum-switch description: This skill should be used only when the user explicitly asks to use `$ralph-specum-switch`, or explicitly asks Ralph Specum in Codex to switch the active spec. metadata: surface: helper action: switch --- # Ralph Specum Switch Use this to switch the active spec. 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.md` when present - Parse `specs_dirs` from frontmatter to discover all spec roots - Treat the first `specs_dirs` entry as the default root - Default specs root is `./specs` - `.current-spec` lives in the default specs root - Do not guess on ambiguous names ## Action 1. Resolve the requested target by full path or exact name. 2. If no target was provided, list available specs grouped by root. 3. If the name is ambiguous across roots, stop and require a full path. 4. Update `.current-spec`: - bare name for the default root - full path for non-default roots 5. Read the target spec state and summarize phase, progress, approval state, and present files. 6. Report prototype dependencies without mutating them: - Treat a missing `activePrototypes` field as an empty map. - When state exists, run `"$RALPH_CODEX_PLUGIN_ROOT/scripts/prototype_records.py" select-downstream --base-path "$BASE_PATH" --state "$BASE_PATH/.ralph-state.json"` using the selected spec's resolved `basePath`. - Show each blocker from `activeBlockers` with prototype ID, status, blocked artifact or transition, `returnPhase`, and `returnTaskIndex`. - Show `staleArtifacts` and `staleTaskIndexes` from the selection result. - Do not reconcile, remove active entries, edit records, or change blocker data. If no overlay or stale dependency exists, preserve the existing switch output.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.