Explore skills

Blog / Basics

GitHub Copilot vs Cursor vs Claude Code: Agent Skills (2026)

The same SKILL.md folder in GitHub Copilot, Cursor and Claude Code: where each looks, required frontmatter, how skills load, and what breaks when you move one.

GitHub Copilot vs Cursor vs Claude Code logos side by side

All three agents read the same SKILL.md folder format. They differ on where they look, which frontmatter fields they require, how you call a skill, and what reaches the cloud. One folder, .claude/skills/, is read by all three in a repository.

Based on the vendors' own documentation (Claude Code skills docs, Cursor skills docs, GitHub Docs, the VS Code Agent Skills page and the agentskills.io specification), checked on 2026-11-30.

Table of contents

The short answer

If you keep skills inside a repository, put them in .claude/skills/<name>/SKILL.md. GitHub Copilot lists .claude/skills as a project skill location, Cursor loads it "for compatibility", and it is Claude Code's own project folder. Give every skill a name that matches its folder and a description, and keep extra frontmatter to fields the other two either understand or can ignore.

Personal skills, the ones in your home directory, are where the three part ways. Claude Code reads ~/.claude/skills/. Cursor reads ~/.cursor/skills/, ~/.agents/skills/ and also ~/.claude/skills/. Copilot reads ~/.copilot/skills/ and ~/.agents/skills/. No single home folder is on all three lists, so a personal skill needs to exist in two places if you use all three agents.

You want Best fit Why
The richest skill features (subagents, hooks, injected command output) Claude Code Its frontmatter has the most fields, and some body features only work there
Skills that apply only to certain files Cursor or Claude Code Both support paths globs; Cursor also scopes nested .cursor/skills/ folders by directory
Skills that run in pull request review on GitHub Copilot Copilot code review reads skills in .github/skills
Installing published skills from GitHub with one command Copilot (gh skill) gh skill install puts files in the right folder for a chosen agent
A skill that stays active for a whole session Cursor A skill can back a Custom Mode

I build AI agents full-time and keep the same handful of skills in all three tools, so I care less about which agent is "best" and more about which details make a skill silently disappear when it moves. Those details are the rest of this article.

One format, three readers

The common ground is the Agent Skills specification at agentskills.io. It defines a skill as "a directory containing, at minimum, a SKILL.md file", with optional scripts/, references/ and assets/ folders. Two frontmatter fields are required: name (up to 64 characters, lowercase letters, numbers and hyphens, matching the folder name) and description (up to 1,024 characters, saying what the skill does and when to use it). Optional fields are license, compatibility, metadata and an experimental allowed-tools.

All three vendors point at that spec. Claude Code's docs say its skills "follow the Agent Skills open standard, which works across multiple AI tools" and that Claude Code "extends the standard with additional features like invocation control, subagent execution, and dynamic context injection" (Claude Code skills docs). Cursor calls Agent Skills "an open standard for extending AI agents" (Cursor skills docs). GitHub describes the spec as "an open standard, used by a range of different AI systems" (GitHub Docs, About agent skills).

So a minimal skill that sticks to the spec loads in all three:

---
name: release-notes
description: Draft release notes from merged pull requests using the team template. Use when the user asks for release notes, a changelog entry or a version summary.
---

1. List pull requests merged since the last tag.
2. Group them under Features, Fixes and Internal.
3. Fill in references/template.md and show the draft before writing any file.

The differences start the moment you go past those two fields, or put the folder somewhere one of the agents does not look. If you are new to the format itself, how to install Claude Code skills covers the basics, and Claude skills vs MCP vs plugins explains where skills sit next to the other extension types.

"Copilot" here covers several surfaces. GitHub lists agent skills support in the GitHub Copilot app, Copilot CLI, Copilot cloud agent and Copilot code review on GitHub.com, and agent mode in VS Code, Visual Studio and JetBrains IDEs, with IDE support depending on the version. Where the surfaces behave differently, I say which one.

Fact table

GitHub Copilot Cursor Claude Code
Project skill folders .github/skills, .claude/skills, .agents/skills .cursor/skills/, .agents/skills/, plus .claude/skills/, .codex/skills/ .claude/skills/, nested <subdir>/.claude/skills/
Personal skill folders ~/.copilot/skills, ~/.agents/skills ~/.cursor/skills/, ~/.agents/skills/, plus ~/.claude/skills/, ~/.codex/skills/ ~/.claude/skills/
name Required; must match the directory, invalid characters "silently fail to load" (VS Code) Required; must match the parent folder Optional; defaults to the directory name
description Required, max 1,024 characters (VS Code) Required "Recommended"; listing text cut at 1,536 characters with when_to_use
Extra fields documented argument-hint, user-invocable, disable-model-invocation, context: fork (VS Code); license, allowed-tools (CLI, cloud agent) paths, disable-model-invocation, icon, color, metadata About 20, including paths, allowed-tools, context, agent, hooks, model, effort
Manual call /skill-name in chat or prompt / in Agent chat (attaches to one message) /skill-name
Install from GitHub gh skill install (preview, GitHub CLI 2.90.0+) Through a plugin marketplace repo with .cursor-plugin/marketplace.json /plugin install for plugin-packaged skills, or copy the folder
Personal skills in the cloud Via .copilot/skills in your dotfiles repo (cloud sandbox) Only ~/.cursor/skills/, after turning on sync Cloud sessions don't read ~/.claude/skills/

Where each agent looks for skills

GitHub Copilot. GitHub's docs list three project folders, .github/skills, .claude/skills and .agents/skills, and two personal folders, ~/.copilot/skills and ~/.agents/skills. GitHub adds a warning worth reading twice: "Supported locations depend on the surface. Use its setup guide to choose a location rather than assuming that a personal skill is available to an agent running in the cloud."

VS Code complicates this a little because it now runs different agent "harnesses". Its Agent Skills page gives .github/skills/ and ~/.copilot/skills/ for the Copilot harness, .claude/skills/ and ~/.claude/skills/ for the Anthropic Claude harness, and .agents/skills/ and ~/.agents/skills/ for the OpenAI Codex harness. The older Local harness also reads the Claude and .agents folders, but VS Code says it "is deprecated and will be removed in February 2027". If you relied on VS Code picking up ~/.claude/skills/ through the Local harness, that path is going away.

Cursor. Cursor reads .agents/skills/ and .cursor/skills/ in the project and ~/.agents/skills/ and ~/.cursor/skills/ at user level. Then it adds: "For compatibility, Cursor also loads skills from Claude and Codex directories: .claude/skills/, .codex/skills/, ~/.claude/skills/, and ~/.codex/skills/." It is the most generous reader of the three.

Cursor also walks the skills folder recursively. You can group skills as .cursor/skills/shipping/land-it/SKILL.md, and "the skill's identity comes from the folder containing SKILL.md", not the category folder. A .cursor/skills/ folder inside a subdirectory of a monorepo is picked up and scoped to files under that subdirectory.

Claude Code. Claude Code has the narrowest list and the most structure. Personal skills live in ~/.claude/skills/<skill-name>/SKILL.md, project skills in .claude/skills/<skill-name>/SKILL.md, and there are enterprise skills in the managed settings directory and skills from folders added with --add-dir. Its skills page lists no .agents/skills location at all, which matters if you followed a Codex-first setup.

Nested folders work differently from Cursor. Claude Code loads .claude/skills/ from the start directory and every parent up to the repository root. Skills in a .claude/skills/ folder below the start directory "don't load at startup. They load the first time Claude reads or edits a file in that subdirectory." Claude Code also expects one level, <skill-name>/SKILL.md, rather than Cursor's category folders.

I wrote about the Codex side of this in Claude Code skills in Codex; the .agents/skills folder is the one Codex reads, and it is why Cursor and Copilot both list it.

Frontmatter: what each one requires

The spec says name and description are required. Cursor and Copilot follow that. Claude Code is looser: its frontmatter table marks name as optional ("Defaults to the directory name") and description as "Recommended" ("If omitted, uses the first non-empty line of the markdown content").

That looseness causes the first problem. A skill written in Claude Code with no frontmatter, or only a description, works fine there and then fails elsewhere. Cursor's docs note that in Cloud Agents a skill with frontmatter that doesn't parse or has no description shows a warning, and "without a description, the agent is unlikely to pick the skill on its own". VS Code is stricter on names: only lowercase letters, numbers and hyphens, matching the parent directory, and "names with invalid characters cause the skill to silently fail to load". Namespace prefixes such as myorg:skillname also fail silently there.

Beyond the two required fields, here is who understands what, from each vendor's docs:

Field Copilot Cursor Claude Code
disable-model-invocation Yes (VS Code) Yes Yes
user-invocable Yes (VS Code) Not listed Yes
paths Not listed Yes (legacy globs accepted) Yes
allowed-tools Yes (CLI, cloud agent) Not listed Yes
argument-hint Yes (VS Code) Not listed Yes
context: fork Experimental (VS Code) Not listed Yes
icon, color Not listed Yes (Custom Mode badge) Not listed
hooks, model, effort, agent Not listed Not listed Yes

disable-model-invocation: true is the one switch that behaves the same in all three: the skill only runs when you call it by name. It is the safest extra field to use in a shared skill.

Claude Code is explicit about portability. Its docs say: "Outside Claude Code, you can use only the fields in the Agent Skills spec." For claude.ai uploads and the Skills API, any other field makes packaging "fail with a hard error instead of ignoring the field". Cursor and Copilot do not document a hard failure on unknown fields, but they do not document support for them either, so I treat anything outside the tables above as Claude Code-only.

For writing a description that actually gets picked, see how SKILL.md descriptions trigger. The advice there applies to all three agents because all three match on the description.

How each agent decides to load a skill

The loading model is the same idea in each: the agent sees names and descriptions up front, loads the body when a skill matches, and reads bundled files only when the instructions point to them.

VS Code spells out three levels: discovery from the name and description, "instructions loading" of the SKILL.md body, and "resource access", where Copilot reads other files in the folder "only when it references them. If a file isn't referenced in the instructions, it won't be loaded." GitHub's docs for the CLI and cloud agent say Copilot "will decide when to use your skills based on your prompt and the skill's description", and when it does, "the SKILL.md file will be injected in the agent's context".

Cursor's version: at start-up it "automatically discovers skills from skill directories and makes them available to Agent. The agent is presented with available skills and decides when they are relevant based on context." A skill with paths set is only surfaced when the agent reads or edits matching files.

Claude Code works the same way and documents the budget. Descriptions sit in a listing that is truncated per skill at 1,536 characters (description plus when_to_use), and the listing as a whole has a budget that scales with the model's context window. The body enters the conversation as one message when the skill is invoked.

Calling a skill by hand differs in small ways:

  • Copilot: type / in VS Code chat and pick the skill, or write the name with a slash in a prompt, for example "Use the /frontend-design skill to create a responsive navigation bar in React." In Copilot CLI, /skills list shows what is loaded and /skills reload picks up a new folder.
  • Cursor: type / in Agent chat. A skill invoked this way "attaches to one message". To keep it on for the session, run it as a Custom Mode, which is where the icon and color fields come in.
  • Claude Code: type /skill-name. The skill content stays in the conversation for later turns.

One Copilot detail I like: for code review on GitHub, GitHub suggests "a review-focused skill directory name such as code-review", and says skills in .github/skills can be used by Copilot code review when they are relevant. Neither of the other two runs skills as part of a hosted pull request review. If you compare review skills, code review skills compared looks at three from the catalog.

Scripts and tool permissions

All three let a skill carry scripts. Cursor's docs describe a scripts/ directory of "executable code that agents can run", referenced by relative paths from the skill root, in "any language". GitHub's docs say that when a skill is invoked, "Copilot automatically discovers all of the files in the skill's directory and makes them available alongside the skill's instructions." Claude Code runs scripts through its normal tools.

Permissions are where they diverge. Copilot supports allowed-tools to pre-approve tools, with an example of allowed-tools: shell for a skill that runs a conversion script. GitHub attaches two warnings. The first: "Only pre-approve the shell or bash tools if you have reviewed this skill and any referenced scripts, and you fully trust their source." The second is specific to the CLI: "In Copilot CLI, omitting a tool from allowed-tools does not guarantee a permission prompt", because existing permission settings or approvals can still let the tool run.

Claude Code's allowed-tools grants tools "without asking permission during the turn that invokes this skill", and the grant clears with your next message. It also has disallowed-tools to remove tools while a skill is active. Cursor's docs list no permission field in skill frontmatter, so tool approval follows your normal Cursor settings.

Claude Code has one body feature the others do not mention: dynamic context injection. A line like !`git diff HEAD` in SKILL.md is run by Claude Code, and the output replaces the line before the model sees it. Its own docs say this is a Claude Code feature that does not work in claude.ai or through the API. In Cursor or Copilot, expect that line to arrive as plain text, which means the agent reads a shell command where you expected a diff. If a skill must work everywhere, tell the agent to run the command instead.

Scripts are also where a shared skill can hurt you. Before copying a skill into any of the three, read every file in it; how to audit a community skill before install has the checklist I use.

Installing skills from someone else

Copying a folder works everywhere. The tooling around it does not.

Copilot has the most direct path: gh skill, in public preview, needing GitHub CLI 2.90.0 or later (GitHub Docs, Adding agent skills). You can gh skill search, gh skill preview OWNER/REPOSITORY SKILL to read a skill before installing, and gh skill install. It can target other agents too:

gh skill install github/awesome-copilot documentation-writer --agent claude-code --scope user

"By default, skills are installed for Copilot at project scope." gh skill writes provenance metadata (source repository, ref, tree SHA) into the skill's frontmatter so gh skill update can check for changes, and --pin locks a version. GitHub also says plainly: "Skills are not verified by GitHub and may contain prompt injections, hidden instructions, or malicious scripts."

Cursor says "Skills aren't imported on their own." To bring skills in from a GitHub repository, you package them in a plugin and publish it through a marketplace; the repository needs a .cursor-plugin/marketplace.json. Copying a folder into .cursor/skills/ by hand still works. Cursor also ships a built-in /migrate-to-skills skill that converts "Apply Intelligently" rules and slash commands into skills, which is handy if your team's knowledge lives in .cursor/rules today. The difference between rules and skills is covered in Agent Skills vs Cursor rules vs Windsurf rules.

Claude Code installs plugin-packaged skills through /plugin install from a marketplace, and otherwise you copy the folder. The comparison of install routes, including the npx skills add CLI that targets many agents, is in npx skills add vs plugin install vs Ragspaces.

Catalogs help with discovery before any of this. In the Ragspaces catalog of 5,299 public skills there are skills aimed at each of these agents, for example github-copilot-starter by @alexk, which sets up "complete GitHub Copilot configuration for a new project", copilot-cli-quickstart by @anyasato71, suggest-awesome-github-copilot-skills by @hugo_hacks and cursor-best-practices by @tarav. Each page shows the description and README without an account, so you can read the skill before it lands in any folder. You can browse the catalog by category.

Cloud agents and remote sessions

Every one of these agents now runs somewhere other than your laptop, and none of them takes your whole home folder along.

  • Copilot: "To make personal skills available in cloud sandbox sessions, include them in .copilot/skills in your dotfiles repository." GitHub notes this does not apply to GitHub Actions-based sessions. Project skills in .github/skills travel with the repository.
  • Cursor: personal skills in ~/.cursor/skills/ run locally until you turn on "Sync Skills for Cloud Agents". Then "Only ~/.cursor/skills/ syncs. Project skills, ~/.agents/skills/, and other files on your machine stay local." Cursor also says it "does not copy ~/.agents/skills/ or unsynced local skills to Cloud Agents or Agents Window remote SSH sessions." Automation runs don't load synced skills; put those in the repository's .cursor/skills/.
  • Claude Code: "Cowork sessions and cloud sessions ... don't read ~/.claude/skills/ on your machine." A cloud scheduled task that calls a personal-only skill reports it as not found. Committing the skill to the repository's .claude/skills/ fixes it for cloud sessions.

The common answer across all three is the same: if a skill must work in the cloud, commit it to the repository. For personal skills that should follow you between your own machines, see sync Claude Code skills across computers. If you prefer to run Claude Code on a server you control, so that one ~/.claude/skills/ serves every device you work from, Code Tycoon sets that up and lets you hand the agent tasks from a phone or browser.

What breaks when you move a skill

These are the failures I would check first, most common first.

  1. The folder is not on the new agent's list. A skill in .agents/skills/ works in Cursor and Copilot but not in Claude Code, whose docs list no such folder. A personal skill in ~/.claude/skills/ works in Cursor but not in Copilot's documented personal folders. A personal skill in ~/.copilot/skills/ is invisible to the other two.
  2. No name, or a name that does not match the folder. Fine in Claude Code, required in Cursor and Copilot. In VS Code a bad name fails silently, so you see nothing in the / menu and no error.
  3. No description. Claude Code falls back to the first line of the body. Cursor's agent is "unlikely to pick the skill on its own", and Copilot requires the field.
  4. Category folders. .cursor/skills/shipping/land-it/SKILL.md works in Cursor. Claude Code expects .claude/skills/<skill-name>/SKILL.md, one level deep.
  5. Claude Code-only body features. !`command` lines, @ file references and placeholders such as ${CLAUDE_PROJECT_DIR} are Claude Code features. Elsewhere, the agent reads them as literal text.
  6. Claude Code-only frontmatter. context: fork with agent, hooks, model, effort and disallowed-tools have no documented meaning in Cursor. VS Code has its own experimental context: fork, which needs the github.copilot.chat.skillTool.enabled setting.
  7. Duplicates. Cursor reads both ~/.agents/skills/ and ~/.claude/skills/. Put the same skill in both and Cursor sees it twice. VS Code shows both copies on its Skills page when two locations hold the same name.
  8. Cloud runs. Covered above: personal folders mostly stay on your machine.

When a skill does not show up at all, start with the folder, then the name, then the frontmatter syntax. My longer list for Claude Code is in Claude Code skill not working; most of it applies to the other two as well.

A layout that works in all three

Here is the arrangement I use for a repository that people open in all three tools:

repo/
├── .claude/
│   └── skills/
│       ├── release-notes/
│       │   ├── SKILL.md
│       │   └── references/template.md
│       └── db-migration/
│           ├── SKILL.md
│           └── scripts/check-migration.sh
└── AGENTS.md

Why .claude/skills/ and not .agents/skills/? Because Copilot and Cursor both read .claude/skills/, while Claude Code does not document .agents/skills/. If you also use Codex, which reads .agents/skills/, you need a second path; the Codex post covers that case.

Rules for every SKILL.md in that folder:

  • name matches the folder, lowercase with hyphens, 64 characters or fewer.
  • description under 1,024 characters, with the main use case first.
  • Extra fields limited to disable-model-invocation, paths (Cursor and Claude Code honour it; Copilot does not list it) and metadata.
  • No !`command` lines. Write "Run git diff HEAD and read the output" instead.
  • Scripts referenced by a relative path from the skill folder, with clear error messages.

For personal skills, keep the source in ~/.claude/skills/, which Claude Code and Cursor both read, and put a copy (or a link, if your setup follows it; check with /skills list in Copilot CLI) in ~/.copilot/skills/ for Copilot. Avoid ~/.agents/skills/ for the same skill, or Cursor will list it twice.

Ragspaces works from the same folders. Its installer uploads the skills in ~/.claude/skills and ~/.agents/skills, starts a watcher that brings changes made on your other computers down "within a minute", and adds Ragspaces as an MCP server so skills shared with you appear as tools. Free public skills install into Claude Code or Codex with one command, and paid skills run on Ragspaces, so callers get the result and never the source. How it works has the details. For writing new skills that work in any agent, skills such as create-agent-skills by @amara_nguyen and skill-creator by @erik_forge walk through SKILL.md structure, and agents-md by @mayaj maintains the AGENTS.md and CLAUDE.md files that sit next to them. Before sharing a skill folder, ghost-scan-secrets by @ninaberg scans for leaked keys.

Pick Copilot, Cursor or Claude Code if

Pick GitHub Copilot if:

  • Your team works in GitHub and you want skills applied in pull request review and by the cloud agent, not just in an editor.
  • You want a command-line installer that previews, pins and updates skills (gh skill).
  • You use several IDEs, since Copilot's skills reach VS Code, Visual Studio and JetBrains agent mode.

Pick Cursor if:

  • You want the widest folder compatibility: it reads Cursor, .agents, Claude and Codex folders.
  • You work in a monorepo and want skills scoped by directory without extra configuration.
  • You want a skill to stay active for a whole session as a Custom Mode.

Pick Claude Code if:

  • You need skills that do more than instructions: forked subagents, hooks, per-skill model or effort, injected command output.
  • You want fine control over which skills appear in the listing and how much context they take.
  • You plan to publish skills that others install from plugin marketplaces.

I use two of these on most days, and many teams mix them too. The layout above is what lets them do that without keeping two sets of skills in sync by hand.

Frequently asked questions

Does GitHub Copilot support Claude Code skills?

Yes, for project skills. GitHub's docs list .claude/skills as a project skill location for Copilot, alongside .github/skills and .agents/skills. Personal skills are different: Copilot's documented personal folders are ~/.copilot/skills and ~/.agents/skills, not ~/.claude/skills.

Does Cursor read the .claude/skills folder?

Yes. Cursor's docs say that for compatibility it loads skills from .claude/skills/, .codex/skills/, ~/.claude/skills/ and ~/.codex/skills/, in addition to its own .cursor/skills/ and the .agents/skills/ folders.

Does Claude Code read .agents/skills?

Claude Code's skills documentation lists personal (~/.claude/skills/), project (.claude/skills/), nested, enterprise and --add-dir locations, and none of them is .agents/skills. Keep shared repository skills in .claude/skills/ so Claude Code, Cursor and Copilot all find them.

Which SKILL.md fields work in all three agents?

name and description are required by the Agent Skills spec and work everywhere. disable-model-invocation: true is documented by all three and makes a skill run only when you call it by name. Most other fields are specific to one or two agents.

Why does my skill not show up in VS Code?

Check that the folder is in a location your harness reads, such as .github/skills/ for the Copilot harness, and that name matches the folder and uses only lowercase letters, numbers and hyphens. VS Code says names with invalid characters or namespace prefixes cause the skill to fail to load silently.

How do I install a skill for Copilot and Claude Code with one command?

gh skill install in GitHub CLI 2.90.0 or later installs a skill from a GitHub repository, and its --agent flag chooses the host, for example --agent claude-code --scope user. Without the flag it installs for Copilot at project scope. GitHub says skills are not verified, so run gh skill preview first.

Do personal skills work in cloud agents?

Not by default in any of the three. Copilot cloud sandbox sessions read personal skills from .copilot/skills in your dotfiles repository, Cursor Cloud Agents only get ~/.cursor/skills/ after you turn on sync, and Claude Code cloud sessions don't read ~/.claude/skills/. Committing the skill to the repository works in all three.

The bottom line

The SKILL.md format is shared; the folders and the extras are not. Put repository skills in .claude/skills/, give each one a matching name and a real description, and keep Claude Code-only features out of skills meant for Cursor or Copilot. Personal skills need a copy in two home folders if you use all three agents, and anything that must run in the cloud belongs in the repository. If you want your skills backed up and kept the same on every machine, create a free Ragspaces account and run the installer once per computer.

Related articles

About this research

I am Dmitry Makarenko, and I write the authoring and "skills compared" posts on this blog. This comparison is based on the Claude Code skills documentation, Cursor's Agent Skills page, GitHub Docs (About agent skills and the two "Adding agent skills" guides), VS Code's Use Agent Skills page and the agentskills.io specification, all read on 2026-11-30. Ragspaces skill examples come from the public catalog the same day. Where a vendor's documentation does not mention a field or folder, the tables say "Not listed".

Dmitry Makarenko co-founded Zipy as VP R&D, leading 50+ engineers across five countries, and now builds AI agents full-time. (LinkedIn)

Keep reading