smart-skills-0.1.2 is not a library.
Smart Skills
Agent skill management tool - manage and sync AI agent instructions for opencode, nvim, Cursor, and Claude Code.
Features
- Config-Based Skills: Configure skill sources in JSON config
- Per-Project Skills: Add custom skills in configured directories
- Global Skills: Support for
~/.config/smart-skills/skills/ - Skill Validation: Validate skill structure and content
- Multi-Platform: Installs skills for opencode, nvim, Cursor, and Claude Code
Installation
Via Cargo (recommended)
Via Homebrew
Via Install Script
|
From Source
Usage
Initialize a project
This creates:
.smart-skills/config.json- Project config with skill sources.agents/skills/- Skills for opencode/nvim.cursor/rules/- Skills for Cursor.claude/rules/- Skills for Claude Code
Global Skills
By default, init uses skills from:
~/.config/smart-skills/skills/(all platforms)
Add skills
Remove skills
List skills
Sync skills
Check status (with validation)
Config management
Clear all skills
Configuration
Project Config (.smart-skills/config.json)
Skill Sources
- path: Path to skill directory (relative or absolute)
- priority: Higher priority sources are checked first (10 = highest)
Global Config
You can also set up global skills at ~/.config/smart-skills/config.json
Skill Structure
Skills should be in directories with SKILL.md files:
skills/
├── planning/
│ └── SKILL.md
├── code-review/
│ └── SKILL.md
└── ...
Validating Skills
Run smart-skills status to validate:
- Empty skill files
- Missing content
- Proper formatting (## headers or bullet points)
Priority Order
Skills are loaded in this order:
- Project config skill sources (by priority)
- Global skills (
~/.config/smart-skills/skills/)
Adding Custom Skills
-
Create a skill directory:
-
Add a
SKILL.mdfile:* * -
Initialize or sync:
# or
Structure
smart-skills/
├── Cargo.toml
├── src/
│ ├── main.rs
│ ├── cli/
│ │ ├── commands.rs
│ │ ├── picker.rs
│ │ └── mod.rs
│ ├── skills/
│ │ ├── mod.rs
│ │ ├── loader.rs
│ │ └── installer.rs
│ └── config/
│ └── mod.rs
└── README.md