Favicon of create-hook

create-hook Skill

AI Agent SkillTypeScriptOpen source

Create a hook (.json) to enforce policy or automate agent lifecycle events. Published by microsoft in vscode.

Decision snapshot

Is this a fit?

Best for

Developers using vscode, Includes SKILL.md, Reusable instructions

Works with

Compatibility not yet detected.

Access

Permission behavior not yet detected.

Setup

Copy skill directory

Project health

1 month ago · MIT license

Considerations

No specific cautions were detected. Review the source and requested permissions before installing.

What is create-hook Skill?

Create a hook (.json) to enforce policy or automate agent lifecycle events. Published by microsoft in vscode. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
100/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement. See how SkillIndex evaluates profiles.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Developers using vscode

Declared skill metadata

  • Source file: extensions/copilot/assets/prompts/skills/create-hook/SKILL.md

These fields retain source and confidence evidence from the indexed SKILL.md.

Compatibility and setup

Copy skill directory
  • Install or run with Copy skill directory

When to use create-hook Skill

  • Use it for developers using vscode.

Built with

TypeScriptCopy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/vscode
  • Skill file: extensions/copilot/assets/prompts/skills/create-hook/SKILL.md

What it does

Create a hook (.json) to enforce policy or automate agent lifecycle events.

Skill instructions

Related skill: agent-customization. Load and follow hooks.md for template and principles. Guide the user to create a hook in .github/hooks/. Extract from Conversation First, review the conversation history. If the user has been expressing concerns about agent behavior (e.g., "don't run this command", "always check before doing X", "inject this context"), generalize that into a hook. Extract: - Actions that should be blocked or gated - Context that should be injected at certain points - Automation needs at session start/end or tool use Clarify if Needed If no clear policy need emerges from the conversation, clarify: - What event should trigger this hook? (e.g. PreToolUse, SessionStart, Stop) - Should it block, warn, or inject context? - Does it need a companion script? Path Conventions - Hook commands and companion scripts run with cwd defaulting to the workspace root (when a workspace folder is available); otherwise cwd falls back to the user home directory. Relative paths resolve from

Verified compatibility and discovery

Frequently asked questions

What is create-hook?

create-hook is a open-source AI agent skill with Copy skill directory. Create a hook (.json) to enforce policy or automate agent lifecycle events.

Who is create-hook best for?

create-hook is best for reusing agent instructions, scripts, and references.

How do I install create-hook?

Install or run create-hook using Copy skill directory. Check create-hook for the latest setup command.

Is create-hook actively maintained?

create-hook may need a closer maintenance check before production use.

Share:

Stars
188,003
Forks
41,317
Last commit
1 month ago
Last verified
Aug 19, 2026
Metadata fetched
Aug 19, 2026
Repository age
11 years
License
MIT

Project health auto-fetched from the source repository.

Maintain this resource?

Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.

Alternatives to create-hook