ralph-specum-design

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

A design-phase coordinator for the Ralph Specum feature-development process. It checks the active requirements document and controls whether the design phase can begin.

In plain words
What is it for?
Use it when running Ralph Specum's design phase after requirements have been created, especially when quick or interactive approval is needed.
Why use it?
It prevents design work from starting with missing, unapproved, or invalid requirements. It also keeps the process state consistent between phases.

Skill for Codex

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

Good fit Use it when running Ralph Specum's design phase after requirements have been created, especially when quick or interactive approval is needed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tzachbon/smart-ralph/ralph-specum-design
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-design
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-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/tzachbon/smart-ralph/ralph-specum-design/github.svg)](https://agentmods.dev/skills/tzachbon/smart-ralph/ralph-specum-design)
Your own site
<a href="https://agentmods.dev/skills/tzachbon/smart-ralph/ralph-specum-design"><img src="https://agentmods.dev/badge/skills/tzachbon/smart-ralph/ralph-specum-design/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-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/tzachbon/smart-ralph/ralph-specum-design"><img src="https://agentmods.dev/badge/skills/tzachbon/smart-ralph/ralph-specum-design.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 1,258 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 37
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.01258
Opus 5 $0.00020 $0.00629
Sonnet 5 $0.00008 $0.00252
Haiku 4.5 $0.00004 $0.00126

Measured 6d ago against content hash 8398d448b5f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

ralph-specum-design 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 6d 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-design/SKILL.md · 64 lines

How it starts

The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Read the full file on GitHub · 64 lines

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. 6d ago Changed 8398d448b5f0
  2. 10d ago First seen · 64 lines · 41 tokens per session scan A 0000332a85aa

Subscribe to this mod's changes

ralph-specum-design is a skill published in the GitHub repository tzachbon/smart-ralph (537 stars, last pushed 7d ago), licensed MIT. It adds 41 tokens to every session and 1,258 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.