Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Introduction

skillc is the development kit for Agent Skills — the open format for extending AI agent capabilities with specialized knowledge and workflows.

At a Glance

                        SKILL.md (source)
                              │
              ┌───────────────┴───────────────┐
              │                               │
              ▼                               ▼
   ┌─────────────────────┐         ┌─────────────────────┐
   │  skillc (optional)  │         │      git push       │
   │                     │         │         ↓           │
   │  lint · build       │         │  npx skills add     │
   │  stats · search     │         │         ↓           │
   │         ↓           │         │  Claude · Cursor    │
   │  local testing      │         │  Codex · Copilot    │
   └─────────────────────┘         └─────────────────────┘

skillc helps authors validate and test skills locally. Consumers just run npx skills add — no compilation needed.

Who is this for?

AudienceWhat skillc provides
Skill authorsCreate, validate, and test skills before publishing
Power usersTrack how agents use skills locally

Core Commands

CommandWhat it does
initCreate a new skill or project structure
lintValidate structure, frontmatter, and links
buildCompile for local testing and deploy to agents
listShow all managed skills
outlineList sections across all files
showRetrieve specific section content
openRead a file
searchFull-text search with FTS5
sourcesTree view of source files
statsUsage analytics
syncMerge local logs to global store
mcpStart MCP server for agent integration

Common Options

CommandOptionDescription
outline--level <n>Filter to headings ≤ level n (1-6)
show--max-linesTruncate output to first n lines
open--max-linesTruncate output to first n lines
stats--group-byAggregate by: sections, files, commands, projects, errors, search

Two Interfaces

InterfaceForExample
CLI (skc)Humans, scripts, CIskc lint my-skill
MCPAI agents directlyskc_lint tool

Both expose the same functionality. MCP provides structured output for agent integration.

Key Concepts

Source vs. Compiled

SourceCompiled
WhatYour SKILL.md with full contentStub directing agents to gateway commands
ForPublishing to GitHubLocal development/testing
Publish?YesNo

Always push source, never compiled output.

Skill Resolution

When you run skc <command> my-skill, skillc searches:

  1. Project: .skillc/skills/my-skill/ (from current directory upward)
  2. Global: ~/.skillc/skills/my-skill/

Project-local skills take precedence.

Project Detection

skillc walks upward from your current directory looking for .skillc/:

~/projects/myapp/src/          ← you are here
~/projects/myapp/.skillc/      ← project root found

Run commands from anywhere within a project.

Workflow Guides

Supported Agents

skillc deploys to these agent directories:

TargetDirectory
claude~/.claude/skills/
codex~/.codex/skills/
copilot~/.github/skills/
cursor~/.cursor/skills/
gemini~/.gemini/skills/
kiro~/.kiro/skills/
opencode~/.opencode/skills/
trae~/.trae/skills/

Use skc build my-skill --target cursor to deploy to a specific agent.