Skip to content

mouadja02/skills / skills/dev-workflow/codex-debugging

codex-debugging

Unverified

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.

Codex Debugging

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

When to Use

  • Debugging Codex CLI/app behavior, config parsing, or tool invocations
  • Navigating the codex-rs codebase (core/tui/exec/cli/app-server)

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

  • For OpenAI API/product docs, use the official-docs path only when source is insufficient.
  • For local browser automation in CLI, use $browser-use; the bundled Browser plugin is Codex app-only.
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 464kUpdated Claude CodeCodexVerifiedInstall
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 464kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 318kUpdated Claude CodeCodexUnverifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 318kUpdated Claude CodeCodexUnverifiedInstall