Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
vivaxy avatar

Game Hub

  • Updated April 23, 2026
  • vivaxy/claude-code-game-hub

game-hub is a Claude Code skill in the AI & Agent Building category. Hooks that drive the game-hub PTY wrapper

Key points

  • game-hub
  • AI & Agent Building
  • AI-coding skill

Game Hub by the numbers

  • Data as of Jul 7, 2026 (Skillselion catalog sync)
/plugin marketplace add vivaxy/claude-code-game-hub
/plugin install game-hub@claude-code-game-hub

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Last updatedApril 23, 2026
Repositoryvivaxy/claude-code-game-hub

What it does

Hooks that drive the game-hub PTY wrapper

README.md

claude-code-game-hub

Play games while Claude Code is working. Press Ctrl+G any time to toggle between the game and Claude.

Demo

Install

npm install -g claude-code-game-hub

This also registers the Claude plugin hooks.

Usage

Once installed, just use claude normally. When you submit a prompt, game-mode activates; when Claude finishes or asks for input, the status line updates. The built-in game is Snake.

  • Ctrl+G — toggle between game-mode and claude-mode
  • /game-hub:list — list installed games
  • /game-hub:switch <id> — switch active game
  • /game-hub:install <pm> <spec> — install a new game (npm, brew, cargo, pip, …)
  • /game-hub:disable / /game-hub:enable — turn game-mode off/on

Configuration

  • GAME_HUB_PORT (default 41731) — HTTP port for hook events.

Advanced install

Re-running npm install -g claude-code-game-hub refreshes the plugin to the latest GitHub HEAD (Claude Code restart required to apply). If claude wasn't on PATH at install time, or you installed without -g, register manually once:

claude plugin marketplace add vivaxy/claude-code-game-hub
claude plugin install game-hub@claude-code-game-hub

To uninstall: npm uninstall -g claude-code-game-hub removes the plugin automatically. If you used a local (non-global) install, npm's preuninstall hook won't fire — run these manually:

claude plugin uninstall game-hub@claude-code-game-hub
claude plugin marketplace remove claude-code-game-hub

The plugin registers UserPromptSubmit, Stop, and Notification hooks that POST to http://127.0.0.1:${GAME_HUB_PORT:-41731}/event. The hooks are no-ops when game-hub isn't running (curl --connect-timeout 0.1).

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.