~ tokenop.dev

tokenop — the Token Op Arcade

You're feeding your AI tokens into the machine.

You might as well play a game while it loads — a whole arcade, right in your terminal. tokenop drops a game in a new window while your agent works, and clears it the moment it's done.

$ curl -fsSL https://tokenop.dev/install.sh | sh

// runs in your terminal · macOS + Terminal.app · `tokenop disable` to stop

SETUP

Three commands. Then ready to play.

────────────────────────────────────────────────────────────

01

install

curl … | sh drops the tokenop binary in ~/.local/bin. One file, lives right in your terminal — nothing to build.

02

enable

tokenop enable wires a Claude Code hook (merge-safe — your other settings are untouched). Reverse anytime with tokenop disable.

03

wait → play

Submit a prompt: a game pops in a new window while the agent works, and closes when it stops. tokenop set pong to pin one, or keep the selector.

THE CABINET

Four games. One quarter… er, token.

────────────────────────────────────────────────────────────

 dino         HI 00105   00042
                         ▄▄
   ▄███▄                ████
    ███              ████
  █████               ▀▀
████████        █████
  ██             
──────────────────────────────

Dino

HI 00105

Outrun the wait. Jump the cacti, duck the birds, watch the sun set.

 snake   score 6   best 57
 ┌────────────────┐
                 
     ▓▓▓       
                 
                 
 └────────────────┘

Snake

HI 00057

Don't eat your tail. It speeds up. You won't.

 pong   RALLY 003  LIVES 3  HI 025
                 
                               
                             
                             
                             
  

Pong

HI 00025

Rally the CPU. The ball gets faster every volley.

 flappy             HI 0042   0007
            ███
            ███

     ▄█▄                  ███
     ▀█▀                  ███
            ███           ███
──────────────────────────────────

Flappy

HI 00042

Mind the gap. One tap up, gravity does the rest.

Insert token. Ready to play.

$ curl -fsSL https://tokenop.dev/install.sh | sh

SPECS

$ tokenop --help

────────────────────────────────────────────────────────────

// what you're actually installing
  • All in the terminal. The whole arcade runs in Terminal.app — no browser, no app window, no tab to lose.
  • Auto-open, auto-close. Pops on prompt, vanishes on stop — kill-before-close, so no "terminate process?" nag and no leftover windows.
  • Merge-safe hooks. enable/disable edit ~/.claude/settings.json without touching a single other key.
  • Your pick. tokenop set <game> to pin one, or leave it on the arcade selector to choose each time.
  • Controls that don't feel like 1983. Jump-buffering, coyote time, fixed arrow-key lag — proven by in-engine autopilots.
  • macOS + Terminal.app. Window magic via osascript. Run tokenop doctor if anything looks off.