Skip to content

/hook-setup

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.

From plugin
claude-code-agent-monitor
88372 skills3 agents
Install
$ npx -y skills add hoangsonww/Claude-Code-Agent-Monitor --skill hook-setup --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/hook-setup

Context preview

The summary Claude sees to decide when to auto-load this skill.

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.

SKILL.md

hook-setup.SKILL.md
name: 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.

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:

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.

Ships withclaude-code-agent-monitor

🚀 A real-time monitoring dashboard for Claude Code & Codex, built with SQLite3, Node.js, Express, React, Vite, TailwindCSS, & WebSockets. It tracks sessions, agent activity, tool usage, and subagent orchestration, providing live analytics, a Kanban status board, status notifications, a cute buddy, & an interactive web UI/MacOS/Windows native app.

Get the whole plugin, auto-invoked
Stats
887
Stars
0
Views
198
Forks
Active
Maintenance
TypeScript
Language
MIT
License
7m ago
Last commit
5mo ago
Created

Repo: hoangsonww/Claude-Code-Agent-Monitor

Other skills on claude-code-agent-monitor.