Skip to content

Adapt SKILL.md packages cleanly across Claude Code, OpenAI Codex CLI, Cursor, and Windsurf

Your team uses three different AI IDEs and CLI agents. Author once with clean cross-harness conventions instead of maintaining four drifted copies.

Copy the prompt and paste it into the AI assistant you already use.

Four rules for zero-friction cross-IDE skill portability

  1. 01

    Describe intent rather than harness-private tool names

    Write 'Run pytest via your terminal tool' instead of hardcoding 'Invoke BashTool' or 'Call run_terminal_cmd', which differ by IDE.

  2. 02

    Keep repo-wide invariants in AGENTS.md, workflows in skills/

    Put 50 lines of universal build/test commands in root AGENTS.md, and keep specialized 400-line playbooks inside modular SKILL.md folders.

  3. 03

    Avoid proprietary slash-command variables in core logic

    Keep thin IDE-specific command wrappers separate from portable SKILL.md + scripts/ packages.

  4. 04

    Test symlink/install scripts across .claude, .codex, and .agents

    Use unified .agents/skills or automated sync scripts so developers never edit divergent copies of the same team rule.

Questions and answers

Do Cursor, Codex, and Claude Code now support the same SKILL.md format?

The open Agent Skills format (SKILL.md with YAML frontmatter + sibling folders) has converged across major CLI and IDE agents, provided you avoid proprietary hooks in core prose.

What is the difference between AGENTS.md / CLAUDE.md and SKILL.md?

AGENTS.md/CLAUDE.md loads into every single session in that repository; SKILL.md loads progressively only when a matching task triggers it.

Does SkillMarket tag which harnesses each skill is verified on?

Every listing displays verified compatibility badges for Claude Code, Codex CLI, Cursor, Windsurf, Cline, and headless SDK runners.