Skip to content
  1. Home
  2. AI tools
  3. claude-code-hooks

claude-code-hooks

Ready-made Claude Code hooks for safety, automation and observability

What it is

A marketplace of about twenty hook plugins, each installable on its own. Safety hooks block dangerous shell commands, protect secrets and tests, and guard git and configuration; others auto-format or stage edited files, log sessions, write standup notes and report which files consume the most context.

Good for

  • Block destructive shell and git commands
  • Stop an agent reading or leaking secrets
  • Auto-format files after each edit

Install or run

/plugin marketplace add karanb192/claude-code-hooks

Command as given in the project README. Read the repository before you run anything on your machine.

What you need

Claude Code

Worth knowingPattern-based guards reduce risk but can be bypassed; they do not replace sandboxing.

Sources

The summary is ours, written from the README. Spotted an error? See how we work.

More for security & quality

See the topic →
  • Security Guidance plugin

    NousResearch/hermes-agent

    Warns when written code contains known-dangerous patterns

    ToolGitHub stars: 263k
  • security-guidance

    anthropics/claude-plugins-official

    Security warnings on edits plus LLM diff review

    ToolGitHub stars: 47k
  • Langfuse

    langfuse/langfuse

    Open-source tracing, evals and cost tracking for LLM applications

    ToolGitHub stars: 37k
  • Promptfoo

    promptfoo/promptfoo

    CLI for evaluating and red-teaming prompts, agents and RAG apps

    ToolGitHub stars: 27k