anthropics / skills

anthropics / skills

Note: This repository contains Anthropic’s implementation of skills for Claude. For information about the Agent Skills standard, see agentskills.io. 注意:本仓库包含 Anthropic 为 Claude 实现的“技能”(Skills)。有关 Agent Skills 标准的信息,请参阅 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. “技能”是由指令、脚本和资源组成的文件夹,Claude 可以动态加载它们以提高在专业任务上的表现。技能教会 Claude 如何以可重复的方式完成特定任务,无论是根据公司品牌指南创建文档、使用组织特定的工作流程分析数据,还是自动化个人任务。

For more information, check out: What are skills? Using skills in Claude How to create custom skills Equipping agents for the real world with Agent Skills 欲了解更多信息,请查看:什么是技能?在 Claude 中使用技能;如何创建自定义技能;利用 Agent Skills 为现实世界装备智能体。

About This Repository 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.). 关于本仓库 本仓库包含了一些展示 Claude 技能系统潜力的技能示例。这些技能涵盖了创意应用(艺术、音乐、设计)、技术任务(测试 Web 应用、MCP 服务器生成)以及企业工作流程(沟通、品牌推广等)。

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. 每个技能都独立存放在各自的文件夹中,并包含一个 SKILL.md 文件,其中记录了 Claude 所需的指令和元数据。浏览这些技能可以为你的自定义技能提供灵感,或帮助你理解不同的模式和方法。

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. 本仓库中的许多技能是开源的(Apache 2.0 协议)。我们还在 skills/docxskills/pdfskills/pptxskills/xlsx 子文件夹中包含了驱动 Claude 文档功能的底层创建与编辑技能。这些技能属于“源码可见”(source-available)而非开源,但我们希望将其分享给开发者,作为在生产级 AI 应用中实际使用的复杂技能参考。

Disclaimer 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. 免责声明 这些技能仅供演示和教育目的。虽然 Claude 可能具备其中部分功能,但你从 Claude 获得的实际实现和行为可能与这些技能示例中展示的有所不同。这些技能旨在说明模式和可能性。在将技能用于关键任务之前,请务必在自己的环境中进行充分测试。

Skill Sets ./skills: Skill examples for Creative & Design, Development & Technical, Enterprise & Communication, and Document Skills ./spec: The Agent Skills specification ./template: Skill template 技能集 ./skills:创意与设计、开发与技术、企业与沟通以及文档技能的示例。 ./spec:Agent Skills 规范。 ./template:技能模板。

Try in Claude Code, Claude.ai, and the API 在 Claude Code、Claude.ai 和 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 Claude Code 你可以通过在 Claude Code 中运行以下命令,将本仓库注册为 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-skills or example-skills Select Install now 然后,安装特定的技能集: 选择“浏览并安装插件”(Browse and install plugins) 选择 anthropic-agent-skills 选择 document-skillsexample-skills 选择“立即安装”(Install now)

Alternatively, directly install either Plugin via: /plugin install document-skills@anthropic-agent-skills /plugin install example-skills@anthropic-agent-skills 或者,通过以下命令直接安装任一插件: /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” 安装插件后,只需提及即可使用该技能。例如,如果你从市场安装了 document-skills 插件,你可以要求 Claude Code 执行类似这样的操作:“使用 PDF 技能从 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. Claude.ai 这些示例技能已全部提供给 Claude.ai 的付费方案用户。要使用本仓库中的任何技能或上传自定义技能,请遵循“在 Claude 中使用技能”的说明。

Claude API You can use Anthropic’s pre-built skills, and upload custom skills, via the Claude API. See the Skills API Quickstart for more. Claude API 你可以通过 Claude API 使用 Anthropic 的预构建技能并上传自定义技能。更多信息请参阅“技能 API 快速入门”。

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: 创建基础技能 创建技能非常简单——只需一个包含 SKILL.md 文件的文件夹,其中包含 YAML 元数据(frontmatter)和指令。你可以使用本仓库中的 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

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 元数据仅需两个字段: name - 技能的唯一标识符(小写,用连字符代替空格) description - 关于技能用途及何时使用的完整描述

The markdown content below contains the instructions, examples, and guidelines that Claude will follow. For more details, see How to create custom skills. 下方的 Markdown 内容包含了 Claude 在激活该技能时将遵循的指令、示例和准则。更多详情,请参阅“如何创建自定义技能”。

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 合作伙伴技能 技能是教 Claude 如何更好地使用特定软件的绝佳方式。随着我们看到合作伙伴提供的出色技能示例,我们可能会在此处重点推荐其中的一些: Notion - Claude 的 Notion 技能