skill-with-hooks
Example skill demonstrating embedded hooks for validation and logging Published by microsoft in amplifier-module-tool-skills.
What is skill-with-hooks?
Example skill demonstrating embedded hooks for validation and logging Published by microsoft in amplifier-module-tool-skills. 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.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Testing
- Testing use cases
Technical details
- Install or run with Copy skill directory
When to use skill-with-hooks
- Use it for testing.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/amplifier-module-tool-skills
- Skill file: examples/skill-with-hooks/SKILL.md
What it does
Example skill demonstrating embedded hooks for validation and logging
Skill instructions
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: 1. PreToolUse (Bash): Validates bash commands before execution 2. PreToolUse (all tools): Logs all tool invocations 3. 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 patterns - log-tool-use.sh - Logs tool name and parameters - log-tool-result.sh - Logs tool execution results Usage Load this skill to activate its hooks: loadskill(skillname="skill-with-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.
Explore related resources
Frequently asked questions
What is skill-with-hooks?
skill-with-hooks is a open-source AI agent skill with Copy skill directory. Example skill demonstrating embedded hooks for validation and logging
Who is skill-with-hooks best for?
skill-with-hooks is best for reusing agent instructions, scripts, and references, testing workflows.
How do I install skill-with-hooks?
Install or run skill-with-hooks using Copy skill directory. Check skill-with-hooks for the latest setup command.
Is skill-with-hooks actively maintained?
skill-with-hooks may need a closer maintenance check before production use.
Auto-fetched from GitHub.