hooks.json 553 B

12345678910111213141516
  1. {
  2. "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.",
  3. "hooks": {
  4. "UserPromptExpansion": [
  5. {
  6. "matcher": "^claude-security:claude-security$",
  7. "hooks": [
  8. {
  9. "type": "command",
  10. "command": "sh \"${CLAUDE_PLUGIN_ROOT}/hooks/banner_hook.sh\""
  11. }
  12. ]
  13. }
  14. ]
  15. }
  16. }