/skill-builder
Create new Claude Code Skills with proper YAML frontmatter, progressive disclosure structure, and complete directory organization. Use when you need to build custom skills for specific workflows, generate skill templates, or understand the Claude Skills specification.
$ npx -y skills add ruvnet/agentic-flow --skill skill-builder --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition โ
- You can call itInvoke it directly when you want it.
- Slash command
/skill-builder
Context preview
The summary Claude sees to decide when to auto-load this skill.
Create new Claude Code Skills with proper YAML frontmatter, progressive disclosure structure, and complete directory organization. Use when you need to build custom skills for specific workflows, generate skill templates, or understand the Claude Skills specification.
SKILL.md
skill-builder.SKILL.mdname: "Skill Builder"
description: "Create new Claude Code Skills with proper YAML frontmatter, progressive disclosure structure, and complete directory organization. Use when you need to build custom skills for specific workflows, generate skill templates, or understand the Claude Skills specification."
Skill Builder
What This Skill Does
Creates production-ready Claude Code Skills with proper YAML frontmatter, progressive disclosure architecture, and complete file/folder structure. This skill guides you through building skills that Claude can autonomously discover and use across all surfaces (Claude.ai, Claude Code, SDK, API).
Prerequisites
- Claude Code 2.0+ or Claude.ai with Skills support
- Basic understanding of Markdown and YAML
- Text editor or IDE
Quick Start
Creating Your First Skill
# 1. Create skill directory (MUST be at top level, NOT in subdirectories!)
mkdir -p ~/.claude/skills/my-first-skill
# 2. Create SKILL.md with proper format
cat > ~/.claude/skills/my-first-skill/SKILL.md << 'EOF'
---
name: "My First Skill"
description: "Brief description of what this skill does and when Claude should use it. Maximum 1024 characters."
---
# My First Skill
## What This Skill Does
[Your instructions here]
## Quick Start
[Basic usage]
EOF
# 3. Verify skill is detected
# Restart Claude Code or refresh Claude.ai
---
Complete Specification
๐ YAML Frontmatter (REQUIRED)
Every SKILL.md **must** start with YAML frontmatter containing exactly two required fields:
---
name: "Skill Name" # REQUIRED: Max 64 chars
description: "What this skill does # REQUIRED: Max 1024 chars
and when Claude should use it." # Include BOTH what & when
---
Field Requirements
**`name`** (REQUIRED):
- **Type**: String
- **Max Length**: 64 characters
- **Format**: Human-friendly display name
- **Usage**: Shown in skill lists, UI, and loaded into Claude's system prompt
- **Best Practice**: Use Title Case, be concise and descriptive
- **Examples**:
- โ
"API Documentation Generator"
- โ
"React Component Builder"
- โ
"Database Schema Designer"
- โ "skill-1" (not descriptive)
- โ "This is a very long skill name that exceeds sixty-four characters" (too long)
**`description`** (REQUIRED):
- **Type**: String
- **Max Length**: 1024 characters
- **Format**: Plain text or minimal markdown
- **Content**: MUST include:
1. **What** the skill does (functionality) 2. **When** Claude should invoke it (trigger conditions)
- **Usage**: Loaded into Claude's system prompt for autonomous matching
- **Best Practice**: Front-load key trigger words, be specific about use cases
- **Examples**:
- โ
"Generate OpenAPI 3.0 documentation from Express.js routes. Use when creating API docs, documenting endpoints, or building API specifications."
- โ
"Create React functional components with TypeScript, hooks, and tests. Use when scaffolding new components or converting class components."
- โ "A comprehensive guide to API documentation" (no "when" clause)
- โ "Documentation tool" (too vague)
YAML Formatting Rules
---
# โ
CORRECT: Simple string
name: "API Builder"
description: "Creates REST APIs with Express and TypeScript."
# โ
CORRECT: Multi-line description
name: "Full-Stack Generator"
description: "Generates full-stack applications with React frontend and Node.js backend. Use when starting new projects or scaffolding applications."
# โ
CORRECT: Special characters quoted
name: "JSON:API Builder"
description: "Creates JSON:API compliant endpoints: pagination, filtering, relationships."
# โ WRONG: Missing quotes with special chars
name: API:Builder # YAML parse error!
# โ WRONG: Extra fields (ignored but discouraged)
name: "My Skill"
description: "My description"
version: "1.0.0" # NOT part of spec
author: "Me" # NOT part of spec
tags: ["dev", "api"] # NOT part of spec
---
**Critical**: Only `name` and `description` are used by Claude. Additional fields are ignored.
---
๐ Directory Structure
Minimal Skill (Required)
~/.claude/skills/ # Personal skills location
โโโ my-skill/ # Skill directory (MUST be at top level!)
โโโ SKILL.md # REQUIRED: Main skill file**IMPORTANT**: Skills MUST be directly under `~/.claude/skills/[skill-name]/`. Claude Code does NOT support nested subdirectories or namespaces!
Full-Featured Skill (Recommended)
~/.claude/skills/
โโโ my-skill/ # Top-level skill directory
โโโ SKILL.md # REQUIRED: Main skill file
โโโ README.md # Optional: Human-readable docs
โโโ scripts/ # Optional: Executable scripts
โ โโโ setup.sh
โ โโโ validate.js
โ โโโ deploy.py
โโโ resources/ # Optional: Supporting files
โ โโโ templates/
โ โ โโโ api-template.js
โ โ โโโ component.tsx
โ โโโ examples/
โ โ โโโ sample-output.json
โ โโโ schemas/
โ โโโ config-schema.json
โโโ docs/ # Optional: Additional documentation
โโโ ADVANCED.md
โโโ TROUBLESHOOTING.md
โโโ API_REFERENCE.mdSkills Locations
**Personal Skills** (available across all projects):
~/.claude/skills/
โโโ [your-skills]/
- **Path**: `~/.claude/skills/` or `$HOME/.claude/skills/`
- **Scope**: Available in all projects for this user
- **Version Control**: NOT committed to git (outside repo)
- **Use Case**: Personal productivity tools, custom workflows
**Project Skills** (team-shared, version controlled):
<project-root>/.claude/skills/
โโโ [team-skills]/
- **Path**: `.claude/skills/` in project root
- **Scope**: Available only in this project
- **Version Control**: SHOULD be committed to git
- **Use Case**: Team workflows, project-specific
Read more
name: "Skill Builder" description: "Create new Claude Code Skills with proper YAML frontmatter, progressive disclosure structure, and complete directory organization. Use when you need to build custom skills for specific workflows, generate skill templates, or understand the Claude Skills specification."
Skill Builder
What This Skill Does
Creates production-ready Claude Code Skills with proper YAML frontmatter, progressive disclosure architecture, and complete file/folder structure. This skill guides you through building skills that Claude can autonomously discover and use across all surfaces (Claude.ai, Claude Code, SDK, API).
Prerequisites
- Claude Code 2.0+ or Claude.ai with Skills support
- Basic understanding of Markdown and YAML
- Text editor or IDE
Quick Start
Creating Your First Skill
# 1. Create skill directory (MUST be at top level, NOT in subdirectories!) mkdir -p ~/.claude/skills/my-first-skill # 2. Create SKILL.md with proper format cat > ~/.claude/skills/my-first-skill/SKILL.md << 'EOF' --- name: "My First Skill" description: "Brief description of what this skill does and when Claude should use it. Maximum 1024 characters." --- # My First Skill ## What This Skill Does [Your instructions here] ## Quick Start [Basic usage] EOF # 3. Verify skill is detected # Restart Claude Code or refresh Claude.ai
---
Complete Specification
๐ YAML Frontmatter (REQUIRED)
Every SKILL.md **must** start with YAML frontmatter containing exactly two required fields:
--- name: "Skill Name" # REQUIRED: Max 64 chars description: "What this skill does # REQUIRED: Max 1024 chars and when Claude should use it." # Include BOTH what & when ---
Field Requirements
**`name`** (REQUIRED):
- **Type**: String
- **Max Length**: 64 characters
- **Format**: Human-friendly display name
- **Usage**: Shown in skill lists, UI, and loaded into Claude's system prompt
- **Best Practice**: Use Title Case, be concise and descriptive
- **Examples**:
- โ "API Documentation Generator"
- โ "React Component Builder"
- โ "Database Schema Designer"
- โ "skill-1" (not descriptive)
- โ "This is a very long skill name that exceeds sixty-four characters" (too long)
**`description`** (REQUIRED):
- **Type**: String
- **Max Length**: 1024 characters
- **Format**: Plain text or minimal markdown
- **Content**: MUST include:
1. **What** the skill does (functionality) 2. **When** Claude should invoke it (trigger conditions)
- **Usage**: Loaded into Claude's system prompt for autonomous matching
- **Best Practice**: Front-load key trigger words, be specific about use cases
- **Examples**:
- โ "Generate OpenAPI 3.0 documentation from Express.js routes. Use when creating API docs, documenting endpoints, or building API specifications."
- โ "Create React functional components with TypeScript, hooks, and tests. Use when scaffolding new components or converting class components."
- โ "A comprehensive guide to API documentation" (no "when" clause)
- โ "Documentation tool" (too vague)
YAML Formatting Rules
--- # โ CORRECT: Simple string name: "API Builder" description: "Creates REST APIs with Express and TypeScript." # โ CORRECT: Multi-line description name: "Full-Stack Generator" description: "Generates full-stack applications with React frontend and Node.js backend. Use when starting new projects or scaffolding applications." # โ CORRECT: Special characters quoted name: "JSON:API Builder" description: "Creates JSON:API compliant endpoints: pagination, filtering, relationships." # โ WRONG: Missing quotes with special chars name: API:Builder # YAML parse error! # โ WRONG: Extra fields (ignored but discouraged) name: "My Skill" description: "My description" version: "1.0.0" # NOT part of spec author: "Me" # NOT part of spec tags: ["dev", "api"] # NOT part of spec ---
**Critical**: Only `name` and `description` are used by Claude. Additional fields are ignored.
---
๐ Directory Structure
Minimal Skill (Required)
~/.claude/skills/ # Personal skills location
โโโ my-skill/ # Skill directory (MUST be at top level!)
โโโ SKILL.md # REQUIRED: Main skill file**IMPORTANT**: Skills MUST be directly under `~/.claude/skills/[skill-name]/`. Claude Code does NOT support nested subdirectories or namespaces!
Full-Featured Skill (Recommended)
~/.claude/skills/
โโโ my-skill/ # Top-level skill directory
โโโ SKILL.md # REQUIRED: Main skill file
โโโ README.md # Optional: Human-readable docs
โโโ scripts/ # Optional: Executable scripts
โ โโโ setup.sh
โ โโโ validate.js
โ โโโ deploy.py
โโโ resources/ # Optional: Supporting files
โ โโโ templates/
โ โ โโโ api-template.js
โ โ โโโ component.tsx
โ โโโ examples/
โ โ โโโ sample-output.json
โ โโโ schemas/
โ โโโ config-schema.json
โโโ docs/ # Optional: Additional documentation
โโโ ADVANCED.md
โโโ TROUBLESHOOTING.md
โโโ API_REFERENCE.mdSkills Locations
**Personal Skills** (available across all projects):
~/.claude/skills/ โโโ [your-skills]/
- **Path**: `~/.claude/skills/` or `$HOME/.claude/skills/`
- **Scope**: Available in all projects for this user
- **Version Control**: NOT committed to git (outside repo)
- **Use Case**: Personal productivity tools, custom workflows
**Project Skills** (team-shared, version controlled):
<project-root>/.claude/skills/ โโโ [team-skills]/
- **Path**: `.claude/skills/` in project root
- **Scope**: Available only in this project
- **Version Control**: SHOULD be committed to git
- **Use Case**: Team workflows, project-specific
Production-ready AI agent orchestration with 66 self-learning agents, 213 MCP tools, and autonomous multi-agent swarms.
Repo: ruvnet/agentic-flow
Other skills on agentic-flow.
- /agentdb-advanced
Master advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid search, and distributed systems integration. Use when building distributed AI systems, multi-agent coordination, or advanced vector search applications.
Open skill - /agentdb-learning
Create and train AI learning plugins with AgentDB's 9 reinforcement learning algorithms. Includes Decision Transformer, Q-Learning, SARSA, Actor-Critic, and more. Use when building self-learning agents, implementing RL, or optimizing agent behavior through experience.
Open skill - /agentdb-memory-patterns
Implement persistent memory patterns for AI agents using AgentDB. Includes session memory, long-term storage, pattern learning, and context management. Use when building stateful agents, chat systems, or intelligent assistants.
Open skill - /agentdb-optimization
Optimize AgentDB performance with quantization (4-32x memory reduction), HNSW indexing (150x faster search), caching, and batch operations. Use when optimizing memory usage, improving search speed, or scaling to millions of vectors.
Open skill - /agentdb-vector-search
Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying. Use when building RAG systems, semantic search engines, or intelligent knowledge bases.
Open skill - /agentic-jujutsu
Quantum-resistant, self-learning version control for AI agents with ReasoningBank intelligence and multi-agent coordination
Open skill

