Learning resourcesReviewed · Anthropic

Skill authoring best practices

Skill authoring best practices is a guide for Claude Skill authors, but its recommendations need validation on their own tasks and models. It explains how to write discoverable descriptions, keep SKILL.md concise, organize supporting files and build validation loops. Authors of executable Skills also get guidance on dependencies, error handling and intermediate outputs. The page supplies patterns and examples, while complete implementations and measured effectiveness remain unknown.

Researched 23 Nov 2026

In short.

Skill authoring best practices is a guide for people building reusable Claude Skills, but authors must establish effectiveness through their own evaluations. Its strongest contribution is connecting instruction design to how Claude discovers and loads Skill files: descriptions support discovery, concise instructions conserve context, and supporting files supply detail when needed. It also explains how to match instructions to task risk and validate complex operations before applying changes. Beginners receive concrete structures; experienced developers receive guidance on scripts, dependency constraints and model-specific evaluation. The page provides no measured results, pricing or explicit reuse license, and its examples were not executed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete supplied documentation page at [https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices.md], including its frontmatter requirements, evaluation note, platform dependency restrictions, examples and checklist. Linked pages and image contents are excluded. No code, Skill, installation procedure or model evaluation was executed. Runtime behavior, effectiveness and cross-model compatibility remain unassessed.

The overview

identity

Skill authoring best practices is a Claude documentation guide about writing reusable instruction packages that Claude can discover and use. It covers both Skills containing only written instructions and Skills that bundle executable scripts.

The source address is [https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices.md]. The page identifies its canonical address as [https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices].

assessment

The guide is useful for turning a recurring task into instructions that are easier for Claude to find, follow and maintain. Concrete examples show how to improve vague descriptions, split large instructions into supporting files and introduce verification into multistep work.

Its value is practical authoring guidance. Claims that scripts improve reliability or save time are not accompanied by measurements. Suitability for a particular workflow therefore depends on evaluations using that workflow's inputs, expected outputs and target models.

users

Beginners creating their first Skill can use the naming rules, description examples and directory layouts. People capturing recurring research, document processing or reporting procedures can use the workflow and template patterns without necessarily adding code.

Developers maintaining more complex Skills receive guidance on deterministic scripts, dependency declarations, structured intermediate files and fully qualified MCP tool references. Authors targeting multiple Claude model families are advised to evaluate each family they intend to use.

capabilities

The guide explains discovery descriptions, concise instructions, output templates, input/output examples and conditional workflows. It distinguishes flexible prose for tasks with several valid approaches from parameterized procedures and tightly specified scripts for fragile operations.

For larger Skills, it recommends organizing references by domain, linking supporting files directly from SKILL.md and adding a table of contents to reference files longer than 100 lines. For executable Skills, it covers error handling, documented configuration values, dependency checks and validation before execution.

Using it

requirements

The documented SKILL.md frontmatter requires name and description. Names have a maximum of 64 characters, use lowercase letters, numbers and hyphens, exclude XML tags and cannot contain the reserved words anthropic or claude. Descriptions must be nonempty, contain no XML tags and have a maximum of 1,024 characters. The guide directs authors to describe both the capability and its use conditions in third person.

Keeping the SKILL.md body under 500 lines is a recommendation. Script-based Skills additionally depend on the required tools, packages and execution environment. The page states that claude.ai can install packages from npm and PyPI and retrieve GitHub repositories, while the Claude API execution environment has no network access or runtime package installation.

mechanism

The guide describes progressive disclosure: Claude receives each Skill's name and description at startup, reads SKILL.md when the Skill becomes relevant and accesses supporting files when needed. Large reference files consume context when read, so splitting content can reduce unnecessary loading.

Utility scripts can execute through bash without their complete source being loaded into model context; their output consumes context. The guide consequently separates instructions to execute a script from instructions to read its implementation as reference.

setup

A basic Skill starts with SKILL.md containing YAML metadata and task instructions. Larger examples add reference documents and a scripts directory. The guide recommends descriptive filenames, forward-slash paths, direct links from SKILL.md to supporting files and explicit package requirements.

Its development process starts by identifying failures without a Skill, creating three representative evaluation scenarios and establishing a baseline. Authors then write minimal instructions and refine them through observed use. Host-specific installation, upload and activation procedures are left to linked documentation.

example

The PDF form-filling example separates analysis, field mapping, validation, filling and output verification. It uses analyze_form.py to extract fields into fields.json, validate_fields.py to check mappings, fill_form.py to apply them and verify_output.py to inspect the result. Validation failures send the process back to the mapping step.

A related pattern introduces a structured changes.json plan that can be checked before modifications are applied. These examples illustrate workflow design; complete implementations of the named form-processing scripts are not supplied, and none was executed.

Assessment & evidence

limitations

The page presents no completed evaluation results, benchmark scores or measured discovery accuracy. It states that its illustrated evaluations have no built-in execution method and that authors can create their own evaluation system. Model families are named without specific model versions.

Several code examples are abbreviated or depend on scripts the author must supply. Error-handling examples also require task-specific judgment: returning empty content after a permission error, as one sample does, could conceal missing input if copied into a workflow that requires complete data. That is an inference from the sample, not an observed failure.

reasoning

The recommendations follow from the described loading mechanism. Descriptions must identify relevant tasks because they guide discovery before the body is read. Concise bodies and separately stored references reserve context for the user's work. Direct references reduce the chance that important instructions are missed during partial file reads.

The guide also connects task fragility to instruction specificity. Flexible analysis can use heuristics, while sensitive or repetitive changes benefit from precise procedures and machine-checkable intermediate outputs. This is a coherent design rationale; the size of any reliability improvement remains unknown.

alternatives

For conceptual background, the page points to the Agent Skills overview [https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview]. For a first implementation, it links the quickstart [https://platform.claude.com/docs/en/agents-and-tools/agent-skills/quickstart].

For host-specific use, it links Claude Code Skills documentation [https://code.claude.com/docs/en/skills] and the API Skills guide [https://platform.claude.com/docs/en/build-with-claude/skills-guide]. These are related resources identified by the page; their contents and comparative quality are not assessed.

evidence

The evidence consists of the complete text of the documentation page, including its authoring examples, technical notes and final checklist. It supports what the guide recommends and how it describes Skill loading. It does not establish that a particular Skill follows those recommendations or succeeds in practice.

The captured source revision is sha256:cb3f49125d6716342b369145655ec8a129a2baeaff3dd56b3087758f9674bd54. Linked documentation, example input files and complete executable packages are outside the supplied evidence.

Access & freshness

costs

The page provides no prices, subscription requirements, API rates or quantified operating costs. The financial cost of building and running a Skill is unknown from this evidence.

It explains context usage and suggests that concise instructions and reusable scripts can save tokens. Metadata is loaded at startup, while instruction bodies and references are loaded as needed. No token measurements or monetary savings are demonstrated.

rights

The supplied page contains no explicit license or redistribution permission for its documentation or examples. Rights to copy, modify or redistribute those materials are unknown from this page.

The guide names external libraries and package sources, but their licenses and terms are not included.

freshness

The source was captured on 2026-11-23 at 17:39:31.319 UTC. The supplied text provides no publication date, last-updated date or numbered documentation version. Capture time establishes when this copy was obtained, not when its advice was written.

The current applicability of platform package restrictions, frontmatter rules and model-specific behavior has not been independently verified. No precise Haiku, Sonnet or Opus releases are specified.

actions

Start with one recurring task and three representative evaluation scenarios. Record behavior without a Skill, then write a specific description and the smallest useful instruction body. Compare results on the actual models intended for use, including whether the Skill activates appropriately and produces the expected output.

For workflows that change files or other data, define a structured plan, validate it before applying changes and verify the result afterward. Before using scripts, supply their complete implementations and confirm dependencies in the target environment. Use the linked platform guides for installation details that this page does not establish.

Evidence for this report

selected-page.txtselected · checked 2026-11-23