Skip to content

Support for OpenAI Codex Hooks #497

@myohei

Description

@myohei

OpenAI recently introduced a new hook system for Codex (released around late March 2026), which allows developers to intercept and modify tool calls using a hooks.json configuration.

https://developers.openai.com/codex/hooks

Currently, Plannotator provides a great UX for Claude Code's hook system. Since OpenAI Codex now supports similar events like PreToolUse, it should be possible to implement a similar "Plan Review" workflow for Codex users.

Proposed Changes:

Add support for OpenAI Codex's hooks.json format.

Implement the PreToolUse hook to trigger Plannotator's visualization/editing UI when Codex generates a plan.

Update the documentation for apps/codex once the plan mode is supported.

Additional Context:

This would bridge the gap between the current Claude Code support and OpenAI Codex, making Plannotator a more universal tool for AI-driven development.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions