claude-code-to-codex
Installation
SKILL.md
Claude Code to Codex
Migrate the user's Claude Code CLI setup into Codex CLI without silently dropping automation. Treat hooks, CLI MCP servers, plugins, and session history as first-class migration targets, not afterthoughts.
Ground Rules
- Preserve behavior first, then improve naming or structure.
- Separate Claude Code CLI configuration from Claude Desktop configuration. Do not read or migrate Claude Desktop MCP servers unless the user explicitly requests it.
- Do not copy secrets into chat, commits, or generated files. Inventory environment variable names only; ask the user to re-enter secret values in the target tool when needed.
- Prefer project-scoped Codex config for team-shared behavior and user-scoped Codex config for personal behavior.
- Verify current CLI syntax with
claude --help,claude mcp --help,claude plugin --help,codex --help,codex mcp --help, and current official docs when exact flags matter. - Keep original Claude files intact until Codex behavior has been verified. Prefer additive
.codex/files over destructive rewrites.
Inventory
Inspect these Claude Code CLI sources if they exist: