pixel-pet
A pixel pet for the Claude Code terminal. It acts out what Claude is doing,
and a game-style HUD below the prompt keeps your context and rate limits in view.
Install
You need Claude Code v2.1.287 or later (claude --version).
claude plugin marketplace add Namenomeaning/pixel-pet
claude plugin install pixel-pet@pixel-pet
Start a new session, or run /reload-plugins in an open one. The slime appears above the prompt.
To uninstall, run claude plugin uninstall pixel-pet@pixel-pet.
What the pet does
| When | The pet |
|---|
| Claude is idle | Breathes, blinks, and looks around. Falls asleep after the Sleep after time, a minute by default. |
| A turn starts | Jumps |
| A tool call ends | Runs back and forth for 4 seconds |
| Claude thinks longer | Looks around, with ? and dots |
Read | Reads a book: reading app.ts |
Grep, Glob | Sweeps a magnifier: hunting for "useState" |
Edit, MultiEdit, Write, NotebookEdit, TodoWrite | Writes with a pen: editing app.ts |
Bash, and any tool not listed | Types in a small terminal: $ npm test |
WebFetch, WebSearch | Spins a globe: fetching docs.anthropic.com |
| A subagent starts | Smiles. A mini joins the trail behind the pet and stays until that subagent finishes. It leaves with a sparkle, or grey if the subagent failed. |
| A tool call fails | x x eyes and a sweat drop |
| A turn ends | Cheers |
The HUD
A pixel window below the prompt holds up to three bars:
- ♥ HP is the context window left. It turns yellow at 50 % or less, red at 25 % or less, and shows
/compact under 10 %.
- ✦ MP is the 5-hour rate limit left, with the time to its reset, such as
reset in 4h26m.
- ◆ ST is the 7-day rate limit left, with the time to its reset, such as
reset in 3d4h.
MP and ST turn red under 15 %. Each shows on Pro and Max plans once a response has reported its limit.
While the pet idles or thinks, its face follows the HUD: it sweats at 50 % HP or less, gets x x eyes at 25 % HP or less, and looks tired under 20 % MP or ST.
Make it yours
Ask Claude in any session, or run /pixel-pet:pixel-pet. You can change:
- the pet: "set up my pet as a rubber duck", "make the slime purple";
- its props and effects: "a UFO tablet when it reads", "a radar dish for web searches", "no question mark when it thinks";
- its minis: "a tiny saucer for each subagent";
- the text: "alien status lines", "make the bash line red";
- the HUD: "a green frame", "rename HP to FUEL", "hide ST";
- the scene: "a moon surface with rocks to jump over", "grass and flowers behind the pet";
- the settings below, such as speed and sleep.
Claude opens a preview in your browser first: every motion, face, status line, and HUD look, and the pet running through its scene, on a dark or a light background. Say what to change, and Claude redraws it. When you approve, the change shows above the prompt at once and stays for later sessions. To undo, ask for the slime back.
All of it lives in one theme, a JSON file documented in FORMAT.md. alien.json uses every field. To share a theme, ask Claude to save it as a file. To use someone else's, ask Claude to load their file.
Settings
In a session, run /plugin configure pixel-pet@pixel-pet.
| Setting | Default | What it does |
|---|
| Speed | normal | How quickly the pet runs and animates: slow, normal, or fast. |
| Sleep after (seconds) | 60 | Idle time before the pet falls asleep. 0 keeps it awake. |
| HUD | on | The HP, MP, and ST bars below the prompt. |
| Status line | on | The text beside the pet. |
| Name files and commands | on | The status line names the file, pattern, command, host, or search query a tool works on. Turn it off to share your screen. |
| Subagent minis | on | A mini behind the pet for each running subagent. |
From a shell, pipe the values as JSON, then restart Claude Code:
echo '{"speed": "fast", "sleepAfter": "300"}' | claude plugin configure pixel-pet@pixel-pet --values-stdin