claude-code-hooks
Safety hooks and plugins for Claude Code and Codex CLI
A set of hook scripts and plugins that check shell commands and file edits before a coding agent runs them. It is aimed at people who use Claude Code or Codex CLI and want to block dangerous commands, stop agents from reading secret files, and keep an eye on what the agent does.
The main package, guard-pack, blocks matched dangerous commands, secret reads and test disabling. Hooks are plain executables that read a JSON payload on standard input and exit 0 to allow an action or 2 to block it. The repository also offers a catalog of about twenty-two Claude Code plugins for automation and observability. The code is MIT licensed and free to use.
Alternatives to claude-code-hooks
Products that do a similar job in Plugins & Marketplaces.
autoharness
Learns reusable agent skills from real Claude Code sessions
rederive
Agent skill that quizzes you on the design decisions in a codebase
claude-codex-settings
Config files and plugins for Claude Code, Codex and Cursor
claude-council
Claude Code plugin that queries several AI agents and compares their answers
Citadel
Persistent state, safety hooks and agent fleets for Claude Code and Codex
sno-station-skills
Open-source agent skills for review, handover and self-improvement across coding agents
Open Steps
Plain-language agent skills that explain coding agent sessions without jargon
Recall
Offline persistent memory plugin for Claude Code and Opencode
