ClaudeCodeMod

All shelves / Mods / Play

gamble-with-claude-code

By szarkans

gamble-with-claude-code is a Claude Code play mod by szarkans.

Opens a casino pane with slots, roulette, and blackjack, where you bet the tokens Claude Code burned today. No real money, and nothing you can win.

Draws

Install

The marketplace name is gamble-with-claude-code.

In Claude Code
/plugin marketplace add szarkans/gamble-with-claude-code
/plugin install gamble-with-claude-code@gamble-with-claude-code
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.1.0
License
MIT
Repo stars
6
Last change
2026-10-03

What it can reach

  • Draws in the session
  • Reads usage or context figures
  • Calls another program on this machine

Claude Code 2.1.287 or later and python3. After the install, /reload-plugins or a restart, then /casino. Make the terminal about 50 rows tall, or scroll the panel with PageDown. The other install form: claude plugin marketplace add szarkans/gamble-with-claude-code, then claude plugin install gamble-with-claude-code@gamble-with-claude-code. Keys: z, x, and c pick the game, 1 to 4 bet 10%, 25%, 50%, or all in, s spins, deals, or stands, h hits, d doubles, and Esc or q goes back to work; mouse clicks work where the terminal reports them.

The marketplace name is gamble-with-claude-code, and it lists this one plugin, from the repository. A game while Claude works is why this page files it under play. cc-arcade draws nine games and a pet above the prompt. arcade offers a game above the prompt once Claude has worked for 10 seconds. This one is a casino whose wallet is today's tokens: input, cache writes, and output from Claude Code's own session logs, without cache reads. Lose it all and it refills with every prompt; it burns at midnight. The author says nothing leaves your machine and the mod makes no network calls. The same casino runs in a browser as gamble-your-tokens.

Demo

From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command/casino
  • ui.renderDraws into the sessionPane
  • ui.messageAdds a message to the sessionPane
  • ui.closeWhen its pane closes
  • session.endWhen a session ends

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /casinoSlots, roulette and blackjack on today's Claude Code tokens

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
szarkans
Category
Play
Marketplace
gamble-with-claude-code
Repo
szarkans/gamble-with-claude-code
Version
0.1.0
License
MIT
Repo stars
6
Last change
2026-10-03
Language
TypeScript
Files
51

Other mods in Play

spinlings416rehmanDraws a creature card game above the prompt: while Claude works, wild creatures appear and your team of three battles them. /spin opens your cards.adlib-lyricsbixxterDraws the synced lyrics of what's playing in Apple Music or Spotify above the prompt, word by word, with a small mascot dancing on the beat.reel-timemebessusnTells Reel Time, a fishing game you run as your own Claude artifact, when Claude starts and finishes, so a bell rings and a golden fish bites when it's done.brickfallreporailsOpens a loud brick breaker in a pane while Claude works, after Arkanoid: steer with the mouse, catch capsules and gems, and set off chains of volt bricks.doomreporailsPlays Doom, as Freedoom on the doomgeneric engine, in a pane while Claude works: a real picture in kitty and Ghostty, block characters elsewhere.minefieldreporailsOpens Minesweeper in a pane while Claude works: one 9×9 board with 10 mines, played with the mouse or the keys, and a face that watches the cursor.vibehausrmguneyDraws your agents, subagents, and background tasks as Clawds in a pixel house, a room for each kind of work, with a band of five-hour and weekly usage.scenesomeerdvrnPlays a pixel scene above the prompt while Claude works, such as a night drive or a fish tank, with a crab that acts out each tool and confetti when tests pass.themesomeerdvrnOpens each new session in the next color theme, such as Tokyo Night or Dracula, so side-by-side sessions look different, and names the theme in the footer.brand-themecharlie947Colors the spinner, the running tool, and the question dialog in your brand, and draws a band above the prompt with your name and how full the context is.typing-speedborabiricikDraws a live words-per-minute meter above the prompt as you type, a result card after Enter, offline spell check, and a /typing stats pane.dopa-modecharimsmaSets off braille fireworks above the prompt for each keystroke, tool call, commit, and passing test, with a HUD of context, plan limit, cost, and rank.
All 96 in Play