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 | $0.00043 | $0.00701 |
| Sonnet 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 8d 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.
- 8d 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 (2 stars, last pushed 1mo ago), licensed MIT. It adds 85 tokens to every session and 1,402 once invoked, about $0.0004 per session on Opus 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…