← LeaderboardThe Skill Leaderboard
create-hook
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.
Try your first task
Create a project logging hook
Start a fresh conversation. Replace the highlighted placeholders.
Use the create-hook skill to add a project-scoped PostToolUse hook in [repository path] that records modified file paths in [repo-local log path]. Use the smallest deterministic script, keep the output clear, and verify it with a harmless edit that should trigger the hook.
Required inputs
- Repository path
- Repo-local log path
Suggested template by Skill Leaderboard, grounded in the linked source. Task evidence ↗
Inside SKILL.md
53 linesSection content has not been verified for this skill yet.
Full source remains withheld under the current source-display policy. Read the author’s source ↗