| name | skill-cli |
| description | Testing and using skill-cli for progressive disclosure across platforms (CI/CD, Cursor, Windsurf, hot-swapping) |
skill-cli Skill
Quick reference for testing and using skill-cli - the progressive disclosure tool for AI coding assistants.
When to Use This Skill
Load when:
- Testing skill-cli functionality
- Verifying progressive disclosure works
- Setting up skill-cli in new environments
- Debugging skill-cli issues
- Learning how to use skill-cli
Quick Reference
What is skill-cli?
A CLI tool that brings Claude Code's Skills system to any environment
Key features:
- ๐ Works in GitHub Actions, Cursor, Windsurf, Codex
- ๐ Hot-swap skills without restarting IDE
- ๐ฆ 70-90% token savings via progressive disclosure
- ๐ Zero dependencies (pure Node.js)
- ๐ Search across all skills
Basic Commands
./skill-cli.js list
./skill-cli.js show <skill-name>
./skill-cli.js files <skill-name>
./skill-cli.js detail <skill> <file>
./skill-cli.js search <query>
Testing Checklist
Run these commands to verify skill-cli works:
./skill-cli.js list
./skill-cli.js show skill-cli
./skill-cli.js files skill-cli
./skill-cli.js detail skill-cli TESTING
./skill-cli.js search "progressive disclosure"
Environment Variable Override
SKILLS_DIR=/path/to/skills ./skill-cli.js list
SKILLS_DIR=~/.claude/skills ./skill-cli.js list
Progressive Detail Loading
For deeper information, use Read tool to load:
- TESTING.md - Complete testing procedures and verification steps
- TROUBLESHOOTING.md - Common issues and solutions
Common Use Cases
GitHub Actions:
- run: |
git clone https://github.com/raw391/skill-cli.git
export SKILLS_DIR=./.ai-skills
./skill-cli/skill-cli.js show my-skill
Cursor/Windsurf:
SKILLS_DIR=.ai-skills ./skill-cli.js show my-skill
Hot-swap development:
SKILLS_DIR=/tmp/test-skills ./skill-cli.js show new-skill
Expected Output
When working correctly:
list shows skills with descriptions
show displays formatted skill content
files lists available detail files
detail loads full documentation
search finds and groups matches
- Exit codes: 0 for success, 1 for errors
Philosophy
Progressive disclosure saves tokens. Load minimal context first (quick reference), add details only when needed. This mirrors how humans read documentation and respects token budgets.