Free & open Runs locally No pay-to-win

Turn your AI coding into
an idle RPG.

The tokens you already burn in Claude Code, Cursor, Codex & Gemini become energy for a hero that fights, levels, and loots while you work. Come back from a coding session to cleared floors and fresh gear.

$ npx tokengotchi
One command. It reads your local usage and opens the game in your browser.

How it works

You code. Your hero climbs.

No new habits, no extra effort. The signal is already on your disk — Tokengotchi just turns it into progress.

1

You code

Your AI agent writes token counts to local log files as you work — the same data ccusage reads. Nothing leaves your machine.

2

Tokens → energy

Tokengotchi converts usage into combat energy, streak-weighted so showing up beats raw spend. Your work is the fuel.

3

Come back to loot

Floors cleared, levels gained, gear dropped, bosses down — all earned while you were heads-down in the editor.

What's inside

A real idle game, not a gimmick.

Tuned combat math, juicy feedback, and a deep long-game: your hero visibly transforms, unlocks new attack styles, and climbs prestige ranks through themed zones.

⚔️

Idle auto-battler

Hit flashes, crits, knockback, damage numbers, particles and screen shake — plus new attack styles as you level: melee, ranged, multi-shot, then a screen-shaking beam.

🧙

Classes & builds

Vibe Coder (crit/glass), Refactorer (tank/sustain), Architect (balanced). Switch anytime.

💎

Loot & evolution

Common → Legendary drops with rarity glow, a loadout you can see, and a hero that visibly transforms — earning a weapon, aura, wings, a crown and orbiting orbs as it grows.

👑

Prestige & ranks

Reset past the first boss for a permanent, compounding multiplier and climb the ranks — Bronze, Silver, Gold… all the way to Mythic. Themed zones keep the depths fresh.

🔌

Reads your agents

Claude Code, Codex & Gemini out of the box (Cursor experimental). Add another with one small adapter.

🔒

Local & free

No account, no backend, no telemetry. The whole game is free — donations are a thank-you, never power.

Support

Free forever. Fueled by good vibes.

If Tokengotchi made a coding session more fun, a coffee helps cover art & hosting. It never unlocks power — just gratitude.