microsoft/amplifier-module-tool-skills/skill-with-hooks
Claude Code and agent skill by microsoft/amplifier-module-tool-skills
- vendor
Checking that the SKILL.md file is still in the repository.
Example skill demonstrating embedded hooks for validation and logging
Install
npx vskill@latest install microsoft/amplifier-module-tool-skills/skill-with-hooksSKILL.md
The same SKILL.md was published earlier as microsoft/amplifier-module-tool-skills/skill-with-hooks.
Skill With Hooks Example
This is an example skill that demonstrates how to embed Claude Code-compatible hooks directly in a skill's frontmatter.
Purpose
When this skill is loaded, its hooks become active for the session:
- PreToolUse (Bash): Validates bash commands before execution
- PreToolUse (all tools): Logs all tool invocations
- PostToolUse (all tools): Logs tool results
Hook Scripts
The hooks reference scripts in the ./hooks/ directory relative to this skill:
validate-bash.sh- Checks bash commands for dangerous patternslog-tool-use.sh- Logs tool name and parameterslog-tool-result.sh- Logs tool execution results
Usage
Load this skill to activate its hooks:
The hooks will remain active until the session ends.
Testing
This skill is used to validate the skill-scoped hooks integration between amplifier-module-tool-skills and amplifier-module-hooks-shell.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 2 Jul 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingexamples/skill-with-hooks/SKILL.md
Popularity
- Repository stars
- 6
- Repository forks
- 7
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microsoft/amplifier-module-tool-skills/skill-with-hooks)