Claude removed the
/buddyfeature — "April Fools feature and has been removed in the latest release, so closing this as not planned." So I built my own. An evolving pixel-art pet companion for Claude Code that lives in your status line, scores your prompts, and grows stronger as you write better code.
▄█▄█▄
█▄█▄█ Pet: Probe ♥ 42/100 XP
▀█▀█▀
git clone https://github.com/cs17/claudePet.git
cd claudePet
./install.shThen restart Claude Code. Your pet appears in the status line.
- Pixel creature in your status line that evolves through 5 stages
- Prompt scoring across 5 dimensions (specificity, context, actionability, scope, constraints)
- XP system — better prompts = more XP = faster evolution
- 9 creature families — randomly assigned, each with unique personality and voice
- Streak tracking — consecutive daily usage earns bonus XP
- Milestones — achievements like "Perfect Prompt" award bonus XP
/petcommand — toggle display on/off, check status, reset with random family
9 families, 5 stages each. You're randomly assigned a family on install. XP thresholds: 0 → 100 → 400 → 1,600 → 6,400
| Family | Stages | Voice |
|---|---|---|
| Titan | Larva → Juvenile → Warrior → Elder → Titan | Deep rumble → earth-shaking |
| Swarm | Spore → Nymph → Worker → Sentinel → Hive | Faint buzz → omnipresent drone |
| Golem | Pebble → Boulder → Golem → Colossus → Monolith | Grinding stone → mountain |
| Invader | Probe → Scout → Drone → Soldier → Commander | Static → fleet commander |
| Crawler | Mite → Beetle → Crawler → Stalker → Behemoth | Tiny clicks → silence then strike |
| Brute | Seed → Sprout → Grunt → Hunter → Brute | Tiny grunt → thunderous roar |
| Phantom | Wisp → Shade → Phantom → Wraith → Spectre | Faint whisper → the void speaks |
| Aberrant | Flicker → Glitch → Anomaly → Aberrant → Nexus | Corrupted static → omnidimensional |
| Raptor | Hatchling → Swooper → Talon → Raptor → Apex | Tiny chirps → thunder from above |
Each prompt is scored 0-20 per dimension (max 100 total):
- Specificity — file paths, function names, line numbers
- Context — background info, expected vs actual behavior
- Actionability — clear verbs, imperative instructions
- Scope — focused vs overly broad requests
- Constraints — tech preferences, style rules, limits
/pet on— show pet in status line/pet off— hide pet/pet status— check XP, level, streak/pet reset— reset with a random new family
- Node.js 20+
- Claude Code CLI (
claude) jq(for status line rendering)- Dark terminal theme — pixel creatures use Unicode block characters that are invisible on light backgrounds
claude mcp remove claude-pet
rm -rf ~/.claude/claude-pet ~/.claude/skills/petRemove the UserPromptSubmit hook and statusLine entries from ~/.claude/settings.json.
What install.sh does
- Checks prerequisites (Node.js, jq)
npm install && npm run build- Registers MCP server via
claude mcp add - Adds prompt-scoring hook to
~/.claude/settings.json - Sets up status line with creature display
- Copies data files and
/petskill to~/.claude/ - Randomly assigns a creature family
MCP Tools (advanced)
| Tool | Description |
|---|---|
analyze_prompt |
Score a prompt, award XP, get suggestions |
get_pet_status |
See level, XP, personality |
log_activity |
Bonus XP for commits, tests, PRs |
get_evolution_history |
View evolution timeline |
Data files
Pet state persists in ~/.claude/claude-pet/:
state.json— XP, level, streaks, milestones, assigned familysprites.json— block-art creature spritescreatures.json— creature registryconfig.json— display toggleprompt-history.json— last 50 scored prompts
Creature pixel art derived from MonstaPix by Ken Bruce, licensed under CC BY-NC-SA 3.0.
This project is non-commercial and open source.
- Code: MIT License
- Creature sprites: CC BY-NC-SA 3.0 — derived from MonstaPix by Ken Bruce

