मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग28k · #9857

migrate-to-codex

यह क्या करती है

यह स्किल Claude Code के मौजूदा सेटअप को Codex में ले जाती है, जिसमें निर्देश फ़ाइलें, स्किल, एजेंट और MCP सेटिंग्स शामिल हैं। यह उन लोगों के लिए है जो Claude Code से Codex पर जा रहे हैं या दोनों का उपयोग करते हैं।

कब इस्तेमाल करें

  • ✓जब आप अपने Claude Code के निर्देश और स्किल Codex में लाना चाहते हैं।
  • ✓जब Claude Code में MCP सर्वर की सेटिंग्स हैं और आप उन्हें Codex में इस्तेमाल करना चाहते हैं।
  • ✓जब Codex पर जाने के बाद आप जाँचना चाहते हैं कि क्या सही तरह से ले जाया गया।

Skill का लिंक

https://github.com/openai/skills/blob/main/skills/.curated/migrate-to-codex/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/openai/skills/blob/main/skills/.curated/migrate-to-codex/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“कृपया इस प्रोजेक्ट के लिए मेरे Claude Code के निर्देश, स्किल और MCP सेटिंग्स Codex में ले जाइए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट माइग्रेशन टूल चलाता है, उसकी रिपोर्ट पढ़ता है, Codex में बनी फ़ाइलें ठीक करता है और दोबारा जाँचता है, और मूल Claude Code फ़ाइलों को अछूता छोड़ता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Migrate to Codex

Autonomy

Keep going until the selected migration is completely done: run the migrator, inspect the report, fix migrated Codex instructions/skills/agents/MCP config, and re-run checks without stopping to ask for confirmation of the next step. If the user has selected a target, do not ask before creating, editing, replacing, or deleting generated Codex artifacts in that target (AGENTS.md, .codex/, .agents/, or ~/.codex/). Preserve unrelated existing Codex config entries in .codex/config.toml or ~/.codex/config.toml, such as notify, projects, marketplaces, or unrelated MCP servers; do not ask about them unless they fail validation or directly conflict with the migration. Do not edit source Claude Code files (.claude/, ~/.claude/, .mcp.json, or .claude.json), unrelated project code, secrets, or another repository.

Migration Order

Run the migration in this order for each selected global or project source:

  1. Start by using Codex's built-in TODO/task list tool. Do not create MIGRATION_TODOS.md or any TODO file unless the user explicitly asks. The TODO list input has a plan array whose items each have step and status; use statuses pending, in_progress, and completed. Make the TODOs specific to the selected artifacts. Before finishing, update the TODO list so every finished step is marked completed and no step remains in_progress. Use literal source → Codex target labels, for example:

    • Inspect .claude/commands → Codex skills/prompts
    • Inspect .claude/agents → .codex/agents
    • Inspect .mcp.json → .codex/config.toml MCP servers
    • Inspect .claude/settings.json hooks → .codex/hooks.json
    • Migrate safe selected artifacts → Codex files
    • Validate generated .codex/config.toml
    • Validate generated .codex/agents
    • Report migrated artifacts and manual-review items
  2. Read references/differences.md (and refresh Codex docs if its Docs last checked date is old).

  3. Scan and inspect before writing:

    • --scan-only lists active and inactive source surfaces.
    • --plan prints staged Codex artifact paths and report rows.
    • --doctor summarizes readiness, manual-review work, and validation risks.
  4. Convert surfaces in the same order the CLI uses:

    • instructions: CLAUDE.md / AGENTS.md to AGENTS.md
    • plugins: report Claude plugin trees and marketplaces as manual migration work
    • hooks: rewrite supported Claude hooks into .codex/hooks.json and enable [features].codex_hooks = true
    • skills and commands: write Codex skills under .agents/skills/
    • config: write .codex/config.toml from Claude model/sandbox settings and MCP servers, including personality = "friendly" when config is generated
    • subagents: write Codex custom agents under .codex/agents/
  5. Dry-run, then write the selected target. Use --replace only when orphan generated skills or agents should be deleted.

  6. Inspect the terminal output and .codex/migrate-to-codex-report.txt after real runs.

  7. Review generated artifacts in this order: AGENTS.md, .agents/skills/, .codex/config.toml, .codex/hooks.json, .codex/agents/, then report-only plugin items.

  8. Run --validate-target against each target after edits.

  9. Re-run checks and --dry-run after edits.

  10. Return the final migration report as one markdown table per scope that has rows. The tables cover only the non-native follow-up migration work you performed, such as skills created from slash commands, subagents, MCP servers, hooks, unsupported/local plugin notes, and manual-review caveats. Include programmatic native import rows for config, instructions, skills, or supported plugins only if you personally migrated them in this follow-up run.

    If only one scope has rows, render only the table with no heading. If multiple scopes have rows, render one heading before each table. Use **User Config** for user-scope rows. For project-scope rows, use the actual project folder name as the heading, for example **northstar-support-portal**; do not use Current Project as the heading. Do not add prose before or after the table output.

    Use exactly these columns:

    northstar-support-portal

    Status Item Notes
    Added Slash command pr-review Converted into a Codex skill
    Added Subagent release-lead Added as a Codex subagent
    Check before using Hook PreToolUse Converte
अक्सर पूछे जाने वाले सवाल

क्या यह मेरी Claude Code फ़ाइलें बदलेगी?

नहीं। स्किल कहती है कि वह मूल Claude Code फ़ाइलों में बदलाव नहीं करती।

क्या इससे मेरी मौजूदा Codex सेटिंग्स मिट जाएँगी?

नहीं। यह Codex config फ़ाइल की असंबंधित एंट्री रखती है, जैसे notify या projects सेटिंग्स।

Codex की फ़ाइलें कहाँ जाती हैं?

वे प्रोजेक्ट के AGENTS.md और Codex फ़ोल्डर में जाती हैं, या निजी सेटअप के लिए ग्लोबल Codex फ़ोल्डर में।

जानकारी

लेखक का मूल विवरण

Migrate supported instruction files, skills, agents, and MCP config into Codex project and global files.

repo: openai/skills

लोकप्रियता

GitHub स्टार
28k
रैंकिंग में स्थान
#9857
लाइसेंस
—
अपडेट की गई
28/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

aspnet-core

28k

यह आपके एजेंट को ASP.NET Core वेब ऐप बनाने, जांचने या अपग्रेड करने में मदद करती है, सही ऐप प्रकार चुनकर और .NET के लिए Microsoft के मौजूदा दिशानिर्देश मानकर।

कोडिंगAPI और सर्वर (backend)

chatgpt-apps

28k

यह आपके एजेंट को ChatGPT ऐप बनाने में मदद करती है, जो MCP सर्वर को widget UI के साथ जोड़ता है, टूल डिज़ाइन, UI resources, metadata और लोकल सेटअप सहित।

AI और एजेंटकनेक्टर (MCP)

cli-creator

28k

यह आपके एजेंट को API दस्तावेज़ या स्क्रिप्ट से ऐसा कमांड-लाइन टूल बनाने में मदद करती है, जो किसी भी फ़ोल्डर से चले और स्थिर JSON लौटाए।

कोडिंगसामान्य कोडिंग

define-goal

28k

यह आपके एजेंट को धुंधले इरादे को सफलता के मानदंड और दायरे वाले साफ़ लक्ष्य में बदलने में मदद करती है, काम शुरू होने से पहले।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

मिलती-जुलती skills