create-hook
Spec compliantcreate-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.
When to use
- → Cursor hooks setup
- → Event-driven automation
- → hooks.json configuration
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/create-hookRelated Skills
create-skill Featured
Create Cursor Agent Skills with proper SKILL.md structure, frontmatter, and best practices.
Development Cursor Claude Code Open Agents
Q98 spec ✓
create-rule Featured
Create Cursor rules for persistent AI guidance in .cursor/rules/ directory.
Development Cursor
Q95 spec ✓
code-review Featured
Structured code review workflow with team standards and checklists.
Development Cursor Claude Code GitHub Copilot +1
Q95 spec ✓
review-bugbot Featured
Review code changes using Bugbot-style analysis for bugs and regressions.
Development Cursor Claude Code GitHub Copilot
Q94 spec ✓