Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ahmedawan-oracle/claude-code-plugins --skill claude-to-codex-migratorgit clone --depth 1 https://github.com/ahmedawan-oracle/claude-code-pluginsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ahmedawan-oracle/claude-code-plugins/claude-to-codex-migrator)<a href="https://agentmods.dev/skills/ahmedawan-oracle/claude-code-plugins/claude-to-codex-migrator"><img src="https://agentmods.dev/badge/skills/ahmedawan-oracle/claude-code-plugins/claude-to-codex-migrator/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ahmedawan-oracle/claude-code-plugins/claude-to-codex-migrator"><img src="https://agentmods.dev/badge/skills/ahmedawan-oracle/claude-code-plugins/claude-to-codex-migrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00085 | $0.01402 |
| Opus 5.5 | $0.00034 | $0.00561 |
| Sonnet 5.5 | $0.00017 | $0.00280 |
| Haiku 4.5 | $0.00009 | $0.00140 |
Grade A, and why
claude-to-codex-migrator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Claude to Codex Migrator
Migrate source packages through a clean-room, report-backed workflow. Use the bundled scripts for deterministic staging, inventory, transformation, cleanup scanning, and validation. Apply judgment only where the reports identify semantic or unsupported work.
Resolve <skill-root> to the directory containing this SKILL.md. Invoke every bundled script by its path under <skill-root>/scripts; do not assume the user's current working directory is the installed Skill directory.
Core rules
- Preserve behavior and intent before optimizing structure.
- Classify every source file as
keep-as-is,rename,rewrite,split-into-reference,delete, ormanual. - Build as a Skill for instructions, prompts, documentation, and reusable workflows.
- Build as a plugin for MCP, apps, authenticated runtime behavior, distributable hooks, or mixed integration bundles.
- Keep reports and unresolved source snapshots outside the distributable package.
- Never silently drop an unknown component.
- Finish only after the package passes structural validation and a filename/content cleanup scan.
Workflow
1. Normalize the input
Accept a folder, ZIP, single file, or stdin bundle directly. For pasted multi-file content, repository trees, or documentation-only descriptions, materialize a JSON stdin bundle before migration.
When the user names an installed source package but does not provide its path, discover or resolve it first:
python3 <skill-root>/scripts/discover_installed.py
python3 <skill-root>/scripts/discover_installed.py --resolve <plugin-id>
Read input-contract.md when the input is not a normal source folder.
Inventory without writing output:
python3 <skill-root>/scripts/inventory_source.py <source>
For stdin, pass either plain text or a JSON object whose files field maps relative paths to string contents.
2. Inspect and plan
Review the inventory for hidden files, runtime dependencies, source-specific references, unknown components, and warnings. Read component-mapping.md when commands, agents, hooks, MCP, apps, settings, LSP, or unknown files exist.
What ships with it
21 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 238 B
- references/component-mapping.md 4.8 KB
- references/input-contract.md 3.3 KB
- references/report-schema.md 1.7 KB
- references/transformation-rules.md 4.3 KB
- references/validation-checklist.md 2.4 KB
- scripts/discover_installed.py 1.1 KB runs code
- scripts/inventory_source.py 1.1 KB runs code
- scripts/migrate_to_codex/__init__.py 601 B runs code
- scripts/migrate_to_codex/common.py 14 KB runs code
- scripts/migrate_to_codex/discovery.py 3.3 KB runs code
- scripts/migrate_to_codex/engine.py 6.2 KB runs code
- scripts/migrate_to_codex/models.py 4.0 KB runs code
- scripts/migrate_to_codex/planner.py 20 KB runs code
- scripts/migrate_to_codex/reporting.py 3.9 KB runs code
- scripts/migrate_to_codex/source.py 12 KB runs code
- scripts/migrate_to_codex/transform.py 18 KB runs code
- scripts/migrate_to_codex/validation.py 20 KB runs code
- scripts/migrate.py 2.3 KB runs code
- scripts/scan_leftovers.py 803 B runs code
- scripts/validate_output.py 947 B runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 139 lines · 85 tokens per session scan A c9d13b32a39d
claude-to-codex-migrator is a skill published in the GitHub repository ahmedawan-oracle/claude-code-plugins (4 stars, last pushed 4mo ago), licensed MIT. It adds 85 tokens to every session and 1,402 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
claude-to-codex-migrator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| claude-to-codex-migratorahmedawan-oracle/claude-code-plugins | Skill | 4 | 4mo ago | MIT | A | 85 | Claude Code, Codex |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 82k | today | MIT | A | 200 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 331k | 5d ago | MIT | A | 21 | Claude Code |