hooks/ davila7/claude-code-templates

plan-mode-game

Play games while Claude plans. Launches a browser game (Dino Runner, Snake, or Flappy Bird) automatically when Claude enters Plan Mode via EnterPlanMode or /plan. A live activity panel shows Claude's tool calls in real time. The game pauses when Claude needs input (AskUserQuestion) and shows a compl

0
Installs
—
Rating
—
Success rate
1
Files scanned
Scan passedfrontend
Source on GitHub

Security scan

Scan passed

No risky patterns were found in the scanned files.

1 files scannedscanner v1.2.0Oct 11, 2026

Content sha256 6b37a20ec5174a78… — run codexguild_scan_skills after installing to verify your local copy.

Static analysis is a first line of defense, not a guarantee. Read the source

plan-mode-game.json

exact scanned copy
{
  "description": "Play games while Claude plans. Launches a browser game (Dino Runner, Snake, or Flappy Bird) automatically when Claude enters Plan Mode via EnterPlanMode or /plan. A live activity panel shows Claude's tool calls in real time. The game pauses when Claude needs input (AskUserQuestion) and shows a completion screen with confetti when the plan is done. Scores are saved locally and can be shared via a signed verification URL. Requires Node.js and curl. macOS only (uses 'open' to launch browser). Install globally so it works across all projects.",
  "tags": ["plan-mode", "gaming", "automation", "fun", "productivity", "global", "macos"],
  "supportingFiles": [
    {
      "source": "plan-mode-game/start.sh",
      "destination": "~/.claude/scripts/plan-mode-game/start.sh",
      "executable": true
    },
    {
      "source": "plan-mode-game/activity.sh",
      "destination": "~/.claude/scripts/plan-mode-game/activity.sh",
      "executable": true
    },
    {
      "source": "plan-mode-game/plan-detect.sh",
      "destination": "~/.claude/scripts/plan-mode-game/plan-detect.sh",
      "executable": true
    },
    {
      "source": "plan-mode-game/announce.sh",
      "destination": "~/.claude/scripts/plan-mode-game/announce.sh",
      "executable": true
    },
    {
      "source": "plan-mode-game/needs-input.sh",
      "destination": "~/.claude/scripts/plan-mode-game/needs-input.sh",
      "executable": true
    },
    {
      "source": "plan-mode-game/server.js",
      "destination": "~/.claude/scripts/plan-mode-game/server.js",
      "executable": false
    },
    {
      "source": "plan-mode-game/index.html",
      "destination": "~/.claude/scripts/plan-mode-game/index.html",
      "executable": false
    }
  ],
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "EnterPlanMode",
        "hooks": [
          {
            "type": "command",
            "command": "bash $HOME/.claude/scripts/plan-mode-game/start.sh"
          }
        ]
      },
      {
        "matcher": "Read|Glob|Grep|WebFetch|WebSearch|Task|Bash|Edit",
        "hooks": [
          {
            "type": "command",
            "command": "bash $HOME/.claude/scripts/plan-mode-game/activity.sh"
          }
        ]
      },
      {
        "matcher": "Write",
        "hooks": [
          {
            "type": "command",
            "command": "bash $HOME/.claude/scripts/plan-mode-game/plan-detect.sh"
          }
        ]
      },
      {
        "matcher": "AskUserQuestion",
        "hooks": [
          {
            "type": "command",
            "command": "bash $HOME/.claude/scripts/plan-mode-game/needs-input.sh"
          }
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "ExitPlanMode",
        "hooks": [
          {
            "type": "command",
            "command": "bash $HOME/.claude/scripts/plan-mode-game/announce.sh"
          }
        ]
      }
    ]
  }
}

Files

1
2.9 KB

Agent reviews

0

No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.

More from davila7/claude-code-templates8

agents-md-loader

Automatically loads AGENTS.md configuration file content at session start to ensure Claude Code follows project-specific agent behavior. Only loads if AGENTS.md exists, otherwise passes empty context. Supports the universal AGENTS.md standard for cross-platform AI assistant compatibility. — Hooks: S

Scan passed 0
ai-bash-guard

AI-powered bash command security guard. Before any Bash command runs, a lightweight Claude subagent evaluates it for destructive or irreversible patterns — recursive deletes, force pushes to protected branches, database drops, and credential exposure — and blocks execution with a clear explanation i

Flagged 0
auto-git-add

Automatically stage modified files with git add after editing. Helps maintain a clean git workflow by staging changes as they're made. — Hooks: PostToolUse (Edit|MultiEdit|Write)

Scan passed 0
backup-before-edit

Create automatic backup of files before any Edit operation for safety. This hook creates a timestamped backup copy (filename.backup.timestamp) of any existing file before Claude modifies it. Provides a safety net to recover previous versions if needed. Only backs up existing files, includes error su

Scan passed 0
build-on-change

Automatically trigger build processes when source files change. Detects common build tools and runs appropriate build commands. — Hooks: PostToolUse (Edit)

Scan passed 0
change-logger

Log every file mutation to CSV for demo prep. Records timestamp, tool, file path, action, and details for Edit, MultiEdit, Write, and Bash operations. Output: .claude/critical_log_changes.csv — Hooks: PostToolUse (Edit, Write, MultiEdit, Bash)

Scan passed 0
change-tracker

Track file changes in a simple log. Records which files were modified and when for easy tracking of Claude Code activity. — Hooks: PostToolUse (Edit|MultiEdit, Write)

Scan passed 0
command-logger

Log all Claude Code commands to a file for audit and debugging purposes. Simple logging that records tool usage with timestamps. — Hooks: PreToolUse (*)

Scan passed 0