123 Skill123

create-hook

create-hook helps author hooks.json and hook scripts that run on Cursor agent lifecycle events like before/after tool calls.

Create Cursor hooks for automating behavior around agent events.

spec ✓ Scripts References Project
QUALITY 87 /100
by Cursor Last verified: 2026-06-22

What this skill does

Cursor hooks setup
Event-driven automation
hooks.json configuration

Try saying this

Copy a prompt into your agent to trigger this skill.

Help me with cursor hooks setup
Help me with event-driven automation
Help me with hooks.json configuration

Topics

Platforms

Cursor

Install

CLI install

npx skills add https://github.com/cursor/skills-cursor/tree/main/create-hook

Manual install

.cursor/skills/create-hook/

Resources

skill-name/
├── SKILL.md
└── scripts/scripts/

Source

https://github.com/cursor/skills-cursor/tree/main/create-hook

Related Skills