Claude Skill Sync
Agent Buildingclaude-skill-syncClaude Skill Sync is an Agent Skill for agent building published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Copy or sync Claude skills from ~/.claude/skills into ~/.codex/skills so they are available in Codex. Use when asked to import, migrate, copy, or sync Claude skills, or when moving skills between Claude and Codex with optional repeatable sync.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/skills/claude-skill-sync/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/claude-skill-sync, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Claude Skill Sync
Overview
Copy Claude skills into Codex using the bundled script. Default behavior is a safe one-off copy; sync mode supports repeatable runs with optional pruning. You can also include official Claude plugin skills.
Quick Start (One-Off Copy)
- Dry run to preview actions:
python3 ~/.codex/skills/claude-skill-sync/scripts/claude_skill_sync.py --dry-run - Run the copy (prompts on conflicts):
python3 ~/.codex/skills/claude-skill-sync/scripts/claude_skill_sync.py - Include official plugin skills:
python3 ~/.codex/skills/claude-skill-sync/scripts/claude_skill_sync.py --include-official-plugins
If running from this repo, use:
python3 skills/claude-skill-sync/scripts/claude_skill_sync.py
Conflict Handling
- Default
--conflict askprompts per skill: overwrite, skip, or abort. - For non-interactive runs, set a policy explicitly:
--conflict overwrite--conflict skip--conflict abort
- In
--dry-run, conflicts default to skip with a warning.
Repeatable Sync
Use --mode sync for repeatable updates:
python3 ~/.codex/skills/claude-skill-sync/scripts/claude_skill_sync.py --mode sync --conflict ask- Optional mirror cleanup (destructive): add
--pruneto remove Codex skills not present in Claude.
Paths and Filters
- Defaults:
- Source:
~/.claude/skills - Destination:
~/.codex/skills
- Source:
- Override with
--sourceand--dest, add extra roots with--extra-source. - Use
--recursiveto scan nested trees forSKILL.md. - Official plugin skills: add
--include-official-plugins. - The script copies directories that contain
SKILL.md.
scripts/
Executable code that performs the copy/sync operation.
claude_skill_sync.py: Copy/sync Claude skills into Codex with conflict prompts.