invalid-hook-command
OfficialCatch misconfigured agent hook commands early
Software Engineering#hooks#agent lifecycle#configuration validation#ag h#session.post_create#runtime loader
Authorcompozy
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you detect and debug a misconfiguration where an AGH hook is registered with an invalid or unsupported hook command, preventing agent session lifecycle events from being handled correctly.
Core Features & Use Cases
- Hook validation via registration attempt: Ensures the hook configuration includes a valid command for the targeted event such as session.post_create.
- Agent lifecycle troubleshooting: Useful when sessions are created but expected post-create automation does not run due to a bad hook command.
- Test/loader scenario: Designed for loader/registration tests that verify error handling when required hook command fields are missing or incorrect.
Quick Start
Ask an AI to verify the hook registration for the session.post_create event and confirm that the configured hook command is valid and supported.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: invalid-hook-command Download link: https://github.com/compozy/agh/archive/main.zip#invalid-hook-command Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.