mirror of
https://github.com/anthropics/skills
synced 2026-07-05 11:36:53 +00:00
Compare commits
9 Commits
klazuka/ad
...
mahesh/cla
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
65dc40c972 | ||
|
|
81fefbb363 | ||
|
|
0877baec7e | ||
|
|
b118d29ea4 | ||
|
|
4d1e3f3f78 | ||
|
|
9b6100367b | ||
|
|
10e0fbe1a4 | ||
|
|
ec841043a5 | ||
|
|
67ada86353 |
43
.claude-plugin/marketplace.json
Normal file
43
.claude-plugin/marketplace.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"name": "anthropic-agent-skills",
|
||||
"owner": {
|
||||
"name": "Keith Lazuka",
|
||||
"email": "klazuka@anthropic.com"
|
||||
},
|
||||
"metadata": {
|
||||
"description": "Anthropic example skills",
|
||||
"version": "1.0.0"
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
"name": "document-skills",
|
||||
"description": "Collection of document processing suite including Excel, Word, PowerPoint, and PDF capabilities",
|
||||
"source": "./",
|
||||
"strict": false,
|
||||
"skills": [
|
||||
"./document-skills/xlsx",
|
||||
"./document-skills/docx",
|
||||
"./document-skills/pptx",
|
||||
"./document-skills/pdf"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "example-skills",
|
||||
"description": "Collection of example skills demonstrating various capabilities including skill creation, MCP building, visual design, algorithmic art, internal communications, web testing, artifact building, Slack GIFs, and theme styling",
|
||||
"source": "./",
|
||||
"strict": false,
|
||||
"skills": [
|
||||
"./skill-creator",
|
||||
"./mcp-builder",
|
||||
"./canvas-design",
|
||||
"./algorithmic-art",
|
||||
"./internal-comms",
|
||||
"./webapp-testing",
|
||||
"./artifacts-builder",
|
||||
"./slack-gif-creator",
|
||||
"./theme-factory",
|
||||
"./brand-guidelines"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
53
README.md
53
README.md
@@ -5,7 +5,7 @@ For more information, check out:
|
||||
- [What are skills?](https://support.claude.com/en/articles/12512176-what-are-skills)
|
||||
- [Using skills in Claude](https://support.claude.com/en/articles/12512180-using-skills-in-claude)
|
||||
- [How to create custom skills](https://support.claude.com/en/articles/12512198-creating-custom-skills)
|
||||
- [Equipping agents for the real world with Skills](https://anthropic.com/engineering/equipping-agents-for-the-real-world-with-skills)
|
||||
- [Equipping agents for the real world with Agent Skills](https://anthropic.com/engineering/equipping-agents-for-the-real-world-with-agent-skills)
|
||||
|
||||
# About This Repository
|
||||
|
||||
@@ -13,6 +13,8 @@ This repository contains example skills that demonstrate what's possible with Cl
|
||||
|
||||
Each skill is self-contained in its own directory with a `SKILL.md` file containing the instructions and metadata that Claude uses. Browse through these examples to get inspiration for your own skills or to understand different patterns and approaches.
|
||||
|
||||
The example skills in this repo are open source (Apache 2.0). We've also included the document creation & editing skills that power [Claude's document capabilities](https://www.anthropic.com/news/create-files) under the hood in the [`document-skills/`](./document-skills/) folder. These are source-available, not open source, but we wanted to share these with developers as a reference for more complex skills that are actively used in a production AI application.
|
||||
|
||||
**Note:** These are reference examples for inspiration and learning. They showcase general-purpose capabilities rather than organization-specific workflows or sensitive content.
|
||||
|
||||
## Disclaimer
|
||||
@@ -42,6 +44,49 @@ This repository includes a diverse collection of example skills demonstrating di
|
||||
- **skill-creator** - Guide for creating effective skills that extend Claude's capabilities
|
||||
- **template-skill** - A basic template to use as a starting point for new skills
|
||||
|
||||
# Document Skills
|
||||
|
||||
The `document-skills/` subdirectory contains skills that Anthropic developed to help Claude create various document file formats. These skills demonstrate advanced patterns for working with complex file formats and binary data:
|
||||
|
||||
- **docx** - Create, edit, and analyze Word documents with support for tracked changes, comments, formatting preservation, and text extraction
|
||||
- **pdf** - Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms
|
||||
- **pptx** - Create, edit, and analyze PowerPoint presentations with support for layouts, templates, charts, and automated slide generation
|
||||
- **xlsx** - Create, edit, and analyze Excel spreadsheets with support for formulas, formatting, data analysis, and visualization
|
||||
|
||||
**Important Disclaimer:** These document skills are point-in-time snapshots and are not actively maintained or updated. Versions of these skills ship pre-included with Claude. They are primarily intended as reference examples to illustrate how Anthropic approaches developing more complex skills that work with binary file formats and document structures.
|
||||
|
||||
# Try in Claude Code, Claude.ai, and the API
|
||||
|
||||
## Claude Code
|
||||
You can register this repository as a Claude Code Plugin marketplace by running the following command in Claude Code:
|
||||
```
|
||||
/plugin marketplace add anthropics/skills
|
||||
```
|
||||
|
||||
Then, to install a specific set of skills:
|
||||
1. Select `Browse and install plugins`
|
||||
2. Select `anthropic-agent-skills`
|
||||
3. Select `document-skills` or `example-skills`
|
||||
4. Select `Install now`
|
||||
|
||||
Alternatively, directly install either Plugin via:
|
||||
```
|
||||
/plugin install document-skills@anthropic-agent-skills
|
||||
/plugin install example-skills@anthropic-agent-skills
|
||||
```
|
||||
|
||||
After installing the plugin, you can use the skill by just mentioning it. For instance, if you install the `document-skills` plugin from the marketplace, you can ask Claude Code to do something like: "Use the PDF skill to extract the form fields from path/to/some-file.pdf"
|
||||
|
||||
## Claude.ai
|
||||
|
||||
These example skills are all already available to paid plans in Claude.ai.
|
||||
|
||||
To use any skill from this repository or upload custom skills, follow the instructions in [Using skills in Claude](https://support.claude.com/en/articles/12512180-using-skills-in-claude#h_a4222fa77b).
|
||||
|
||||
## Claude API
|
||||
|
||||
You can use Anthropic's pre-built skills, and upload custom skills, via the Claude API. See the [Skills API Quickstart](https://docs.claude.com/en/api/skills-guide#creating-a-skill) for more.
|
||||
|
||||
# Creating a Basic Skill
|
||||
|
||||
Skills are simple to create - just a folder with a `SKILL.md` file containing YAML frontmatter and instructions. You can use the **template-skill** in this repository as a starting point:
|
||||
@@ -70,3 +115,9 @@ The frontmatter requires only two fields:
|
||||
- `description` - A complete description of what the skill does and when to use it
|
||||
|
||||
The markdown content below contains the instructions, examples, and guidelines that Claude will follow. For more details, see [How to create custom skills](https://support.claude.com/en/articles/12512198-creating-custom-skills).
|
||||
|
||||
# Partner Skills
|
||||
|
||||
Skills are a great way to teach Claude how to get better at using specific pieces of software. As we see awesome example skills from partners, we may highlight some of them here:
|
||||
|
||||
- **Notion** - [Notion Skills for Claude](https://www.notion.so/notiondevs/Notion-Skills-for-Claude-28da4445d27180c7af1df7d8615723d0)
|
||||
55
agent_skills_spec.md
Normal file
55
agent_skills_spec.md
Normal file
@@ -0,0 +1,55 @@
|
||||
# Agent Skills Spec
|
||||
|
||||
A skill is a folder of instructions, scripts, and resources that agents can discover and load dynamically to perform better at specific tasks. In order for the folder to be recognized as a skill, it must contain a `SKILL.md` file.
|
||||
|
||||
# Skill Folder Layout
|
||||
|
||||
A minimal skill folder looks like this:
|
||||
|
||||
```
|
||||
my-skill/
|
||||
- SKILL.md
|
||||
```
|
||||
|
||||
More complex skills can add additional directories and files as needed.
|
||||
|
||||
|
||||
# The SKILL.md file
|
||||
|
||||
The skill's "entrypoint" is the `SKILL.md` file. It is the only file required to exist. The file must start with a YAML frontmatter followed by regular Markdown.
|
||||
|
||||
## YAML Frontmatter
|
||||
|
||||
The YAML frontmatter has 2 required properties:
|
||||
|
||||
- `name`
|
||||
- The name of the skill in hyphen-case
|
||||
- Restricted to lowercase Unicode alphanumeric + hyphen
|
||||
- Must match the name of the directory containing the SKILL.md
|
||||
- `description`
|
||||
- Description of what the skill does and when Claude should use it
|
||||
|
||||
There are 3 optional properties:
|
||||
|
||||
- `license`
|
||||
- The license applied to the skill
|
||||
- We recommend keeping it short (either the name of a license or the name of a bundled license file)
|
||||
- `allowed-tools`
|
||||
- A list of tools that are pre-approved to run
|
||||
- Currently only supported in Claude Code
|
||||
- `metadata`
|
||||
- A map from string keys to string values
|
||||
- Clients can use this to store additional properties not defined by the Agent Skills Spec
|
||||
- We recommend making your key names reasonably unique to avoid accidental conflicts
|
||||
|
||||
## Markdown Body
|
||||
|
||||
The Markdown body has no restrictions on it.
|
||||
|
||||
# Additional Information
|
||||
|
||||
For a minimal example, see the `template-skill` example.
|
||||
|
||||
# Version History
|
||||
|
||||
- 1.0 (2025-10-16) Public Launch
|
||||
Reference in New Issue
Block a user