hooks-automation · git:20260920.677b300 · 2026-09-20 · sha256 4c5d8592212d787b

hooks-automation git:20260920.677b300A

Immutable. This exact content never changes and is served at /api/v1/blob/4c5d8592212d787b.

---
name: hooks-automation
description: Hook types, lifecycle and automation patterns. Use when adding or debugging hooks such as SessionStart or UserPromptSubmit, or automating a step that must run on every session.
trigger: hooks, automation, hook lifecycle, SessionStart, UserPromptSubmit
metadata:
  provenance:
    class: cpp-authored
---

# Hooks & Automation Skill

When the user asks about hooks, automation, or the hook lifecycle:

1. Read `docs/skills/hooks-automation.md`
2. Explain the 5 hook types and their uses
3. Provide examples of common hook configurations
4. Reference the hooks mastery repository