Gotta train 'em all.
A Pokemon companion lives in your Claude Code statusline. Every coding session earns XP. Your Pokemon levels up, evolves at the real game levels, and when fully evolved โ a new wild encounter appears. Full-color ANSI sprite art rendered directly in your terminal.
Code more โ earn XP โ level up โ evolve โ catch 'em all. Gen 1 Kanto (151 Pokemon). Pokedex tracking. Type-colored UI. Zero config beyond install.
๐ฟ TANGROWTH LV36 ยท #465 ยท Vine Pokemon ยท Gen 1
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโ โ โโ
โ โโโโโโโโโโโโโโ
โโโโ โโโโโโโโโโโโโ
โโโโโโโโโโโโโ โโโโโ
โโโโโโโโโโโโโโโโ
โ โโโโโโโโโโ โโ
โโโโโโโ โโโโโ
โโโโโ โโโโโโ
โโโโ
Claude Code Plugin (recommended)
claude plugin marketplace add josheche/statusmon
claude plugin install statusmon@statusmonManual setup
git clone https://github.com/josheche/statusmon.git
cd statusmon && npm install && npm run buildAdd to ~/.claude/settings.json:
{
"statusLine": {
"type": "command",
"command": "/path/to/statusmon/scripts/statusline-wrapper.sh"
}
}That's it. Open Claude Code โ your starter Pokemon appears. Code normally. Watch it grow.
Every Claude Code session generates tokens. Statusmon converts those tokens into XP:
session_xp = floor(total_tokens / 7,500)
total_xp = banked_xp + session_xp
level = floor(total_xp / 3) + 1
XP banks automatically between sessions. Your Pokemon's level persists and grows over time. The XP bar shows progress toward the next level.
| Session size | Tokens | XP earned | Levels |
|---|---|---|---|
| Light | ~50K | 6 | ~2 |
| Normal | ~100K | 13 | ~4 |
| Heavy | ~200K | 26 | ~9 |
Evolution happens at the real game levels from PokeAPI โ Charmander evolves at Lv.16, Charmeleon at Lv.36. When your Pokemon evolves, a full-color ANSI sprite announcement appears.
Release happens after your Pokemon is fully evolved and hits Lv.60 (or Lv.30 for non-evolving Pokemon). A new wild encounter appears โ a fresh companion for your next journey.
Start with Gen 1 Kanto โ the original 151 Pokemon. Unlock new generations by training:
| Gen | Pokemon | Unlock |
|---|---|---|
| ๐ด Gen 1 | #001โ#151 Kanto | Start |
| ๐ต Gen 2 | #001โ#251 Johto | 50 sessions |
| ๐ก Gen 3 | #001โ#386 Hoenn | 100 sessions |
| ๐ข Gen 4 | #001โ#493 Sinnoh | 150 sessions |
| ... | ... | +50 each |
Unlocking adds to the encounter pool โ you can still find Gen 1 Pokemon after unlocking Gen 2.
Full-color ANSI sprites rendered with bilinear interpolation using Unicode half-block characters (โโ). Every Pokemon has a unique sprite pulled from PokeAPI.
Configurable size via sprite_size in ~/.statusmon/trainer.json:
| Size | Terminal rows | Fidelity |
|---|---|---|
16 |
8 rows | Compact |
32 |
16 rows | Default |
48 |
24 rows | Detailed |
64 |
32 rows | Large |
96 |
48 rows | Full resolution |
The UI uses game-accurate type colors from the Pokemon games:
| Type | Color | Type | Color |
|---|---|---|---|
| ๐ฅ Fire | rgb(240, 128, 48) |
๐ง Water | rgb(104, 144, 240) |
| ๐ฟ Grass | rgb(120, 200, 80) |
โก Electric | rgb(248, 208, 48) |
| ๐ฎ Psychic | rgb(248, 88, 136) |
๐ป Ghost | rgb(112, 88, 152) |
| ๐ Dragon | rgb(112, 56, 248) |
๐ Dark | rgb(112, 88, 72) |
| โ๏ธ Steel | rgb(184, 184, 208) |
๐ง Fairy | rgb(238, 153, 172) |
Name, XP bar, and accents are tinted with your Pokemon's primary type color.
Every Pokemon you train is recorded in ~/.statusmon/pokedex.json. Use the /pokedex slash command to browse your history โ original species, final evolution reached, max level, dates trained.
# In Claude Code
/pokedex| Command | What |
|---|---|
/pokemon |
Show your current companion's status and stats |
/pokedex |
Browse all Pokemon you've encountered and trained |
All data lives in ~/.statusmon/:
~/.statusmon/
โโโ trainer.json # Current companion + XP + generation
โโโ pokedex.json # All encountered Pokemon history
โโโ cache/ # Cached PokeAPI responses + sprites
No database, no native deps, no compilation. Pure Node.js + pngjs + pokedex-promise-v2.
Statusmon chains with other statusline plugins. If TokenGolf is installed, both render together โ your Pokemon companion above TokenGolf's efficiency HUD.
statusline.mjs โ Reads trainer.json, computes level from session tokens,
renders sprite + info. Nearly pure render โ writes only
when tokens grow by 10K+.
session-start.mjs โ Banks previous session's XP, checks generation unlocks,
pre-caches PokeAPI data. Runs once per session.
lib/evolution.mjs โ Evolution chains, level computation, release logic.
Uses pokedex-promise-v2 for PokeAPI access.
lib/sprite.mjs โ PNG โ ANSI half-block art conversion with bilinear
interpolation. Configurable size.
lib/trainer.mjs โ State management for ~/.statusmon/trainer.json.
lib/pokedex.mjs โ Pokedex recording on Pokemon release.
lib/cache.mjs โ Sprite PNG download + filesystem cache.