# create-hook

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

- Page: https://skill123.app/skills/create-hook/
- Category: development
- Platforms: cursor
- Quality score: 87/100
- Last verified: 2026-06-22
- Source: https://github.com/cursor/skills-cursor

## When to use

- Cursor hooks setup
- Event-driven automation
- hooks.json configuration

## Install

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

Agents can also read https://skill123.app/install/skill123.md and install this skill.
