agent-skills
БесплатноБез исполняемых скриптовНе проверенCreate, use, and manage Agent Skills for Claude. Use when working with Skills, creating custom capabilities, or understanding how Skills extend Claude's…
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
Agent Skills
Agent Skills are modular capabilities that extend Claude's functionality. Each Skill packages instructions, metadata, and optional resources that Claude uses automatically when relevant.
Quick Start
# A basic skill structure
---
name: my-skill
description: Brief description of what this Skill does
---
# My Skill
## Instructions
Clear, step-by-step guidance for Claude to follow
## Examples
Concrete examples of using this Skill
Why use Skills
Skills provide domain-specific expertise that transforms general-purpose agents into specialists. Unlike prompts, Skills load on-demand and eliminate repetitive guidance.
Key benefits:
- Specialize Claude: Tailor capabilities for specific domains
- Reduce repetition: Create once, use automatically
- Compose capabilities: Combine Skills to build complex workflows
How Skills Work
Skills leverage Claude's VM environment with filesystem access. They exist as directories containing instructions, executable code, and reference materials.
Three Levels of Loading
| Level | When Loaded | Token Cost | Content |
|---|---|---|---|
| Level 1: Metadata | Always (startup) | ~100 tokens | name and description from YAML frontmatter |
| Level 2: Instructions | When triggered | Under 5k tokens | SKILL.md body with guidance |
| Level 3+: Resources | As needed | Unlimited | Bundled files executed via bash |
Progressive disclosure ensures only relevant content occupies the context window.
Skill Directory Structure
my-skill/
├── SKILL.md # Main instructions
├── GUIDE.md # Additional guidance
├── REFERENCE.md # API reference
└── scripts/
└── helper.py # Utility scripts
Instructions: Additional markdown files with specialized guidance Code: Executable scripts that Claude runs via bash Resources: Reference materials like schemas, templates, examples
Skill Structure
Every Skill requires a SKILL.md file with YAML frontmatter:
---
name: your-skill-name
description: Brief description of what this Skill does and when to use it
---
# Your Skill Name
## Instructions
[Clear, step-by-step guidance]
## Examples
[Concrete examples]
Field Requirements
name:
- Maximum 64 characters
- Lowercase letters, numbers, and hyphens only
- Cannot contain XML tags
- Cannot use reserved words: "anthropic", "claude"
description:
- Must be non-empty
- Maximum 1024 characters
- Cannot contain XML tags
- Should explain what the Skill does AND when to use it
Creating Custom Skills
For Claude Code
- Create a directory in
.claude/skills/ - Add a
SKILL.mdfile with YAML frontmatter - Optionally add supporting files (guides, scripts, resources)
- Claude discovers and uses them automatically
.claude/skills/
├── my-skill/
│ ├── SKILL.md
│ └── scripts/
│ └── helper.sh
└── another-skill/
└── SKILL.md
For Claude API
- Create Skill as a directory with
SKILL.md - Upload via Skills API (
/v1/skillsendpoints) - Reference
skill_idin thecontainerparameter - Requires beta headers:
code-execution-2025-08-25skills-2025-10-02files-api-2025-04-14
For Claude.ai
- Create Skill as a directory with
SKILL.md - Zip the skill directory
- Upload through Settings > Features
- Available on Pro, Max, Team, Enterprise plans
Best Practices
Writing Effective Skills
Be specific about when to use:
description: Extract text from PDF files using pdfplumber. Use when user mentions PDFs, text extraction, or document processing.
Include concrete examples:
## Examples
To extract text from a PDF:
```python
import pdfplumber
with pdfplumber.open("document.pdf") as pdf:
text = pdf.pages[0].extract_text()
Organize progressively:
- Quick start first
- Common workflows
- Advanced scenarios
- Reference materials
Bundling Resources
Use scripts for reliability:
# Scripts execute without loading code into context
$ bash validate.sh
Validation passed
Include reference materials:
- API documentation
- Database schemas
- Code examples
- Templates
Security Considerations
Use Skills from trusted sources only:
- Audit thoroughly: Review all files bundled in the Skill
- External sources are risky: Skills fetching external content pose risks
- Tool misuse: Malicious Skills can invoke tools in harmful ways
- Data exposure: Skills with sensitive data access could leak information
- Treat like installing software: Only use Skills from trusted sources
Cross-Surface Availability
| Surface | Custom Skills | Pre-built Skills |
|---|---|---|
| Claude API | Yes | Yes (pptx, xlsx, docx, pdf) |
| Claude Code | Yes (filesystem-based) | No |
| Claude.ai | Yes (uploaded) | Yes (pptx, xlsx, docx, pdf) |
**Custom Skills do not s
Установить agent-skills в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл agent-skills?
Create, use, and manage Agent Skills for Claude. Use when working with Skills, creating custom capabilities, or understanding how Skills extend Claude's functionality. Covers Skill architecture, file structure, and best practices.
Как установить скилл agent-skills?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-skills запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic