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

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

Скилл create-skill интервьюирует разработчика и упаковывает повторяющийся сценарий в готовый SKILL.md с проверкой на реальном коде проекта.

MIT ★ 937 обновлён 2026-10-29

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add SethGammon/Citadel
/plugin install citadel@citadel-local
Открыть на GitHub

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

Скилл автоматизирует формализацию рабочих процессов. Сначала он задаёт три вопроса: что именно повторяется, где разработчик чаще всего ошибается вручную и как выглядит идеальный результат. На основе ответов ассистент выделяет триггеры, формулирует запреты и формирует пошаговый протокол без размытых формулировок.

Результат работы сохраняется в файл .claude/skills/{name}/SKILL.md объёмом до 500 строк. Затем скилл прописывает имя в реестр .claude/harness.json, вносит правки в CLAUDE.md или AGENTS.md и сразу же тестирует созданную инструкцию на реальном участке текущего проекта. Если тест проваливается, логика шагов дорабатывается на втором круге.

Для разовых задач инструмент не подходит: он рассчитан только на фиксацию регулярных рутин. Править существующие регламенты через него тоже нельзя, их проще менять напрямую в исходных файлах.

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

  • превратить повторяющуюся рутину в автономный регламент для ассистента
  • сформулировать критерии приёмки и ограничения для нового сценария
  • зарегистрировать новый скилл в конфигурациях проекта и инструкциях
  • протестировать сгенерированный файл SKILL.md на живом коде

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

  • /create-skill
  • Сделай скилл для проверки контрактов API перед коммитом
  • Я постоянно повторяю один и тот же процесс деплоя, давай автоматизируем

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

1Через маркетплейс плагинов

/plugin marketplace add SethGammon/Citadel
/plugin install citadel@citadel-local

Команда ставит плагин citadel целиком, со всеми его скиллами

2Через Skills CLI (Vercel)

npx skills add SethGammon/Citadel --skill create-skill -a claude-code

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

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

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

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

Вопросы о create-skill

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

Подключите каталог командой /plugin marketplace add SethGammon/Citadel, после чего запустите установку через /plugin install citadel@citadel-local.

Что делает create-skill?

Он опрашивает пользователя о рутинном процессе, превращает ответы в файл .claude/skills/{name}/SKILL.md, регистрирует его в проекте и тестирует на реальной задаче.

Когда create-skill применять не стоит?

Скилл не запускают для разовых правок кода и не используют для обновления уже созданных сценариев: существующие файлы правильнее редактировать напрямую.

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

SKILL.md · MIT
---
name: create-skill
license: MIT
description: >-
  Creates new skills from the user's repeating patterns. Interview-driven:
  discovers the task, analyzes failure modes, generates a production SKILL.md,
  installs it, tests it on a real target, and teaches the user how to use it.
  Use when a user wants to encode a repeating workflow; do NOT use for one-off
  tasks or modifying existing skills.
user-invocable: true
auto-trigger: false
trigger_keywords:
  - create skill
  - new skill
  - make a skill
  - teach the harness
  - custom skill
  - my own skill
  - skill for
  - automate this pattern
  - repeated pattern
---

# /create-skill — Skill Creator

## Orientation

**Use when:**
- The user says "I keep doing this same thing" or "automate this for me"
- The user wants to encode a workflow they have refined through repetition
- The user says "create a skill for X" or "make a skill that does Y"

**Do NOT use when:**
- The user wants a one-off task done (just do it)
- The pattern has only happened once
- An existing skill already covers this
- The user wants to modify an existing skill (edit directly)

**Output:** A complete `.claude/skills/{name}/SKILL.md` in the project directory, tested and working.

## Protocol

### Step 1: DISCOVER — The Three Questions

Ask these three questions and wait for answers before proceeding.

**Q1: "What do you keep repeating?"**
Listen for: trigger, steps in order, scope, frequency. If vague, probe: "Walk me through the last time you did this."

**Q2: "What mistakes happen when you do it manually?"**
Listen for: forgotten steps, ordering mistakes, convention drift, edge cases. These become guardrails and quality gates.

**Q3: "What does 'done right' look like?"**
Listen for: observable outputs, quality signals, anti-patterns. These become quality gates and exit protocol.

### Step 2: ANALYZE — Extract the Skill's DNA

Internal working material — do not show to user.

**2a. Identity statement:** "You are a {role} that {does what} to ensure {outcome}." Must distinguish this skill from all others.

**2b. Trigger keywords (5-10):** Specific enough to avoid false matches. Check existing `.claude/skills/` for conflicts.

**2c. Protocol steps:** Transform "what I do" into numbered steps where:
- Each step has a clear input and output
- Decision points have explicit criteria ("IF x THEN y, ELSE z")
- Steps reference concrete things (file paths, commands, patterns)

Bad: "3. Review the code for issues."
Good: "3. Read every function. For each, check: (a) return type explicit, (b) error cases handled, (c) no input mutations. List violations with line numbers."

**2d. Quality gates:** Yes/no verifiable questions, no subjective criteria. Map each to a user "done right" criterion or common mistake.

**2e. Pitfalls:** From Q2. Become warnings or guard clauses in the protocol.

### Step 3: GENERATE — Write the SKILL.md

Every section required. File MUST be under 500 lines.

```markdown
---
name: {kebab-case-name}
description: >-
  {One to three sentences. Start with verb. Use when X; do NOT use for Y.}
user-invocable: true
auto-trigger: false
trigger_keywords:
  - {keyword 1}
  - {keyword 2}
---

# /{name} — {Readable Title}

## Orientation

**Use when:**
- {condition}

**Do NOT use when:**
- {exclusion}

**What this skill needs:**
- {required input}

## Protocol

### Step 1: {VERB — Name}
{Exact instructions. What to read, what to produce. No vague directives.}

### Step 2: {VERB — Name}
{Continue...}

## Quality Gates

- [ ] {Verifiable gate}

## Exit Protocol

{Exact output format}
```

**Writing rules:**
1. Steps must be reproducible by a different AI session with no memory of this conversation.
2. No hedge language — "do X" not "consider X".
3. No filler — delete sections that add no new information.
4. Include examples only where the pattern is non-obvious.
5. Encode the user's taste: "I hate when it does Z" → explicit prohibition.

### Step 4: INSTALL & REGISTER

1. Create `.claude/skills/{name}/`
2. Write the SKILL.md
3. Verify file exists and is readable
4. Register with router:
   a. Read `.claude/harness.json`, Citadel's shared config path for all runtimes including Codex (create with `{}` if missing)
   b. Add skill name to `registeredSkills` array
   c. Update `registeredSkillCount` to match array length
5. Only add the skill to an active project instruction file that already has an explicit skills section. Codex uses `AGENTS.md`. Claude Code uses `CLAUDE.md` when present; with confirmed `AGENTS.md` support, it uses `AGENTS.md` by default if no project `CLAUDE.md` exists, or both when configured under **Project instructions**. Check the active setting before editing and preserve user-authored guidance.
6. Run `/reload-skills` if the running Claude Code version supports it; the skill is live without a session restart. If unsupported, tell the user a fresh session is required before `/{name}` resolves.

### Step 5: VERIFY — Test on a Real Target

1. Find a real target in the current project the skill applies to.
2. Run the skill's protocol following the SKILL.md exactly — pretend you are a different AI session with no memory of this conversation.
3. Evaluate: did every step have enough information? Did any step require missing context? Did quality gates catch real issues?
4. If it fails or produces thin output, fix SKILL.md (common fixes: step too vague, step assumed context, gate not checkable, exit output missing fields).
5. Run again after fixes. Must pass on second attempt. If it fails twice, discuss scope with user.

### Step 6: TEACH — Explain What Was Built

**A. How to invoke:**
- Direct: `/{name}` or `/{name} [target]`
- Via router: `/do {natural language matching trigger keywords}`

**B. How it works (30-second version):**
- Steps summary, quality gates summary, exit output summary

**C. How to modify:**
- File: `.claude/skills/{name}/SKILL.md`
- Add step: new `### Step N` in Protocol
- Change quality standards: edit Quality Gates checkboxes
- Change trigger words: edit `trigger_keywords` in frontmatter
- Split if too large: create two skills, move steps between them

## Contextual Gates

**Disclosure:** "Creating skill '{name}'. Will create `skills/{name}/SKILL.md`."
**Reversibility:** green — creates `skills/{name}/SKILL.md` only; undo by deleting the directory.
**Trust gates:**
- Any: full skill creation, install, and teach workflow.

## Quality Gates

- [ ] Three discovery questions asked and answered
- [ ] Generated SKILL.md follows exact format (frontmatter + required sections)
- [ ] Frontmatter has: name, description, user-invocable, trigger_keywords
- [ ] Description includes use-when / do-not-use orientation
- [ ] Protocol steps specific enough for a different AI session to follow
- [ ] No steps contain vague directives ("review", "consider", "ensure quality")
- [ ] Quality gates all yes/no verifiable
- [ ] Trigger keywords do not conflict with existing skills
- [ ] SKILL.md is under 500 lines
- [ ] Skill tested on a real target in the current project
- [ ] Test produced meaningful output
- [ ] User taught invocation, mechanics, and modification
- [ ] File installed at `.claude/skills/{name}/SKILL.md`

## Exit Protocol

```
SKILL CREATED

Name: {name}
Path: .claude/skills/{name}/SKILL.md
Invoke: /{name} [target]
Route via: /do {example natural language}

What it does:
  {One sentence description}

Steps: {N} steps
Quality gates: {N} gates
Lines: {line count}/500

Tested on: {target description}
Test result: PASS

Trigger keywords: {comma-separated list}
Reversibility: green — delete skills/{name}/ to undo
```

```
Try it now: /{name} {suggested first target}
```

© SethGammon · MIT · SethGammon/Citadel

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

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

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

create-skill NeoLabHQ Скилл create-skill для Claude Code, Codex, Cursor и других агентов, который ведёт через процесс написания нового скилла по методике TDD. Сначала субагент проваливает тест без документа, потом скилл пишется под конкретные нарушения. CX Codex +1 1 300установок create-skill siviter-xyz Скилл create-skill для Claude Code помогает создавать и обновлять скиллы для ИИ-агентов. Он подключается к таким просьбам и ведёт по структуре файлов и правилам проектирования. CX Codex +1 2 800установок create-skill aeonfun Скилл create-skill берёт описание в одну строку и собирает из него готовый скилл: разбирает запрос, проверяет дубликаты, ищет документацию по API и открывает PR. CX Codex +1 ★ 797звёзд репо create-skill Samarth Gupta Скилл create-skill для Claude Code помогает проектировать и собирать скиллы и слэш-команды, уточняя задачу и сценарии запуска. CX Codex +1 ★ 276звёзд репо create-skill thedesignproject Скилл create-skill для Claude Code помогает создавать скиллы Cursor и разбираться в структуре SKILL.md. Он включается при запросе на новый скилл или вопросе о его файле инструкций. CX Codex +1 ★ 107звёзд репо create-pr OrchestKit Скилл create-pr создаёт pull request в GitHub после прогона тестов, линтера, типов и проверки безопасности. Срабатывает по явному вызову, обычная команда gh pr create остаётся командой. CX Codex +1 209установок task-observer Eoghan Henn and contributors Скилл task-observer для Claude Code и ещё пяти платформ фиксирует паттерны и правки прямо во время работы. Превращает накопленный журнал наблюдений в обновления инструкций или новые навыки. CX Codex +1 19 300установок qwenchance thananon Скилл qwenchance помогает на длинных многоэтапных задачах: ловит повторяющиеся шаги, останавливает бесконечный перебор вариантов и следит за лимитом контекста. Срабатывает, когда модель зависает в кругах или контекст вот-вот кончится. CX Codex +1 2 600установок task-dependency-patterns OrchestKit Скилл task-dependency-patterns для Claude Code помогает разбивать сложную работу на задачи и связывать их зависимостями. Он описывает учёт статусов и координацию параллельной работы. CX Codex +1 214установок Tallyfy Workflow Automation tallyfy MCP-сервер Tallyfy Workflow Automation подключает ИИ-ассистента к Tallyfy: он может работать с задачами, процессами и шаблонами. Пригодится, чтобы управлять рабочими процессами из чата. CX Codex +1 ★ 1звёзд репо jira-automation davila7 Скилл jira-automation для Claude Code, управляет задачами и спринтами в Jira через Rube MCP. Ищет тикеты через JQL и обновляет проект из терминала. CX Codex +1 50установок

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

Весь набор →
map Скилл map строит компактный JSON-индекс кодовой базы с файлами, экспортами, импортами и графом зависимостей, чтобы агент находил нужные файлы без лишних Glob и Grep. CX Codex +1 ★ 937звёзд репо phase-validator Субагент phase-validator сверяет отчёт о завершении этапа с условиями выхода и выносит вердикт pass или fail. Помогает контролировать автоматические конвейеры разработки. CX Codex ★ 937звёзд репо fleet Субагент fleet для Claude Code делит работу на кампании и ведёт их волнами по 2–3 агента, передавая находки следующей волне. Разбивает задачи, не пересекающиеся по файлам. CX Codex ★ 937звёзд репо workspace Скилл workspace координирует изменения в нескольких репозиториях в рамках одной задачи. Разбивает работу на волны, запускает кампании по репозиториям, проверяет контракты между ними. CX Codex +1 ★ 937звёзд репо arbiter arbiter — субагент для Claude Code, который повторно запускает проверки проекта и выносит итоговый вердикт по изменениям. Его подключают после исчерпания повторных попыток рабочего агента или для оценки целостности результата. CX Codex ★ 937звёзд репо infra-audit Скилл infra-audit сканирует docker-compose, env-файлы, ORM-конфиги и строки подключения, чтобы собрать карту инфраструктуры проекта и найти, какого слоя не хватает. CX Codex +1 ★ 937звёзд репо refactor Скилл refactor для Claude Code выполняет рефакторинг нескольких файлов с автооткатом через Git, проверкой типов и тестами до и после правок. CX Codex +1 ★ 937звёзд репо review Скилл review проводит код-ревью в пять проходов: проверяет корректность, безопасность, производительность, читаемость и согласованность кода. Подходит для проверки файла, каталога или изменений Git. CX Codex +1 ★ 937звёзд репо

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

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