meta-hook-create

Community

Hook into Cursor lifecycle to intercept actions.

AuthorJuroOravec
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Cursor hooks provide a standardized way to configure and manage Cursor lifecycle hooks that run before or after key agent actions, enabling interception and automation without invasive changes.

Core Features & Use Cases

  • Create and modify the .cursor/hooks.json to define events like beforeSubmitPrompt, beforeReadFile, beforeShellExecution, and stop.
  • Provide and manage hook scripts (shell or JS/TS) that receive JSON payloads and perform automation, auditing, or context injection.
  • Use examples like capture-prompts to implement auditing, logging, and automated responses.

Quick Start

Configure a beforeSubmitPrompt hook to log messages to .cursor/logs and then reload Cursor to apply changes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: meta-hook-create
Download link: https://github.com/JuroOravec/agents/archive/main.zip#meta-hook-create

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.