Skip to content

Latest commit

Β 

History

History
42 lines (31 loc) Β· 1.29 KB

File metadata and controls

42 lines (31 loc) Β· 1.29 KB

Contributing to cli2skill

Quick Wins

  • Test with your CLI tools β€” run cli2skill generate <your-tool> and report how it handles your help format
  • Report unsupported help formats β€” if parsing fails for a specific CLI framework, file an issue with the --help output
  • Add examples β€” generated skills for popular CLIs (aws, docker, kubectl, terraform...)

Development

git clone https://github.com/2233admin/cli2skill.git
cd cli2skill
pip install -e .
cli2skill preview gh

Python 3.10+. Zero external dependencies.

Architecture

cli2skill/
β”œβ”€β”€ main.py        ← CLI entry point (Typer-style)
β”œβ”€β”€ parser.py      ← --help output parser (regex-based, multi-framework)
β”œβ”€β”€ generator.py   ← SKILL.md markdown generator
└── mcp2skill.py   ← MCP server β†’ CLI skill converter

Adding Support for a New CLI Framework

  1. Add a detection pattern in parser.py
  2. Add a test case in examples/
  3. Document the framework in the Supported Formats table

Ideas

  • Auto-detect framework from help output format
  • cli2skill batch β€” convert all CLIs in PATH
  • cli2skill mcp-audit β€” scan settings.json, show which MCPs can be replaced
  • Web UI for previewing generated skills
  • Integration with skills-cli install flow