What problem does it solve?
This Skill helps you design Tank hook atoms that intercept agent lifecycle events with clear safety rules, portable logic, and correct manifest wiring. It removes the guesswork from choosing the right event, deciding between DSL and JavaScript handlers, and building production-ready guardrails for agents.
Core Features & Use Cases
- Canonical event selection: Choose from the standard Tank hook events for command gating, file watching, session bootstrap, stop checks, permissions, and subagent control.
- Handler guidance: Use DSL for simple allow, block, rewrite, and context injection rules, or switch to JS when you need shell commands, parsing, delegation, or stateful behavior.
- Production patterns: Learn how to wire hook atoms in tank.json, attach companion agents, and apply tested patterns such as pre-stop quality gates, safety gates, and session-start context injectors.
- Reference-backed workflow: Use the included reference guides to map events, compare handler types, and follow worked examples for real deployment scenarios.
Quick Start
Ask me to create a Tank hook for your target lifecycle event, and I will draft the manifest wiring, handler choice, and supporting logic in one pass.