Event Hooks
Community

websearch

2 events · 3 hooks

Install
1
Install the plugin
$
npx claudepluginhub dkmaker/my-claude-plugins --plugin websearch

Want just this hook?

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

Source

Defined in hooks/hooks.json

Configuration
{
  "PreToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/block-builtin-websearch.sh"
        }
      ],
      "matcher": "WebSearch"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/block-builtin-websearch.sh"
        }
      ],
      "matcher": "Task"
    }
  ],
  "SessionStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/check-websearch.sh",
          "timeout": 30
        }
      ]
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": false
  },
  "typeStats": {
    "command": 3
  },
  "eventStats": {
    "PreToolUse": 2,
    "SessionStart": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 3,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 2
  }
}
Stats
Stars1
Forks0
Last CommitFeb 20, 2026

Similar Hooks