szarkans/gamble-with-claude-code

Slots, European roulette and blackjack in your terminal. Bet the tokens Claude Code burned today. No real money, just questionable decisions.
szarkans/gamble-with-claude-code

a casino right inside Claude Code. slots, roulette and blackjack — and you bet the tokens Claude Code actually burned today.
<h2 align="center">what's this about?</h2>you burn millions of tokens a day anyway. might as well gamble them.
<h2 align="center">install</h2>[!IMPORTANT] no real money. not real tokens either: you don't spend them and you can't win them. your "gambling tokens" are just the tokens Claude burned working today.
/plugin marketplace add szarkans/gamble-with-claude-code
/plugin install gamble-with-claude-code@gamble-with-claude-code
or
claude plugin marketplace add szarkans/gamble-with-claude-code
claude plugin install gamble-with-claude-code@gamble-with-claude-code
then /reload-plugins (or restart Claude Code) and
/casino
requirements: Claude Code 2.1.287+ (the one with mods) and python3.
make the terminal ~50 rows tall, or scroll the panel with PageDown.
want new games without lifting a finger? /plugin → Marketplaces → gamble-with-claude-code → Enable auto-update.
slots — three reels, 777 pays ×20, rm -rf ×3 pays ×50.
roulette — european, 0–36. red/black, even/odd, halves, dozens, or a single number
blackjack — dealer stands on 17, blackjack pays 3:2, double down. no split. yet.
<h2 align="center">controls</h2>z x c — slots, roulette, blackjack
1–4 — bet 10%, 25%, 50%, all in
s — spin / deal / stand
h — hit, d — double
esc or q — back to work
mouse clicks work too, where your terminal reports them.
<h2 align="center">how are tokens counted?</h2>from Claude Code's own session logs on your machine (~/.claude/projects, or $CLAUDE_CONFIG_DIR). today's input + cache writes + output. cache reads don't count — re-reading the same context isn't work.
nothing leaves your machine. the mod makes zero network calls.
<h2 align="center">also</h2>not claude code's user or don't like in-terminal view? check out gamble-your-tokens - same casino but in browser!

not affiliated with Anthropic. just a fan with a token problem.
Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.
claude plugin marketplace add szarkans/gamble-with-claude-code claude plugin install gamble-with-claude-code
a casino right inside Claude Code. slots, roulette and blackjack — and you bet the tokens Claude Code actually burned today.
<h2 align="center">what's this about?</h2>you burn millions of tokens a day anyway. might as well gamble them.
<h2 align="center">install</h2>[!IMPORTANT] no real money. not real tokens either: you don't spend them and you can't win them. your "gambling tokens" are just the tokens Claude burned working today.
/plugin marketplace add szarkans/gamble-with-claude-code
/plugin install gamble-with-claude-code@gamble-with-claude-code
or
claude plugin marketplace add szarkans/gamble-with-claude-code
claude plugin install gamble-with-claude-code@gamble-with-claude-code
then /reload-plugins (or restart Claude Code) and
/casino
requirements: Claude Code 2.1.287+ (the one with mods) and python3.
make the terminal ~50 rows tall, or scroll the panel with PageDown.
want new games without lifting a finger? /plugin → Marketplaces → gamble-with-claude-code → Enable auto-update.
slots — three reels, 777 pays ×20, rm -rf ×3 pays ×50.
roulette — european, 0–36. red/black, even/odd, halves, dozens, or a single number
blackjack — dealer stands on 17, blackjack pays 3:2, double down. no split. yet.
<h2 align="center">controls</h2>z x c — slots, roulette, blackjack
1–4 — bet 10%, 25%, 50%, all in
s — spin / deal / stand
h — hit, d — double
esc or q — back to work
mouse clicks work too, where your terminal reports them.
<h2 align="center">how are tokens counted?</h2>from Claude Code's own session logs on your machine (~/.claude/projects, or $CLAUDE_CONFIG_DIR). today's input + cache writes + output. cache reads don't count — re-reading the same context isn't work.
nothing leaves your machine. the mod makes zero network calls.
<h2 align="center">also</h2>not claude code's user or don't like in-terminal view? check out gamble-your-tokens - same casino but in browser!

not affiliated with Anthropic. just a fan with a token problem.