Guides · Updated November 25, 2026

Can I use Claude Code skills in claude.ai or the API?

By Tineessa Nelson, Use This Skill

Yes, mostly. You can upload a Claude Code skill to claude.ai as a zip file or to the Claude API through the Skills API, but outside Claude Code only six front matter fields are accepted, the name may not contain "claude" or "anthropic", and API skills run with no network access. Of 1,973 public skills we read on November 25, 2026, 933 pass the upload rules as written.

The rest mostly fail for one removable line. 937 of the 1,040 that fail do so only because of a front matter field outside the specification, so deleting that field is usually the whole fix.

How many public skills could be uploaded as they are?

We opened the SKILL.md of every skill in this directory's November 23, 2026 crawl (data/skills.json: 1,974 skills from 47 GitHub repositories; one file had moved, so 1,973 were read) and checked each one against the rules Anthropic publishes for uploads. Safety results come from the November 23 scan (data/scan.json).

Check Skills that fail it
Front matter field outside the six spec fields 1,032
Name uses capitals, spaces or underscores 91
Name contains "claude" or "anthropic" 7
Description contains an angle-bracket tag, such as <site> 6
Description over 1,024 characters 1
Passes every rule as written 933 of 1,973

Source: Use This Skill directory (data/skills.json, crawl of November 23, 2026), repositories cloned and every SKILL.md parsed by script on November 25, 2026. A skill can fail more than one check.

One collection shapes these totals. ComposioHQ/awesome-claude-skills has 864 skills, and 832 of them carry a requires field from its template; 90 also have names like "Apollo Automation". Leave it out and 901 of the other 1,109 skills pass, or 81 percent. 22 of the 47 repositories pass in full, including obra/superpowers, all 15 of whose skills pass. In anthropics/skills, 19 of 20 pass.

Of the 933 that pass, 885 were clear in the November 23 scan, 40 were marked review and 8 flagged. Passing the upload rules says nothing about safety, so check a skill before you upload it, the same as before you install it: paste its GitHub link into the live skill check.

Which front matter fields stop an upload?

Claude Code's skills documentation, read on November 25, 2026, says Claude Code accepts every field in its own table, but "outside Claude Code, you can use only the fields in the Agent Skills spec": name, description, license, compatibility, metadata and allowed-tools. A claude.ai upload, the Skills API and Anthropic's packaging script fail with a hard error on anything else, of this form:

Unexpected key(s) in SKILL.md frontmatter: argument-hint. Allowed properties are: allowed-tools, compatibility, description, license, metadata, name

These are the extra fields we found most often:

Field Skills Where it comes from
requires 833 Not in either list; 832 in one template
argument-hint 108 Claude Code only
user-invocable 80 Claude Code only
model 77 Claude Code only
disable-model-invocation 37 Claude Code only
version 36 Not in either list
type 25 Not in either list

Some well-known collections fail for this reason alone. All 13 skills in remotion-dev/skills, such as remotion-best-practices, carry version. In mattpocock/skills, 25 of 39 fail, most for disable-model-invocation; ask-matt is one. In trailofbits/skills, 23 of 99 fail, mostly for type. If you want to keep the information, the specification's metadata map is the place for it; the Agent Skills open standard explains the six fields.

What other rules does the name and description have to meet?

Anthropic's Agent Skills overview, read on November 25, 2026, lists these for name and description:

Field Rule Public skills that break it
name Required; at most 64 characters 0
name Only lowercase letters, numbers and hyphens 91 (90 in one collection)
name No reserved words: anthropic, claude 7
name No XML tags 0
description Required and not empty 0
description At most 1,024 characters 1
description No XML tags 6

The reserved-word rule catches names that only describe what a skill is for: mattpocock/skills' git-guardrails-claude-code breaks it and nothing else. Anthropic's own claude-api breaks it too, and its description runs to 1,068 characters, but the overview says that skill comes bundled with Claude Code, so you never upload it. The six descriptions with tags name things like <ViewTransition> (in vercel-react-view-transitions) or a placeholder like <site>; writing the word without angle brackets fixes it.

Will a skill behave the same once it is uploaded?

Not always, because the three places run skills differently. Here is what Anthropic's documentation says, read on November 25, 2026:

Claude Code claude.ai Claude API
How you add a custom skill A folder in ~/.claude/skills/ or .claude/skills/ Upload a zip file Upload through the Skills API (/v1/skills)
Network access Same as any program on your computer Full, partial or none, by settings None
Installing packages while it runs Allowed, locally Not stated in the overview Not possible; pre-installed packages only
Front matter accepted Every Claude Code field The six spec fields The six spec fields
Requirement None Pro, Max, Ultra, Team or Enterprise plan with code execution on The code execution tool

Claude Code's documentation adds that Claude Code-only body features, such as dynamic context injection, do not work in claude.ai chat or through the API.

The network rule matters most for the API. Of the 933 skills that pass the upload rules, 333 mention installing a package (pip install, npm install, brew install and similar) or calling the network (curl, wget, an api. address) somewhere in their folder. A mention is a reason to check, not a verdict: Anthropic's own docx and pdf skills mention pip install and are among the pre-built skills that run on the API. But a skill whose main step is calling an outside service will not get far with no network. 600 of the 933 mention neither, and 592 of those were clear in the scan.

Do my skills sync between Claude Code and claude.ai?

Only in one direction. The Agent Skills overview says custom skills do not sync across surfaces: claude.ai and the API each need their own upload, and Claude Code skills are separate from both. Claude Code's documentation describes one exception. When you sign in to Claude Code with your Claude account (version 2.1.273 or later), it downloads the skills enabled on that account into ~/.claude/skills/synced/ in the background, and it never uploads. A skill you write in ~/.claude/skills/ stays on your computer until you upload it yourself. Teams that want one skill everywhere have more choices, covered in how to share skills with your team.

How do I get a Claude Code skill ready to upload?

  1. Remove fields outside the six. Delete argument-hint, model, disable-model-invocation, version and the like, or move what you need under metadata. Keep a separate copy for Claude Code if you rely on those fields there.
  2. Fix the name. Lowercase letters, numbers and hyphens only, at most 64 characters, with no "claude" or "anthropic".
  3. Trim the description to 1,024 characters and write tags as plain words.
  4. Check what the skill needs at run time. If it installs packages or calls an outside service, expect it to fail on the API, and check your network settings on claude.ai.
  5. Check it for safety with the live skill check, then zip the folder for claude.ai or upload it through the Skills API.

If you are writing a new skill, how to create an agent skill starts from the same rules, and skills in Codex, Cursor and Gemini CLI covers the other agents.

How we got these numbers

The skill list and paths come from data/skills.json (crawl of November 23, 2026: 1,974 skills in 47 repositories). On November 25, 2026, each repository was cloned at depth 1 from its default branch and the YAML front matter of each SKILL.md at its recorded path was parsed; one skill's file was no longer at its path, so 1,973 were checked. The name rule was tested as lowercase letters, numbers and hyphens only; the reserved-word test looks for "claude" or "anthropic" anywhere in the name; a tag means text matching <word...>. The install and network counts search every Markdown, script, JSON and YAML file in the skill's folder for the commands listed above, so they count mentions, not behavior. Scan results are from data/scan.json (November 23, 2026). The upload rules and surface differences come from Anthropic's Agent Skills overview and Claude Code's skills documentation, both read on November 25, 2026. We did not upload any skill to claude.ai or the API for this page.

Questions

Do skills I upload to claude.ai show up in the Claude API?

No. Anthropic's Agent Skills overview says custom skills do not sync across surfaces: a skill uploaded to claude.ai must be uploaded separately through the Skills API, and a skill uploaded through the API is not available on claude.ai. The one link that exists runs the other way: Claude Code, when you sign in with your Claude account, downloads the skills enabled on that account into ~/.claude/skills/synced/ and never uploads anything.

Why does my upload fail with "Unexpected key(s) in SKILL.md frontmatter"?

The skill has a front matter field outside the Agent Skills specification, such as argument-hint, model or version. Claude Code ignores fields it does not know, but a claude.ai upload or the Skills API accepts only name, description, license, compatibility, metadata and allowed-tools. Delete the extra field, or move information you want to keep under metadata.

Can a skill call an outside API when it runs through the Claude API?

No. The Agent Skills overview says skills on the Claude API have no network access and cannot install packages at runtime; only pre-installed packages are available. On claude.ai, network access can be full, partial or none, depending on user and admin settings. In Claude Code, a skill has the same network access as any other program on your computer.

Can I name my skill claude-something?

Not if you want to upload it. The Agent Skills overview says a skill name may not contain the reserved words anthropic or claude. Seven public skills we read break that rule, including Anthropic's own claude-api, which ships bundled with Claude Code and so never needs uploading.