hook-setup
Agent skill fromhoangsonww/Claude-Code-Agent-Monitor
Inspect and install CCAM monitoring hooks for Claude Code and Codex. Use when onboarding a provider, repairing missing hooks, checking which provider is active, or validating that installation preserved unrelated user hooks.
How to install hook-setup
install hook-setup
# install the Claude-Code-Agent-Monitor pack with the skills CLI
npx skills add hoangsonww/Claude-Code-Agent-Monitor# or add only this skill to Claude Code: copy the folder
plugins/ccam-platform/skills/hook-setup/
# into
~/.claude/skills/hook-setup/ (all projects)
.claude/skills/hook-setup/ (one project)
1# Hook Setup231. Inspect current state: `ccam hooks status`.42. Show which provider hooks are missing or will be replaced.53. Install only after confirmation:67```bash8ccam hooks install <selected-or-missing-providers> --yes9```1011Replace the placeholder with `claude`, `codex`, or `claude codex` based on the12user's selected scope and the missing providers reported by `ccam hooks status`.13144. Read back `ccam hooks status`.155. Start a real provider session and verify a new session/event reaches CCAM.1617Installers replace only CCAM-owned entries and preserve unrelated hooks.18Hook execution must remain fail-safe and non-blocking.
Excerpt shown under the repository's MIT license.
