Skip to main content

Claude Code Hooks

Plugin Verified Active

Production safety hooks for autonomous Claude Code operation. Context monitoring, syntax checking, branch protection, activity logging, and more.

2 Skills 0 MCPs
Purpose

To enhance the safety and reliability of autonomous Claude Code operations by intercepting common failure modes and providing essential monitoring and protection mechanisms.

Features

  • Context window monitoring with graduated warnings
  • Automatic syntax validation after edits
  • Branch protection against pushes to main/master
  • JSONL audit trail of file changes
  • Prevention of destructive commands (rm -rf, git reset)
  • Blocking of external actions when errors exist
  • Auto-approval for read-only operations

Use Cases

  • Running Claude Code autonomously without constant supervision
  • Preventing accidental data loss or code corruption during development
  • Auditing and understanding Claude Code's actions during a session
  • Ensuring code quality through automatic syntax checks

Non-Goals

  • Replacing core Claude Code functionality
  • Implementing complex code generation or analysis tasks
  • Providing a user interface beyond terminal output and configuration

Installation

First, add the marketplace

/plugin marketplace add yurukusa/claude-code-hooks
/plugin install claude-code-hooks@claude-code-hooks-marketplace

Quality Score

Verified
99 /100
Analyzed about 12 hours ago

Trust Signals

Last commit27 days ago
Stars10
LicenseMIT
Status
View Source

© 2025 SkillRepo · Find the right skill, skip the noise.