---
name: Ralph Specum Switch
slug: ralph-specum-switch
category: Automation
description: Ralph Specum Switch updates the active spec pointer when explicitly asked to switch specs. It lists available specs, resolves exact names or paths, and summarizes the selected spec state.
github: "https://github.com/tzachbon/smart-ralph/tree/main/plugins/ralph-specum-codex/skills/ralph-specum-switch"
language: Shell
stars: 527
forks: 47
install: "npx degit https://github.com/tzachbon/smart-ralph/tree/main/plugins/ralph-specum-codex/skills/ralph-specum-switch ~/.claude/skills/ralph-specum-switch"
installs_to: ~/.claude/skills/ralph-specum-switch
source_path: plugins/ralph-specum-codex/skills/ralph-specum-switch/SKILL.md
collection_size: 19
category_size: 1523
collection_url: "https://dirskills.com/collections/tzachbon/smart-ralph"
added: 2026-08-26T05:12:06.905Z
last_synced: 2026-08-26T05:12:06.905Z
canonical_url: "https://dirskills.com/skills/ralph-specum-switch"
---

# Ralph Specum Switch

Ralph Specum Switch updates the active spec pointer when explicitly asked to switch specs. It lists available specs, resolves exact names or paths, and summarizes the selected spec state.

**Install:**

```bash
npx degit https://github.com/tzachbon/smart-ralph/tree/main/plugins/ralph-specum-codex/skills/ralph-specum-switch ~/.claude/skills/ralph-specum-switch
```

## README

# Ralph Specum Switch

Use this to switch the active spec.

## 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.
