Overview Benchmark Contents Activity Versions 1 Ratings 0
See it in action One of 17 test cases the skill fixed. Same model, same prompt, with and without the skill.
Prompt How many configuration options are defined in the CliExtractionOptions interface schema?
What was checked, without and with the skill Checked Without skill With skill State that CliExtractionOptions contains 4 options Missed Passed
Show both answers
What's inside The instructions your model reads when the skill loads.
SKILL.md 41 lines 3 files
@skillit/cli
Extract CLI command structure from commander/yargs for AI agent skill generation
When to Use
Working with agent-skills, cli, commander, documentation, skill-generation, yargs
You have a Commander program and want structured option/argument extraction with full fidelity
Runtime introspection is unavailable (no access to the program object)
The CLI uses a framework other than Commander (yargs, oclif, custom)
You have both CLI surfaces (from introspection/help) and typed config interfaces (from TypeDoc)
You want JSDoc @useWhen/@avoidWhen/@never tags to appear on CLI options in the generated skill
You have a Commander program and want to generate a skill from its command structure
You have raw --help output and no runtime access to the program object
Avoid when:
Your CLI uses yargs, oclif, or another framework — use parseHelpOutput as a fallback instead
Your CLI is built with a framework other than Commander — use parseHelpOutput directly instead
API surface: 4 functions
NEVER
NEVER pass both program and helpTexts — program takes precedence and helpTexts is silently ignored
NEVER forget to pass configSurfaces when you have typed option interfaces — JSDoc metadata won't be correlated
Configuration
CliExtractionOptions (4 options — see references/config.md)
Quick Reference
Commander: introspectCommander
Fallback: parseHelpOutput
Correlation: correlateFlags
Extraction: extractCliSkill
Links
When it activates Automatically, when a task matches.
Use when working with agent-skills, cli, commander, documentation, skill-generation, yargs.
Track record Benchmark 23 / 23
test cases passed, vs 6 / 23 without
Adoption
Users 0
Times used 0 View activity → Safety and source details
SkillSafety ✓ 3 of 3 passed ✓ Code scan 15 of 15 checks clean
0 critical · 0 warning · 0 info — scanner v4 — 8/1/2026
View 15 scanner checks live_secret remote_code_execution reverse_shell data_exfiltration ssrf_metadata agent_snooping anti_refusal destructive_commands obfuscated_unicode unicode_homoglyph opaque_blob suspicious_url tool_overreach trigger_abuse prompt_injection_phrasing
✓ Intent Safe
LLM judge · does the skill do what it claims
✓ Content Clean
LLM judge · policy & harmful-content review
Source Imported License MITImported 8/1/2026Version v1Bundled 2 files