Stats
Actions
Tags
From stagent
Tracks Claude Code session lifecycle and agent activity — session start/stop, agent spawn/stop, tool usage, and user prompts. Blocks manual agent usage and rewrites bash paths for CI compatibility. Runs bash, writes ledger files.
8 events · 14 hooks
Safety signals detected in this hook configuration
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
${CLAUDE_PLUGIN_ROOT}/hooks/stop-hook.shAgent${CLAUDE_PLUGIN_ROOT}/hooks/agent-guard.shBash${CLAUDE_PLUGIN_ROOT}/hooks/plugin-path-rewrite.shAskUserQuestion${CLAUDE_PLUGIN_ROOT}/hooks/ask-user-question-hook.sh${CLAUDE_PLUGIN_ROOT}/hooks/activity-hook.sh${CLAUDE_PLUGIN_ROOT}/hooks/session-end.shWrite|Edit|MultiEdit${CLAUDE_PLUGIN_ROOT}/hooks/postwrite-hook.shAgent${CLAUDE_PLUGIN_ROOT}/hooks/agent-ledger-add.shAskUserQuestion${CLAUDE_PLUGIN_ROOT}/hooks/ask-user-question-hook.sh${CLAUDE_PLUGIN_ROOT}/hooks/activity-hook.sh${CLAUDE_PLUGIN_ROOT}/hooks/notification-hook.sh${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh${CLAUDE_PLUGIN_ROOT}/hooks/agent-ledger-remove.sh${CLAUDE_PLUGIN_ROOT}/hooks/user-prompt-submit.shnpx claudepluginhub jie-worldstatelabs/stagent --plugin stagent