v2/docs/skills/skills-tutorial.md
Version: 2.0.0 Last Updated: October 19, 2025
21 built-in skills + unlimited custom skills. Discover what each skill does, when to use it, and how to combine skills for complex workflows.
Skills are modular capabilities that Claude Code discovers and uses automatically. Think of them as expert knowledge modules that Claude activates when needed.
How it works:
Two types of skills available:
A skill is simply a directory with a SKILL.md file containing instructions:
---
name: "AgentDB Vector Search"
description: "Implement semantic search with 150x-12,500x performance.
Use for RAG systems, documentation search, similarity matching."
---
# Instructions
[Detailed step-by-step guidance...]
# Examples
[Code examples and use cases...]
# Best Practices
[What works well, what to avoid...]
Key features:
# Install claude-flow for 21 built-in skills
npm install -g claude-flow@alpha
# Add MCP server (makes skills available)
claude mcp add claude-flow npx claude-flow@alpha mcp start
# Verify it's running
claude mcp list
# โ claude-flow@alpha npx claude-flow@alpha mcp start โ Running
# That's it! All 21 skills are now available.
Skills activate automatically when relevant:
You: "I need semantic search for my documentation"
Claude: I'll use the agentdb-vector-search skill to implement this.
[Automatically loads skill instructions and implements solution]
# Install agentic-flow for custom skill creation
npm install -g agentic-flow@latest
# Initialize skill directories
npx agentic-flow skills init
# Create sample skills
npx agentic-flow skills create
# Install skill builder
npx agentic-flow skills init-builder
All 21 skills are automatically available with claude-flow MCP server. No setup required - just use them!
description: "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."
Key capabilities:
When to use:
description: "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."
Key capabilities:
When to use:
description: "Implement adaptive learning with ReasoningBank for pattern recognition,
strategy optimization, and continuous improvement. Use when building self-learning
agents, optimizing workflows, or implementing meta-cognitive systems."
Key capabilities:
When to use:
description: "Comprehensive Flow Nexus platform management - authentication,
sandboxes, app deployment, payments, and challenges."
Key capabilities:
description: "Train and deploy neural networks in distributed E2B sandboxes
with Flow Nexus."
Key capabilities:
description: "Cloud-based AI swarm deployment and event-driven workflow
automation with Flow Nexus platform."
Key capabilities:
When to use GitHub skills:
description: "Comprehensive GitHub code review with AI-powered swarm coordination."
Key capabilities:
description: "Multi-repository coordination, synchronization, and architecture
management with AI swarm orchestration."
Key capabilities:
description: "Comprehensive GitHub project management with swarm-coordinated
issue tracking, project board automation, and sprint planning."
Key capabilities:
description: "Comprehensive GitHub release orchestration with AI swarm coordination
for automated versioning, testing, deployment, and rollback management."
Key capabilities:
description: "Advanced GitHub Actions workflow automation with AI swarm coordination,
intelligent CI/CD pipelines, and comprehensive repository management."
Key capabilities:
description: "Orchestrate multi-agent swarms with agentic-flow for parallel task
execution, dynamic topology, and intelligent coordination. Use when scaling beyond
single agents, implementing complex workflows, or building distributed AI systems."
Key capabilities:
When to use:
description: "Advanced swarm orchestration patterns for research, development,
testing, and complex distributed workflows."
Key capabilities:
description: "Advanced Hive Mind collective intelligence system for queen-led
multi-agent coordination with consensus mechanisms and persistent memory."
Key capabilities:
description: "Stream-JSON chaining for multi-agent pipelines, data transformation,
and sequential workflows."
Key capabilities:
description: "SPARC (Specification, Pseudocode, Architecture, Refinement, Completion)
comprehensive development methodology with multi-agent orchestration."
Key capabilities:
When to use:
description: "AI-assisted pair programming with multiple modes (driver/navigator/switch),
real-time verification, quality monitoring, and comprehensive testing. Supports TDD,
debugging, refactoring, and learning sessions."
Key capabilities:
description: "Comprehensive truth scoring, code quality verification, and automatic
rollback system with 0.95 accuracy threshold for ensuring high-quality agent outputs
and codebase reliability."
Key capabilities:
description: "Automated coordination, formatting, and learning from Claude Code
operations using intelligent hooks with MCP integration. Includes pre/post task
hooks, session management, Git integration, memory coordination, and neural pattern
training for enhanced development workflows."
Key capabilities:
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."
Key capabilities:
description: "Comprehensive performance analysis, bottleneck detection, and
optimization recommendations for Claude Flow swarms."
Key capabilities:
You: "Add semantic search to our documentation site"
Claude (using agentdb-vector-search skill):
โโ Analyzes your documentation structure
โโ Sets up AgentDB vector database
โโ Generates embeddings for all docs
โโ Implements search API endpoint
โโ Creates search UI component
โโ Adds relevance scoring
Result: Working semantic search in minutes
Performance: 150x faster than traditional search
Learning: Pattern stored for 46% faster next time
You: "Review PR #123 for security and performance"
Claude (using github-code-review skill):
โโ Spawns security auditor agent
โโ Spawns performance analyzer agent
โโ Spawns code quality reviewer agent
โโ Coordinates findings via shared memory
โโ Generates unified review report
Result: Comprehensive multi-angle review
Agents: 3 specialized reviewers in parallel
Time: 3.2 seconds for 2,847 files
You: "Build user authentication system"
Claude (using sparc-methodology skill):
โโ Specification: Requirements analysis
โโ Pseudocode: Algorithm design
โโ Architecture: System design
โโ Refinement: TDD implementation
โโ Completion: Integration & testing
Result: Complete auth system with tests
Process: Systematic, test-driven approach
Quality: 90%+ code coverage
Task: "Build REST API with tests and deploy to GitHub"
Skills activated:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 1. sparc-methodology โ
โ Plans development phases โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 2. swarm-orchestration โ
โ Spawns parallel agents: โ
โ โโ backend-dev (API) โ
โ โโ tester (tests) โ
โ โโ reviewer (quality) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 3. agentdb-memory-patterns โ
โ Coordinates agents via shared memory โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 4. github-workflow-automation โ
โ Creates CI/CD pipeline โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 5. verification-quality โ
โ Validates output (0.95 threshold) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 6. reasoningbank-intelligence โ
โ Stores patterns for next time โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Result: Production-ready API + CI/CD
Time: Minutes instead of hours
Learning: 46% faster on next similar project
Task: "Coordinate release across 5 microservices"
Skills activated:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 1. github-multi-repo โ
โ Syncs versions across repos โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 2. github-release-management โ
โ Orchestrates release process โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 3. swarm-orchestration โ
โ Parallel testing across services โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 4. verification-quality โ
โ Validates each service โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Result: Coordinated multi-repo release
Services: 5 microservices in sync
Safety: Rollback on any failure
Task: "Optimize slow React application"
Skills activated:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 1. performance-analysis โ
โ Identifies bottlenecks โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 2. agentdb-vector-search โ
โ Finds similar optimization patterns โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 3. reasoningbank-intelligence โ
โ Applies learned optimizations โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 4. pair-programming โ
โ Guides implementation step-by-step โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Result: 4x performance improvement
Approach: Data-driven + pattern-based
Validation: Before/after metrics
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Claude Code (User) โ
โโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโ
โ โ
โโโโโโโโโโโโโโผโโโโโโโโโโ โโโโโโโโโโผโโโโโโโโโโโ
โ claude-flow Skills โ โ agentic-flow Skillsโ
โ (21 Built-In) โ โ (Custom Created) โ
โโโโโโโโโโโโโโฌโโโโโโโโโโ โโโโโโโโโโฌโโโโโโโโโโโ
โ โ
โ โโโโโโโโโโโโโโโโโโโโ
โ โ
โโโโโโโโโโโโโโผโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ MCP Integration Layer โ
โ โข claude-flow: 213+ coordination tools โ
โ โข ruv-swarm: Enhanced coordination โ
โ โข flow-nexus: Cloud capabilities โ
โ โข agentic-flow: Multi-provider agent runtime โ
โโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Execution & Memory Layer โ
โ โข AgentDB: Vector search + memory โ
โ โข ReasoningBank: Pattern learning โ
โ โข 54 Specialized Agents โ
โ โข SPARC Methodology โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
When Claude Code starts:
Personal Skills (~/.claude/skills/)
Project Skills (.claude/skills/)
Built-In Skills (from claude-flow MCP)
Skill Activation
User Request: "Build a REST API with comprehensive tests and deploy to GitHub"
Claude Code coordinates:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 1. sparc-methodology skill โ
โ โโ> Plans systematic development phases โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 2. swarm-orchestration skill โ
โ โโ> Spawns backend-dev agent (API implementation) โ
โ โโ> Spawns tester agent (test creation) โ
โ โโ> Spawns reviewer agent (code review) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 3. agentdb-memory-patterns skill โ
โ โโ> Coordinates agents via shared memory โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 4. github-workflow-automation skill โ
โ โโ> Creates CI/CD pipeline โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 5. verification-quality skill โ
โ โโ> Validates output quality (0.95 threshold) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 6. reasoningbank-intelligence skill โ
โ โโ> Stores successful patterns for future use โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
MCP Tools Used:
- mcp__claude-flow__swarm_init (topology setup)
- mcp__claude-flow__agent_spawn (create agents)
- mcp__claude-flow__memory_usage (coordination)
- mcp__claude-flow__github_workflow_auto (CI/CD)
Result: Complete REST API with tests, deployed to GitHub,
patterns stored for 46% faster next execution
Unlike prompts that reset every session, Skills maintain context through AgentDB:
// Traditional: Context lost every time
"Please analyze this API design" // Forgets previous analyses
// With Skills: Context accumulates
AgentDB stores: [previous API patterns, success metrics, failure cases]
Skill applies: Learned best practices from 100+ prior analyses
Skills learn and improve through feedback loops:
Build once, use everywhere:
# Personal project
~/.claude/skills/api-design/
# Team repository
.claude/skills/api-design/
# Organization-wide
Shared across all Claude Code instances
Skills orchestrate complex workflows automatically:
Swarm Orchestration Skill:
1. Spawn coder agent (write implementation)
2. Spawn tester agent (write tests)
3. Spawn reviewer agent (code review)
4. Coordinate via shared AgentDB memory
5. Synthesize final output
Every decision leaves an audit trail:
Skills auto-discover and self-organize:
# Create skill directory
npx agentic-flow skills init
# Create example skills
npx agentic-flow skills create
# That's it! Claude Code finds them automatically
# Verify Node.js installation
node --version # v18.0.0 or higher
npm --version # v9.0.0 or higher
# Option 1: Install claude-flow (includes 21 built-in skills + 213+ MCP tools)
npm install -g claude-flow@alpha
npx claude-flow --version # Should show 2.7.0 or higher
# Option 2: Install agentic-flow (for custom skill creation)
npm install -g agentic-flow@latest
npx agentic-flow --version # Should show 1.7.3 or higher
# Recommended: Install both for full capabilities
npm install -g claude-flow@alpha agentic-flow@latest
# Add claude-flow MCP server (required for 21 built-in skills)
claude mcp add claude-flow npx claude-flow@alpha mcp start
# Optional: Add additional MCP servers for enhanced capabilities
claude mcp add ruv-swarm npx ruv-swarm mcp start # Enhanced coordination
claude mcp add flow-nexus npx flow-nexus@latest mcp start # Cloud features
claude mcp add agentic-flow npx agentic-flow@latest mcp start # Multi-provider agents
# Verify MCP servers are running
claude mcp list
# Should show:
# claude-flow@alpha npx claude-flow@alpha mcp start โ Running
# Initialize both personal and project skills
npx agentic-flow skills init
What this does:
~/.claude/skills/ (personal, global).claude/skills/ (project, version-controlled)Output:
๐จ Initializing agentic-flow Skills
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Created personal skills directory: /home/user/.claude/skills
โ Created project skills directory: /workspace/.claude/skills
โ Skills directories initialized!
๐ก Pro Tip: Personal skills are available across ALL projects. Project skills are team-shared via git.
# Create 4 built-in agentic-flow skills
npx agentic-flow skills create
What you get:
โ Created 4 agentic-flow skills!
Skills installed:
โข AgentDB Vector Search - Semantic search with vector embeddings
โข AgentDB Memory Patterns - Memory management & persistence
โข Swarm Orchestration - Multi-agent coordination
โข ReasoningBank Intelligence - Pattern learning & adaptation
File structure:
.claude/skills/
โโโ agentdb-vector-search/
โ โโโ SKILL.md
โโโ agentdb-memory-patterns/
โ โโโ SKILL.md
โโโ swarm-orchestration/
โ โโโ SKILL.md
โโโ reasoningbank-intelligence/
โโโ SKILL.md
# Install the comprehensive skill creation framework
npx agentic-flow skills init-builder
What this provides:
File structure:
.claude/skills/skill-builder/
โโโ SKILL.md # Main skill-builder skill
โโโ README.md # Quick reference guide
โโโ docs/
โ โโโ SPECIFICATION.md # Complete Claude Skills spec
โ โโโ EXAMPLES.md # Real-world examples
โ โโโ BEST_PRACTICES.md # Design patterns
โโโ scripts/
โ โโโ generate-skill.sh # Interactive skill generator
โ โโโ validate-skill.sh # YAML/structure validator
โ โโโ test-skill.sh # Skill testing utility
โ โโโ publish-skill.sh # Team sharing helper
โโโ resources/
โ โโโ templates/ # Pre-built skill templates
โ โ โโโ minimal.md # Basic skill structure
โ โ โโโ full-featured.md # Complete with all sections
โ โ โโโ advanced.md # Multi-agent coordination
โ โโโ schemas/
โ โโโ skill-schema.json # JSON schema for validation
โ โโโ frontmatter.yaml # YAML frontmatter spec
โโโ templates/ # Working example skills
โโโ api-design-pattern.md
โโโ testing-framework.md
โโโ documentation-generator.md
Why use skill-builder?
# See all installed skills
npx agentic-flow skills list
Output:
๐ Installed Claude Code Skills
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Personal Skills (~/.claude/skills/)
โข Skill Builder
Create new Claude Code Skills with proper YAML frontmatter...
Project Skills (.claude/skills/)
โข AgentDB Memory Patterns
Implement persistent memory patterns for AI agents...
โข AgentDB Vector Search
Implement semantic vector search with AgentDB...
โข Swarm Orchestration
Orchestrate multi-agent swarms with agentic-flow...
โข ReasoningBank Intelligence
Implement adaptive learning with ReasoningBank...
When you run npx agentic-flow skills create, you get 4 production-ready skills:
What it does: Semantic search with 150x-12,500x performance improvement
When to use:
Key capabilities:
// Vector embeddings with AgentDB
await db.vectorDB.insert(embedding, {
id: 'doc-123',
content: 'React hooks tutorial',
tags: ['react', 'hooks']
});
// Semantic search (finds similar meaning, not just keywords)
const results = await db.vectorDB.search(queryEmbedding, {
k: 10, // Top 10 results
threshold: 0.7 // 70% similarity minimum
});
Example use cases:
What it does: Persistent memory management across sessions
When to use:
Key capabilities:
// Session memory - persists across conversations
await reasoningbank.storeMemory('user_preference', 'dark mode', {
namespace: 'settings',
sessionId: 'user-123'
});
// Cross-session retrieval
const prefs = await reasoningbank.queryMemories('user preferences', {
namespace: 'settings',
sessionId: 'user-123'
});
// Pattern learning - remember what works
await reasoningbank.storePattern({
pattern: 'api-pagination',
approach: 'cursor-based',
success: true,
confidence: 0.95
});
Example use cases:
What it does: Multi-agent coordination with intelligent task distribution
When to use:
Key capabilities:
// Initialize coordinated swarm
const swarm = await initializeSwarm({
topology: 'mesh', // Agents communicate peer-to-peer
agents: [
{ type: 'coder', focus: 'implementation' },
{ type: 'tester', focus: 'test coverage' },
{ type: 'reviewer', focus: 'code quality' }
],
coordination: 'agentdb' // Shared memory
});
// Agents work in parallel, share context via AgentDB
for (const agent of swarm.agents) {
await agent.execute(); // Parallel execution
await agentDB.store(agent.results); // Share findings
}
// Synthesize collective intelligence
const synthesis = await agentDB.synthesize({
namespace: 'code-review',
strategy: 'consensus'
});
Example use cases:
What it does: Adaptive learning with 46% performance improvement
When to use:
Key capabilities:
// Store successful patterns
await reasoningbank.storePattern({
domain: 'api-design',
pattern: 'authentication',
approach: 'JWT with refresh tokens',
metrics: {
security: 'excellent',
performance: 'optimized',
maintainability: 'high'
},
success: true
});
// Query learned patterns
const bestApproach = await reasoningbank.queryPatterns('authentication', {
domain: 'api-design',
sortBy: 'success_rate'
});
// Continuous improvement - learns from each execution
// First time: generic approach
// After 10 runs: optimized with learned patterns
// After 100 runs: domain expertise
Example use cases:
Claude Code automatically discovers and uses skills when they're relevant to your task. You don't need to explicitly invoke them. Claude decides when to apply which skill based on context.
Scenario: You need to implement semantic search for a documentation site.
Open Claude Code and type:
I need to implement semantic search for our documentation.
The docs are in markdown files and I want users to search by meaning, not keywords.
Claude Code automatically:
.claude/skills/agentdb-vector-search/SKILL.mdClaude responds with:
I'll help you implement semantic search using AgentDB's vector search capabilities.
I found the AgentDB Vector Search skill which provides a 150x-12,500x performance
improvement over traditional search.
Here's my implementation plan:
[Detailed plan based on skill instructions...]
Claude follows the skill's reasoning pattern:
// 1. Initialize AgentDB with vector support
import { AgentDB } from 'agentdb';
const db = new AgentDB({
mode: 'node',
vectorDimensions: 384, // From skill template
enableOptimizations: true
});
// 2. Create vector index (from skill instructions)
await db.vectorDB.createIndex({
dimension: 384,
metric: 'cosine'
});
// 3. Index documents with embeddings
const docs = await loadMarkdownFiles('./docs/**/*.md');
for (const doc of docs) {
const embedding = await generateEmbedding(doc.content);
await db.vectorDB.insert(embedding, {
id: doc.id,
title: doc.title,
content: doc.content,
url: doc.url
});
}
// 4. Implement search function
async function searchDocs(query) {
const queryEmbedding = await generateEmbedding(query);
const results = await db.vectorDB.search(queryEmbedding, {
k: 10,
includeMetadata: true
});
return results;
}
After successful execution:
// AgentDB stores the pattern
await db.storePattern({
skill: 'agentdb-vector-search',
task: 'documentation search',
approach: 'markdown indexing with 384-dim embeddings',
performance: { searchTime: '2ms', accuracy: '95%' },
success: true
});
Next time: Claude remembers this approach and applies it 46% faster.
Scenario: You want to review a large codebase with multiple specialized agents.
I need a comprehensive code review of our TypeScript backend.
Check for bugs, security issues, performance problems, and best practices.
Claude Code:
swarm-orchestration/SKILL.mdI'll coordinate a swarm of specialized review agents:
Spawning agents:
1. Security Auditor - Scanning for vulnerabilities
2. Performance Analyzer - Identifying bottlenecks
3. Code Quality Reviewer - Checking best practices
4. Type Safety Checker - Verifying TypeScript types
Coordination mode: Mesh topology with shared AgentDB memory
// Behind the scenes (from swarm-orchestration skill)
const swarm = await initializeSwarm({
topology: 'mesh',
agents: [
{ type: 'security', focus: 'OWASP Top 10' },
{ type: 'performance', focus: 'Big O analysis' },
{ type: 'quality', focus: 'SOLID principles' },
{ type: 'types', focus: 'TypeScript strictness' }
],
coordination: 'agentdb' // Shared memory via AgentDB
});
// Each agent stores findings in shared memory
for (const agent of swarm.agents) {
await agent.execute();
await agentDB.store(agent.findings, {
namespace: 'code-review',
agentId: agent.id
});
}
// Synthesize final report
const allFindings = await agentDB.query({
namespace: 'code-review',
similarity: 'cluster' // Group related issues
});
Claude presents unified findings:
Code Review Complete (4 agents, 2,847 files analyzed in 3.2 seconds)
๐ด Critical (3):
- SQL injection vulnerability in auth.ts:42
- Unvalidated user input in api/users.ts:156
- Memory leak in websocket handler
๐ก Warnings (12):
- N+1 query pattern in database/posts.ts
- Missing error boundaries in React components
[...]
โ
Best Practices (8 suggestions):
- Consider using dependency injection
- Add JSDoc comments for public APIs
[...]
Performance Analysis:
- Average response time: 45ms โ could be 12ms with caching
- Database queries: 234 โ could be 67 with batching
Scenario: You're building a REST API and want Claude to learn your patterns.
Create a REST API endpoint for user registration.
Claude (first time, generic approach):
// Basic implementation (no prior learning)
app.post('/api/users', async (req, res) => {
const user = await User.create(req.body);
res.json(user);
});
Result: Works but missing validation, error handling, security.
This needs better error handling, validation, and security.
Claude improves and stores the pattern:
// Improved implementation
app.post('/api/users', [
validateRequest(userSchema), // Added validation
sanitizeInput(), // Added sanitization
async (req, res, next) => {
try {
const user = await User.create(req.body);
res.status(201).json({
success: true,
data: user
});
} catch (error) {
next(error); // Proper error handling
}
}
]);
// AgentDB stores this pattern via ReasoningBank skill
await reasoningbank.storePattern({
domain: 'rest-api',
pattern: 'user-registration',
approach: 'validation + sanitization + try-catch',
confidence: 0.95
});
Create a REST API endpoint for password reset.
Claude (with learned patterns):
// Automatically applies learned patterns!
app.post('/api/auth/reset-password', [
validateRequest(passwordResetSchema), // โ
Remembered validation
sanitizeInput(), // โ
Remembered sanitization
rateLimiter({ max: 5, window: '15m' }), // โ
Added security best practice
async (req, res, next) => {
try {
const token = await generateResetToken(req.body.email);
await sendResetEmail(req.body.email, token);
res.status(200).json({
success: true,
message: 'Reset email sent'
});
} catch (error) {
next(error); // โ
Proper error handling
}
}
]);
Result: 46% faster implementation, 90%+ best practices compliance, zero manual reminders.
The Claude Agent SDK (released October 2025) enables programmatic agent development with Skills support. agentic-flow extends the SDK with multi-agent coordination, persistent memory, and vector search.
Official SDK usage with Skills:
import { Agent } from '@anthropic-ai/claude-agent-sdk';
// Create agent (auto-discovers skills in ~/.claude/skills/)
const agent = new Agent({
apiKey: process.env.ANTHROPIC_API_KEY,
model: 'claude-sonnet-4-5-20250929',
skillsDir: './.claude/skills' // Project-specific skills
});
// Agent automatically uses relevant skills
const result = await agent.run({
task: 'Implement semantic search for our documentation'
});
// Skills are loaded automatically based on task description matching
agentic-flow adds enterprise capabilities:
import * as agenticFlow from 'agentic-flow';
import { AgentDB } from 'agentdb';
// Initialize with AgentDB memory backend
const db = new AgentDB({
mode: 'node',
vectorDimensions: 384,
enableOptimizations: true
});
// Initialize ReasoningBank with AgentDB
await agenticFlow.reasoningbank.initialize({
backend: 'agentdb',
db
});
// Run agent with persistent learning
const agent = await agenticFlow.createAgent({
type: 'coder',
model: 'claude-sonnet-4-5-20250929',
skillsDir: './.claude/skills',
memory: db, // Persistent memory across sessions
learning: true // Enable ReasoningBank pattern learning
});
// Execute task - skills auto-discovered + patterns learned
const result = await agent.execute({
task: 'Implement semantic search for our documentation'
});
// Pattern automatically stored in AgentDB for future use
// Next time: 46% faster with learned patterns
agentic-flow swarm orchestration:
import * as agenticFlow from 'agentic-flow';
// Initialize swarm with shared AgentDB memory
const swarm = await agenticFlow.swarm.initialize({
topology: 'mesh', // Agents communicate peer-to-peer
agents: [
{
type: 'researcher',
skillsDir: './.claude/skills', // All agents share skills
memory: 'shared' // Shared AgentDB instance
},
{
type: 'coder',
skillsDir: './.claude/skills',
memory: 'shared'
},
{
type: 'tester',
skillsDir: './.claude/skills',
memory: 'shared'
}
],
coordination: {
backend: 'agentdb', // Coordinate via vector memory
consensus: 'majority' // Decision-making strategy
}
});
// Orchestrate task across multiple agents
// Each agent uses relevant skills + shares learnings via AgentDB
const result = await swarm.orchestrate({
task: 'Build a REST API with comprehensive tests'
});
// All agents contribute patterns to shared memory
// Future executions benefit from collective intelligence
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ User Application โ
โโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโผโโโโโโโโโโโโโ
โ Claude Agent SDK โ โ Official Anthropic SDK
โ - Agent creation โ
โ - Skill discovery โ
โ - Task execution โ
โโโโโโโโโโโโโโฌโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโผโโโโโโโโโโโโโ
โ agentic-flow Layer โ โ Enterprise features
โ - Multi-agent swarms โ
โ - AgentDB integration โ
โ - ReasoningBank โ
โ - Skill-builder โ
โโโโโโโโโโโโโโฌโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโ
โ โ โ
โโโโโโผโโโโโโ โโโโโโโผโโโโโโโ โโโโโโผโโโโโโโ
โ Skills โ โ AgentDB โ โ Reasoning โ
โ (.claude)โ โ (Memory) โ โ Bank โ
โโโโโโโโโโโโ โโโโโโโโโโโโโโ โโโโโโโโโโโโโ
While Claude Code uses skills automatically, you can also invoke them programmatically via the agentic-flow agent system.
# Run an agent with specific skill context
npx agentic-flow \
--agent coder \
--task "Implement semantic search" \
--skill agentdb-vector-search
What happens:
# Scenario: Build a complete app with coordinated agents
npx agentic-flow \
--agent swarm \
--task "Build a todo app with React + Node + PostgreSQL" \
--skill swarm-orchestration
Behind the scenes:
// swarm-orchestration skill coordinates multiple agents
const swarm = {
agents: [
{ type: 'backend-dev', task: 'Build Node/Express API', skill: 'api-patterns' },
{ type: 'frontend-dev', task: 'Build React UI', skill: 'react-patterns' },
{ type: 'database-architect', task: 'Design PostgreSQL schema', skill: 'db-design' },
{ type: 'tester', task: 'Write Jest tests', skill: 'testing-patterns' },
{ type: 'reviewer', task: 'Code review', skill: 'quality-checks' }
],
coordination: {
memory: 'agentdb', // Shared context
topology: 'hierarchical', // Backend โ Frontend โ Tests
feedback: 'continuous' // Real-time learning
}
};
// Execute with skill-guided reasoning
for (const agent of swarm.agents) {
const skillContext = await loadSkill(agent.skill);
const result = await agent.execute({
task: agent.task,
context: skillContext,
sharedMemory: agentDB
});
// Store patterns for future use
await reasoningbank.learn(result);
}
Output: Complete app in minutes with learned best practices applied.
Create a skill when you have a repeatable reasoning pattern that:
The skill-builder framework provides 3 ways to create skills:
Step 1: Ask Claude Code to use skill-builder
Use the skill-builder to create a custom skill for GraphQL API design.
I want it to cover schema design, resolvers, and performance optimization.
Step 2: Claude discovers and uses skill-builder skill
Claude (automatically loads skill-builder skill):
I'll help you create a GraphQL API Design skill using the skill-builder framework.
Following the skill-builder template...
โ Analyzing requirements
โ Selecting template: full-featured (comprehensive with examples)
โ Generating YAML frontmatter
โ Creating progressive disclosure structure
โ Adding code examples
โ Validating skill structure
Creating: .claude/skills/graphql-api-design/SKILL.md
Step 3: Claude generates a complete skill
---
name: "GraphQL API Design"
description: "Design GraphQL APIs following best practices for schema design,
resolvers, and performance. Use when building or refactoring GraphQL services."
---
# GraphQL API Design
## What This Skill Does
Guides the design of GraphQL APIs with focus on schema-first development,
efficient resolvers, and query optimization.
## When to Use
- Designing new GraphQL schemas
- Refactoring existing APIs
- Optimizing query performance
- Implementing federation
## Prerequisites
- Node.js 18+
- GraphQL 16+
- Apollo Server or similar
## Quick Start
### 1. Schema Design
\`\`\`graphql
# Design schema with clear types
type User {
id: ID!
email: String!
posts: [Post!]!
}
type Post {
id: ID!
title: String!
content: String!
author: User!
}
\`\`\`
### 2. Resolver Pattern
\`\`\`javascript
const resolvers = {
Query: {
user: async (_, { id }, { dataSources }) => {
return dataSources.userAPI.getUser(id);
}
},
User: {
posts: async (user, _, { dataSources }) => {
return dataSources.postAPI.getPostsByUserId(user.id);
}
}
};
\`\`\`
### 3. Performance Optimization
- Use DataLoader for N+1 query prevention
- Implement query complexity analysis
- Add caching layers
- Monitor resolver timing
## Advanced Patterns
[Detailed federation, subscriptions, etc...]
## Learn More
- Schema design principles
- Resolver best practices
- Performance optimization strategies
# Verify it's available
npx agentic-flow skills list
# Output includes:
# โข GraphQL API Design
# Design GraphQL APIs following best practices...
mkdir -p .claude/skills/my-custom-skill
cat > .claude/skills/my-custom-skill/SKILL.md << 'EOF'
---
name: "My Custom Skill"
description: "Brief description of what this skill does and when to use it.
Maximum 1024 characters."
---
# My Custom Skill
## What This Skill Does
Explain the skill's purpose clearly.
## When to Use
- Use case 1
- Use case 2
## Prerequisites
- Requirement 1
- Requirement 2
## Quick Start
Step-by-step instructions...
EOF
# Use skill-builder to validate
npx agentic-flow skills validate .claude/skills/my-custom-skill/SKILL.md
Output:
โ YAML frontmatter valid
โ Name field present (64 char max)
โ Description field present (1024 char max)
โ Markdown structure valid
โ Skill ready to use
Scenario: Your team builds microservices with Node.js and wants standardized patterns.
Ask Claude Code:
Use skill-builder to create a skill for microservice architecture design.
Include service boundaries, communication patterns, and observability.
Base it on our Node.js + Docker + Kubernetes stack.
Claude (using skill-builder):
Creating "Microservice Architecture Design" skill...
โ Analyzing domain: microservices, Node.js, K8s
โ Loading template: advanced (multi-agent coordination)
โ Generating sections:
- Service boundary patterns
- Communication strategies (sync/async)
- Observability stack (logs, metrics, traces)
- Deployment patterns
- Testing strategies
โ Adding tech-specific examples (Node.js, Docker, K8s)
โ Validating against Claude Skills specification
Created: .claude/skills/microservice-architecture-design/SKILL.md
Use skill-builder to create a microservice testing skill.
Cover unit, integration, contract, and E2E testing.
Claude generates:
.claude/skills/microservice-testing-patterns/SKILL.md
Design and implement a payment microservice with complete test coverage.
Claude Code:
microservice-architecture-design skillmicroservice-testing-patterns skillResult: Consistent microservice architecture across your entire team.
Scenario: Build a skill that gets smarter with each use.
Use skill-builder to create a React performance optimization skill.
Make it learn from each optimization and improve recommendations.
Claude generates skill with ReasoningBank integration:
---
name: "React Performance Optimization"
description: "Adaptive React optimization with learning from past improvements.
Uses ReasoningBank to remember successful patterns."
---
# React Performance Optimization
## Quick Start
### 1. Profile Current Performance
\`\`\`javascript
// ReasoningBank checks: Have we optimized similar components?
const priorOptimizations = await reasoningbank.queryPatterns('react-perf', {
componentType: 'data-table',
sortBy: 'impact'
});
// Apply learned patterns automatically
if (priorOptimizations.length > 0) {
console.log('Applying learned patterns:', priorOptimizations[0].approach);
}
\`\`\`
### 2. Apply Optimizations
[Skill guides through optimizations...]
### 3. Store Results
\`\`\`javascript
// After optimization, record results
await reasoningbank.storePattern({
domain: 'react-perf',
componentType: 'data-table',
approach: 'virtualization + memoization',
metrics: {
beforeFPS: 15,
afterFPS: 60,
improvement: '4x'
},
success: true
});
\`\`\`
First use:
Optimize this React data table component.
Claude applies generic best practices (no prior learning).
After 5 uses: Claude now knows:
After 20 uses: Claude has domain expertise:
Skills can reference and coordinate with each other:
---
name: "Full-Stack E-Commerce Platform"
description: "Build complete e-commerce platform coordinating multiple skills."
---
# Full-Stack E-Commerce Platform
## Skill Dependencies
This meta-skill orchestrates:
1. `microservice-architecture-design` - Backend services
2. `react-performance-optimization` - Frontend performance
3. `agentdb-vector-search` - Product search
4. `swarm-orchestration` - Multi-agent coordination
5. `reasoningbank-intelligence` - Pattern learning
## Execution Flow
1. **Architecture Phase** (microservice-architecture-design)
- Design service boundaries
- Define communication patterns
- Plan data consistency strategy
2. **Implementation Phase** (swarm-orchestration)
- Spawn: Backend team (payment, catalog, user services)
- Spawn: Frontend team (React components)
- Spawn: Testing team (contract + E2E tests)
- Coordinate via AgentDB shared memory
3. **Optimization Phase** (react-performance-optimization, agentdb-vector-search)
- Optimize product catalog rendering
- Implement semantic product search
- Add intelligent recommendations
4. **Learning Phase** (reasoningbank-intelligence)
- Store successful patterns
- Record performance metrics
- Prepare for next e-commerce project
Using this meta-skill:
Build an e-commerce platform for selling digital products.
Claude Code orchestrates all 5 skills automatically!
Skills improve through usage:
// After each execution, store metrics
await reasoningbank.recordExecution({
skill: 'graphql-api-design',
task: 'user-service-schema',
approach: 'federation with dataloaders',
metrics: {
executionTime: '2.3s',
queryComplexity: 'optimized',
resolverEfficiency: '98%'
},
success: true,
feedback: 'Excellent performance, will use this pattern again'
});
// Next time: Skill adapts based on learned patterns
# 1. Create team-specific skills in project directory
cd /your-project
npx agentic-flow skills init # Creates .claude/skills/
# 2. Generate team skills with skill-builder
# Ask Claude Code:
"Use skill-builder to create our team's API design standards skill.
Include our preferred patterns: REST with OpenAPI, JWT auth,
cursor pagination, and error handling standards."
# 3. Commit to version control
git add .claude/skills/
git commit -m "feat: Add team API design standards skill"
git push origin main
# 4. Team members pull and use automatically
git pull
# Claude Code discovers team skills on next run
Scenario: You love the AgentDB vector search skill but use Python, not JavaScript.
# 1. Copy the sample skill
cp -r .claude/skills/agentdb-vector-search \
.claude/skills/agentdb-python-search
# 2. Edit and customize
code .claude/skills/agentdb-python-search/SKILL.md
Update code examples to Python:
---
name: "AgentDB Vector Search (Python)"
description: "Semantic vector search with AgentDB for Python projects.
150x-12,500x performance improvement. Use for RAG systems and semantic search."
---
# AgentDB Vector Search (Python)
## Quick Start
### 1. Installation
\`\`\`bash
pip install agentdb
\`\`\`
### 2. Initialize
\`\`\`python
from agentdb import AgentDB
db = AgentDB(
mode='python',
vector_dimensions=384,
enable_optimizations=True
)
\`\`\`
### 3. Index Documents
\`\`\`python
# Generate embeddings
from sentence_transformers import SentenceTransformer
model = SentenceTransformer('all-MiniLM-L6-v2')
docs = load_documents('./docs/**/*.md')
for doc in docs:
embedding = model.encode(doc.content)
db.vector_db.insert(
embedding=embedding,
metadata={
'id': doc.id,
'title': doc.title,
'content': doc.content
}
)
\`\`\`
### 4. Semantic Search
\`\`\`python
query = "How do I implement authentication?"
query_embedding = model.encode(query)
results = db.vector_db.search(
query_embedding,
k=10,
threshold=0.7
)
for result in results:
print(f"{result.score:.2f} - {result.metadata['title']}")
\`\`\`
Now Claude Code applies Python patterns automatically:
Implement semantic search for our Python documentation.
Claude discovers your customized Python skill and generates Python code!
For enterprises with multiple teams:
# 1. Create organization skill repository
git clone https://github.com/your-org/claude-skills.git ~/.claude/skills-org
# 2. Symlink org skills to personal directory
ln -s ~/.claude/skills-org/* ~/.claude/skills/
# 3. Keep skills updated
cd ~/.claude/skills-org
git pull
# Now all org skills available in all projects!
Organization skill structure:
~/.claude/skills-org/
โโโ security/
โ โโโ owasp-top-10/SKILL.md
โ โโโ security-review/SKILL.md
โโโ api-design/
โ โโโ rest-standards/SKILL.md
โ โโโ graphql-patterns/SKILL.md
โโโ testing/
โ โโโ unit-testing/SKILL.md
โ โโโ e2e-testing/SKILL.md
โโโ deployment/
โโโ kubernetes-deploy/SKILL.md
โโโ ci-cd-pipeline/SKILL.md
Benefits:
For skill creators who want to share with the community:
# 1. Create skill package
mkdir agentic-flow-skills-web3
cd agentic-flow-skills-web3
# 2. Package structure
cat > package.json << 'EOF'
{
"name": "agentic-flow-skills-web3",
"version": "1.0.0",
"description": "Claude Code skills for Web3 development",
"keywords": ["agentic-flow", "claude-code", "skills", "web3"],
"files": ["skills/"],
"scripts": {
"postinstall": "mkdir -p ~/.claude/skills && cp -r skills/* ~/.claude/skills/"
}
}
EOF
# 3. Add your skills
mkdir -p skills/
cp -r .claude/skills/solidity-patterns skills/
cp -r .claude/skills/smart-contract-security skills/
# 4. Publish
npm publish
# 5. Users install with:
npm install -g agentic-flow-skills-web3
# Skills automatically copied to ~/.claude/skills/
Skill-builder includes 3 production templates:
Best for: Simple, focused skills with single responsibility
---
name: "Code Formatter"
description: "Format code with Prettier/ESLint standards."
---
# Code Formatter
## What This Skill Does
Applies consistent code formatting.
## When to Use
- Before committing code
- Enforcing team standards
## Quick Start
[Basic formatting commands...]
## Examples
[2-3 code examples]
## Learn More
[Links to docs]
Best for: Comprehensive skills with multiple use cases
---
name: "API Design Patterns"
description: "Design REST/GraphQL APIs following industry best practices."
---
# API Design Patterns
## What This Skill Does
[Detailed description]
## When to Use
[5+ use cases]
## Prerequisites
[Requirements]
## Quick Start
[Getting started]
## Step-by-Step Guide
[Detailed walkthrough]
## Advanced Patterns
[Complex scenarios]
## Best Practices
[Industry standards]
## Common Pitfalls
[What to avoid]
## Troubleshooting
[Solutions to common issues]
## Examples
[10+ real-world examples]
## Reference
[Complete API docs]
## Learn More
[External resources]
Best for: Multi-agent coordination and complex workflows
---
name: "Full-Stack Application Builder"
description: "Coordinate multiple agents to build complete applications."
---
# Full-Stack Application Builder
## What This Skill Does
[Orchestration overview]
## Skill Dependencies
- backend-api-design
- frontend-react-patterns
- database-optimization
- testing-frameworks
- deployment-automation
## Multi-Agent Coordination
[How agents collaborate]
## Prerequisites
[Tech stack requirements]
## Architecture Overview
[System design patterns]
## Phase 1: Planning
[Requirements analysis]
## Phase 2: Backend Development
[API implementation with coordination]
## Phase 3: Frontend Development
[UI implementation with coordination]
## Phase 4: Integration
[Connecting frontend + backend]
## Phase 5: Testing
[Comprehensive test strategy]
## Phase 6: Deployment
[CI/CD pipeline]
## Agent Communication Patterns
[How agents share context via AgentDB]
## Learning & Optimization
[ReasoningBank integration]
## Monitoring & Observability
[Performance tracking]
## Troubleshooting
[Debug multi-agent issues]
## Examples
[Complete application examples]
Built-in validation checks:
bash .claude/skills/skill-builder/scripts/validate-skill.sh my-skill/SKILL.md
Checks performed:
โ YAML Frontmatter
โ Markdown Structure
โ Progressive Disclosure
โ Code Examples
โ Security
Example validation output:
๐ Validating: microservice-patterns/SKILL.md
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ YAML frontmatter: Valid
- name: "Microservice Patterns" (21 chars)
- description: 487 chars (max 1024)
โ Markdown structure: Valid
- 12 sections
- Proper heading hierarchy
- 18 code blocks
โ Progressive disclosure: Excellent
- Quick Start: 5 min read
- Step-by-Step: 15 min
- Advanced: 30+ min
โ Code examples: 18 found
- All have syntax highlighting
- All runnable
โ Security: No issues
โ
Skill ready for use!
Next steps:
1. Test with Claude Code
2. Share with team (git commit)
3. Publish to npm (optional)
bash .claude/skills/skill-builder/scripts/generate-skill.sh
Features:
Example session:
๐จ agentic-flow Skill Generator
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Let's create a new skill!
Skill name: Database Query Optimization
Description: Optimize SQL queries with indexing, query
planning, and performance analysis.
Category:
1. api-design
2. testing
3. database โ Selected
4. documentation
5. custom
Template:
1. minimal (Quick reference)
2. full-featured โ Selected (Comprehensive guide)
3. advanced (Multi-agent coordination)
Include sections:
[โ] Quick Start
[โ] Prerequisites
[โ] Step-by-Step Guide
[โ] Examples (how many? 10)
[โ] Best Practices
[โ] Troubleshooting
[ ] Advanced Patterns (optional)
Generate code examples?
Technology: PostgreSQL
Examples: [indexes, query plans, EXPLAIN ANALYZE]
โ Generating skill...
โ Adding 10 examples...
โ Validating...
โ Success!
Created: .claude/skills/database-query-optimization/SKILL.md
Test it:
"Optimize this slow database query: SELECT * FROM users..."
Create multiple skills at once:
bash .claude/skills/skill-builder/scripts/batch-generate.sh skills.yaml
skills.yaml:
skills:
- name: "API Authentication"
description: "JWT, OAuth2, and session-based auth patterns"
template: full-featured
category: api-design
- name: "React Component Library"
description: "Build reusable React components"
template: full-featured
category: frontend
- name: "Docker Compose Workflows"
description: "Multi-container development environments"
template: minimal
category: devops
Output:
๐จ Batch Skill Generator
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Processing 3 skills...
โ [1/3] API Authentication
โ [2/3] React Component Library
โ [3/3] Docker Compose Workflows
All skills created successfully!
Skills available:
โข api-authentication
โข react-component-library
โข docker-compose-workflows
Test them with Claude Code!
Test script validates skill functionality:
bash .claude/skills/skill-builder/scripts/test-skill.sh \
database-query-optimization/SKILL.md
Test scenarios:
Example output:
๐งช Testing Skill: database-query-optimization
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Test 1: Discovery
Query: "List installed skills"
โ Skill appears in list
Test 2: Activation
Query: "Optimize this slow query"
โ Skill automatically activated
Test 3: Execution
Query: "Add index to speed up user lookups"
โ Provided correct guidance
โ Generated runnable SQL
โ Explained trade-offs
Test 4: Learning
โ Pattern stored in AgentDB
โ Confidence score: 0.92
Test 5: Repeated Use
Query: "Optimize another user query"
โ Applied learned patterns
โ 38% faster than first execution
โ
All tests passed!
Skill performance:
- Activation rate: 95%
- Correctness: 100%
- Learning improvement: 38%
โ
Good: "GraphQL API Design"
โ Bad: "gql" or "api_design_123"
โ
Good: "React Component Patterns"
โ Bad: "ReactStuff"
โ
Good:
description: "Design GraphQL APIs with schema-first development,
efficient resolvers, and federation. Use when building or
refactoring GraphQL services."
โ Bad:
description: "GraphQL stuff"
โ
Good Structure:
## Quick Start (5 minutes)
Basic usage
## Step-by-Step Guide (15 minutes)
Detailed walkthrough
## Advanced Patterns (30+ minutes)
Complex scenarios
## Reference
Complete API docs
โ
Good:
await reasoningbank.storePattern({
skill: 'api-design',
pattern: 'pagination',
approach: 'cursor-based',
performance: 'excellent'
});
โ Bad:
// No learning loop, patterns forgotten
โ
Good:
# Reference other skills
See also: `agentdb-vector-search`, `swarm-orchestration`
โ Bad:
# Duplicate instructions from other skills
Problem: Claude Code doesn't find your skill.
Solutions:
# 1. Verify skill location (MUST be top level!)
ls ~/.claude/skills/ # Personal
ls .claude/skills/ # Project
# Should see: my-skill/SKILL.md
# NOT: subdirectory/my-skill/SKILL.md
# 2. Validate YAML frontmatter
npx agentic-flow skills validate .claude/skills/my-skill/SKILL.md
# 3. Restart Claude Code
# Skills are loaded at startup
# 4. Check file permissions
chmod 644 .claude/skills/my-skill/SKILL.md
Problem: Skill loads but doesn't work as expected.
Solutions:
# 1. Check skill description matches use case
npx agentic-flow skills list
# 2. Add debugging context
await reasoningbank.debug({
skill: 'my-skill',
context: 'What am I trying to do?',
expected: 'What should happen?',
actual: 'What actually happened?'
});
# 3. Review skill instructions
cat .claude/skills/my-skill/SKILL.md
Problem: Multiple skills activate for same task.
Solution:
# Make descriptions more specific
โ description: "Build APIs"
โ
description: "Build REST APIs with Express and TypeScript.
Use for traditional RESTful services, not GraphQL."
โ 21 Built-In Skills from claude-flow (AI, GitHub, Swarm, SPARC, Performance) โ Custom Skill Creation with agentic-flow's skill-builder โ 213+ MCP Tools for coordination, memory, and automation โ 54 Specialized Agents for all development scenarios โ Dual-System Integration combining pre-built + custom capabilities โ AgentDB + ReasoningBank for persistent learning (46% faster over time) โ Skills compose and coordinate for complex multi-agent workflows
# Install and setup MCP server
npm install -g claude-flow@alpha
claude mcp add claude-flow npx claude-flow@alpha mcp start
# Verify 21 skills are available
claude mcp list
# Skills auto-discovered by Claude Code - no additional setup!
# Initialize skill directories
npx agentic-flow skills init
# Create 4 sample skills
npx agentic-flow skills create
# List all skills (built-in + custom)
npx agentic-flow skills list
# Install skill builder framework
npx agentic-flow skills init-builder
# Validate custom skill
npx agentic-flow skills validate <path>
# Install both systems
npm install -g claude-flow@alpha agentic-flow@latest
# Setup MCP servers
claude mcp add claude-flow npx claude-flow@alpha mcp start
# Create custom skills
npx agentic-flow skills init
npx agentic-flow skills create
# Now you have:
# โ
21 built-in claude-flow skills
# โ
4 sample agentic-flow skills
# โ
213+ MCP coordination tools
# โ
54 specialized agents
# โ
Custom skill creation framework
| Category | claude-flow Built-In | agentic-flow Custom | Total |
|---|---|---|---|
| AI & Memory | 3 | 2 | 5 |
| GitHub Integration | 5 | 0 | 5 |
| Swarm Orchestration | 4 | 1 | 5 |
| Development & Quality | 3 | 0 | 3 |
| Flow Nexus Platform | 3 | 0 | 3 |
| Total | 21 | 4 | 25 |
Plus unlimited custom skills you create!
Simple Task (1 skill):
User: "Implement semantic search"
โ agentdb-vector-search skill (built-in)
โ Done in minutes
Complex Task (multiple skills):
User: "Build REST API with tests and deploy"
โ sparc-methodology (planning)
โ swarm-orchestration (parallel dev)
โ agentdb-memory-patterns (coordination)
โ github-workflow-automation (CI/CD)
โ verification-quality (validation)
โ reasoningbank-intelligence (learning)
โ Complete production-ready system
Custom Domain (built-in + custom):
1. Use claude-flow built-in: swarm-orchestration
2. Create custom: your-company-api-standards (agentic-flow)
3. Combine: Company-specific development with best practices
4. Learn: Patterns stored for 46% faster next time
Version: claude-flow v2.0 + agentic-flow v1.7.3 Philosophy: Pre-built excellence + custom specialization Architecture: 21 built-in skills + unlimited custom + 213+ MCP tools Result: Enterprise-grade adaptive intelligence that learns how to think
๐ Start building adaptive AI systems today:
# Full installation (recommended)
npm install -g claude-flow@alpha agentic-flow@latest
# Setup MCP server for built-in skills
claude mcp add claude-flow npx claude-flow@alpha mcp start
# Create custom skills
npx agentic-flow skills init
npx agentic-flow skills create
npx agentic-flow skills init-builder
# You now have access to:
# โ
21 claude-flow built-in skills
# โ
4 agentic-flow sample skills
# โ
213+ MCP coordination tools
# โ
54 specialized agents
# โ
Custom skill creation framework
# โ
AgentDB vector memory
# โ
ReasoningBank pattern learning
# โ
SPARC methodology
# โ
Complete GitHub integration
# Ready to build production AI systems! ๐ฏ