Agent Hooks Shell hooks let a user run their own script at fixed points in the agent's lifecycle — to block a dangerous action, rewrite an input or an outbound message, inject context into the model, or warn the user . The script can be written in any language; it talks to the agent over a simple JSON-on-stdin, JSON-on-stdout protocol. Tools: read_file , write_file , bash When to use Reach for hooks when the user wants the agent to automatically enforce a rule or react to an event without being asked each time. Examples: Show more Installs 642 Repository starchild-ai-ag…l-skills GitHub Stars 17 First Seen 4 days ago Security Audits Gen Agent Trust Hub Pass Socket Warn Snyk Fail
agent-hooks
安装
npx skills add https://github.com/starchild-ai-agent/official-skills --skill agent-hooks