Claude Mod. A mod is a complete Claude Code plugin built on function hooks (Anthropic's mods/ layout); it is on by default in Claude Code 2.1.287+. Hooks module: hooks/register.tsx. Run claude plugin validate on the installed folder to see every event it hooks and every $ call it makes.
README.md

2048

2048 above the Claude Code prompt, for the minutes Claude spends working: slide and merge tiles up to 2048. Its status line tells you when Claude finishes the turn (2048 has no clock, so there is nothing to pause), so you never miss a reply. Playing costs no tokens: the mod answers every key and click itself.

A single game split out of sezaakgun/cc-arcade (MIT, by Seza Akgün). Want all nine games, a picker and the pet in one plugin? Install games/cc-arcade instead.

Play

  1. /2048 opens the board above the prompt (/2048 stop or the close button closes it).
  2. Click the board to give it the keyboard; Esc gives the keyboard back to the prompt.
  3. arrows slide every tile, r restarts. Equal tiles merge; the game ends when no slide changes anything.

Your best score is kept in the plugin's store across sessions.

Install

sh
npx claude-code-templates@latest --mod games/2048
claude

It is written to .claude/skills/2048/, which Claude Code auto-loads as 2048@skills-dir. For one session with hot reload: claude --plugin-dir .claude/skills/2048.

Requirements

  • Claude Code 2.1.287 or later (mods are on by default from that version).
  • An interactive terminal that reports the mouse. Nothing draws in claude -p, the desktop app or mobile.
  • A terminal font with box-drawing and block characters.

Clones of the genre, not affiliated with or endorsed by the original publishers.