brain-prompt

brain-prompt is a skill for Claude Code from stuinfla/ruvnet-brain. It costs 0 tokens per session (1,267 once invoked), scanned B, original, no licence file.

A prompt-writing assistant that turns a rough request into a detailed prompt ready to use. It structures the work into phases, review criteria, rules, and limits on usage cost.

In plain words
What is it for?
Use it when you want to write the right prompt for a task, especially a multi-step task that needs planned phases, quality checks, and cost controls.
Why use it?
It removes the need to design a complete instruction set from scratch. This can make a vague request clearer and easier to run consistently.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ruvnet-brain plugin — 9 skills, 5 commands, 7 hooks, 1 MCP server shipped together

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 skills/stuinfla/ruvnet-brain/brain-prompt
Any agent
npx skills add stuinfla/ruvnet-brain --skill brain-prompt
Clone the repo
git clone --depth 1 https://github.com/stuinfla/ruvnet-brain

Made for: Claude Code.

Or install ruvnet-brain, the plugin that ships this one along with the rest of its 9 skills, 5 commands, 7 hooks, 1 MCP server.

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 brain-prompt

README.md
[![agentmods](https://agentmods.dev/badge/skills/stuinfla/ruvnet-brain/brain-prompt.svg)](https://agentmods.dev/skills/stuinfla/ruvnet-brain/brain-prompt)
Your own site
<a href="https://agentmods.dev/skills/stuinfla/ruvnet-brain/brain-prompt"><img src="https://agentmods.dev/badge/skills/stuinfla/ruvnet-brain/brain-prompt.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,267 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. Scan, not verified.
Origin unknown 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.01267
Opus 5 $0.00000 $0.00633
Sonnet 5 $0.00000 $0.00253
Haiku 4.5 $0.00000 $0.00127

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

Security

Grade B, and why

brain-prompt scanned grade B with 2 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.

Asks the agent to reveal its instructionsmediumSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

The output prompt's section shape follows rUv's SAFLA prompt-generator

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

(`npm test`, `curl -sf <url>`, `node scripts/loop-checkpoint.mjs check`). If you can't name the
plugin/skills/brain-prompt/SKILL.md · 84 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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 First seen · 84 lines · 0 tokens per session scan B 04b1f20ac150

Subscribe to this mod's changes

brain-prompt is a skill published in the GitHub repository stuinfla/ruvnet-brain (65 stars, last pushed yesterday), with no licence file. It costs nothing until one of its globs matches a file; then it loads 1,267 tokens. A static security scan graded it B with 2 findings (asks the agent to reveal its instructions, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ccc-prompt-fix

Fix and sharpen a prompt. Diagnoses it against the 6 prompt-quality patterns, returns a tightened rewrite with the reasoning, and suggests the right library prompt for your task.

KevinZai/commander · 41 tokens

llm-app-patterns

Production-ready patterns for building LLM applications. Covers RAG pipelines, agent architectures, prompt IDEs, and LLMOps monitoring. Use when designing AI applications, implementing RAG, building agents, or setting up LLM observability.

davila7/claude-code-templates · 54 tokens

llm-evaluation

Master comprehensive evaluation strategies for LLM applications, from automated metrics to human evaluation and A/B testing.

davila7/claude-code-templates · 25 tokens

guidance

Control LLM output with regex and grammars, guarantee valid JSON/XML/code generation, enforce structured formats, and build multi-step workflows with Guidance - Microsoft Research's constrained generation framework.

davila7/claude-code-templates · 38 tokens

prompt-engineering-patterns

Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability.

davila7/claude-code-templates · 23 tokens

prompt-library

Curated collection of high-quality prompts for various use cases. Includes role-based prompts, task-specific templates, and prompt refinement techniques. Use when user needs prompt templates, role-play prompts, or ready-to-use prompt examples for coding, writing, analysis, or creative tasks.

davila7/claude-code-templates · 57 tokens