create-hook

Create custom hooks to automate Cursor agent event workflows.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/TheFVG/proof-deals --skill create-hook-thefvg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-hook
Source: https://github.com/TheFVG/proof-deals/tree/main/docs/agent-index/snapshots/skills-cursor/create-hook
Command: npx skills add https://github.com/TheFVG/proof-deals --skill create-hook-thefvg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

The create-hook Skill streamlines the process of creating, managing, and utilizing custom hooks to automate various Agent events, reducing manual intervention and improving efficiency.

Core Features & Use Cases

  • Create Cursor Hooks: Develop and manage hooks to control behavior before or after Agent events.
  • Hook Event Selection: Use hooks for session management, tool use, command execution, and more.
  • Project and User Hooks: Create project-wide or personal hooks depending on your needs.
  • Matcher Integration: Apply matchers to control hook triggering for specific events or tool types.
  • Scripting and Prompting: Customize hooks using scripts or prompt-based checks.

Quick Start

Use the create-hook skill to set up a new project hook that runs before shell command execution and checks for network requests.

Frequently Asked Questions about create-hook

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Cursor agent events with custom hooks?

You can automate Cursor agent events by developing custom hooks that execute scripts or prompt-based checks before or after specific agent actions. This allows you to control agent behavior and enforce policies without manual intervention.

What are Cursor hooks and when do I need them for agent workflows?

Cursor hooks are custom triggers that run scripts or prompt-based checks during agent events like session management, tool use, or command execution. You need them to enforce project policies, validate actions, or automate repetitive agent workflow tasks.

Can I apply matchers to control hook triggering for specific tool types in Cursor?

Yes, you can integrate matchers when creating hooks to control triggering for specific agent events or tool types. This ensures your custom scripts or prompt-based checks only execute when the defined matching criteria are met.

How do I set up a project-wide hook versus a personal user hook in Cursor?

You can configure hooks at the project level to enforce workflows across an entire team or set up personal user hooks for individual automation needs. This distinction allows you to manage event-based automation scope effectively.

Does the create-hook skill support prompt-based checks for shell command execution?

Yes, the skill supports customizing hooks using both scripting and prompt-based checks. You can set up a project hook that runs before shell command execution to validate actions, such as checking for unauthorized network requests.