Event Hooks
Community

voice

3 events · 3 hooks

Install
1
Install the plugin
$
npx claudepluginhub pchalasani/claude-code-tools --plugin voice

Want just this hook?

Then install: npx claudepluginhub u/[userId]/[slug]

Risk Indicators
Matches all tools
Source

Defined in hooks/hooks.json

Configuration
{
  "Stop": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "bash -c 'if test -f \"${CLAUDE_PLUGIN_ROOT}/hooks/stop_hook.py\"; then python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/stop_hook.py\"; else echo \"{\\\"decision\\\":\\\"approve\\\"}\"; fi'",
          "timeout": 60
        }
      ],
      "matcher": "*"
    }
  ],
  "PostToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "bash -c 'if test -f \"${CLAUDE_PLUGIN_ROOT}/hooks/post_tool_use_hook.py\"; then python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/post_tool_use_hook.py\"; else echo \"{\\\"decision\\\":\\\"approve\\\"}\"; fi'",
          "timeout": 5
        }
      ],
      "matcher": "*"
    }
  ],
  "UserPromptSubmit": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "bash -c 'if test -f \"${CLAUDE_PLUGIN_ROOT}/hooks/user_prompt_submit_hook.py\"; then python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/user_prompt_submit_hook.py\"; else echo \"{\\\"decision\\\":\\\"approve\\\"}\"; fi'",
          "timeout": 5
        }
      ],
      "matcher": "*"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": true,
    "touchesFileWrites": false
  },
  "typeStats": {
    "command": 3
  },
  "eventStats": {
    "Stop": 1,
    "PostToolUse": 1,
    "UserPromptSubmit": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 3,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 0
  }
}
Stats
Stars1594
Forks100
Last CommitFeb 11, 2026

Similar Hooks