summaryrefslogtreecommitdiff
path: root/plugins/claude-security/hooks/hooks.json
blob: 9608c949c3b17e2103ab120dfa083613fc649e1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "description": "A display-only banner: on the /claude-security menu it prints the Claude Security banner as a systemMessage. It fires only on UserPromptExpansion for that slash command. It is a sensor: it emits a message and never returns a permission decision.",
  "hooks": {
    "UserPromptExpansion": [
      {
        "matcher": "^claude-security:claude-security$",
        "hooks": [
          {
            "type": "command",
            "command": "sh \"${CLAUDE_PLUGIN_ROOT}/hooks/banner_hook.sh\""
          }
        ]
      }
    ]
  }
}