New: Skill bounties are live. Post a request, fund the bounty, and creators compete for 7 days to build it -> See open bounties

    Comparisons
    claude code
    cursor
    codex

    Claude Code Skills vs Cursor Rules vs Codex Skills

    All three major AI coding tools let you customize agent behavior, but they do it differently. Here's how SKILL.md skills, .cursorrules, and Codex skills compare.

    March 17, 20267 min read
    Share:

    Quick Answer: Claude Code Skills and Codex Skills both use the SKILL.md open standard: one portable file with YAML frontmatter that also runs in Cursor, OpenCode, and OpenClaw. Cursor Rules (.cursorrules) is a Cursor-only always-on prompt at the repo root. If you want portability, write SKILL.md. If you want a single line "always do X in this repo" for Cursor only, .cursorrules is fine.

    Feature comparison

    FeatureSKILL.md (Claude Code / Codex).cursorrules
    Portable across agentsYes (20+ agents)No, Cursor only
    YAML frontmatter with triggersYesNo
    Loaded on demandYes, by triggerAlways on
    Versioned distributionYes, via marketplacesNo
    Reference filesYesNo
    Package as zip / installYesNo

    Recommended skills

    When to pick each

    • SKILL.md: You want the same behavior in multiple agents, or you want to distribute the skill to your team, or you want to install skills from a marketplace like Agensi.
    • .cursorrules: You want a one-file, always-on system prompt for a single Cursor repo, and you never plan to leave Cursor.
    • Codex Skills: Same as SKILL.md. Codex Skills is SKILL.md, just marketed under OpenAI''s naming.

    Three portable skills to try

    All three run identically in Claude Code, Codex CLI, Cursor, OpenCode, and OpenClaw:

    Format details in our SKILL.md format reference.

    Keep reading

    Frequently Asked Questions