How this command is triggered — by the user, by Claude, or both
Slash command
/game-hub:enableThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
Enable game-hub by posting to the control endpoint:
!`curl -sS --connect-timeout 1 -X POST -H 'Content-Type: application/json' -d '{"action":"enable"}' "http://127.0.0.1:${GAME_HUB_PORT:-41731}/control"`
Report the result to the user. If the curl failed (connection refused), tell them game-hub isn't running and they need to launch it first.Enable game-hub by posting to the control endpoint:
!curl -sS --connect-timeout 1 -X POST -H 'Content-Type: application/json' -d '{"action":"enable"}' "http://127.0.0.1:${GAME_HUB_PORT:-41731}/control"
Report the result to the user. If the curl failed (connection refused), tell them game-hub isn't running and they need to launch it first.
npx claudepluginhub vivaxy/claude-code-game-hub --plugin game-hub/enableEnables Superego evaluation and monitoring for the project/session by checking .superego/ state, initializing if missing (installs binary, runs sg init), re-enabling if disabled, or confirming if active.