界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

hook-setup

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.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

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.

  1. Read back ccam hooks status.
  2. 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.

我的收藏