Claude Code
Local APF. The local Claude Code hook reads your YAML before a covered tool call. For review decisions it can ask the person at the keyboard. Set up the local hook.
Cloud plugin. The plugin checks covered shell commands, file changes, MCP tools and supported web operations before they run. Reads through Read, Grep and Glob receive local checks for credential locations rather than being sent to Cloud.
Requires Node.js 22 or later and Claude Code 2.1.295 or later.
If it fails The configured onFailure behavior blocks calls when the hook crashes or cannot run. An agent or process that can alter hook settings can bypass that boundary.