Skillz is a CLI that enables skills across any LLM powered tool in a matter of seconds.
It works by injecting skill instructions in the AGENTS.md (or tool equivalent) instruction file and surfaces all discoverable skills by appending their frontmatter to the bottom of the file.
- Enable skill usage by automatically detecting tool environment and injecting skill usage instructions
- Enable skills to be automatically synced from well known paths (eg.
.claude/skills) as well as the ability to customize additional paths - Various methods to manage and edit skills from the CLI
- Node.js 18 or newer
- npm (or pnpm/yarn) for dependency management
npm install -g skillzcd <your-workspace>
# this automatically detects your environment
skillz init
# your skills are now automatically synced
skillz syncAfter syncing, the CLI maintains a managed section in your target file(s). For example, in AGENTS.md:
## Additional Instructions
You now have access to Skills. Skills are specialized instruction sets...
[comprehensive skill usage instructions]
### Available Skills
- [python-expert](.claude/skills/python-expert/SKILL.md): Expert Python development assistance with best practices
- [react-patterns](.claude/skills/react-patterns/SKILL.md): Modern React patterns and best practicesThe CLI stores project settings in skillz.json. A typical file looks like:
{
"version": "1.0",
"preset": "agentsmd",
"targets": ["AGENTS.md"],
"skillDirectories": [".claude/skills"],
"additionalSkills": [],
"ignore": [],
"defaultEditor": "vim",
"autoSyncAfterEdit": true
}Key fields:
targets: Instruction files that receive the managed section.skillDirectories/additionalSkills: Folders that will be scanned forSKILL.md.ignore: Glob patterns to exclude skills.defaultEditor: Default editor for theeditcommand (defaults to$EDITORorvi).autoSyncAfterEdit: Automatically runsyncafter editing a skill (defaults totrue).
Initialize Skillz in the current directory, detect existing targets, and create skillz.json.
Automatic Environment Detection:
When you run skillz init without flags in an interactive terminal, Skillz automatically detects your development environment and recommends the appropriate configuration:
- Codex/AGENTS.md: Detects
AGENTS.mdfiles and suggests theagentsmdpreset - Cursor: Detects
.cursorrulesor.cursor/rulesdirectory and suggests thecursorpreset (creates.cursor/rules/skills.mdc) - Claude Code: Detects
CLAUDE.mdor.claude/CLAUDE.mdfiles and suggests theclaudepreset - Aider: Detects
.aider/conventions.mdfiles and suggests theaiderpreset
After detection, you can:
- Accept the suggested configuration
- Edit the configuration in your
$EDITORbefore saving - Cancel and configure manually
Options:
--preset <name>: Apply a preset (agentsmd,aider,cursor,claude) for default targets.--target <path>: Supply one or more custom target files.--additional-skills <path>: Add extra skill directories (repeatable).--global-skills: Include the global~/.claude/skills/directory.--template <path>: Use a custom Handlebars template for rendered output.--include-instructions: Embed full skill bodies instead of link lists.--no-sync: Skip the initial synchronization run.
Examples:
# Auto-detect environment and configure interactively
skillz init
# Use specific preset (skips detection)
skillz init --preset cursor
# Multiple environments
skillz init --preset aider --global-skills
# Custom target
skillz init --target .cursor/rules/skills.mdc --template ./templates/company.hbsCreate a new skill with a template SKILL.md file in your configured skill directory.
Interactive Mode (Recommended):
skillz create -iLaunches an interactive prompt that guides you through creating a well-structured skill with:
- Capabilities section
- Guidelines section
- Examples placeholder
- Anti-patterns section (optional)
Quick Mode:
skillz create <name> <description>Creates a minimal skill with just frontmatter. You'll need to manually edit the SKILL.md file to add content.
Options:
-i, --interactive: Launch interactive mode with guided prompts (recommended)--path <directory>: Custom directory path (overrides config)--skill-version <semver>: Skill version in semver format (default:0.0.0)
The command automatically normalizes skill names by converting to lowercase, replacing underscores and spaces with hyphens, and removing special characters. The original name format is preserved in the SKILL.md frontmatter.
Examples:
# Interactive mode - creates well-structured skill
skillz create --interactive
# Quick mode - minimal skill (requires manual editing)
skillz create python-expert "Expert Python development assistance"
skillz create bake_cake "Bake delicious cakes" --skill-version 1.0.0
skillz create custom-skill "Custom location" --path ~/my-skills
# Trigger interactive mode by omitting arguments
skillz createScan configured skill directories and update every target file with the latest skills.
Options:
--dry-run: Show pending updates without touching the filesystem.--force: Ignore change detection and rewrite targets even if nothing changed.--no-backup: Skip automatic backup creation.--verbose: Print detailed scanning and write activity.--only <skill>: Restrict the sync to one or more named skills (repeatable).
Examples:
skillz sync
skillz sync --dry-run
skillz sync --only python-expert --only react-patterns --verboseDisplay available skills in the configured directories.
Options:
--format <table|json|markdown>: Choose the output format (tableis default).--synced-only: Limit the list to skills currently present in targets.--unsynced-only: List skills that have not been synced yet.
Examples:
skillz list
skillz list --format json --unsynced-onlyOpen an existing skill in your preferred editor for editing.
Usage:
skillz edit <skill-name>The command will:
- Find the skill by name (case-insensitive, handles hyphens/underscores interchangeably)
- Open it in your configured editor
- Automatically run
syncafter you close the editor (unlessautoSyncAfterEditis set tofalse)
Editor Selection Priority:
--editorflag (if provided)defaultEditorfromskillz.json$EDITORenvironment variablevi(fallback)
Special Behavior:
- For VS Code and Cursor editors, opens the entire skill folder
- For other editors, opens the
SKILL.mdfile directly
Options:
--editor <name>: Override the default editor for this session
Examples:
# Edit using default editor
skillz edit python-expert
# Edit using specific editor
skillz edit python-expert --editor codeConfiguration:
Set your preferred editor in skillz.json:
{
"defaultEditor": "code",
"autoSyncAfterEdit": true
}Or set the EDITOR environment variable:
export EDITOR=vimnpm run build: Compile TypeScript sources todist/.npm run dev: Run the CLI in watch mode viatsx.npm run test: Run the Jest test suite.npm run lint: Run ESLint.npm run format: Run Prettier.
- Fork the repository and create a branch for your changes.
- Run the unit and integration test suites (
npm run test). - Open a pull request with a clear description of the problem and proposed solution.
Skillz CLI is released under the Apache License. See LICENSE for details.