{"slug": "show-hn-claude-mods-minesweeper", "title": "Show HN: Claude Mods – Minesweeper", "summary": "Reporails released Claude Mods, a set of classic desktop games packaged as Claude Code plugins, starting with a Minesweeper game called minefield that runs in a side pane while Claude works. The mods require Claude Code 2.1.287 or later, install via `/plugin marketplace add reporails/arcade` and `/plugin install minefield@reporails-arcade`, and hook no prompt, tool or attachment, making no network calls. The games are written in strict TypeScript under an MIT license, with CI running typecheck, validation and tests on Claude Code 2.1.285 and 2.1.288.", "body_md": "Classic desktop games as Claude Code mods, played in a pane while Claude works.\n\n```\n               1  ▆▆ ▆▆ ▆▆\n               2  ⚑  ▆▆ ▆▆\n               2  ▆▆ ▆▆ ▆▆\n               1  1  ▆▆ ▆▆\n1  1  1           1  ▆▆ ⚑\n▆▆ ▆▆ 2  2  1  1  1  ▆▆ ▆▆\n▆▆ ▆▆ ▆▆ ▆▆ ▆▆ ▆▆ ▆▆ ▆▆ ▆▆\n▆▆ ▆▆ ▆▆ ▆▆ ▆▆ ▆▆ ▆▆ ▆▆ ▆▆\n▆▆ ▆▆ ▆▆ ▆▆ ▆▆ ▆▆ ▆▆ ▆▆ ▆▆\n\n ▄▄▄▄▄▄▄\n  ●   ●    Mines 8 · Time 0:17 · Best 0:42 · By Reporails\n    ω      34 safe cells left.\n ▀▀▀▀▀▀▀\n```\n\n| Game | What it is | \n|---|---|\n| [`minefield`](https://github.com/reporails/arcade/blob/main/minefield) | Minesweeper. Click or use the keys to clear the board, with a best time and a face that watches the cursor and glances over at the transcript now and then. Run `/mines` . | \n\nEach game is its own plugin, so you install only the ones you want.\n\nIn a Claude Code session:\n\n```\n/plugin marketplace add reporails/arcade\n/plugin install minefield@reporails-arcade\n```\n\nOr from your shell, then `/reload-plugins` in any session already open:\n\n```\nclaude plugin marketplace add reporails/arcade\nclaude plugin install minefield@reporails-arcade\n```\n\nThen run the game's command, such as `/mines`.\n\n- Claude Code 2.1.287 or later, where mods are on by default. Each game's README says what to check if one does not start.\n- A terminal, or the Claude Code desktop app. VS Code and `claude -p` have nothing to draw a board on; the game says so.\n- For the side pane and the mouse, the fullscreen layout: start Claude Code with `CLAUDE_CODE_NO_FLICKER=1` . Without it the pane sits above the prompt and the games are played with the keys alone.\n\nThese mods draw a pane and keep a best time in their own store. They hook no prompt, tool or attachment, so they read and change nothing the model sees, and they make no network calls. Run `claude plugin validate <game>` to list exactly what a game hooks and calls, before any of its code runs.\n\nWhat the model does read is your `CLAUDE.md` and the rest of your instructions. To see which of them Claude actually follows: [reporails.com](https://reporails.com/?utm_source=arcade&utm_medium=readme).\n\nThe games are strict TypeScript. Each game folder is a complete plugin:\n\n```\nclaude --plugin-dir ./minefield              # play it from the checkout\nclaude -p \"/plugin-types\" < /dev/null        # write the typings for your Claude Code build into .claude/types/\nnpx -p typescript@5.9.3 tsc -p .             # typecheck every game and its tests\nclaude plugin validate --strict ./minefield  # what it hooks and calls, and anything the engine would refuse\nclaude plugin test ./minefield               # its tests\n```\n\n`/plugin-types` runs without a login on 2.1.285, behind `CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1`; from 2.1.287 `claude -p` asks for one. So CI (`.github/workflows/check.yml`) runs on every push to `main` and every pull request, in two jobs: the typecheck, validation and tests on 2.1.285, and the validation and tests again on 2.1.288, where mods are on by default. The typings are generated, never committed: Claude Code's own license does not allow redistributing them.\n\nA new game is a new folder plus one entry in `.claude-plugin/marketplace.json`.\n\nMIT. Made by [Reporails](https://reporails.com/?utm_source=arcade&utm_medium=readme), diagnostics for the instructions that steer Claude Code.", "url": "https://wpnews.pro/news/show-hn-claude-mods-minesweeper", "canonical_source": "https://github.com/reporails/arcade", "published_at": "2026-10-03 17:40:02+00:00", "updated_at": "2026-10-03 18:06:44.834294+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "ai-products"], "entities": ["Reporails", "Claude Mods", "Claude Code", "minefield", "Anthropic"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/show-hn-claude-mods-minesweeper", "markdown": "https://wpnews.pro/news/show-hn-claude-mods-minesweeper.md", "text": "https://wpnews.pro/news/show-hn-claude-mods-minesweeper.txt", "jsonld": "https://wpnews.pro/news/show-hn-claude-mods-minesweeper.jsonld"}}