skills/create-hook/SKILL.md
Create or update Codex hooks for global or project scope by asking for scope and hook type when ambiguous, then writing the hook config, scripts, and any required feature flag config.
npx skillsauth add am-will/codex-skills create-hookInstall 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.
Use when the user wants to add Codex hooks and explains the behavior they want.
Determine scope.
global, use the personal/home scope.project, use the repo scope.Should this be global or project-scoped?Determine hook type.
SessionStartUserPromptSubmitPreToolUsePostToolUseStopDetermine behavior.
Write the hook files in the chosen scope.
~/.codex/hooks.json and ~/.codex/hooks/<repo>/.codex/hooks.json and <repo>/.codex/hooks/Enable the feature flag if the target Codex build still gates hooks.
[features] codex_hooks = true in the relevant config.toml.Keep the hook output clear.
statusMessage for a short visible signal.Verify the result.
PreToolUse for prevention.PostToolUse for logging, formatting, or test follow-up.UserPromptSubmit for prompt shaping and injected context.SessionStart for startup context.Stop for end-of-turn checks.development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
testing
[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.
testing
Only to be triggered by explicit super-swarm-spark commands.
development
Create and update Codex custom agents using standalone custom-agent TOML files.