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

agent-skills-creator — скилл для Claude Code: что делает

Помогает создавать и проверять переносимые Agent Skills. Находит лишние инструкции, правит триггеры вызова и валидирует структуру через скрипт.

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

Что делает agent-skills-creator

Скилл ведёт разработку навыков по шагам: от выбора шаблона структуры до запуска валидатора и обновления документации. Он задаёт правила для триггеров в поле description, файлов в каталогах references/ и rules/, а также самого файла SKILL.md. Этот инструмент рассчитан на навыки и не предназначен для файлов инструкций AGENTS.md или CLAUDE.md.

В репозиторий встроен скрипт validate.sh, который отделяет ошибки формата спецификации от внутренних правил проекта. Для запуска этого валидатора обязательно нужны Bash, Perl, базовые утилиты Unix и Ruby с библиотеками YAML и JSON — без них локальная проверка репозитория упадёт с ошибкой.

Скилл решает проблему с маршрутизацией: если модель не активирует инструкцию или путает контекст, правки вносятся в блок описания. Редактирование основного текста SKILL.md проблемы с вызовом навыка не устраняет.

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

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

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

  • Создай новый скилл для проверки пулреквестов с папкой references
  • Проведи аудит моего SKILL.md и сократи лишние правила
  • Скорректируй description у скилла, потому что он запускается на нерелевантных запросах

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

1Через Skills CLI (Vercel)

npx skills add mblode/agent-skills --skill agent-skills-creator -a claude-code

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

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

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

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

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

ui-animation Скилл проектирует, проверяет и разбирает анимацию интерфейсов: пружины, жесты, прокрутку и переходы. Пригодится при работе с движением и звуками UI. CX Codex +1 10 400установок multi-tenant-architecture Скилл проектирует изоляцию тенантов, маршрутизацию по хостам, кастомные домены и лимиты тарифов на Cloudflare или Vercel. Помогает строить white-label платформы и SaaS. CX Codex +1 1 700установок ui-design Выбирает визуальное направление, пишет код интерфейса и проверяет готовый фронтенд на дефекты. Полезен, когда нужен лендинг, тёмная тема или разбор чужой вёрстки. CX Codex +1 1 400установок presentation-creator Скилл превращает документы и идеи в структуру презентации, слайды с текстом и заметками докладчика. По умолчанию собирает разметку Marp, готовя логику перед вёрсткой. CX Codex +1 872установок product-design Скилл разбирает продуктовые решения в интерфейсе: какой контрол поставить, что делает действие, нужна ли отмена. Пригодится, когда флоу ещё не устоялся. CX Codex +1 816установок scaffold-nextjs Разворачивает монорепозиторий Next.js на Turborepo с Blode UI, Ultracite, хуками Lefthook и настройкой для GitHub и Vercel. Пригодится при старте нового веб-приложения. CX Codex +1 720установок scaffold-cli Разворачивает новый TypeScript CLI и npm-пакет по готовым шаблонам: конфиги, исходники, CI и публикация. Пригодится, когда начинаешь инструмент с нуля. CX Codex +1 690установок autoship Ведёт релиз npm-пакета от changeset до проверки версии в реестре. Полезен, когда CI версионирует, но не публикует. CX Codex +1 623установок

Похожие

skill-creator openclaw Скилл для создания, починки и проверки других скиллов: разбирает задачу по веткам, пишет frontmatter и раскладывает ресурсы по папкам. Пригодится, когда скиллов стало много и надо держать их в порядке. CX Codex +1 6 700установок ruby-mcp-server-generator официальный github Создаёт каркас MCP-сервера на Ruby с официальным SDK. Подходит, когда нужны инструменты, промпты, ресурсы и тесты в одном проекте. 8 600установок rails-expert https://github.com/Jeffallan Скилл для стека Rails 7+ с Hotwire, Sidekiq и RSpec. Помогает писать контроллеры, настраивать фоновые задачи и устранять проблемы с N+1. CX Codex +1 4 700установок sentry-ruby-sdk getsentry Пошагово настраивает отслеживание ошибок и трейсинг Sentry в Ruby-приложениях. Помогает быстро перейти с других систем мониторинга. CX Codex +1 2 100установок ruby-rails Mindrally Скилл задаёт агенту правила разработки на Ruby on Rails: генераторы, ActiveRecord, Hotwire, фоновые задачи и тесты. Пригодится, когда проект уже на Rails или только заводится. CX Codex +1 862установок appwrite-ruby appwrite Подсказывает агенту, как работать с Appwrite из Ruby: пользователи, таблицы, файлы, команды. Пригодится в Rails и Sinatra. CX Codex +1 796установок

Рядом в теме «Настройка агента: память, контекст, субагенты»

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

Вопросы о agent-skills-creator

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

Выполните команду в терминале: npx skills add mblode/agent-skills --skill agent-skills-creator -a claude-code.

Что делает agent-skills-creator?

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

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

Для скрипта validate.sh требуются Bash, Perl, стандартные Unix-утилиты, а также Ruby с поддержкой JSON и YAML.

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

SKILL.md · MIT
---
name: agent-skills-creator
description: Creates and improves portable Agent Skills with a validator, routing scenarios, and evidence-based keep, cut, merge, or retire decisions. Use when asked to "write a skill", "update all skills", "audit my SKILL.md", "remove redundant instructions", or fix skill triggering.
compatibility: Repository validation requires Bash, Ruby with YAML and JSON, Perl, and standard Unix utilities.
---

# Agent Skills Creator

Create and improve skills in the Agent Skills open format: full lifecycle from pattern selection through validation and README update.

- **IS:** creating new agent skills and auditing or rewriting existing ones: SKILL.md, references, rules folders, scripts, evaluations.
- **IS NOT:** AGENTS.md/CLAUDE.md instruction files (use `agents-md`) or general documentation quality (use `ghostwriter`).

## Choose a Mode

- New skill → Creation Workflow below.
- Audit, improve, or rewrite an existing skill → `references/improving-existing-skills.md`, which scores eleven audit dimensions, runs an ordered rewrite, then reuses Steps 5-8 for validation and shipping.
- Simplify a skill or update a collection → same reference, plus `references/capability-delta.md` for retention decisions and the collection ledger.
- Skill never triggers, triggers on the wrong prompts, or its description is being trimmed in a crowded listing → the Routing Evals section of `references/evaluation-and-iteration.md`, then the description. Body edits do not fix routing.
- Skill stops after a first draft and hands back for review when nobody asked → "Say Where the Work Ends" in `references/authoring-tips.md`; the fix is the scope of done and the review checkpoints, not the steps.

## Reference Files

| File | Read When |
|------|-----------|
| `references/capability-delta.md` | Removing generic coaching, evaluating model upgrades, or auditing a whole collection |
| `references/authoring-tips.md` | Default when writing or cutting body content: judgement over rules, constraint calibration, permission and completion scope, degrees of freedom, content patterns, descriptions |
| `references/skill-patterns.md` | Choosing a structural pattern |
| `references/format-specification.md` | Directory layout, spec versus Claude Code-only frontmatter, body substitutions, loading semantics, which host reads the skill from where and what each can do, naming |
| `references/rules-folder-structure.md` | Building a rules-based audit/lint skill |
| `references/improving-existing-skills.md` | Auditing, scoring, simplifying, or rewriting an existing skill; the Module Lens rules for a collection audit |
| `references/executable-code.md` | Skill includes scripts, injects live context with `!`, depends on packages, or invokes MCP tools |
| `references/evaluation-and-iteration.md` | Writing `evals/evals.json`, testing the keep decision across models, routing tests, ablating constraints, hillclimbing a skill toward a stated goal, or reviewing a skill revision |
| `references/adopt-adapt-author.md` | Before authoring or adopting: checking job ownership, choosing public scope, or deciding whether to vendor, adapt, or replace a third-party skill |

The validator is the single local statement of mechanical gates. From the repository root:

```bash
skills/agent-skills-creator/scripts/validate.sh skills/<name>   # one skill
skills/agent-skills-creator/scripts/validate.sh --all           # every skill in the repo
```

## Creation Workflow

Copy this checklist to track progress:

```text
Skill creation progress:
- [ ] Step 1: Choose a pattern
- [ ] Step 2: Create directory and frontmatter
- [ ] Step 3: Write SKILL.md body
- [ ] Step 4: Add reference or rule files
- [ ] Step 5: Validate
- [ ] Step 6: Update README.md (and docs/skills.mdx where the repo has one)
- [ ] Step 7: Smoke-test installation
- [ ] Step 8: Evaluate and iterate
```

### Step 1: Choose a pattern

Check for an existing owner of the job before creating a skill; `references/adopt-adapt-author.md` guides reuse and scope.

Simple/hub, workflow, rules-based, or mixed. `references/skill-patterns.md` has the shapes, the in-repo example for each, and the problem-to-pattern affinity table.

### Step 2: Create directory and frontmatter

Create `skills/<name>/SKILL.md` with `name` and `description`, the `---` on line 1. Write the description as a model trigger, not a human summary: what it does, what it covers, then "Use when..." with the phrases users actually say, and the key use case first because the listing trims descriptions from the tail when it runs over budget. Keep it as short as it can be while still saying when it applies: every installed description sits in every session, and one that over-claims loads a skill that does not help. `validate.sh` enforces the limits, so write for routing and let the script police the constraints.

Decide where the skill will run before adding any other field. Use portable fields for this collection; put genuine runtime prerequisites in `compatibility`. Host-specific fields require current host documentation and a deliberately host-specific package. State authorization boundaries in the body when a workflow deploys, sends, or spends, and grant the safe loops just as explicitly; the body carries both sides of that envelope. The format reference distinguishes these contracts.

### Step 3: Write SKILL.md body

Read `references/authoring-tips.md` first: it carries the judgement on what to include, how hard to say it, the permission and completion scope, degrees of freedom, content patterns, and progressive disclosure. Build the Gotchas section from observed failures; it is the highest-signal content in any skill.

### Step 4: Add reference or rule files

- **Workflow/mixed**: a `references/` folder, each file linked from SKILL.md with a "Read when" condition
- **Rules-based**: a `rules/` folder; `references/rules-folder-structure.md` covers `_sections.md`, `_template.md`, and file naming
- **Simple/hub**: track files alongside SKILL.md, linked from a tracks table

Prefer a reference that is code. An existing implementation or a test suite pins a contract better than prose describing it ("Reference-as-Spec"). Split by loading condition, not line count: two topics read at different moments are two files.

Advanced, all covered in `references/executable-code.md` and `references/format-specification.md`: `scripts/` for executables the agent composes, resolved relative to the installed SKILL.md; Claude Code can substitute `${CLAUDE_SKILL_DIR}`; `` !`command` `` injection for data the skill always needs at invocation (a diff, PR comments); `hooks` frontmatter for a PreToolUse gate that should exist only while the skill is active; `config.json` for setup context that would otherwise be re-asked every session.

### Step 5: Validate

```bash
skills/agent-skills-creator/scripts/validate.sh skills/<name>
```

Output separates **format** requirements from **house** conventions, including recommendations adopted as local gates. Fix every FAIL. Run `skills-ref validate <dir>` for an independent metadata and naming check. Neither check establishes behavioral quality or compatibility with every host.

### Step 6: Update README.md

Add the skill's bullet under the matching category heading and bump the count; `validate.sh` checks both and names what is missing. Where the repo also ships `docs/skills.mdx`, add the same bullet there.

### Step 7: Smoke-test

When installation behavior changed, install the edited local source into a disposable target using the installer's documented local-source options. Verify the loaded SKILL.md and a bundled reference or script against the working copy. Do not overwrite a global installation to smoke-test an edit, and do not install the remote default branch as evidence for unpushed changes.

### Step 8: Evaluate and iterate

`references/evaluation-and-iteration.md`. Write 2-3 scenarios in `evals/evals.json`, add assertions after the first run, and measure with-skill against without-skill in fresh sessions. That comparison is the keep test: the skill must improve the job enough to justify its cost. Test routing separately with should-trigger and near-miss prompts. Test on each target model, and ablate any rule you suspect is dead weight: delete it, rerun the scenarios, keep it only if one regresses. Chasing a goal past one round is The Hillclimb Loop in that reference, run with the agent-evals CLI.

## Gotchas

- The installed copy under `~/.agents/skills/<name>/` is a copy, not a link to your repo. Editing the repo changes nothing in a running session, and the stale copy loads silently, so a skill can be several commits behind while appearing correct. Verify that an evaluation loads the edited local source.
- A reference-chain failure calls for moving the load condition into SKILL.md, not disguising the same dependency with different wording.
- `--agent` on `skills add` is variadic and space-separated (`--agent codex cursor`); it consumes arguments until the next one starting with `-`. A comma-separated list is validated element-wise and rejected whole as one invalid name. Do not conclude from an empty `~/.codex/skills` that the install failed: any agent whose `skillsDir` is `.agents/skills` is treated as universal and installed to `~/.agents/skills/`, which those agents read directly.
- `toc-over-100-lines` wants `## Contents` inside the first 20 lines of any reference over 100 lines. A Contents heading further down does not count, so the file fails while looking fine.
- A description that omits "Use when" fails `description-triggers` outright, but a description that has the phrase and the wrong trigger words fails nothing and simply never routes. The validator cannot see this; only a routing eval can.
- `description-length` passes anything under 1024 characters, and a collection of descriptions that each pass can still overrun the host's listing budget together, at which point the host shortens every one of them and the "Use when" clauses go first. Judge a description in the listing next to its siblings, not alone.
- A step reading "stop here and present the result for review" ends the task on current frontier models even when the user asked for the whole job and is not watching. The step reads as a safety rule, so it is rarely questioned during a constraint cut, and the skill ships stopping one implementation short.

## Anti-patterns

- Dumping the full specification into the SKILL.md body instead of a reference file
- Time-sensitive content ("before August 2025, use..."), including model names as the reason a rule exists
- A `context: fork` skill whose body is guidelines rather than a task; the subagent gets conventions and no prompt, and returns nothing
- Vague names (`helper`, `utils`, `tools`, `documents`, `data`) that give the model nothing to route on

## Related Skills

- `agents-md` for auditing AGENTS.md/CLAUDE.md instruction files
- `ghostwriter` for documentation quality

Maintenance only: `evals/evals.json` holds the behavioural scenarios and routing prompts for anyone changing this skill. It never loads during a user task, which is the baseline Phase A of `references/improving-existing-skills.md` asks for.

© mblode · MIT · mblode/agent-skills

Смотрите также

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

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