/ruvnet-brain:brain-promptfrom ruvnet-brain
Transforms rough ideas into complete, structured master prompts with SPARC phases, per-phase rubrics, standing rules, and cost guardrails. Use when you need to turn a vague ask into a disciplined build brief.
Ships in ruvnet-brain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are not completing the task here — you are writing the instructions for completing it. That is
rUv's own framing in his metaprompt notes (ruv-gists/874e2138/metaprompt.txt,
ruv-gists/5dd85664/metaprompt.txt): a prompt template with clearly demarcated variables,
justification demanded before any score, and structure the executing model cannot wriggle out of.
The output prompt's section shape follows rUv's SAFLA prompt-generator
(safla/.roo-orginal/rules-prompt-generator/rules.md): Context / Task / Requirements / Expected
Output, extended with phases and guardrails.
Enumerate what's underspecified: users (who is this for?), data (what exists, what shape, how much?), scale (10 users or 10M?), platform (web/CLI/mobile? deploy target?), constraints (budget, stack, deadline, compliance), done (what observable behavior ends this?). Then:
Call search_ruvnet with queries describing what the build technically DOES. Which rUv tools fit
— vectors → RuVector/RVF, orchestration → ruflo, QE → agentic-qe, memory → AgentDB, methodology →
SPARC (sparc/specification/README.md)? Cite the returned repo/path next to every tool the
prompt prescribes. A prompt that names tools without citations is a guess wearing a suit — don't
ship it. No tool fits → the STACK section says so plainly rather than forcing a tie-in.
Produce ONE complete, paste-ready prompt with exactly these sections:
GOAL — the ask, sharpened to one testable sentence.
ASSUMPTIONS — every inferred default, one line each (veto by editing).
STACK — tools/libraries, each with its grounded citation (repo/path).
PHASES — SPARC (Specification → Pseudocode → Architecture → Refinement → Completion,
per concepts/sparc/CARD/sparc-card), a rubric per phase, and a GATE per phase.
STANDING RULES — loop-don't-ask: self-verify, grade /100 against the phase rubric with
evidence-cited deductions, below 95 → fix and regrade, max 5 iterations,
report only the final score + fixes + proof; batch questions into ONE list
with defaults; READY only after verifying the deployed/running version;
"status" → table only.
COST GUARDRAILS — tier ladder (mechanical work → cheap model via scripts/route-cheap.mjs with
its printed receipt; frontier only for the authoritative gate run); any
operation projected >$1 or >20 paid calls → state estimate and wait;
print running spend during long runs.
DONE CRITERIA — shell commands, one per phase gate plus one overall.
Every gate must be verifiable: done = exit code, not opinion. A rubric line the executing
model could grade by vibes ("code is clean") must be paired with a command that can fail
(npm test, curl -sf <url>, node scripts/loop-checkpoint.mjs check). If you can't name the
command, the criterion isn't done yet — sharpen it until you can. Long/unattended prompts should
carry the checkpoint contract too (scripts/loop-checkpoint.mjs: read first, write last,
done-criteria as the shell command).
Prompt-craft rules from rUv's metaprompt notes (cited above): demarcate user-supplied variables with XML tags; when the prompt asks the executing model for a score, demand the justification BEFORE the score; give complex tasks a scratchpad step before the final answer.
End with exactly one question: "Run this now with /brain-build semantics?" On yes, execute
the produced prompt under the full brain-build contract (see the brain-build skill) — phases,
≥95 gates, cost ladder, checkpoints — starting immediately, no re-confirmation. On no, they walk
away with the prompt; it must stand alone.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub stuinfla/ruvnet-brain --plugin ruvnet-brain10 skills in this plugin
/brain-buildThe autonomous build contract, out of the box — "/brain-build <what you want>" activates the disciplined hands-off build power users used to hand-write a standing prompt for. Use when the user says "/brain-build", "brain build", "build this autonomously", "build this hands-off", "loop until it's done", "don't ask me, just build it", or asks for an unattended/self-grading build. Phase-gated per rUv's SPARC, self-verified and self-graded /100 against a per-phase rubric (below 95 → fix and regrade, max 5 iterations), cost-tier routed with printed receipts, crash-resumable via checkpoints, questions batched into one list — the user writes the goal, not the contract./brain-consoleOpen the RuvNet Brain Console (RNBC) for "/rnbc", "/rnb", "/rvbc", "/rvcb", "/brain-console", or "/ruvnet-brain:configure". Use when the user asks to open, configure, inspect, or view the Brain Console. It opens the live local page in the background; the page is read-only until the user clicks a clearly explained, reversible action./brain-scoreScore ANY repository 0-100 across 8 dimensions using the exact evidence-or-it-didn't-happen scorecard RuvNet-Brain applies to itself. Use when the user says "score this repo", "score my repo", "scorecard", "brain-score", "how good is this codebase", "rate this project", "audit quality", or asks for an honest 0-100 quality assessment of a repository. Every deduction must cite evidence from the actual repo; a known architectural flaw caps its dimension at ≤70; a "what I did NOT test" section is mandatory; all scores are out of 100, never out of 10./release-proofFail-closed exact-artifact release and deployment authority. Use before saying a release is ready, pushing a release commit, publishing npm packages, creating GitHub releases, deploying production, closing release-blocking issues, or claiming all gates are green. Requires clean immutable lineage, zero labeled release blockers, exact-SHA GitHub success, nonzero no-skip QE, packed-artifact host tests, installed Brain/RVF proof, and post-publication byte verification./rnbcOpen the RNBC — RuvNet Brain Console — in Claude Code and Codex when the user says "rnbc", "rnb", "Configure RuvNet Brain", asks for the Brain Console, or wants to configure or inspect RuvNet Brain. Claude Code supports /rnbc (and /rnb, /rvbc); Codex invokes the native $ruvnet-brain:rnbc skill./ruvnet-brainUse for ANY request to build, add, implement, design, plan, refactor, fix, speed up, secure, test, or cut the cost of something — in any repo, on any stack, whether or not rUv is mentioned. Typical triggers include search that understands meaning, giving an agent memory that survives restarts, running several agents or reviewers in parallel, defending a chatbot or LLM feature against jailbreaks and data leaks, untrustworthy tests / coverage / flaky suites / quality gates, and an LLM bill that is too high. Also use whenever a task names the RuvNet / rUv ecosystem (Ruflo, RuVector/RVF, AgentDB, RuLake, RuView, agentic-flow, agentic-qe, AIMDS/aidefence, agenticow, SAFLA, QuDAG, DAA, ruv-fann, FACT, SynthLang, SPARC, or any of rUv's 20+ repos). It names the ONE rUv capability that would materially help the request within the first two minutes — before any deep research — grounds every capability claim in real source via search_ruvnet, stays quiet when nothing genuinely fits, and then TAKES THE LEAD the Ruv way on the build itself (SPARC, parallel swarms, persistent memory, QA gates, proof) instead of acting like a passive answer-bot.Other plugins' skills for the same job