Skip to content

chadbyte/brain-cure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

BrainCure

🧠 BrainCure

Stop outsourcing your thinking to AI. BrainCure is a Claude Code plugin that scores your prompts and helps you stay in the driver's seat of your projects.

"AI is a tool, not a replacement for your brain."

πŸ€” Why BrainCure?

When you let AI do all the thinking, you lose:

  • Deep understanding of your own codebase
  • Problem-solving skills that make you valuable
  • The ability to debug when AI gets it wrong

BrainCure gives you real-time feedback on your prompt quality, encouraging you to think first, delegate wisely.

✨ Features

  • Automatic Scoring - Every prompt gets a 0-10 score
  • Session Tracking - Monitor your average across a session
  • Actionable Feedback - Know exactly how to improve
  • Drill Sergeant Mode - Forrest Gump style feedback πŸŽ–οΈ
  • Zero Config - Works immediately after installation

πŸ“¦ Installation

From Claude Code

/plugin marketplace add chadbyte/lab
/plugin install brain-cure

Setup

After installation, add BrainCure to your projects:

# For all projects (global)
/brain-cure:setup-global

# For current project only
/brain-cure:setup-local

From Source

For contributors or those who want the latest development version:

# Clone the repository
git clone https://github.com/chadleeshaw/brain-cure.git

# Install as plugin
claude plugin install ./brain-cure

# Verify installation
claude plugin list

πŸš€ Usage

Once installed, BrainCure automatically evaluates every prompt:

⏺ πŸ“Š BrainCure: 8/10 🦾 Commander
  Session avg: 7.2

⏺ πŸ“ Nice!

Commands

All commands use the /brain-cure: prefix:

Command Description
/brain-cure:score View session statistics
/brain-cure:reset Reset session tracking
/brain-cure:help Explain the scoring system
/brain-cure:setup-global Add BrainCure to ~/.claude/CLAUDE.md (all projects)
/brain-cure:setup-local Add BrainCure to project's CLAUDE.md
/brain-cure:savage Enable savage mode (drill sergeant) πŸŽ–οΈ

πŸ“Š Scoring System

Base 1 point + pillars (0-9) = max 10 points
Butler Mode: base 0 points β†’ max 9 points
Score Title
10 🦸 Tony Stark
9 πŸ’Ž Flawless
8 🦾 Commander
7 🧠 Sharp
6 🎯 Focused
5 🧭 On Track
4 πŸ€” Getting There
3 🚢 Wandering
2 πŸ˜Άβ€πŸŒ«οΈ Foggy
1 🎰 Slot Machine
0 πŸ™ Hail Mary

πŸ” How It Works

BrainCure evaluates prompts on three pillars:

For Requests (tasks):

Pillar Question
Origin Do you know what the problem is?
Destination Do you know what you want?
Boundary Do you have success/failure criteria?

For Questions (exploration):

Pillar Question
Hypothesis Do you have your own theory?
Scope Where are you looking?
Context Why are you curious about this?

Butler Mode πŸ›ŽοΈ

When you ask AI to do something you could easily do yourself (rename a variable, add an import), Butler Mode activates and caps your base score at 0.

πŸŽ–οΈ Drill Sergeant Mode

Want feedback from a Marine Corps drill instructor? Enable drill sergeant mode:

/brain-cure:savage

Scoring stays fair. But feedback comes Forrest Gump style:

Good prompt (8/10):

⏺ πŸ“Š BrainCure: 8/10 🦾 Commander
  Session avg: 7.2

⏺ πŸ“ OUTSTANDING, PRIVATE! That's the finest prompt I've seen all day!

Bad prompt (2/10):

⏺ πŸ“Š BrainCure: 2/10 πŸ˜Άβ€πŸŒ«οΈ Foggy
  Session avg: 5.2

⏺ πŸ“ WHAT IS THIS, PRIVATE?! You call this a prompt?! WHERE'S YOUR CONTEXT?!

🀝 Contributing

Contributions are welcome! See the source repository for development guidelines.

Project Structure

brain-cure/
β”œβ”€β”€ .claude-plugin/
β”‚   └── plugin.json           # Plugin manifest
β”œβ”€β”€ hooks/
β”‚   β”œβ”€β”€ hooks.json            # SessionStart hook config
β”‚   └── ensure-claude-md.sh   # Auto-setup script
β”œβ”€β”€ skills/
β”‚   └── brain-cure/
β”‚       β”œβ”€β”€ SKILL.md          # Main instructions
β”‚       β”œβ”€β”€ FRAMEWORK.md      # Evaluation criteria
β”‚       β”œβ”€β”€ EXAMPLES.md       # Example prompts
β”‚       └── scripts/
β”‚           └── score.py      # Score calculation
β”œβ”€β”€ commands/
β”‚   β”œβ”€β”€ score.md              # /score command
β”‚   β”œβ”€β”€ reset.md              # /reset command
β”‚   β”œβ”€β”€ help.md               # /help command
β”‚   β”œβ”€β”€ setup-global.md       # /setup-global command
β”‚   β”œβ”€β”€ setup-local.md        # /setup-local command
β”‚   └── roast.md              # /roast command
└── README.md

πŸ“„ License

MIT

About

🧠 Stop outsourcing your brain to AI. Prompt quality scoring for Claude Code.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors