Testing and using skill-cli for progressive disclosure across platforms (CI/CD, Cursor, Windsurf, hot-swapping)
Quick reference for testing and using skill-cli - the progressive disclosure tool for AI coding assistants.
Load when:
A CLI tool that brings Claude Code's Skills system to any environment
Key features:
./skill-cli.js list # List available skills
./skill-cli.js show <skill-name> # Quick reference
./skill-cli.js files <skill-name> # Available detail files
./skill-cli.js detail <skill> <file> # Load detail file
./skill-cli.js search <query> # Search skills
Run these commands to verify skill-cli works:
# 1. List skills (should show this skill + example-skill)
./skill-cli.js list
# 2. Show this skill's quick reference
./skill-cli.js show skill-cli
# 3. Check for detail files
./skill-cli.js files skill-cli
# 4. Load testing guide
./skill-cli.js detail skill-cli TESTING
# 5. Search functionality
./skill-cli.js search "progressive disclosure"
# Test with different skills directory
SKILLS_DIR=/path/to/skills ./skill-cli.js list
# Test with Claude Code skills
SKILLS_DIR=~/.claude/skills ./skill-cli.js list
For deeper information, use Read tool to load:
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:
# Add to project, point AI to it
SKILLS_DIR=.ai-skills ./skill-cli.js show my-skill
Hot-swap development:
# Test new skill without restarting IDE
SKILLS_DIR=/tmp/test-skills ./skill-cli.js show new-skill
When working correctly:
list shows skills with descriptionsshow displays formatted skill contentfiles lists available detail filesdetail loads full documentationsearch finds and groups matchesProgressive disclosure saves tokens. Load minimal context first (quick reference), add details only when needed. This mirrors how humans read documentation and respects token budgets.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer