← 返回 Skills 市场
ckchzh

Cli Builder

作者 BytesAgain2 · GitHub ↗ · v2.3.5 · MIT-0
cross-platform ✓ 安全检测通过
529
总下载
0
收藏
2
当前安装
10
版本数
在 OpenClaw 中安装
/install cli-builder
功能描述
CLI tool generator. Project scaffolding, command adding, argument parsing, help docs, config handling, publish checklist, interactive prompts.
使用说明 (SKILL.md)

CLI Builder — Command-Line Tool Generator

Scaffold professional CLI tools from scratch, full lifecycle coverage

Quick Start

bash scripts/cli-builder.sh init myapp python
bash scripts/cli-builder.sh command myapp serve "Start dev server"
bash scripts/cli-builder.sh args python --name,--port,--verbose

Commands

Command Purpose Arguments
init Project skeleton \x3Cname> \x3Clang>
command Add a command \x3Capp> \x3Ccmd> \x3Cdesc>
args Argument parser code \x3Clang> \x3Cargs>
help Help doc generation \x3Capp> \x3Ccommands>
config Config file handling \x3Clang> \x3Cformat>
publish Publish checklist \x3Cplatform>
interactive Interactive prompts \x3Clang> \x3Cprompts>
color Colored output code \x3Clang>

Supported Languages

  • Python — argparse / click / typer
  • Node.js — commander / yargs / inquirer
  • Bash — getopts / case patterns
  • Go — cobra / flag

Output

All generated code is copy-paste ready with comments and best practices included.

💬 Feedback & Feature Requests: https://bytesagain.com/feedback Powered by BytesAgain | bytesagain.com

安全使用建议
This skill is coherent with its stated purpose but review these points before installing/using it: 1) The scripts call python3 (inline Python here-docs) though metadata lists no required binaries — ensure python3 is available in your environment. 2) Running the included scripts will create a data directory (default ~/.local/share/cli-builder) and append to history/log files there; if you prefer a different location set CLI_BUILDER_DIR or XDG_DATA_HOME. 3) The tool prints code that references config paths like ~/.myapp/config.yml and may assume modules (yaml, tomllib) in generated code — inspect generated code before executing it or adding dependencies. 4) There are no network calls or secret collection in the provided files, but always review any generated code before running it, especially code that would later read/write config or invoke external tools.
功能分析
Type: OpenClaw Skill Name: cli-builder Version: 2.3.5 The CLI Builder skill bundle is a legitimate utility designed to scaffold command-line applications in Python, Node.js, Bash, and Go. The core logic in `scripts/cli-builder.sh` generates boilerplate code for project structures, argument parsing, and configuration management without executing any harmful commands or exfiltrating data. No evidence of prompt injection, backdoors, or malicious intent was found across the documentation or scripts.
能力评估
Purpose & Capability
The scripts and SKILL.md align with the stated purpose (scaffolding, command/arg/help/config templates for Python/Node/Bash/Go). however the runtime scripts invoke python3 to render templates although the registry metadata lists no required binaries — the skill implicitly depends on python3 (and outputs code that may assume yaml/toml libraries). This is a small mismatch between declared requirements and actual runtime behavior.
Instruction Scope
SKILL.md provides concrete commands that map directly to the included scripts. The instructions are focused on generating code templates and do not ask the agent to gather unrelated system data or send output to external endpoints. The guidance is specific (no open-ended 'gather whatever context you need').
Install Mechanism
There is no install spec (instruction-only), and the code files are simple scripts printed from templates. No remote downloads, package installs, or archive extraction are performed by the skill itself.
Credentials
The skill declares no required environment variables or credentials. The scripts do use common environment variables (HOME, XDG_DATA_HOME) and a local override CLI_BUILDER_DIR for its data directory. There are no requests for secrets or unrelated credentials.
Persistence & Privilege
When run, scripts create a data directory (default: ${XDG_DATA_HOME:-$HOME/.local/share}/cli-builder) and write a history.log and other local logs. This local persistence is limited in scope and consistent with a developer tool, but users should be aware the skill will write files under their home directory when invoked.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cli-builder
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cli-builder 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.3.5
v2.5 standard: Use-when desc, homepage, source, security fix
v2.3.4
yaml-fix+quality
v2.3.3
yaml-fix+quality
v2.3.2
Quality upgrade
v2.3.1
Quality upgrade: custom functionality
v2.3.0
Quality fixes: removed third-party references, aligned docs with implementation
v2.2.0
Enhanced descriptions for better AI triggering
v2.0.0
Complete rewrite: real functionality replacing prompt templates
v1.0.1
map
v1.0.0
CLI Builder 1.0.0 — Initial Release - Generate complete CLI tools for Python, Node.js, Bash, and Go projects. - Scaffold new CLI projects, add commands, and handle argument parsing. - Generate help docs, config file handlers, and publish checklists. - Supports interactive prompts and colored output code. - Output is copy-paste-ready with comments and best practices.
元数据
Slug cli-builder
版本 2.3.5
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 10
常见问题

Cli Builder 是什么?

CLI tool generator. Project scaffolding, command adding, argument parsing, help docs, config handling, publish checklist, interactive prompts. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 529 次。

如何安装 Cli Builder?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install cli-builder」即可一键安装,无需额外配置。

Cli Builder 是免费的吗?

是的,Cli Builder 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Cli Builder 支持哪些平台?

Cli Builder 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Cli Builder?

由 BytesAgain2(@ckchzh)开发并维护,当前版本 v2.3.5。

💬 留言讨论