LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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

Capabilities

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

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
cursor
hooks
automation
agent-events
configuration
Gather hook requirements
Create hooks.json files
Create hook script files
Set script executable permissions
Hook requirement details
Target event type
Existing hooks.json configuration
hooks.json configuration file
Executable hook script files
Hook JSON response messages