Event Hooks

cat

5 events · 20 hooks

From cat
Install
1
Run in your terminal
$
npx claudepluginhub cowwoc/cat --plugin cat
Risk Indicators
Executes bash commandsModifies filesMatches all tools
Source

Defined in hooks/hooks.json

Configuration
{
  "PreToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/warn-unsquashed-approval.sh"
        }
      ],
      "matcher": "AskUserQuestion"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/warn-approval-without-renderdiff.sh"
        }
      ],
      "matcher": "AskUserQuestion"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/get-bash-pretool-output.py"
        }
      ],
      "matcher": "Bash"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/get-read-pretool-output.py"
        }
      ],
      "matcher": "Read|Glob|Grep"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/enforce-workflow-completion.sh"
        }
      ],
      "matcher": "Edit"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/warn-skill-edit-without-builder.sh"
        }
      ],
      "matcher": "Edit"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/warn-base-branch-edit.sh"
        }
      ],
      "matcher": "Edit"
    }
  ],
  "SessionEnd": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/session-unlock.sh"
        }
      ]
    }
  ],
  "PostToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/get-posttool-output.py"
        }
      ]
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/detect-assistant-giving-up.sh"
        }
      ]
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/get-bash-posttool-output.py"
        }
      ],
      "matcher": "Bash"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/remind-restart-after-skill-modification.sh"
        }
      ],
      "matcher": "Write|Edit"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/get-read-posttool-output.py"
        }
      ],
      "matcher": "Read|Glob|Grep|WebFetch|WebSearch"
    }
  ],
  "SessionStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/check-upgrade.sh"
        }
      ]
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/check-update-available.sh"
        }
      ]
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/echo-session-id.sh"
        }
      ]
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/check-retrospective-due.sh"
        }
      ]
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/inject-session-instructions.sh"
        }
      ]
    }
  ],
  "UserPromptSubmit": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/get-skill-output.py"
        }
      ]
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/detect-giving-up.sh"
        }
      ]
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": true,
    "matchAllTools": true,
    "touchesFileWrites": true
  },
  "typeStats": {
    "command": 20
  },
  "eventStats": {
    "PreToolUse": 7,
    "SessionEnd": 1,
    "PostToolUse": 5,
    "SessionStart": 5,
    "UserPromptSubmit": 2
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 20,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 20
  }
}
Stats
Parent Repo Stars78
Parent Repo Forks1
Last CommitFeb 13, 2026