claude-to-codexlisted
Install: claude install-skill ada-ggf25/AI-Tools
# Port Claude Artifacts To Codex
Finds Claude Code skills/agents that have no Codex counterpart in this repo and adapts
them to Codex conventions, one item at a time with per-item approval.
## Procedure
### 1. Compute The Gap
Run both diffs in parallel:
```bash
# Skills missing from codex/
comm -23 \
<(ls global/claude/skills/ | sort) \
<(ls global/codex/skills/ | sort)
# Agents missing from codex/ (strip extensions for comparison)
comm -23 \
<(ls global/claude/agents/ | sed 's/\.md$//' | sort) \
<(ls global/codex/agents/ | sed 's/\.toml$//' | sort)
```
Treat these product-specific name pairs as already equivalent unless the user explicitly
wants a duplicate:
| Claude Code | Codex |
|---|---|
| `audit-claude-md` | `audit-agent-docs` |
| `where-claude` | `where-agents-md` |
If both lists are empty after applying the equivalence map, report
"No gaps found - global/claude/ and global/codex/ are in sync" and stop.
### 2. Present The Gap List
Show the user two sections:
```text
Skills to port (global/claude/skills/<name>/SKILL.md -> global/codex/skills/<name>/SKILL.md)
- <name>
...
Agents to port (global/claude/agents/<name>.md -> global/codex/agents/<name>.toml)
- <name>
...
```
Ask which items to port. Do not proceed without explicit approval per item.
### 3. Adapt Skills
For each approved skill, read `global/claude/skills/<name>/SKILL.md`, then apply these
substitutions:
| Find | Replace with |
|---|---|
| `CLAUDE.md` | `AGENTS.md` |
| `/\<s