with one click
cli-tool-generator
CLI 工具脚手架生成器,快速生成生产级命令行工具。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
CLI 工具脚手架生成器,快速生成生产级命令行工具。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
GitHub 赏金猎人。自动监控 GitHub bounty,支持 Algora/UbiquityOS/RustChain 平台。v7.5.6 新增用户授权全自动策略(2026-06-11)
AI Agent 团队 - 61 个专业 Agent,8 大部门,完整的 AI 代理机构。支持单 Agent 使用和多 Agent 协作编排。
AI 代码审查助手,基于本地 AI 模型自动检测代码质量。
AI 确定性控制工具。管理 temperature/top_p/seed 参数,多场景预设,一致性检查(编辑距离+TF-IDF),监控趋势分析与异常检测,模型参数注入与恢复。
AI效率监控工具。监控AI任务执行效率,识别浪费模式(重复查询/过长上下文/无效重试/过度生成/低质量循环),生成优化建议和成本节省报告。支持OpenClaw日志解析、多模型成本计算、ASCII趋势图。
自动从代码生成技术文档,支持 Python/JavaScript/Bash,AI 增强文档质量
name: cli-tool-generator description: CLI 工具脚手架生成器,快速生成生产级命令行工具。 version: 1.2.1
Fast CLI tool scaffolding generator for Bash & Python
Generate production-ready CLI tool skeletons with proper argument parsing, help docs, error handling, and shell completions — in seconds.
When the user asks to "create a CLI tool" or "generate a command-line tool":
cligen create with the appropriate parameters--commandscligen validate# Generate a new CLI tool (Bash)
cligen create --name mytool --lang bash --commands "status,deploy,config" --desc "My deployment tool"
# Generate a new CLI tool (Python)
cligen create --name mytool --lang python --commands "build,test" --desc "Build tool"
# Validate an existing CLI tool
cligen validate ./mytool/
# Generate shell completions
cligen completions --shell bash --commands "build,test,deploy"
# Check development environment
cligen doctor
| Option | Description | Default |
|---|---|---|
--name NAME | Tool name (required) | - |
--desc DESC | Tool description | "" |
--lang LANG | Language: bash|python | bash |
--commands CMDs | Comma-separated commands | help,version |
--output DIR | Output directory | ./ |
--non-interactive | Skip prompts | false |
The validate command checks 10 criteria:
set -euo pipefail)skills/cli-tool-generator/
├── SKILL.md # This file
├── cligen # CLI entry point
├── src/
│ ├── generator.sh # Core generation logic
│ ├── preflight.sh # Environment checks
│ ├── validator.sh # Best practice validation
│ ├── templates/ # (reserved for future templates)
│ └── completions/ # (reserved for future completions)
├── tests/
│ └── test_all.sh # Full test suite
└── package.json
MIT License Copyright (c) 2026 思捷娅科技 (SJYKJ) 免费使用、修改和重新分发时,需注明出处。 出处:GitHub: https://github.com/example-user/xiaomili-skills | ClawHub: https://clawhub.com | 创建者: 思捷娅科技 (SJYKJ)/zhaog100 商业使用授权:个人免费 | 小微¥999/年 | 中型¥4,999/年 | 大型¥19,999/年