ralph-specum-switch

ralph-specum-switch is a skill for Codex from tzachbon/smart-ralph. It costs 41 tokens per session (446 once invoked), scanned A, original, MIT.

A skill for switching between active software specifications, which are documents describing what should be built. It reads the project’s specification settings and summarizes the selected specification’s state.

In plain words
What is it for?
Use it to list available specifications, select one by exact name or path, update the active-specification marker, and review its progress and prototype dependencies.
Why use it?
It avoids editing the wrong specification when a project has several specification folders or similarly named documents. It also makes the current phase and dependencies visible.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex; $skill-name invocation.

Good fit Use it to list available specifications, select one by exact name or path, update the active-specification marker, and review its progress and prototype dependencies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tzachbon/smart-ralph/ralph-specum-switch
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tzachbon/smart-ralph --skill ralph-specum-switch
Clone the repo
git clone --depth 1 https://github.com/tzachbon/smart-ralph

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ralph-specum-switch

README.md
[![agentmods](https://agentmods.dev/badge/skills/tzachbon/smart-ralph/ralph-specum-switch/github.svg)](https://agentmods.dev/skills/tzachbon/smart-ralph/ralph-specum-switch)
Your own site
<a href="https://agentmods.dev/skills/tzachbon/smart-ralph/ralph-specum-switch"><img src="https://agentmods.dev/badge/skills/tzachbon/smart-ralph/ralph-specum-switch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ralph-specum-switch

Your own site · 80×15
<a href="https://agentmods.dev/skills/tzachbon/smart-ralph/ralph-specum-switch"><img src="https://agentmods.dev/badge/skills/tzachbon/smart-ralph/ralph-specum-switch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 446 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.00446
Opus 5 $0.00020 $0.00223
Sonnet 5 $0.00008 $0.00089
Haiku 4.5 $0.00004 $0.00045

Measured 9d ago against content hash 483f361dffca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ralph-specum-switch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/ralph-specum-codex/skills/ralph-specum-switch/SKILL.md · 39 lines

What it actually says

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

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 39 lines · 41 tokens per session scan A 483f361dffca

Subscribe to this mod's changes

ralph-specum-switch is a skill published in the GitHub repository tzachbon/smart-ralph (537 stars, last pushed 6d ago), licensed MIT. It adds 41 tokens to every session and 446 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.