main-hooks

Community

Enforce safe CSF health checks with hooks.

AuthorEndUser123
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The PreToolUse hook for the main-hooks workflow enforces correct Bash usage by ensuring system_health.py is invoked for health checks, preventing unsafe or misconfigured commands from executing.

Core Features & Use Cases

  • PreToolUse gate validates that Bash commands call the health checker script system_health.py.
  • Portable path handling via CLAUDE_PROJECT_DIR ensures commands work across environments.
  • Separate enforcement mode provides strict command validation while remaining compatible with simple usage.
  • Suitable for audits and environments requiring predictable health verification.

Quick Start

Invoke /main-hooks and run the provided health check commands to verify system status with enforcement.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: main-hooks
Download link: https://github.com/EndUser123/cc-skills-utils/archive/main.zip#main-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.