Anthropic 发布 Claude Agent Skills 公共示例仓库
英文标题:🔥 anthropics/skills
Anthropic 公布了 `anthropics/skills` 公共仓库,展示可由 Claude 动态加载的 Agent Skills 实现与示例。Skills 以包含 `SKILL.md` 的文件夹形式组织,可用于文档创建、数据分析、网页测试、MCP 服务器生成以及企业沟通等任务。仓库大部分内容采用 Apache 2.0 开源许可,但驱动 Claude 文档创建与编辑能力的 DOCX、PDF、PPTX 和 XLSX Skills 为 source-available 参考实现。开发者可通过 Claude Code 插件市场、Claude.ai 付费套餐或 Claude API 使用预构建 Skills,也可依照模板创建和上传自定义 Skills。
42.6 KB
中文
注意: 本仓库包含 Anthropic 面向 Claude 的 Skills 实现。有关 Agent Skills 标准的信息,请参阅 agentskills.io。
Skills 是由指令、脚本和资源组成的文件夹,Claude 会动态加载这些内容,以提升其完成专业任务时的表现。Skills 可教会 Claude 以可重复的方式完成特定任务,无论是按照公司的品牌规范创建文档、使用组织特定的工作流分析数据,还是自动化个人任务。
如需了解更多信息,请查看:
本仓库包含一系列 Skills,用于展示 Claude Skills 系统能够实现的功能。这些 Skills 覆盖创意应用(艺术、音乐、设计)、技术任务(Web 应用测试、MCP 服务器生成)以及企业工作流(沟通、品牌等)。
每个 Skill 都独立存放在各自的文件夹中,并包含一个 SKILL.md 文件,其中记录了 Claude 使用的指令和元数据。你可以浏览这些 Skills,为创建自己的 Skills 获取灵感,或了解不同的模式与实现方法。
本仓库中的许多 Skills 均为开源项目(Apache 2.0)。我们还在 skills/docx、skills/pdf、skills/pptx 和 skills/xlsx 子文件夹中,提供了底层驱动 Claude 文档能力 的文档创建与编辑 Skills。这些内容为 source-available(源代码可获取),而非开源;但我们希望将其作为参考提供给开发者,展示那些已在生产级 AI 应用中实际使用的、更复杂的 Skills。
这些 Skills 仅供演示和教育用途。 虽然 Claude 可能提供其中部分能力,但你从 Claude 获得的具体实现和行为可能与这些 Skills 中展示的内容不同。这些 Skills 旨在说明可采用的模式和可能性。在将其用于关键任务之前,请务必在自己的环境中充分测试。
- ./skills:创意与设计、开发与技术、企业与沟通以及文档 Skills 示例
- ./spec:Agent Skills 规范
- ./template:Skill 模板
在 Claude Code、Claude.ai 和 API 中试用
你可以在 Claude Code 中运行以下命令,将此仓库注册为 Claude Code Plugin 市场:
/plugin marketplace add anthropics/skills
随后,安装特定的一组 Skills:
- 选择
Browse and install plugins - 选择
anthropic-agent-skills - 选择
document-skills或example-skills - 选择
Install now
或者,也可以通过以下命令直接安装任一 Plugin:
/plugin install document-skills@anthropic-agent-skills
/plugin install example-skills@anthropic-agent-skills
安装 Plugin 后,只需在对话中提及 Skill 即可使用。例如,如果你从市场安装了 document-skills Plugin,可以要求 Claude Code 执行如下任务:"使用 PDF skill 从 path/to/some-file.pdf 中提取表单字段"
这些示例 Skills 已向 Claude.ai 的付费套餐用户开放。
如需使用本仓库中的任意 Skill 或上传自定义 Skills,请按照 在 Claude 中使用 Skills 的说明操作。
你可以通过 Claude API 使用 Anthropic 的预构建 Skills,也可以上传自定义 Skills。详情请参阅 Skills API 快速入门。
创建 Skills 非常简单:只需一个包含 YAML frontmatter 和指令的 SKILL.md 文件夹。你可以将本仓库中的 template-skill 作为起点:
---
name: my-skill-name
description: A clear description of what this skill does and when to use it
---
# My Skill Name
[Add your instructions here that Claude will follow when this skill is active]
## Examples
- Example usage 1
- Example usage 2
## Guidelines
- Guideline 1
- Guideline 2
frontmatter 仅要求两个字段:
name- Skill 的唯一标识符(使用小写字母,空格以连字符分隔)description- 对该 Skill 功能及其使用时机的完整描述
下方 Markdown 内容包含 Claude 在该 Skill 激活时将遵循的指令、示例和指南。更多详情请参阅如何创建自定义 Skills。
Skills 是教会 Claude 更好地使用特定软件的有效方式。随着我们看到合作伙伴提供优秀的 Skills 示例,我们可能会在此重点展示其中的一部分:
English / 原文
Note: This repository contains Anthropic's implementation of skills for Claude. For information about the Agent Skills standard, see agentskills.io.
Skills are folders of instructions, scripts, and resources that Claude loads dynamically to improve performance on specialized tasks. Skills teach Claude how to complete specific tasks in a repeatable way, whether that's creating documents with your company's brand guidelines, analyzing data using your organization's specific workflows, or automating personal tasks.
For more information, check out:
This repository contains skills that demonstrate what's possible with Claude's skills system. These skills range from creative applications (art, music, design) to technical tasks (testing web apps, MCP server generation) to enterprise workflows (communications, branding, etc.).
Each skill is self-contained in its own folder with a SKILL.md file containing the instructions and metadata that Claude uses. Browse through these skills to get inspiration for your own skills or to understand different patterns and approaches.
Many 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 under the hood in the skills/docx, skills/pdf, skills/pptx, and skills/xlsx subfolders. 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.
These skills are provided for demonstration and educational purposes only. While some of these capabilities may be available in Claude, the implementations and behaviors you receive from Claude may differ from what is shown in these skills. These skills are meant to illustrate patterns and possibilities. Always test skills thoroughly in your own environment before relying on them for critical tasks.
- ./skills: Skill examples for Creative & Design, Development & Technical, Enterprise & Communication, and Document Skills
- ./spec: The Agent Skills specification
- ./template: Skill template
Try in Claude Code, Claude.ai, and the API
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:
- Select
Browse and install plugins - Select
anthropic-agent-skills - Select
document-skillsorexample-skills - 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"
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.
You can use Anthropic's pre-built skills, and upload custom skills, via the Claude API. See the Skills API Quickstart for more.
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:
---
name: my-skill-name
description: A clear description of what this skill does and when to use it
---
# My Skill Name
[Add your instructions here that Claude will follow when this skill is active]
## Examples
- Example usage 1
- Example usage 2
## Guidelines
- Guideline 1
- Guideline 2
The frontmatter requires only two fields:
name- A unique identifier for your skill (lowercase, hyphens for spaces)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.
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: