·claude-code-hooks
</>

claude-code-hooks

0xdarkmatter/claude-mods

Claude Code hook system for pre/post tool execution. Triggers on: hooks, PreToolUse, PostToolUse, hook script, tool validation, audit logging.

16Installs·1Trend·@0xdarkmatter

Installation

$npx skills add https://github.com/0xdarkmatter/claude-mods --skill claude-code-hooks

SKILL.md

| PreToolUse | Before tool execution | Yes | | PostToolUse | After tool completes | Yes | | PermissionRequest | Permission dialog shown | Yes | | Notification | Notifications sent | Yes | | UserPromptSubmit | User submits prompt | No | | Stop | Agent finishes | No | | SubagentStop | Subagent finishes | No | | PreCompact | Before context compaction | No |

| SessionStart | Session begins/resumes | No | | SessionEnd | Session ends | No |

| "Write" | Only Write tool | | "" or "" | All tools | | "mcp" | All MCP tools | | "Bash" | Bash commands |

Claude Code hook system for pre/post tool execution. Triggers on: hooks, PreToolUse, PostToolUse, hook script, tool validation, audit logging. Source: 0xdarkmatter/claude-mods.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/0xdarkmatter/claude-mods --skill claude-code-hooks
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is claude-code-hooks?

Claude Code hook system for pre/post tool execution. Triggers on: hooks, PreToolUse, PostToolUse, hook script, tool validation, audit logging. Source: 0xdarkmatter/claude-mods.

How do I install claude-code-hooks?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/0xdarkmatter/claude-mods --skill claude-code-hooks Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/0xdarkmatter/claude-mods