Codex Hooks Builder

Scaffold hook packs, validate hooks.json schema, verify hook script permissions, migrate hook configuration, and troubleshoot Codex hook execution errors. Use when creating, auditing, upgrading, or validating Codex hook packs, hooks.json files, hook scripts, SubagentStart/SubagentStop lifecycle hooks, PreToolUse/PostToolUse/PreCompact hooks, Stop claim checks, or repo-local/user-level .codex hook installs.

9 stars 4 forksSoftware Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add jscraik/Agent-Skills --skill codex-hooks-builder
Manual install
git clone --depth 1 https://github.com/jscraik/Agent-Skills.git /tmp/Agent-Skills
mkdir -p ~/.claude/skills
cp -r /tmp/Agent-Skills/Skills/agent-ops/codex-hooks-builder ~/.claude/skills/codex-hooks-builder

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Codex Hooks Builder

## Philosophy
Keep the workflow focused on the requested hook decision. Prefer repo-local contracts, wrappers, and validation before generic advice.

## When To Use
- The user wants Codex hooks created, upgraded, installed, or audited.
- Repo-local or user-level .codex hook runtime files need hardening.
- A hook pack needs scaffold scripts or validation fixtures.
- The user wants runtime cards, subagent lifecycle hooks, artifact verification, hook decision telemetry, or claim-vs-evidence Stop checks.

## Inputs
Require the target hook pack path, install boundary (repo-local, user-level, or plugin-owned), trigger events, script runtime, validation commands, schema/runtime evidence source, active hook sources, and rollback owner before writing.

## Outputs

For non-trivial hook work, return `schema_version: 1`, target hook pack,
install boundary, changed paths, runtime contract, validation evidence,
rollback, blocker or residual risk, and confidence. The runtime contract must
name the runtime-card source, task-envelope injection, `SubagentStop`
reviewer-receipt validation, JSONL telemetry sink, and Stop
claim-versus-evidence checks when those lifecycle hooks are selected.

## Discovery Interview

- Ask one round at a time.
- Use a plain-language question.
- Explain why this matters for the current skill decision.
- avoid dumping the whole interview plan at once.
- Read `references/discovery-interview.md` when the request is underspecified.

## Workflow
Read the full skill on GitHub

Details

Skill name
codex-hooks-builder
Path
Skills/agent-ops/codex-hooks-builder/SKILL.md
License
Apache-2.0
Repo updated
16 November 2026

FAQ

What does the Codex Hooks Builder skill do?

Scaffold hook packs, validate hooks.json schema, verify hook script permissions, migrate hook configuration, and troubleshoot Codex hook execution errors. Use when creating, auditing, upgrading, or validating Codex hook packs, hooks.json files, hook scripts, SubagentStart/SubagentStop lifecycle hooks, PreToolUse/PostToolUse/PreCompact hooks, Stop claim checks, or repo-local/user-level .codex hook installs.

How do I install the Codex Hooks Builder skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add jscraik/Agent-Skills --skill codex-hooks-builder. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Codex Hooks Builder popular?

It lives in jscraik/Agent-Skills, which has 9 GitHub stars and 4 forks.

Related skills

1password

9

jscraik/Agent-Skills

Plan, diagnose, and validate 1Password CLI workflows. Use when tasks need op CLI sign-in, secret references, op run, op inject, item reads, env injection, or service-account secret access.

Security

Agentation

9

jscraik/Agent-Skills

Audit, validate, and troubleshoot Agentation integrations in frontend apps. Use when annotations, MCP registration, endpoint sync, webhook delivery, or watch mode readiness are failing.

AI, LLMs & Agents

Agents Md

9

jscraik/Agent-Skills

Use when reviewing, creating, shrinking, or refactoring AGENTS.md and directly linked instruction guidance for stale or conflicting rules against current model documentation, scoped routing, deduplication, or progressive disclosure.

AI, LLMs & Agents

Codex Review

9

jscraik/Agent-Skills

Review local dirty changes, committed branches, and PR diffs with Codex CLI; report findings, validation, blockers, and merge-readiness evidence. Use when the user asks for Codex review, autoreview, independent model review, or pre-ship validation.

Software Development

Codex Environment Creator

9

jscraik/Agent-Skills

Use when a project or Codex runtime needs environment TOML created, triaged, or updated with safe setup, actions, exec-server providers, and validation evidence.

Software Development

Coding Harness

9

jscraik/Agent-Skills

Use when users need to install, bootstrap, upgrade, audit, diagnose, or explain @brainwav/coding-harness in a repository, including harness init/upgrade, CI migration, governance gates, command discovery, and Codex environment action sync.

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.