ClaudeCodeMod

All shelves / Mods / Play

snake

By hamzafer

snake is a Claude Code play mod by hamzafer.

Draws Snake in a pane while Claude works, and pauses when the turn finishes. Nothing opens until you run /snake.

Draws

Install

The marketplace name is claude-code-mods.

In your shell
claude plugin marketplace add hamzafer/claude-code-mods
claude plugin install snake@claude-code-mods
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.2.3
License
MIT
Repo stars
381
Last change
2026-10-05

What it can reach

  • Draws in the session

Claude Code 2.1.287 or later. The author says to restart after installing. Installing it changes nothing until you type /snake. /snake turns it on, and /snake off, or /snake again, turns it off. Click the pane to play, steer with the arrows or WASD, and press Esc to give the keys back. The pane shows your score and your best, and the best is kept across sessions. It plays in the terminal or the desktop app.

The marketplace, claude-code-mods, holds all of hamzafer's mods, reels among them, which plays YouTube Shorts in a pane while Claude works. This one installs on its own, or from the checklist that npx claude-code-mods@latest opens. A game while Claude works is why this page files it under play. snake-pane, by Szotasz, draws Snake in a side pane while Claude works, pauses when the turn ends, and opens when you send a prompt. cc-arcade, by sezaakgun, draws nine games and a pet above the prompt. This one opens only once you turn it on with /snake. In the source, the pane opens at the start of each turn while it is on and pauses with Claude's done, your turn when the main turn ends, and a subagent finishing does not pause it.

Demo

The reels and snake section on the author's GitHub page
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • turn.startWhen Claude starts a turn
  • turn.completeWhen a turn ends
  • command.runWhen you run its slash command/snake
  • ui.renderDraws into the sessionPaneSpinner
  • ui.messageAdds a message to the session

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

Slash commands 1

  • /snakeTurn Snake on or off: it plays in a pane while Claude works

Files

The author's source, 3 files. They load when you open them.

Facts

Author
hamzafer
Category
Play
Marketplace
claude-code-mods
Repo
hamzafer/claude-code-mods
Folder
mods/snake
Version
0.2.3
License
MIT
Repo stars
381
Last change
2026-10-05
Language
TypeScript
Files
9

Other mods in Play

now-playinghamzaferDraws the Spotify track above the prompt: title, progress, the lyric being sung, and previous, pause, and next.buddySingh-APDraws a small ASCII pet above the prompt. It reacts while Claude works and levels up.spinner-packsSingh-APReplaces the spinner word with one of ten themed packs. The line that closes the turn uses the same word in the past tense.intermissionjarrodwattsOpens a Doom deathmatch in a pane while Claude works, on a shared server with everyone else waiting on Claude, and hands you back when it is done.pokemondgokcinDraws a pixel Pokémon in the band above the prompt that acts out Claude's tools, sends out a ball for each subagent, and shows a red ! when Claude needs you.mindful-claudehallutonDraws a guided breathing exercise above the prompt while Claude works, with the spinner counting the breath, and clears it when Claude answers.wrappedSingh-APOpens a Wrapped-style card of your Claude Code use: stats, streaks, a coding persona, and a share card one key away.cuelumedanielwh2Plays a ready sound when a long turn ends and an attention sound when a permission prompt is waiting.better-statuslineAutumn1337Draws the session's context, cache, and plan limits as dot-matrix rings above the prompt, with the music you are playing beside them.voxrtk-aiDraws a waveform above the prompt while vox speaks, from the spectrum vox writes for the utterance, and a short one while it listens.daily.devdailydotdevDraws rotating daily.dev headlines in a band above the prompt and on the status line, with Open and Hide.storytimemaddiedreeseDraws a short story above the prompt about the tool Claude just called, written by a small model that runs inside the mod.
All 96 in Play