create-hook - Create and configure Cursor hooks for event automation
Creates Cursor hooks, writes hooks.json configurations, adds hook scripts, and automates behaviors around agent events.
Tags
Updated: 2026-09-20Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Gather hook requirements
- Create hooks.json files
- Create hook script files
- Set script executable permissions
- Configure hook matchers
- Verify dependencies on PATH
Inputs
- Hook requirement details
- Target event type
- Existing hooks.json configuration
Outputs
- hooks.json configuration file
- Executable hook script files
- Hook JSON response messages
Requirements
- Cursor editor environment
- Write permissions for hook directories
- Helper executables on PATH
