Command Palette

Search for a command to run...

Назад к скиллам
скилл № 91321

migrate-to-codex

Migrate Claude-era skills into native Codex skill artifacts with a preservation-first workflow. Also migrate project-local Claude slash commands and command…

БесплатноЗапускает вложенные скрипты
zuharzот zuharz★ 75 звёзд на GitHub

Установить migrate-to-codex в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

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

Explicit Non-Goals

  • Do not attempt to preserve inline Claude Agent() / Task() semantics mechanically in this skill.
  • Do not migrate agents here. Route agent dependencies to migrate-agents-to-codex at .codex/skills/migrate-agents-to-codex/SKILL.md.
  • Do not treat legacy .codex/agents/*.md imports as resolved runtime dependencies. Only .codex/agents/*.toml counts.
  • Do not treat command-derived skills or generated hook config as native/trusted output. They are compatibility artifacts that require manual review.

Sandbox Policy

Recommended mode: workspace-write

Rationale: this workflow creates skill files, updates repo-local documentation, and runs validation scripts. Infrastructure or deployment access is not needed.

Runtime Contract

  1. Codex callable MCP namespaces use underscore-normalized server names.
  2. Hard MUST / NEVER / ONLY constraints survive verbatim.
  3. Preserve the source workflow's control shape unless Codex lacks a required primitive.
  4. Preserve direct execution when Codex supports it. Only redesign into manager-to-subagent when the source truly depends on task/team semantics.
  5. Do not invent spawn_agent, wait_agent, update_plan, or approval requirements unless the source workflow genuinely needs them.
  6. User interaction is mode-dependent: request_user_input exists only in Plan mode; outside Plan mode rely on normal user messages or approval workflow.
  7. File edits use apply_patch when the workflow actually edits files.
  8. Explicitly named Claude agents that exist under .claude/agents/*.md are hard runtime dependencies. Never substitute, downgrade, drop, or neutralize them during skill migration. If .codex/agents/<name>.toml is missing, stop and route to migrate-agents-to-codex.
  9. Claude skill references are context-sensitive. Only operational uses are hard migration dependencies. Related-skills tables, troubleshooting notes, provenance/history, and redirected-skill markers are not blockers by themselves.
  10. For ambiguous skill mentions, the Python migrator extracts structured candidates and returns MANUAL_REVIEW_REQUIRED. The interactive Codex skill then owns the read-only mini-auditor pass. If the auditor still cannot classify a mention confidently, keep the skill in manual-review state rather than auto-blocking or auto-migrating.

Reference Map

Reference Load when
references/primitive-mapping.md You need authoritative primitive translation rules or sandbox inference
references/embedded-agent-taxonomy.md The source skill embeds Claude Agent(...) or Task(...) sub-agent sites and you must distinguish inline slices from named agent dependencies
references/complexity-classifier.md You need to decide Tier 1 vs Tier 2 vs Tier 3
references/codex-skill-template.md You are
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/architectural-patterns.md
  • references/codex-skill-template.md
  • references/complexity-classifier.md
  • references/conversational-migration-contract.md
  • references/embedded-agent-taxonomy.md
  • references/primitive-mapping.md
  • scripts/migrate_claude_workflows_to_codex.py
  • scripts/migration_doctor.py
  • scripts/run_migration_workflow.py
  • scripts/validate_codex_workflow_names.py

FAQ

Что делает скилл migrate-to-codex?

Migrate Claude-era skills into native Codex skill artifacts with a preservation-first workflow. Also migrate project-local Claude slash commands and command hooks in batch mode as review-required Codex artifacts. Classify migration risk, preserve control shape, validate runtime-coupling leaks, and require a Codex nativeness audit before calling the result native. Use for "migrate skill to codex", "convert skill to codex", "port skills", or "codex compatibility". This skill does not migrate agents.

Как установить скилл migrate-to-codex?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл migrate-to-codex запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить migrate-to-codex с