Agent skill

Ralph Specum Design

by tzachbon in tzachbon/smart-ralph

This skill should be used only when the user explicitly asks to use $ralph-specum-design, or explicitly asks Ralph Specum in Codex to run the design phase.

MITAuto-check passedAgent Workflows

Install Ralph Specum Design

skills CLI
$ npx skills add tzachbon/smart-ralph --skill ralph-specum-design -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tzachbon/smart-ralph ralph-specum-design --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tzachbon/smart-ralph.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/ralph-specum-codex/skills/ralph-specum-design .claude/skills/ralph-specum-design && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ralph-specum-design
GitHub stars
559
Token cost
~1.5k tokens
SKILL.md length
722 words
Files
2
Skills in repo
26
Repo updated
First seen
Licence
MIT

At a glance

This skill should be used only when the user explicitly asks to use $ralph-specum-design, or explicitly asks Ralph Specum in Codex to run the design phase.

  • Works in 12 steps: Resolve the active spec. If none exists,… → Require requirements.md. Read… → Run phase_gate.py mode through… → …
  • Explicitly asks to use $ralph-specum-design
  • SKILL.md covers Contract, Action, Output Shape and Response Handoff
  • Calls python3 and go

What it does

Ralph Specum Design is an agent skill from tzachbon/smart-ralph. This skill should be used only when the user explicitly asks to use $ralph-specum-design, or explicitly asks Ralph Specum in Codex to run the design phase.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Agent Workflows. The repository describes itself as: Spec-driven development with smart compaction. Claude Code plugin combining Ralph Wiggum loop with structured specification workflow. The licence is MIT.

When your agent uses it

  • Explicitly asks to use $ralph-specum-design
  • Explicitly asks Ralph Specum in Codex to run the design phase

Example prompts

  • “/ralph-specum-design”

Requirements

  • Python 3

Workflow steps

12 steps, taken from the first numbered list in SKILL.md.

  1. Resolve the active spec. If none exists, stop.
  2. Require requirements.md. Read research.md when present, .progress.md, and current state.
  3. Run phase_gate.py mode through "$RALPH_CODEX_PLUGIN_ROOT/scripts/phase_gate.py" with STATE and exact --quick, exact --interactive, or no…
  4. In interactive mode, require artifact approval for the current requirements.md before starting design. Exact quick mode continues with the…
  5. Run prototype record selection with the resolved basePath before generation
  6. Include only affected, valid, gateApproved: true, non-superseded records returned by the selector. Exclude malformed, superseded, skipped…
  7. Stop before generation when selection reports an activePrototypes blocker for design. Name the active ID and route resume through…
  8. Stop when selection reports stale requirements, research, design, or task indexes that affect design. Route to the earliest stale phase…
  9. Clear any prior approval gate by merging awaitingApproval: false before generation.
  10. When research.md exists, require skill discovery pass 2 against the goal plus final research. When it is absent, require pass 1 against…
  11. Load "$RALPH_CODEX_PLUGIN_ROOT/skills/interview-framework-codex/SKILL.md", its required algorithm and domain-modeling references, and all…
  12. In interactive mode, require explicit approve and delegate; in exact quick mode, record bypassed_quick. In both modes, run phase_gate.py…

What it can do on your machine

Read from SKILL.md and the folder at commit ac7251a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3
    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ralph Specum Design loads about 1.5k tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 722 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from tzachbon/smart-ralph at commit ac7251a, republished under its MIT licence (© tzachbon). 722 words, ~1,480 tokens.

Download SKILL.mdSave it as .claude/skills/ralph-specum-design/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
ralph-specum-design
description
This skill should be used only when the user explicitly asks to use `$ralph-specum-design`, or explicitly asks Ralph Specum in Codex to run the design phase.
metadata.surface
helper
metadata.action
design

Ralph Specum Design

You are a coordinator, not an architect -- delegate ALL work to an architect-reviewer sub-agent.

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

  • Resolve the active spec by explicit path, exact name, or .current-spec
  • Require requirements.md
  • Merge state fields only
  • Keep the Ralph disk contract unchanged

Action

  1. Resolve the active spec. If none exists, stop.
  2. Require requirements.md. Read research.md when present, .progress.md, and current state.
  3. Run phase_gate.py mode through "$RALPH_CODEX_PLUGIN_ROOT/scripts/phase_gate.py" with STATE and exact --quick, exact --interactive, or no flag. Reject both, -q, variants, and natural-language substitutes.
  4. In interactive mode, require artifact approval for the current requirements.md before starting design. Exact quick mode continues with the validated artifact.
  5. Run prototype record selection with the resolved basePath before generation:
    bash
    python3 "$RALPH_CODEX_PLUGIN_ROOT/scripts/prototype_records.py" select-downstream --base-path "$BASE_PATH" --state "$BASE_PATH/.ralph-state.json"
  6. Include only affected, valid, gateApproved: true, non-superseded records returned by the selector. Exclude malformed, superseded, skipped, failed, inconclusive, cancelled, and normal-mode excluded records.
  7. Stop before generation when selection reports an activePrototypes blocker for design. Name the active ID and route resume through $ralph-specum-prototype.
  8. Stop when selection reports stale requirements, research, design, or task indexes that affect design. Route to the earliest stale phase. Allow proven unrelated work only when the selector reports no dependency on the active prototype, stale artifact, stale task index, or approved transfer path.
  9. Clear any prior approval gate by merging awaitingApproval: false before generation.
  10. When research.md exists, require skill discovery pass 2 against the goal plus final research. When it is absent, require pass 1 against the goal alone. Run the applicable pass when the state lacks its revision. Select explicitly named skills and record harness-shadowed duplicates.
  11. Load "$RALPH_CODEX_PLUGIN_ROOT/skills/interview-framework-codex/SKILL.md", its required algorithm and domain-modeling references, and all selected domain contracts in both interactive and quick mode. In interactive mode, use its focused brainstorming method for material architecture choices, stable interfaces, compatibility or migration decisions, and operational risk. Inspect repository facts and existing conventions instead of asking.
  12. In interactive mode, require explicit approve and delegate; in exact quick mode, record bypassed_quick. In both modes, run phase_gate.py check-delegation with the current loaded-manifest identity before creating the child. Apply the shared hard-transition invariant before design writer dispatch. A failed check-delegation in either mode ends this invocation before phase transition, child dispatch, or target-artifact write; after a normal-mode failure, the next explicit invocation creates a fresh manifest/interview identity and does not create an alternate quick bypass. After an exact --quick delegation failure, the next explicit invocation reruns discovery, records a fresh phaseSkillLoad and interview identity, and does not reuse a terminal bypassed_quick interview or its discovery revision. Only a matching in-progress collecting or awaiting_confirmation interview is resumable.
  13. Delegate design generation to an architect-reviewer sub-agent. Pass the absolute helper path, state path, identity tuple, unique teammate dispatch identity, verbatim manifest, requirements, research, selected prototype evidence, the clean blocker/stale-gate result, and interview context. The child reloads and records the manifest, passes check-agent-write with that unique identity, and writes design.md. Do NOT write design.md yourself.
  14. Read the sub-agent's output and validate it exists.
  15. Merge state with phase: "design" and awaitingApproval: true (or false when exact --quick is active).
  16. Update .progress.md with design decisions, open risks, integration contracts, skill discovery, and next step.
  17. If spec commits are enabled, commit only the spec artifacts.
Show full SKILL.md (160 more words)Show less
Stop Behavior
  • Without --quick: STOP HERE. Display the walkthrough summary and approval prompt. Do NOT continue to tasks. Wait for the user to explicitly approve and request the next phase.
  • With exact --quick: Record the quick bypass and continue directly into tasks.

Output Shape

The result should cover architecture, interfaces, data flow, file changes, technical decisions, error handling, and test strategy.

Response Handoff

  • After writing design.md, name design.md and summarize the design briefly.
  • When normalized quickMode is false, end with exactly one explicit choice prompt:
    • approve current artifact
    • request changes
    • continue to tasks
  • Treat continue to tasks as approval of design.md.
  • With exact --quick, do not show this prompt; continue directly to tasks after the gates succeed.
  • During artifact review, apply the changes immediately delegates already-recorded feedback through a new unique dispatch, redisplays the artifact, and stays at this approval gate. Ask one focused change question only when no feedback is pending. Control-only continue, proceed, and go ahead approve nothing.

© tzachbon, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in plugins/ralph-specum-codex/skills/ralph-specum-design of tzachbon/smart-ralph.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit ac7251a

Compare with similar skills

Ralph Specum Design next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ralph Specum Design compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ralph Specum Design this skilltzachbon/smart-ralph559—~1.5kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k10 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k35 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers297k2 repos~5.1kAutomated safety check: PassMIT
Skill CreatorAzure/azqr79689 repos~8.2kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 10 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 35 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    297k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    796 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 7 repos~2.8k tokens
    Agent WorkflowsAuto-check passed

More from tzachbon/smart-ralph

All 26 skills in this repo
  • Communication Style

    tzachbon/smart-ralph

    This skill should be used when generating spec artifacts (research.md, requirements.md, design.md, tasks.md), formatting agent output, structuring phase results, or when any Ralph agent needs…

    559 GitHub stars~551 tokensUpdated 24 days ago
    Auto-check passed
  • Interview Framework

    tzachbon/smart-ralph

    This skill should be used when a Ralph phase must identify critical user decisions, run a layered grill, persist partial answers, obtain explicit approval, or resume an interrupted phase interview…

    559 GitHub stars~2.2k tokensUpdated 24 days ago
    Auto-check passed
  • Reality Verification

    tzachbon/smart-ralph

    This skill should be used when the user asks to "verify a fix", "reproduce failure", "diagnose issue", "check BEFORE/AFTER state", "VF task", "reality check", "check test quality", "mock-only…

    559 GitHub stars~877 tokensUpdated 24 days ago
    Auto-check passed
  • Spec Workflow

    tzachbon/smart-ralph

    This skill should be used when the user asks to "build a feature", "create a spec", "start spec-driven development", "run research phase", "generate requirements", "create design", "plan tasks"…

    559 GitHub stars~1.1k tokensUpdated 24 days ago
    Auto-check passed
  • Ralph Specum Tasks

    tzachbon/smart-ralph

    This skill should be used only when the user explicitly asks to use $ralph-specum-tasks, or explicitly asks Ralph Specum in Codex to run the tasks phase.

    559 GitHub stars~1.6k tokensUpdated 24 days ago
    Auto-check passed
  • Smart Ralph

    tzachbon/smart-ralph

    This skill should be used when the user asks about "ralph arguments", "quick mode", "commit spec", "max iterations", "ralph state file", "prototype overlay", "execution modes", "ralph loop"…

    559 GitHub stars~2k tokensUpdated 24 days ago
    Auto-check passed

Categories

Questions about Ralph Specum Design

What does Ralph Specum Design do?

This skill should be used only when the user explicitly asks to use $ralph-specum-design, or explicitly asks Ralph Specum in Codex to run the design phase. Ralph Specum Design is an agent skill from tzachbon/smart-ralph. This skill should be used only when the user explicitly asks to use $ralph-specum-design, or explicitly asks Ralph Specum in Codex to run the design phase.

When should I use Ralph Specum Design?

Ralph Specum Design fits situations like: explicitly asks to use $ralph-specum-design; explicitly asks Ralph Specum in Codex to run the design phase.

How do I install Ralph Specum Design in Claude Code?

Run `npx skills add tzachbon/smart-ralph --skill ralph-specum-design -a claude-code`. Or copy the skill folder (plugins/ralph-specum-codex/skills/ralph-specum-design in tzachbon/smart-ralph) into .claude/skills/ralph-specum-design in your project. Claude Code loads it when a task matches its description.

How do I install Ralph Specum Design in Codex?

Run `npx skills add tzachbon/smart-ralph --skill ralph-specum-design -a codex`. Or copy the skill folder (plugins/ralph-specum-codex/skills/ralph-specum-design in tzachbon/smart-ralph) into .agents/skills/ralph-specum-design in your project. Codex loads it when a task matches its description.

Can I use Ralph Specum Design in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tzachbon/smart-ralph --skill ralph-specum-design -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ralph-specum-design, .gemini/skills/ralph-specum-design, .github/skills/ralph-specum-design and .opencode/skills/ralph-specum-design in your project.

What does Ralph Specum Design need to run?

Going by SKILL.md and its folder, Ralph Specum Design needs the command-line tools its instructions call (python3 and go). Our summary lists: Python 3.

Does Ralph Specum Design access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ralph Specum Design safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ralph Specum Design use?

Ralph Specum Design is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ralph Specum Design use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ralph Specum Design?

Skills that share tags, products or a category with Ralph Specum Design: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 297k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ralph Specum Design?

tzachbon (a GitHub user) maintains it in tzachbon/smart-ralph, which has 559 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on September 16, 2026.

Source: tzachbon/smart-ralph on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.