Skip to main content
skill CX Codex

skill-creator · swarmclawai — Claude Code skill: what it does, how to install

Builds, edits, and audits skills for AI agents. Useful when creating a skill from scratch or trimming an oversized SKILL.md file.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add swarmclawai/swarmclaw --skill skill-creator -a claude-code
Open on GitHub

What skill-creator does

The skill defines a structured workflow for authoring agent extensions. It guides the folder layout, separates executable code from documentation, and ensures frontmatter descriptions accurately trigger the skill.

Context management follows a progressive disclosure model: metadata loads first, the SKILL.md body loads on trigger, and heavy references remain external. Deterministic operations move to the scripts/ directory. That saves context tokens during task execution.

Running the bundled scaffolding and validation tools requires python3. Without Python installed locally, helper scripts like init_skill.py and quick_validate.py will not execute.

What it helps with

  • Generate directory scaffolding for a new skill using the init script
  • Audit and trim an existing SKILL.md file to stay under 500 lines
  • Validate skill frontmatter and directory layout before deployment
  • Organize reusable code and templates into dedicated subfolders

Example prompts for the agent

  • Create a new skill for automating deployment workflows
  • Review and clean up this SKILL.md file to save context tokens
  • Validate the skill structure using quick_validate.py

How to install skill-creator

1Skills CLI (Vercel)

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

2Manually: put the files in place

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

Copy the whole skill folder; for one project use .claude/skills/skill-creator/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about skill-creator

How to install skill-creator in Claude Code?

Run npx skills add swarmclawai/swarmclaw --skill skill-creator -a claude-code in your terminal. You can also manually place the file into ~/.claude/skills/skill-creator/SKILL.md.

What does skill-creator do?

It guides agents through authoring, refactoring, and validating skills. It enforces concise instructions and separates resources across scripts, references, and assets.

What dependencies are needed for the bundled scripts?

The scaffolding script init_skill.py and the checker quick_validate.py require python3 installed on your system.

Source text

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

Similar skills

All skills for Agent setup: memory, context, orchestration →

skill-creator by other authors comes first.

skill-creator official anthropics Creates and refines skills, then tests them with prompts, evaluations, and performance checks. 414,180installs skill-creator openclaw A skill for writing, repairing and reviewing other skills. It splits behaviour into branches, sets the frontmatter and sorts resources into folders. Useful once your skill folder gets crowded. CX Codex +1 6,700installs skill-creator official openai Official guide for drafting and updating agent skills. It structures procedures, bundled scripts, and documentation while keeping token overhead low. CX Codex +1 4,900installs skill-creator langchain-ai Guides the creation, editing, and structure of AI agent skills following deepagents design rules. CX Codex +1 1,300installs skill-creator tldraw A guide the agent follows while building a skill: what belongs in SKILL.md, what goes into scripts/, references/ and assets/, and how to keep the whole thing short. CX Codex +1 431installs setup-matt-pocock-skills Matt Pocock This skill configures a repository for Matt Pocock's engineering skills by setting its issue tracker, triage labels, and domain docs layout. Run it before using the other skills. 1,052,851installs ask-matt Matt Pocock Routes you to the right Matt Pocock skill or flow for the task at hand. Use it when you need a starting point for a feature, prototype, incoming issue, or hard bug. 766,587installs to-tickets Matt Pocock Turns a plan, spec, or conversation into small end-to-end tickets with explicit blockers. Use it to agree on the work breakdown before tickets go to a tracker. 711,230installs writing-plans Jesse Vincent This skill turns requirements for a multi-step task into an implementation plan before code changes begin. It helps when another engineer needs exact files, interfaces, and checks. CX Codex 282,859installs caveman-review JuliusBrussee Turns code review comments into one line per finding: location, problem, fix. Useful when a diff or PR needs a fast pass without the filler. CX Codex +1 411,800installs caveman-compress JuliusBrussee Compresses CLAUDE.md, todo lists, and other prose files into a shorter format while retaining a readable backup. CX Codex +1 411,500installs

From the same set12

swarmvault Enforces schema rules and graph-first navigation for SwarmVault knowledge bases. It helps agents query typed connections, ingest sources, and maintain compiled wiki pages. CX Codex +1 ★ 700repo stars swarmclaw This skill teaches agents how to use SwarmClaw tools, memory, delegation, connectors, and MCP servers. It is intended for agents running inside SwarmClaw. CX Codex +1 ★ 700repo stars summarize This skill drives the summarize CLI so the agent can condense a web page, pull a YouTube transcript, or read text out of a local file. CX Codex +1 ★ 700repo stars resourceful-problem-solving This skill gives coding agents a fallback plan for requests they cannot handle directly: look for an existing skill, find a command-line utility, or write a script. CX Codex +1 ★ 700repo stars openai-image-gen This skill generates images through the OpenAI Images API using GPT Image, DALL-E 3 or DALL-E 2. It also builds an HTML gallery of the results. CX Codex +1 ★ 700repo stars nano-pdf CLI-backed skill for editing and generating PDF files using plain-text instructions. CX Codex +1 ★ 700repo stars nano-banana-pro Generate images with Gemini 3 Pro Image, edit a single file, or combine several into one composition. You’ll need a Gemini API key. CX Codex +1 ★ 700repo stars google-workspace Teaches an agent to drive Google Workspace through the gws CLI: Drive files, docs, spreadsheets, mail, calendar and chat. Useful when a task touches a real Google account. CX Codex +1 ★ 700repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor