ccode-to-codex: Skill for Codex

.codex/skills/migrate-to-codex/SKILL.md

migrate-to-codex is a skill for Codex from zuharz/ccode-to-codex. It costs 108 tokens per session (6,540 once invoked), scanned B, original, MIT.

A migration tool for converting Claude-era skills, commands, and hooks into Codex skill files and other Codex artifacts.

In plain words
What is it for?
Use it to assess, preview, migrate, review, or batch-process Claude skills and project-local commands for Codex.
Why use it?
It helps preserve how an existing workflow behaves while identifying migration risks, compatibility problems, and items that need review.

Skill for Codex

Written for Codex: installed under .codex/. Also seen: reads .claude/ paths; mentions subagents; mentions Codex.

This is zuharz/ccode-to-codex's own configuration. It tells Codex how to work on ccode-to-codex itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ccode-to-codex configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/zuharz/ccode-to-codex/main/.codex/skills/migrate-to-codex/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/zuharz/ccode-to-codex

Made for: Codex.

Wrote 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.

agentmods badge for migrate-to-codex

README.md
[![agentmods](https://agentmods.dev/badge/skills/zuharz/ccode-to-codex/migrate-to-codex.svg)](https://agentmods.dev/skills/zuharz/ccode-to-codex/migrate-to-codex)
Your own site
<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>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,540 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 8d ago against content hash 9b57954fc8bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/migrate_claude_workflows_to_codex.py, scripts/migration_doctor.py, scripts/run_migration_workflow.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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>`.
.codex/skills/migrate-to-codex/SKILL.md · 455 lines

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:

  1. Assess one skill
  2. Preview one skill
  3. Migrate one skill live
  4. Batch assess pending skills
  5. Review one migrated skill for nativeness
  6. Explain blockers and statuses

Routing rules:

  • If the user already says assess <skill>, preview <skill>, or migrate <skill>, or review <skill>, route directly.
  • In Plan mode, use request_user_input for 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 --json
    • python3 .codex/skills/migrate-to-codex/scripts/run_migration_workflow.py --preview --skill example-url-validator --json
    • python3 .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-skill
    • python3 .codex/skills/migrate-to-codex/scripts/migrate_claude_workflows_to_codex.py --skill example-url-validator
    • python3 .codex/skills/migrate-to-codex/scripts/migrate_claude_workflows_to_codex.py --all
    • python3 .codex/skills/migrate-to-codex/scripts/migrate_claude_workflows_to_codex.py --all --dry-run --json
    • python3 .codex/skills/migrate-to-codex/scripts/migrate_claude_workflows_to_codex.py --analysis-only --json

Read the full file on GitHub · 455 lines

Changes

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.

  1. 8d ago First seen · 455 lines · 108 tokens per session scan B 9b57954fc8bc

Subscribe to this mod's changes

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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

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…

microsoft/ai-agents-for-beginners · 200 tokens

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…

vercel/next.js · 95 tokens

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…

vercel/next.js · 103 tokens

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…

microsoft/vscode · 72 tokens

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…

openai/codex · 114 tokens