codex-cli-hooks

Community

Design, implement, and debug Codex CLI hooks.

Authornarumiruna
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Codex CLI hooks enable safe, configurable control over Codex runtime behavior by intercepting events and applying policy before or after command execution.

Core Features & Use Cases

  • Guidance to enable feature flags and locate repo-local configurations, including config layers and hooks.json.
  • Step-by-step workflow to implement minimal event handlers for SessionStart, PreToolUse, PostToolUse, UserPromptSubmit, and Stop.
  • Practical examples and references for testing, debugging, and auditing hook logic.

Quick Start

Create a minimal hook that loads startup context and proves the event contract for SessionStart.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: codex-cli-hooks
Download link: https://github.com/narumiruna/skills/archive/main.zip#codex-cli-hooks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.