---
title: Port SKILL.md Across Claude Code, Cursor & Codex | SkillMarket
description: Write portable SKILL.md packages compatible with Claude Code, Codex CLI, Cursor (.cursor/rules & skills), VS Code Copilot, and Windsurf without copy-paste
canonical: "https://skillmarket.ai/j/port-claude-code-skills-to-cursor-and-codex"
modified: 2026-11-14
author: skillmarket.ai editorial team
source: "https://skillmarket.ai"
category: Authoring & Publishing SKILL.md Packages
category_url: "https://skillmarket.ai/j#group-skill-authoring-packaging"
---

# 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.

## Prepared starting prompt

Compare cross-IDE packaging workflows so one canonical SKILL.md directory works seamlessly in Claude Code, Cursor, Codex CLI, and GitHub Copilot.

### Quick scenarios
- **Claude Code + Cursor + Codex:** Structure one canonical skills/ repo symlinked or synced across Claude, Cursor, and Codex.
- **Tool-name abstraction tips:** Avoid hardcoding harness-specific internal tool names ('Bash' vs 'run_terminal_cmd').
- **AGENTS.md + SKILL.md harmony:** Balance always-on repo AGENTS.md rules against task-triggered SKILL.md packages.

- [Join Early Access Waitlist](https://skillmarket.ai/#waitlist-8efd41)

## Four rules for zero-friction cross-IDE skill portability

1. **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. **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. **Avoid proprietary slash-command variables in core logic** — Keep thin IDE-specific command wrappers separate from portable SKILL.md + scripts/ packages.
4. **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.

## Frequently Asked Questions

### 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

- [Write SKILL.md YAML frontmatter descriptions that trigger reliably without hijacking unrelated chats](https://skillmarket.ai/j/author-high-trigger-accuracy-skill-descriptions.md)
- [Organize modular SKILL.md folders with scripts/, references/, and assets/ following open specs](https://skillmarket.ai/j/structure-modular-skill-directory-with-scripts.md)
- [Transform dusty Confluence and Notion engineering runbooks into executable SKILL.md packages](https://skillmarket.ai/j/convert-internal-runbooks-into-agent-skills.md)
- [Enforce strict JSON Schema and Pydantic validation inside skills feeding downstream pipelines](https://skillmarket.ai/j/standardize-structured-json-outputs-in-skills.md)
- [Apply semantic versioning, compatibility tags, and benchmarked changelogs to published skills](https://skillmarket.ai/j/version-and-changelog-published-agent-skills.md)
- [Author crisp negative boundaries in SKILL.md to stop unasked-for refactors, commits, and scope creep](https://skillmarket.ai/j/write-negative-constraints-to-prevent-overreach.md)

---

*Published by **Wondel.ai sp. z o.o.** · [skillmarket.ai](https://skillmarket.ai) · [About](https://skillmarket.ai/about) · [Editorial Guidelines](https://skillmarket.ai/editorial) · [Contact](https://skillmarket.ai/contact) · [Wondel.ai Products](https://wondel.ai/products)*