Borrowing it
Nothing to install: this file belongs to zuharz/ccode-to-codex. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/zuharz/ccode-to-codex/main/.codex/skills/migrate-to-codex/SKILL.mdgit clone --depth 1 https://github.com/zuharz/ccode-to-codexWrote 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/zuharz/ccode-to-codex/migrate-to-codex)<a href="https://agentmods.dev/skills/zuharz/ccode-to-codex/migrate-to-codex"><img src="https://agentmods.dev/badge/skills/zuharz/ccode-to-codex/migrate-to-codex.svg" alt="Measured on agentmods" 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.00108 | $0.06540 |
| Opus 5 | $0.00054 | $0.03270 |
| Sonnet 5 | $0.00022 | $0.01308 |
| Haiku 4.5 | $0.00011 | $0.00654 |
Grade B, and why
migrate-to-codex scanned grade B with 1 finding 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.
Enumerates other installed skillsmediumAgent snooping
Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.
1. Run `python3 tools/migration_support/validate_names.py --scan-dir .codex/skills/<name>`. How it starts
The opening of the file, as written. The whole thing — 455 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Migrate to Codex
Preserve the source workflow first. The goal is not to transliterate Claude primitives. The goal is to produce the Codex skill artifact that best preserves the source skill's behavior.
Conversation-First Entry
Bare or vague requests should not dump raw script flags immediately. Resolve the
request through the shared contract in
references/conversational-migration-contract.md.
Default menu for underspecified requests:
- Assess one skill
- Preview one skill
- Migrate one skill live
- Batch assess pending skills
- Review one migrated skill for nativeness
- Explain blockers and statuses
Routing rules:
- If the user already says
assess <skill>,preview <skill>, ormigrate <skill>, orreview <skill>, route directly. - In Plan mode, use
request_user_inputfor the action choice only. - Outside Plan mode, render the same choices as a numbered text menu.
- If the action needs a skill name and the user did not provide one, ask for it in plain text.
- Require explicit confirmation before any live write into
.codex/skills/.
Advanced CLI
- Preferred wrappers:
python3 .codex/skills/migrate-to-codex/scripts/migration_doctor.py --skill example-skill --jsonpython3 .codex/skills/migrate-to-codex/scripts/run_migration_workflow.py --preview --skill example-url-validator --jsonpython3 .codex/skills/migrate-to-codex/scripts/run_migration_workflow.py --skill example-url-validator --json
- Power-user engine:
python3 .codex/skills/migrate-to-codex/scripts/migrate_claude_workflows_to_codex.py --analysis-only --json --skill example-skillpython3 .codex/skills/migrate-to-codex/scripts/migrate_claude_workflows_to_codex.py --skill example-url-validatorpython3 .codex/skills/migrate-to-codex/scripts/migrate_claude_workflows_to_codex.py --allpython3 .codex/skills/migrate-to-codex/scripts/migrate_claude_workflows_to_codex.py --all --dry-run --jsonpython3 .codex/skills/migrate-to-codex/scripts/migrate_claude_workflows_to_codex.py --analysis-only --json
What ships with it
11 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.
- references/architectural-patterns.md 3.1 KB
- references/codex-skill-template.md 3.1 KB
- references/complexity-classifier.md 4.0 KB
- references/conversational-migration-contract.md 4.3 KB
- references/embedded-agent-taxonomy.md 5.9 KB
- references/primitive-mapping.md 8.1 KB
- scripts/migrate_claude_workflows_to_codex.py 66 KB runs code
- scripts/migration_doctor.py 18 KB runs code
- scripts/run_migration_workflow.py 18 KB runs code
- scripts/validate_codex_workflow_names.py 918 B runs code
- tests/test_migrate_claude_workflows_to_codex.py 33 KB 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 · 455 lines · 108 tokens per session scan B 9b57954fc8bc
migrate-to-codex is a skill published in the GitHub repository zuharz/ccode-to-codex (70 stars, last pushed 18d ago), licensed MIT. It adds 108 tokens to every session and 6,540 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
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-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…
babysit-pr
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…