Agentic Tutor/Terminal Forest/Hooks & Smart Routing
100 XP · 12 min
Skill authoring

Build a HookMatcher Skill

Author a SKILL.md following the agentskills.io standard. The grader checks the YAML front matter for name and description.

Author your SKILL.md
Write a SKILL.md that teaches Claude Code how to add a PreToolUse hook to block destructive Bash commands. Include valid YAML front matter with `name` (5-32 chars) and `description` (60-200 chars, written so semantic-matching can decide when to invoke this skill). Below the front matter, write the procedural steps the agent should follow.
2 / 8 checks pass
· Pass every check in the grader.