Codex debugging

From mouadja02/skills · View interactive version

Codex debugging is an AI agent skill from the GitHub repository mouadja02/skills. Debugs OpenAI Codex CLI and app behavior by navigating the codex-rs codebase (core, tui, exec, cli, app-server): config parsing, tool invocations, prompts, and MCP wiring. Use when Codex behaves unexpectedly or a Codex runtime bug needs tracing to source.

How to use this skill

Skill file

Codex Debugging

Attribution: Sourced from steipete/agent-scripts by Peter Steinberger.

When to Use

Use when investigating Codex CLI/app behavior, config parsing, tool behavior, prompts, MCP/app wiring, or runtime bugs.

Source First

Prefer local source before web/docs:

cd ~/Projects/codex
sed -n '1,220p' codex-rs/AGENTS.md

Then search targeted areas:

rg "<symbol|setting|error|feature>" codex-rs/{core,tui,exec,cli,app-server,app-server-protocol,config}

Workflow

  1. Identify whether the behavior is CLI, TUI, app server, protocol, config, or exec/tooling.
  2. Read the owning module and adjacent tests before proposing changes.
  3. Check local config in ~/.codex/config.toml only after understanding the source contract.
  4. Prefer small repros or focused tests over broad speculation.

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.