123 Skill123

create-hook

Spec compliant

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.

QUALITY 87 /100
by Cursor Last verified: 2026-06-22

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-hook

Related Skills

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 code changes using Bugbot-style analysis for bugs and regressions.

Development Cursor Claude Code GitHub Copilot
Q94 spec ✓