Skip to main content
Run any Skill in Manus
with one click

hook-generator

Stars0
Forks0
UpdatedMay 30, 2026 at 12:29

Designs and generates Claude Code hook configurations for all 30+ lifecycle events including PreToolUse, PostToolUse, PermissionRequest, UserPromptSubmit, Stop, SessionStart, SubagentStop, PreCompact, PostCompact, FileChanged, ConfigChange, TeammateIdle, TaskCreated, TaskCompleted, and more. Use when the user asks to automate Claude Code behavior, enforce rules deterministically, block or approve tool calls, inject context after compaction, format code after edits, notify on idle, audit configuration changes, gate sub-agent execution, or add any lifecycle automation. Generates ready-to-paste JSON hook blocks, shell command scripts, prompt-based hook stubs, and agent-based hook stubs. DO NOT USE for general Claude API prompt engineering (use prompt-generator skill); for creating Claude agents or sub-agents (use agent-generator skill); for writing VS Code instructions (use instruction-generator skill).

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
32 files
SKILL.md
readonly