Event Hooks

aichat

1 event · 1 hook

From aichat
Install
1
Run in your terminal
$
npx claudepluginhub pchalasani/claude-code-tools --plugin aichat
Source

Defined in hooks/hooks.json

Configuration
{
  "UserPromptSubmit": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "bash -c 'if test -f \"${CLAUDE_PLUGIN_ROOT}/hooks/aichat_resume_hook.py\"; then python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/aichat_resume_hook.py\"; else echo \"{\\\"decision\\\":\\\"approve\\\"}\"; fi'",
          "timeout": 10
        }
      ]
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": false
  },
  "typeStats": {
    "command": 1
  },
  "eventStats": {
    "UserPromptSubmit": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 1,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 0
  }
}
Stats
Parent Repo Stars1594
Parent Repo Forks100
Last CommitFeb 11, 2026