Skip to content
DigitalNeuron
Agenten & Automatisierung

What actually makes a Claude Skill work, according to Anthropic's own guide

Anthropic's own skill-authoring guide is mostly about what to leave out: a two-line description, a short SKILL.md, and reference files nested no deeper than one level.

Von DigitalNeuron Desk4 Min. Lesezeit

Kurze Antwort

What does Anthropic's documentation say actually makes a Claude Skill work?

A Skill lives or dies on one field: the description, written in third person, stating what it does and when to use it. Keep SKILL.md under 500 lines and reference files one level deep, test on every model you plan to use it with, and never install a Skill from a source you don't trust.

Das Wichtigste

  • Claude decides which Skill to load based on the description field alone, before reading anything else — a vague description means the Skill never gets picked.
  • Skills load in three stages and only the first (roughly 100 tokens of metadata) is always in context; the body loads on trigger, bundled files load only when read.
  • Keep every reference file one link deep from SKILL.md. Claude may partial-read a deeply nested chain and miss the rest.
  • Write low-freedom, exact scripts for fragile operations and high-freedom instructions for judgment calls — matching the format to the task matters more than length.
  • A Skill uploaded to claude.ai does not appear in the API or in Claude Code. Each surface has its own separate install.

A Skill is a folder Claude can open mid-task: a SKILL.md file plus, optionally, scripts and reference material. The pitch is that Claude only pays for what it uses — most of a Skill sits outside the context window until something in the conversation actually calls for it. Anthropic's own authoring guide spends less time on what to put in a Skill than on what to leave out, and the shape of that advice is worth copying directly.

The description field decides everything

Before Claude opens a Skill, it sees one thing: the description field in the YAML frontmatter, capped at 1,024 characters. Anthropic's guidance is specific — write it in third person ("Processes Excel files…", not "I can help you with…"), and state both what the Skill does and when to use it. With more than a hundred Skills potentially available at once, this sentence is a matching problem: Claude is choosing among candidates based on the description alone, so a vague one means the Skill quietly never gets picked, with no error to tell you why.

The name field is smaller but has its own rules — 64 characters max, lowercase letters, numbers and hyphens only, and it can't contain "claude" or "anthropic." Anthropic recommends gerund-style names (processing-pdfs, analyzing-spreadsheets) over vague ones (helper, utils).

Three levels, three costs

Skills load in stages, and the cost model is the reason the format looks the way it does:

That structure is also the reason the size limits exist: Anthropic recommends keeping the SKILL.md body under 5,000 tokens and under 500 lines. Past that, move content into a separate file and link to it — it costs nothing until Claude opens it.

Keep references one level deep

A file that Claude only partially reads is worse than a file it doesn't read at all. Anthropic's guidance warns that Claude may skim a deeply nested reference chain (effectively running something like head -100 on it) rather than reading the whole thing, so anything more than one link away from SKILL.md risks being read incompletely. For any reference file over 100 lines, put a table of contents at the top — that way even a partial read shows Claude the full scope of what's available.

Match the instructions to what can go wrong

Not every Skill needs the same kind of instruction. Anthropic frames this as "degrees of freedom": a judgment-heavy task (summarizing a document, drafting an email) can be described in flexible, high-freedom language, while a fragile or must-be-consistent operation (a database migration, a specific API call sequence) should be pinned down with an exact, low-freedom script. Writing loose prose for the fragile case is where Skills tend to fail silently.

Test the baseline before you write the essay

The recommended order is easy to skip and easy to regret skipping: run at least three real test scenarios with Claude before writing extensive documentation, so you know what Claude already does wrong without the Skill. Otherwise it's easy to spend paragraphs solving a problem Claude didn't actually have. Anthropic also recommends testing the finished Skill against every model you plan to run it with — Haiku, Sonnet, and Opus don't behave identically, and instructions concise enough for Opus can be too sparse for Haiku.

Treat it like installing software

Anthropic states this plainly: only use Skills you wrote yourself or that come directly from Anthropic. A Skill can instruct Claude to misuse a tool or exfiltrate data, and there is no sandboxing that makes an untrusted one safe by default. A folder of markdown and scripts you didn't write is still code you're about to let an agent run.

Check the date. Anthropic's own best-practices doc warns against baking in time-sensitive language like "before August 2025, use X" — Skill content isn't automatically refreshed, and the same caution applies to this article. Read the linked docs directly if the surface-availability details above have since changed.

Häufige Fragen

How long should a SKILL.md actually be?
Anthropic's own guidance is under 500 lines for the main body. Anything longer should move into a separate linked file, which only loads when Claude actually opens it.
Do I need to write the description differently from the rest of the file?
Yes. It has to be third person and it has to say both what the Skill does and when to use it — that sentence is the only thing Claude sees before deciding whether to open the Skill at all.
Is a Skill I upload to claude.ai available when I use the API?
No. Skills are uploaded separately per surface — claude.ai (per user), the Claude API (workspace-wide via /v1/skills), and Claude Code (a folder on your filesystem). There is no automatic sync between them.
Are third-party Skills safe to install?
Anthropic's own documentation says to treat installing a Skill like installing software: a Skill can direct Claude to misuse tools or exfiltrate data, so only use ones you wrote yourself or that come from Anthropic.

Quellen

  1. Agent SkillsAnthropic
  2. Skill authoring best practicesAnthropic
  3. anthropics/skillsAnthropic
Schlagwörterclaudeskillsagent-skillsclaude-codepromptingdocumentation

Passend dazu

Das Kontextfenster Ihres Agenten ist ein Budget, kein Tagebuch — so setzt Anthropic es ein

Anthropics Leitfaden definiert Prompt Engineering als Context Engineering neu: Statt alles anzuhäufen, wird für jeden Turn die kleinstmögliche Menge an hochwertigen Tokens kuratiert. In eigenen Auswertungen verbesserte das automatische Löschen veralteter Tool-Ergebnisse zusammen mit einer externen Memory-Datei eine Suchaufgabe um 39 Prozent und senkte den Tokenverbrauch über 100 Turns um 84 Prozent.

3 Min. Lesezeit

Anthropic kooperiert mit dem Allen Institute und dem HHMI bei wissenschaftlichen KI-Systemen

Anthropic hat Partnerschaften im Bereich der Biowissenschaften mit dem Allen Institute und dem Howard Hughes Medical Institute angekündigt. Das HHMI wird gemeinsam mit Anthropic spezialisierte Laboragenten entwickeln, während das Allen Institute an koordinierten Multi-Agenten-Systemen für wissenschaftliche Analysen, experimentelle Planung und weitere Forschungsaufgaben mitwirkt. Beide Partnerschaften sollen zudem in die breiteren Fähigkeiten von Claude im Bereich der Biowissenschaften einfließen.

2 Min. Lesezeit

Use Kaggle’s self-paced course to practice building AI agents

Developers interested in building AI agents can work through Google and Kaggle’s five-day course as a self-paced program. Study the codelabs, technical whitepapers and notebooks, then build a capstone that covers agent design, security and cloud deployment. Use Kaggle’s Discord for debugging help and study groups.

Aktualisiert 3 Min. Lesezeit