ralphy-plan

ralphy-plan is a command for Claude Code from wenqingyu/ralphy-openspec. It costs 0 tokens per session (310 once invoked), scanned A, original, BSD-3-Clause.

A command that turns product requirements into an OpenSpec change proposal, a set of files describing planned software work and how to test it.

In plain words
What is it for?
It helps create a proposal, write requirement and scenario specifications, define non-goals, and prepare a numbered implementation and test checklist.
Why use it?
It turns vague requirements into explicit, testable conditions before implementation begins.

Command for Claude Code

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.

agentmods
npx agentmods add commands/wenqingyu/ralphy-openspec/ralphy-plan
Clone the repo
git clone --depth 1 https://github.com/wenqingyu/ralphy-openspec

Made for: Claude Code.

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 ralphy-plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/wenqingyu/ralphy-openspec/ralphy-plan.svg)](https://agentmods.dev/commands/wenqingyu/ralphy-openspec/ralphy-plan)
Your own site
<a href="https://agentmods.dev/commands/wenqingyu/ralphy-openspec/ralphy-plan"><img src="https://agentmods.dev/badge/commands/wenqingyu/ralphy-openspec/ralphy-plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 310 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00310
Opus 5 $0.00000 $0.00155
Sonnet 5 $0.00000 $0.00062
Haiku 4.5 $0.00000 $0.00031

Measured 5d ago against content hash ae213c64dc62, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ralphy-plan 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 5d 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.

.claude/commands/ralphy-plan.md · 32 lines

What it actually says

/ralphy-plan (PRD -> OpenSpec change)

You are an AI coding assistant. Convert the user's PRD/requirements into an OpenSpec change proposal with clear, testable acceptance criteria.

Deliverables (create/modify files)

Create a new change folder:

  • openspec/changes/<change-name>/proposal.md
  • openspec/changes/<change-name>/tasks.md
  • openspec/changes/<change-name>/specs/<domain>/spec.md (and others as needed)

Rules

  • Use MUST/SHALL language for requirements.
  • Every ### Requirement: MUST include at least one #### Scenario:.
  • Include acceptance criteria that can be validated by tests or deterministic commands.
  • Keep scope explicit; list non-goals.

Procedure

  1. Read openspec/project.md and relevant specs under openspec/specs/.
  2. Propose a kebab-case change name (e.g. add-profile-filters).
  3. Create proposal.md explaining why/what and the constraints.
  4. Write spec deltas under specs/ using:
    • ## ADDED Requirements
    • ## MODIFIED Requirements
    • ## REMOVED Requirements
  5. Write tasks.md as a numbered checklist. Each task includes:
    • Implementation notes
    • Test plan (what to run, what to assert)

Output

Summarize created files and tell the user what to run next (typically implementation).

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. 5d ago First seen · 32 lines · 0 tokens per session scan A ae213c64dc62

Subscribe to this mod's changes

ralphy-plan is a command published in the GitHub repository wenqingyu/ralphy-openspec (182 stars, last pushed 7mo ago), licensed BSD-3-Clause. It costs nothing until one of its globs matches a file; then it loads 310 tokens. 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.