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.
Four rules for zero-friction cross-IDE skill portability
- 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.
- 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.
- 03
Avoid proprietary slash-command variables in core logic
Keep thin IDE-specific command wrappers separate from portable SKILL.md + scripts/ packages.
- 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.
Related tasks in this category
See all in Authoring & Publishing SKILL.md Packages-
Write SKILL.md YAML frontmatter descriptions that trigger reliably without hijacking unrelated chats
If your frontmatter description is vague, Claude Code and Cursor ignore your skill completely—or fire it on every generic Python question.
-
Organize modular SKILL.md folders with scripts/, references/, and assets/ following open specs
Follow the standard Agent Skills directory layout so your package installs cleanly across Claude Code, Codex, Cursor, and CI harnesses.
-
Transform dusty Confluence and Notion engineering runbooks into executable SKILL.md packages
Human wiki pages mix outdated screenshots, tribal jargon, and implicit safety checks. Refactor static SOPs into testable agent workflows.
-
Enforce strict JSON Schema and Pydantic validation inside skills feeding downstream pipelines
One stray 'Here is the JSON you requested:' preamble breaks downstream webhooks. Combine schema constraints with local validator loops.
-
Apply semantic versioning, compatibility tags, and benchmarked changelogs to published skills
Silent force-pushes to a shared SKILL.md break downstream team workflows overnight. Treat skill releases like real software packages.
-
Author crisp negative boundaries in SKILL.md to stop unasked-for refactors, commits, and scope creep
You asked for a two-line bug fix; the agent reformatted 14 files, upgraded TypeScript, and committed to main. Fix overreach with actionable boundaries.