snake

Reviewed at commit de60b24

Snake in a pane while Claude works, paused when it's done. Opt-in, so nothing opens until /snake.

Made by
Hamza Zafar
What we checked

Adds a /snake command that switches a Snake game on or off. While on, a pane opens when Claude starts working and the game pauses when Claude is done; the score also shows next to the spinner. It reads no files or prompts, runs no programs, makes no network calls and only stores your best score.

Review details

Static review of the source at the pinned commit; not run. Registers session.start (registers the /snake command, loads the saved best score from $.store), turn.start (opens the pane when Snake is on), turn.complete (pauses the game), command.run for snake (toggle on/off/stop), ui.render for Pane (renders a client-side game module with the game logic in snake.ts) and for Spinner (appends score text), and ui.message (receives score numbers from the game). Uses $.store.get/set for the best score only, plus host-held atoms for mode and score. The game runs on the drawing thread with its own timer and arrow/WASD keys. No fetch, no process, no file or environment access, no model calls. Opt-in: nothing opens until /snake.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: no
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events
Screenshot of snake
Made this mod? Add a badge to your README

modsforClaude badge for snake

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/snake.svg)](https://modsforclaude.com/mods/snake/)

← All mods