Event Hooks

claude-agent-sdk

2 events · 4 hooks

Install
1
Install the plugin
$
npx claudepluginhub thebushidocollective/han --plugin claude-agent-sdk

Want just this hook?

Add to a custom plugin, then install with one command.

Source

Defined in hooks/hooks.json

Configuration
{
  "Stop": [
    {
      "hooks": [
        {
          "type": "command",
          "async": true,
          "command": "han hook run claude-agent-sdk typecheck --async"
        }
      ]
    },
    {
      "hooks": [
        {
          "type": "command",
          "async": true,
          "command": "han hook run claude-agent-sdk validate-structure --async"
        }
      ]
    }
  ],
  "SubagentStop": [
    {
      "hooks": [
        {
          "type": "command",
          "async": true,
          "command": "han hook run claude-agent-sdk typecheck --async"
        }
      ]
    },
    {
      "hooks": [
        {
          "type": "command",
          "async": true,
          "command": "han hook run claude-agent-sdk validate-structure --async"
        }
      ]
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": false
  },
  "typeStats": {
    "command": 4
  },
  "eventStats": {
    "Stop": 2,
    "SubagentStop": 2
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 0,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 4
  }
}
Stats
Stars106
Forks13
Last CommitFeb 17, 2026
Actions

Similar Hooks