Event Hooks

gm

4 events · 10 hooks

From gm
Install
1
Run in your terminal
$
npx claudepluginhub AnEntrypoint/gm --plugin gm
Risk Indicators
Executes bash commandsModifies files
Source

Defined in hooks/hooks.json

Configuration
{
  "Stop": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/stop-hook.js",
          "timeout": 3600
        },
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/stop-hook-git.js",
          "timeout": 3600
        }
      ],
      "matcher": "*"
    }
  ],
  "PreToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/pre-tool-use-hook.js",
          "timeout": 3600
        }
      ],
      "matcher": "Bash"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/pre-tool-use-hook.js",
          "timeout": 3600
        }
      ],
      "matcher": "Glob"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/pre-tool-use-hook.js",
          "timeout": 3600
        }
      ],
      "matcher": "Grep"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/pre-tool-use-hook.js",
          "timeout": 3600
        }
      ],
      "matcher": "Task"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/pre-tool-use-hook.js",
          "timeout": 3600
        }
      ],
      "matcher": "Search"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/pre-tool-use-hook.js",
          "timeout": 3600
        }
      ],
      "matcher": "Write"
    }
  ],
  "SessionStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/session-start-hook.js",
          "timeout": 3600
        }
      ],
      "matcher": "*"
    }
  ],
  "UserPromptSubmit": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/prompt-submit-hook.js",
          "timeout": 3600
        }
      ],
      "matcher": "*"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": true,
    "matchAllTools": false,
    "touchesFileWrites": true
  },
  "typeStats": {
    "command": 10
  },
  "eventStats": {
    "Stop": 2,
    "PreToolUse": 6,
    "SessionStart": 1,
    "UserPromptSubmit": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 10,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 0
  }
}
Stats
Stars16
Forks2
Last CommitJan 13, 2026