← ClaudeAtlas

claude-md-to-agents-mdlisted

Scans the current repo for CLAUDE.md files, finds directories that lack a matching AGENTS.md, translates each CLAUDE.md to an AGENTS.md draft (applying the Claude -> Codex substitution table), runs a $where-agents-md sanity check per candidate, and - with per-item approval - either writes the translated draft or invokes $init inline for a richer code-derived doc. Never overwrites an existing AGENTS.md. Global and project-agnostic. Trigger when the user says "claude md to agents md", "bootstrap agents md from claude md", "create agents md from claude md", "convert claude md to agents md", "port claude docs to codex", or "claude-md-to-agents-md".
ada-ggf25/AI-Tools · ★ 2 · AI & Automation · score 66
Install: claude install-skill ada-ggf25/AI-Tools
# claude-md-to-agents-md Global, project-agnostic skill. It finds every `CLAUDE.md` in the current repo, identifies directories that have no matching `AGENTS.md`, translates each source file using the Claude -> Codex substitution table, and - with per-item approval - writes the draft or invokes `$init` inline for a richer code-derived alternative. Use when: you've opened a Claude-first repo in Codex and there are zero or few `AGENTS.md` files; the existing `CLAUDE.md` files already describe the directory's purpose and conventions, so translation is a near-free win over starting from scratch. ## Procedure ### 1. Scan ```bash find . -name CLAUDE.md \ -not -path '*/node_modules/*' \ -not -path '*/.git/*' \ -not -path '*/vendor/*' \ -not -path '*/.venv/*' ``` Also detect `AGENTS.override.md` files with a parallel find. Keep them as target-side context - they are never translated or overwritten, but they may affect the approval prompt for a directory that is missing shared `AGENTS.md` guidance. ### 2. Compute the gap For each `<dir>/CLAUDE.md` found, check whether `<dir>/AGENTS.md` already exists. Separate results into three buckets: - **Gaps** - directory has `CLAUDE.md` but no `AGENTS.md` (action candidates) - **Override-present gaps** - directory has `CLAUDE.md` and `AGENTS.override.md`, but no `AGENTS.md` (action candidates with an extra warning) - **Already in sync** - both files exist (skip silently) If there are no gaps or override-present gaps, report "