hook-configuration
CommunityAutomate Claude Code hooks reliably.
Authorandisab
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Hooks enable deterministic automation for Claude Code lifecycle events (PreToolUse, PostToolUse, UserPromptSubmit, etc.), reducing reliance on ad-hoc model behavior and enabling auditable workflows.
Core Features & Use Cases
- Deterministic automation: run formatting, logging, and permission checks without model interpretation
- Event coverage: PreToolUse, PostToolUse, UserPromptSubmit, PermissionRequest, Notification, Stop, SubagentStop, SessionStart, SessionEnd
- Blocking and permissions: exit-code or JSON-based decisions to block or allow actions
- Project-wide configuration: centralize hooks in .claude/settings.json for teams
Quick Start
Configure a PreToolUse hook to block edits to sensitive files (e.g., .env) and log attempts to ~/.claude-audit.log.
Dependency Matrix
Required Modules
None requiredComponents
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: hook-configuration Download link: https://github.com/andisab/swe-marketplace/archive/main.zip#hook-configuration Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.