2026 Format Rosetta Stone · AGENTS.md · CLAUDE.md · .cursor/rules/*.mdc · SKILL.md · Copilot

AGENTS.md vs CLAUDE.md vs .cursor/rules/*.mdc vs SKILL.md: Comparison & Converter

When one teammate uses Claude Code, another uses OpenAI Codex CLI, and a third uses Cursor or Cline, maintaining 4 separate instruction files leads to rule drift. Compare the exact 2026 technical differences below and convert any file across all 5 formats in one click.

1. Paste Existing CLAUDE.md, AGENTS.md, or .cursorrules Bidirectional

2. Convert to Target Agent Format or Unified Repo .zip Zero Drift

    # AGENTS.md — payments-api
    Format & File Path Supported AI Coding Agents (2026) Context Loading & Syntax Rules Best Role in Your Repository
    AGENTS.md
    Root & nested subdirs + AGENTS.override.md
    OpenAI Codex CLI, Cursor, Windsurf, Cline, Roo Code, OpenCode, Zed, Aider, Gemini CLI, GitHub Copilot
    Always-on hierarchical merge (Root → CWD)
    Standard Markdown only (no YAML frontmatter, no @path auto-expansion; 32 KiB max in Codex CLI)
    Single source of truth for shared build, test, and architecture rules (Generate AGENTS.md →)
    CLAUDE.md
    Root, .claude/CLAUDE.md, CLAUDE.local.md
    Anthropic Claude Code CLI & IDE extensions
    Always-on + supports @path/to/file.md imports
    Also loads .claude/rules/*.md (supports optional paths: YAML frontmatter)
    Import @AGENTS.md for shared rules + keep personal DB URLs in untracked CLAUDE.local.md (Audit CLAUDE.md →)
    .cursor/rules/*.mdc
    Replaces deprecated root .cursorrules
    Cursor IDE & Cursor Agent
    Scoped by YAML frontmatter (description, globs, alwaysApply)
    Attaches automatically when open files match globs or when requested by Cursor Agent
    File-pattern rules (e.g., React component rules for src/**/*.tsx) (Split .mdc files →)
    SKILL.md
    .claude/skills/<name>/SKILL.md & .agents/skills/<name>/SKILL.md
    Claude Code, OpenAI Codex CLI, Antigravity, OpenCode, Gemini CLI
    Progressive disclosure (~60 tokens at startup)
    Requires YAML name & trigger description; loads body, scripts/ & references/ only on demand
    Specialized workflows (PR security audits, SQL migration checks, release notes) (Build SKILL.md →)
    .github/copilot-instructions.md
    + .github/instructions/*.instructions.md
    GitHub Copilot Chat, Copilot Coding Agent & VS Code
    Always-on repo instructions + applyTo glob files
    Copilot in VS Code also supports reading root AGENTS.md and CLAUDE.md
    GitHub PR reviews & VS Code Copilot Agent mode

    The "Zero-Duplication" Multi-Agent Repo Pattern

    • Step 1: Put all shared repository build/test commands and architectural boundaries in root AGENTS.md (read natively by Codex, Cursor, Windsurf, Cline, and OpenCode).
    • Step 2: Create a 3-line CLAUDE.md containing See @AGENTS.md for shared project rules. (or run ln -s AGENTS.md CLAUDE.md) so Claude Code loads the exact same file without copy-paste drift.
    • Step 3: Move heavy task playbooks out of root memory files and into on-demand SKILL.md folders.