plugins/kronen/skills/hook-creator/SKILL.md
Create, modify, or debug Claude Code hooks with correct event types, exit codes, JSON output formats, and shell best practices. Use when adding hooks to any plugin, fixing broken or silent hooks, blocking or allowing specific tools via PreToolUse, adding guards for SessionStart or Stop events, registering hooks in plugin.json, or converting hooks between types (command, prompt, HTTP, agent).
npx skillsauth add hjemmesidekongen/ai hook-creatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Creates and validates Claude Code hooks for any plugin in this workspace.
| Type | Best for | Events supported | |------|----------|-----------------| | command | Deterministic checks, file I/O, logging | All events | | prompt | Context-aware LLM decisions | PreToolUse, Stop, SubagentStop, UserPromptSubmit | | http | External service integration, webhooks | All events | | agent | Multi-step autonomous tasks (50-turn limit) | All events |
Default to command hooks. Use prompt hooks only when the decision requires LLM reasoning. Use HTTP hooks for webhooks/external integrations. Use agent hooks for complex multi-step logic.
See references/process.md for the full specification: 18 event types, 4 hook types,
input/output schemas, exit codes, shell conventions, testing protocol, and registration.
development
Creates a brand from scratch through market research and interactive sparring. Runs competitive research via Perplexity, then guides the user through positioning, audience, voice, values, and content pillars. Produces the full brand guideline set at .ai/brand/{name}/. Use when building a new brand, defining brand strategy for a product, or when /våbenskjold:create is invoked.
testing
Loads brand guidelines from .ai/brand/{name}/ and makes them available to the current context. Progressive disclosure: L1 confirms brand exists, L2 loads summary, L3 loads specific files on demand. Use when a downstream skill or user needs brand context, or when /våbenskjold:apply is invoked.
documentation
Guided reinvention of an existing brand guideline. Loads current brand from .ai/brand/{name}/, identifies what to keep vs change, and walks the user through targeted evolution. Preserves brand equity while updating positioning, voice, or values. Use when refreshing a brand or when /våbenskjold:evolve is invoked.
development
Codifies an existing brand from materials, samples, and references. Analyzes provided content to extract voice patterns, values, and positioning. Produces the same guideline format as brand-strategy. Use when a brand already exists but isn't documented, or when /våbenskjold:audit is invoked.