Skip to content
Development
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.

From plugin
smart-ralph
56824 skills13 agents24 commands

Claude Code

$ npx -y skills add tzachbon/smart-ralph --skill ralph-specum-switch --agent claude-code

SKILL.md

ralph-specum-switch.SKILL.md
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.
Read more
@tzachbon
Ships withsmart-ralph

Spec-driven development with smart compaction. Claude Code plugin combining Ralph Wiggum loop with structured specification workflow.

56824 skills13 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
568
Star history of tzachbon/smart-ralph on GitHub, a chart by star-history.com

Other skills on smart-ralph.

smart-ralph

smart-ralph

Core Smart Ralph skill defining common arguments, execution modes, and shared behaviors across all Ralph plugins.

speckit-workflow

speckit-workflow

Comprehensive understanding of the spec-kit methodology. Constitution-driven feature development with specify, plan, tasks, and…

ralph-specum-cancel

ralph-specum-cancel

This skill should be used only when the user explicitly asks to use `$ralph-specum-cancel`, or explicitly asks Ralph Specum in…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills12d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react3d252k
@facebook@facebookInstall Skill

Questions about ralph-specum-switch.

Which coding agents can use ralph-specum-switch?
ralph-specum-switch installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.