Ref Sp Agents Hooks

Author agent lifecycle hooks that run deterministic shell commands at session, prompt, tool, and stop events across Claude Code, GitHub Copilot CLI, VS Code, and Gemini CLI. Use when: creating or editing a hook, choosing a lifecycle event, writing a hook script that reads stdin JSON and returns an allow/deny/context decision, making a hook portable across agents, or debugging why a hook does not fire or block.

swiftpostlabs 0b69d6b 11 files · 44.1 KB Updated

File contents

swiftpostlabs/agentic-tools/tree/main/.agents/skills/ref-sp-agents-hooks commit 0b69d6b05b

Frequently asked questions

npx skillmds@latest add swiftpostlabs/ref-sp-agents-hooks