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.

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.

Key capabilities

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

Technical details

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

Explore related resources

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
187,531
Forks
41,265
Last commit
9 days ago
Repository age
11 years
License
MIT

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to create-hook

create-hook: Install, Config & GitHub Signals – SkillIndex