How to Use Skills

Try in 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

Use SKILLs in Codex CLI & IDEs

  1. Create a .claude/skills directory in your project root. (Optional: add .claude to .gitignore). Placing it here allows Claude Code to recognize it automatically.
  2. Copy your desired skill folder into .claude/skills (find examples at anthropics/skills).
  3. To use a skill, simply @mention the SKILL.md file in your prompt. For example:
    > Please use @.claude/skills/artifacts-builder/SKILL.md to create a whiteboard project

Note: This method works not just for Codex CLI, but also for other coding agents like TRAE, Cursor, and GitHub Copilot. Simply directing the agent to read the SKILL.md file allows it to learn and apply the skill.

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, refer to the official documentation on using skills in Claude.

Claude API

You can use Anthropic's pre-built skills, and upload custom skills, via the Claude API. See the Skills API Quickstart in the official documentation for creating a skill.

Creating a Basic Skill

Skills are simple to create - just a folder with a SKILL.md file containing YAML frontmatter and instructions.

---
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