К основному содержанию
скилл CX Codex

skill-creator · swarmclawai — скилл для Claude Code: что делает и как установить

Создаёт, редактирует и проверяет скиллы для ИИ-агентов. Пригодится при сборке нового скилла с нуля или чистке разросшегося файла SKILL.md.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add swarmclawai/swarmclaw --skill skill-creator -a claude-code
Открыть на GitHub

Что делает skill-creator

Скилл регламентирует процесс разработки собственных скиллов для агентов SwarmClaw. Он помогает спроектировать структуру папок, отделить исполняемые скрипты от документации и настроить описание во frontmatter для надёжного срабатывания агента.

Внутри заложен трёхступенчатый принцип загрузки контекста: метаданные, тело SKILL.md и внешние ресурсы. Скрипты экономят токены контекста. Они выполняются агентом без выгрузки исходного кода в окно диалога.

Для запуска встроенных сценариев создания и валидации потребуется python3. Без интерпретатора Python запустить init_skill.py или quick_validate.py не удастся.

Какие задачи решает

  • Сгенерировать структуру каталогов для нового скилла через вспомогательный скрипт
  • Отредактировать файл SKILL.md и уложить его в лимит до 500 строк
  • Проверить корректность структуры и frontmatter с помощью валидатора
  • Вынести повторяющийся код и шаблоны в подпапки scripts/ и assets/

Примеры запросов агенту

  • Помоги создать новый скилл для работы с базой данных PostgreSQL
  • Проведи аудит файла SKILL.md и сократи лишние инструкции
  • Очисти структуру каталога скилла и проверь разметку через quick_validate.py

Как установить skill-creator

1Через Skills CLI (Vercel)

npx skills add swarmclawai/swarmclaw --skill skill-creator -a claude-code

2Вручную: положить файлы

~/.claude/skills/skill-creator/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/skill-creator/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о skill-creator

Как установить skill-creator в Claude Code?

Выполните команду npx skills add swarmclawai/swarmclaw --skill skill-creator -a claude-code. Также можно поместить файл SKILL.md по пути ~/.claude/skills/skill-creator/SKILL.md.

Что делает скилл skill-creator?

Он помогает проектировать скиллы: подсказывает формулировки триггеров во frontmatter, структурирует файлы и разделяет инструкции по степени свободы агента.

Какие системные зависимости нужны для работы скилла?

Для работы генератора структуры init_skill.py и проверочного скрипта quick_validate.py необходим установленный в системе python3.

Исходный текст

SKILL.md · MIT
---
name: skill-creator
description: Create, edit, improve, or audit skills for SwarmClaw agents. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory. Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".
---

# Skill Creator

Guidance for creating effective skills that extend SwarmClaw agent capabilities.

## About Skills

Skills are modular, self-contained packages that provide specialized knowledge, workflows, and tools. They transform a general-purpose agent into a specialized one equipped with procedural knowledge that no model can fully possess.

### What Skills Provide

1. Specialized workflows — multi-step procedures for specific domains
2. Tool integrations — instructions for working with specific file formats or APIs
3. Domain expertise — company-specific knowledge, schemas, business logic
4. Bundled resources — scripts, references, and assets for complex and repetitive tasks

## Core Principles

### Concise is Key

The context window is a shared resource. Only add context the agent doesn't already have. Challenge each piece of information: "Does the agent really need this explanation?" Prefer concise examples over verbose explanations.

### Set Appropriate Degrees of Freedom

- **High freedom** (text instructions): Multiple valid approaches, context-dependent decisions
- **Medium freedom** (pseudocode/parameterized scripts): Preferred pattern exists, some variation OK
- **Low freedom** (specific scripts): Fragile operations, consistency critical, exact sequence required

### Anatomy of a Skill

```
skill-name/
├── SKILL.md (required)
│   ├── YAML frontmatter (name + description, required)
│   └── Markdown instructions (required)
└── Bundled Resources (optional)
    ├── scripts/      — Executable code (Python/Bash/etc.)
    ├── references/   — Documentation loaded into context as needed
    └── assets/       — Files used in output (templates, icons, fonts)
```

#### Frontmatter

- `name`: Skill name (hyphen-case, lowercase)
- `description`: Primary triggering mechanism. Include what the skill does AND when to use it. All "when to use" info goes here — not in the body.

#### Scripts (`scripts/`)

Executable code for tasks that require deterministic reliability or are repeatedly rewritten. Token efficient and may be executed without loading into context.

#### References (`references/`)

Documentation loaded as needed to inform the agent's process. Keep only essential instructions in SKILL.md; move detailed reference material here.

#### Assets (`assets/`)

Files not loaded into context but used in output (templates, images, fonts). Separates output resources from documentation.

### What NOT to Include

- README.md, CHANGELOG.md, INSTALLATION_GUIDE.md, or other auxiliary docs
- Setup/testing procedures or user-facing documentation
- Information the agent already knows from general training

## Skill Creation Process

1. Understand the skill with concrete examples
2. Plan reusable contents (scripts, references, assets)
3. Initialize the skill
4. Edit the skill (implement resources, write SKILL.md)
5. Validate the skill
6. Iterate based on real usage

### Skill Naming

- Lowercase letters, digits, and hyphens only (hyphen-case)
- Under 64 characters
- Prefer short, verb-led phrases describing the action
- Name the skill folder exactly after the skill name

### Step 1: Understanding with Concrete Examples

Ask the user clarifying questions:

- What functionality should the skill support?
- Can you give examples of how it would be used?
- What would a user say that should trigger this skill?

### Step 2: Planning Reusable Contents

Analyze each example to identify what scripts, references, and assets would be helpful:

- **Repeated code** → `scripts/` (e.g., `scripts/rotate_pdf.py`)
- **Boilerplate** → `assets/` (e.g., `assets/hello-world/` template)
- **Domain knowledge** → `references/` (e.g., `references/schema.md`)

### Step 3: Initializing the Skill

Use the bundled init script to create the directory structure:

```bash
python3 {baseDir}/scripts/init_skill.py <skill-name> --path <output-directory> [--resources scripts,references,assets] [--examples]
```

Examples:

```bash
python3 {baseDir}/scripts/init_skill.py my-skill --path skills
python3 {baseDir}/scripts/init_skill.py my-skill --path skills --resources scripts,references
```

### Step 4: Edit the Skill

Write instructions that would help another agent instance execute tasks effectively. Include information that is beneficial and non-obvious.

**Writing guidelines:** Use imperative/infinitive form. Keep SKILL.md body under 500 lines.

**Frontmatter description:** Include both what the skill does and specific triggers for when to use it. This is the primary mechanism for skill selection.

### Step 5: Validate the Skill

Run the validator to check structure and frontmatter:

```bash
python3 {baseDir}/scripts/quick_validate.py <path/to/skill-folder>
```

### Step 6: Iterate

1. Use the skill on real tasks
2. Notice struggles or inefficiencies
3. Update SKILL.md or bundled resources
4. Test again

## Progressive Disclosure

Skills use a three-level loading system:

1. **Metadata** (name + description) — always in context (~100 words)
2. **SKILL.md body** — when skill triggers (<5k words)
3. **Bundled resources** — as needed (unlimited, since scripts can be executed without reading)

Keep SKILL.md lean. Move detailed information to reference files and describe clearly when to read them.

© swarmclawai · MIT · swarmclawai/swarmclaw

Похожие скиллы

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →

Сначала — skill-creator от других авторов.

skill-creator официальный anthropics Помогает создать новый скилл, доработать существующий и проверить результат через тестовые промпты и оценки. 414 180установок skill-creator openclaw Скилл для создания, починки и проверки других скиллов: разбирает задачу по веткам, пишет frontmatter и раскладывает ресурсы по папкам. Пригодится, когда скиллов стало много и надо держать их в порядке. CX Codex +1 6 700установок skill-creator официальный openai Руководство по созданию и обновлению скиллов для ИИ-агентов. Помогает упаковать рабочие процессы, скрипты и документацию без лишней траты токенов. CX Codex +1 4 900установок skill-creator langchain-ai Помогает проектировать, создавать и обновлять скиллы для ИИ-агентов по правилам репозитория deepagents. CX Codex +1 1 300установок skill-creator tldraw Инструкция для агента, по которой он собирает новые скиллы: структура SKILL.md, папки с ресурсами и правила, чтобы не раздувать контекст. CX Codex +1 431установок setup-matt-pocock-skills Matt Pocock Скилл настраивает репозиторий для инженерных скиллов Matt Pocock: задаёт трекер задач, метки триажа и расположение доменной документации. Запустите его перед первым использованием остальных скиллов. 1 052 851установок ask-matt Matt Pocock Помогает выбрать подходящий скилл или рабочий поток из набора Matt Pocock. Пригодится, когда непонятно, с чего начать задачу: от идеи до разбора бага. 766 587установок to-tickets Matt Pocock Разбивает план, спецификацию или переписку на небольшие сквозные задачи и отмечает, какие из них блокируют остальные. Пригодится, когда нужно согласовать порядок работы до публикации задач в трекере. 711 230установок writing-plans Jesse Vincent Скилл превращает требования к многошаговой задаче в подробный план реализации до начала работы с кодом. Пригодится, когда исполнителю нужно зафиксировать файлы, интерфейсы и проверки. CX Codex 282 859установок caveman-review JuliusBrussee Пишет замечания к коду одной строкой: место, проблема, исправление. Пригодится, когда ревью диффа или PR надо пройти быстро и без воды. CX Codex +1 411 800установок caveman-compress JuliusBrussee Сжимает CLAUDE.md, списки задач и другие текстовые файлы в краткий формат, сохраняя читаемую резервную копию. CX Codex +1 411 500установок

Из того же набора10

swarmclaw Скилл объясняет агенту возможности SwarmClaw: инструменты, память, делегирование, коннекторы и MCP. Нужен агентам, работающим внутри SwarmClaw. CX Codex +1 ★ 700звёзд репо summarize Скилл вызывает CLI summarize, чтобы сжать статью по ссылке, расшифровать YouTube-ролик или вытащить текст из локального файла. CX Codex +1 ★ 700звёзд репо resourceful-problem-solving Скилл учит ИИ-агента искать обходные пути для задач без подходящего инструмента: проверять другие скиллы, находить CLI-утилиты и писать собственные скрипты. CX Codex +1 ★ 700звёзд репо openai-image-gen Скилл генерирует изображения через OpenAI Images API: GPT Image, DALL-E 3 и DALL-E 2. Собирает пакет картинок и HTML-галерею для просмотра. CX Codex +1 ★ 700звёзд репо nano-pdf Скилл для создания и правки PDF-файлов через консольную утилиту nano-pdf текстовыми инструкциями. CX Codex +1 ★ 700звёзд репо nano-banana-pro Скилл создаёт изображения через Gemini 3 Pro Image, редактирует один файл или объединяет несколько. Для работы нужен ключ Gemini API. CX Codex +1 ★ 700звёзд репо google-workspace Учит агента работать с Google Workspace через CLI gws: файлы Drive, документы, таблицы, письма, календарь и чаты. Пригодится, когда нужно вытащить или изменить что-то в рабочем аккаунте Google. CX Codex +1 ★ 700звёзд репо coding-agent Передаёт внешним кодовым агентам работу над отдельным проектом, ревью PR и крупным рефакторингом. Пригодится, когда задаче нужно изучить файлы и сделать несколько итераций. CX Codex +1 ★ 700звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой