moai-cc-hooks

Community

Automate workflows and enforce guardrails with Claude Hooks.

Authorjunseokandylee
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides comprehensive guidance for designing, implementing, and managing Claude Code's powerful hooks system. It enables you to enforce safety checks, automate quality processes (like formatting and linting), and trigger workflows based on development events, preventing dangerous operations and ensuring consistent code quality without manual intervention.

Core Features & Use Cases

  • PreToolUse Hooks: Enforce safety checks and permission validations before any tool execution (e.g., blocking rm -rf).
  • PostToolUse Hooks: Automate tasks like code formatting or linting immediately after an edit.
  • SessionStart Hooks: Provide project summaries or context seeding upon session initialization.
  • Use Case: When you need to block dangerous shell commands, automatically format code after saving, or display a project status card at the start of a session, this skill provides the setup guide.

Quick Start

Ask to "Configure a PreToolUse hook to block 'rm -rf'" and the skill will provide the necessary script and settings.json configuration.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: moai-cc-hooks
Download link: https://github.com/junseokandylee/CookieProxy/archive/main.zip#moai-cc-hooks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.