ccppccpp home

Hooks

Defender hooks

alpha

Runs `ccpp defender hook` after every tool call, so each result is scored before Claude reads it.

A `PostToolUse` hook with a 15-second timeout. Results of tools that echo Claude's own writing or your answers (Write, Edit, AskUserQuestion…) are not scored; `defender.ignoreTools` changes the list.

Install

Installing the defender plugin installs this component too.

Install the ccpp CLI (terminal)

curl -fsSL https://s3.ccpp.dev/ccpp-public/install.sh | sh

Add the marketplace (terminal)

claude plugin marketplace add https://s3.ccpp.dev/ccpp-public/marketplace.json

Install the defender plugin (terminal)

claude plugin install defender@ccpp