---
name: hoangsonww-hook-setup
description: "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."
license: "MIT"
metadata:
  decimalai-skill-id: "18f384cf-64bb-4c58-99e0-3a8b91f210b1"
  decimalai-version-id: "b25eb57e-8554-4f92-9a50-316793f5c785"
  decimalai-version: "1"
  decimalai-body-sha256: "3fecf3b941b4108ddeb68a1a06910c649be36220d89f527b6d58ab5d7731103c"
  decimalai-name: "hoangsonww/hook-setup"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "agent-tooling"
  decimalai-source: "https://app.decimal.ai/s/hoangsonww-hook-setup@1/SKILL.md"
---
# Hook Setup

1. Inspect current state: `ccam hooks status`.
2. Show which provider hooks are missing or will be replaced.
3. Install only after confirmation:

```bash
ccam hooks install <selected-or-missing-providers> --yes
```

Replace the placeholder with `claude`, `codex`, or `claude codex` based on the
user's selected scope and the missing providers reported by `ccam hooks status`.

4. Read back `ccam hooks status`.
5. Start a real provider session and verify a new session/event reaches CCAM.

Installers replace only CCAM-owned entries and preserve unrelated hooks.
Hook execution must remain fail-safe and non-blocking.
