cli2skill
Turn any CLI or MCP server into an Agent Skill. Use when you want to replace an MCP server with a zero-overhead CLI skill, or generate a skill from any command-line tool's --help output.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/2233admin/cli2skillcli2skill
Convert CLI tools and MCP servers into Agent Skills (markdown files) that any AI coding agent can use. Zero runtime overhead — no persistent processes, no memory leaks.
Prerequisites
pip install cli2skill
Commands
Generate skill from CLI
# Basic — parse --help and generate SKILL.md
cli2skill generate <executable> --name <skill-name> -o ~/.claude/skills/
# Custom executable path
cli2skill generate "python my_tool.py" --name my-tool \
--exe-path "python /full/path/my_tool.py" -o ~/.claude/skills/
# From saved help text
cli2skill generate mytool --help-file help_output.txt -o ~/.claude/skills/
# Skip subcommand parsing (faster, top-level only)
cli2skill generate gh --name github-cli --no-subcommands -o ~/.claude/skills/
Preview parsed metadata
cli2skill preview <executable>
Convert MCP server to skill
# From command
cli2skill mcp npx some-mcp-server --name my-mcp -o ~/.claude/skills/
# From Claude Code settings.json
cli2skill mcp --config ~/.claude/settings.json --server my-server --name my-mcp -o ~/.claude/skills/
# With env vars
cli2skill mcp npx tavily-mcp --name tavily --env API_KEY=xxx -o ~/.claude/skills/
When to use
- You have an MCP server that's just "call -> return result" with no persistent state — replace it with a CLI skill to eliminate process leaks
- You want to give your agent access to any CLI tool without writing a skill by hand
- You're migrating away from MCP servers that accumulate zombie processes
When NOT to use
- MCP servers that need persistent browser sessions, streaming notifications, or multi-client shared state — those genuinely need MCP
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-2233admin-cli2skill": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
Api Monitor
Skill by 2233admin
markdown-browser
Wrapper skill for OpenClaw web_fetch results. Use when you need MECE post-processing on fetched pages: policy decision from Content-Signal, privacy redaction, optional markdown normalization fallback, and stable output schema without re-implementing network fetch.
Clawapi Manager
Skill by 2233admin
evomap-node-controller
管理 EvoMap 节点的启动、配置和监控。用于在服务器上启动/停止 EvoMap evolver 循环、配置节点 ID,处理节点绑定等。使用场景:用户要求启动/停止 EvoMap 节点、查看节点状态、配置节点 ID、解决节点连接问题。⚠️ 使用前必须配置环境变量。
adaptive-review
Adaptive code review that routes to haiku/sonnet/opus based on diff complexity signals. Use instead of requesting-code-review for cost-efficient reviews.