smart-skills-0.1.4 is not a library.
smart-skills
CLI tool to manage AI agent skills for opencode, Cursor, and Claude Code.
Built for my own use. Open for contributions.
Install
Quick Start
# Create global config
# Add your skill source
# Install skills
# Sync installed skills
Commands
| Command | Description |
|---|---|
add <skill> |
Install a skill |
add <skill> --targets cursor,claude |
Install to specific targets |
add |
List available skills |
remove <skill> |
Remove a skill |
remove <skill> --targets cursor |
Remove from specific targets |
list |
List available and installed |
sync |
Re-sync installed skills |
sync --targets cursor |
Sync to specific targets |
sync --remove-stale |
Remove stale skills |
clear |
Remove all installed |
clear --targets claude |
Clear from specific targets |
status |
Show status and validation |
config |
Show configuration |
init |
Create global config |
set-sources <path> |
Add skill sources (appends) |
set-sources <path> --overwrite |
Replace all sources |
Override Targets
Use --targets to override global config for a single command:
Valid targets: agents, cursor, claude
Config
Global config: ~/.config/smart-skills/config.json
Targets
agents→.agents/skills/(opencode, nvim)cursor→.cursor/rules/(Cursor)claude→.claude/rules/(Claude Code)
Skill Format
skills/
├── planning/
│ └── SKILL.md
SKILL.md:
name: planning
description: Plan before coding
* *
Frontmatter is optional. If missing, first bullet point becomes the description.
Security
We validate FORMAT (file exists, not empty, has ## headers or bullets).
You validate CONTENT (review skills manually before adding).
Your agent can run shell commands and modify files. Don't add skills you haven't reviewed.
No Marketplace
No automatic fetching from the internet. Your skills stay on your machine.