ralphy-openspec: Command for Claude Code

.claude/commands/ralphy-plan.md

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

Written for Claude Code: installed under .claude/.

This is wenqingyu/ralphy-openspec's own configuration. It tells Claude Code how to work on ralphy-openspec itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ralphy-openspec configures →

Reuse

Borrowing it

Nothing to install: this file belongs to wenqingyu/ralphy-openspec. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/wenqingyu/ralphy-openspec/main/.claude/commands/ralphy-plan.md
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/github.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/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 ralphy-plan

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.00000 $0.00310
Opus 5.5 $0.00000 $0.00124
Sonnet 5.5 $0.00000 $0.00062
Haiku 4.5 $0.00000 $0.00031

Measured 2mo ago against content hash ae213c64dc62, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 (175 stars, last pushed 9mo 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.

Related

ralphy-plan compared with commands from other repositories

ralphy-plan next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ralphy-planwenqingyu/ralphy-openspecCommand1759mo agoBSD-3-ClauseA0Claude Code
checklistgithub/spec-kitCommand148kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand148kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand148kyesterdayMITA13Claude Code
analyzegithub/spec-kitCommand148kyesterdayMITA26Claude Code
convergegithub/spec-kitCommand148kyesterdayMITA35Claude Code
implementgithub/spec-kitCommand148kyesterdayMITA14Claude Code