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.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "cli2skill" with this command: npx skills add 2233admin/cli2skill

cli2skill

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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Python Script Generator

生成专业的 Python 脚本和应用模板,支持 CLI 工具、Flask API、FastAPI、Django Command、Scraper 等,一键生成完整项目代码。

Registry SourceRecently Updated
2.6K1Profile unavailable
Coding

Clawhub

Notion via notion-cli — a Rust CLI + MCP server for Notion API 2025-09-03+. Three-tier agent integration (read-only default, opt-in runtime writes, opt-in ad...

Registry SourceRecently Updated
1020Profile unavailable
Coding

SYSU Duck

中山大学校园AI陪伴鸭鸭,支持本地SQLite档案管理、多种人格设定、校园问答记忆及指令操作。

Registry SourceRecently Updated
720Profile unavailable
Coding

VCF Log Explorer (MCP)

An MCP server that provides native tools to dynamically search VMware Aria Operations for Logs (Log Insight).

Registry SourceRecently Updated
1020Profile unavailable