kookr-codex-claude-compatibilitylisted
Install: claude install-skill kookr-ai/kookr
# Codex Claude Compatibility
## When to Use
- The user asks to make Codex CLI more similar to Claude Code
- The task touches Claude-compatible `.claude/skills` or `.claude/agents` behavior in Codex
- The task involves Codex settings, permission semantics, hooks, cost surfacing, or Kookr integration
- You need to rebuild or redeploy the custom Codex binary used by Kookr
- You need to sync `feat/claude-compat` with `upstream/main`
- You need the shortest path back into the Codex fork without rediscovering repo state
## Reference Principle
**Claude Code is the reference behavior.** Treat Codex CLI as the implementation being adapted toward Claude compatibility, not the other way around.
For parity work, prefer:
1. Confirm how Claude Code behaves
2. Find the corresponding Codex implementation point
3. Patch Codex to match the Claude-facing workflow and file formats where practical
4. Verify in a real Kookr-adjacent process, not just with unit-level reasoning
## Known Codex Fork Layout
### Single Claude-compat branch
All Claude-Code compatibility work lives on **`feat/claude-compat`** in the fork (`jeanibarz/codex`). The main fork checkout is configured with `KOOKR_CODEX_CHECKOUT` and defaults to `$HOME/git/codex`; it should remain the only persistent worktree.
Branch state (as of 2026-04-05 consolidation):
- `main` — fork's sync point with `openai/codex` upstream
- `feat/claude-compat` — the active Claude-compat branch, contains:
- Claude skill loader (`.claude/skill