create-hook Skill
Create a hook (.json) to enforce policy or automate agent lifecycle events. Published by microsoft in vscode.
Decision snapshot
Is this a fit?
Developers using vscode, Includes SKILL.md, Reusable instructions
Compatibility not yet detected.
Permission behavior not yet detected.
Copy skill directory
1 month ago · MIT license
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.
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
- Install or run with Copy skill directory
When to use create-hook Skill
- Use it for developers using vscode.
Built with
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.
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.