首页/DevOps/cli-anything
C

cli-anything

by @hkudsv1.0.0
0.0(0)

让Codex像命令行工具一样工作,执行各种CLI操作,简化开发和运维任务,提高效率。

CLI AutomationCommand Line InterfaceDevOps ToolsScriptingGitHub
安装方式
npx skills add hkuds/cli-anything --skill cli-anything
compare_arrows

Before / After 效果对比

1
使用前

面对复杂命令行任务,需要手动输入大量指令,效率低下。

使用后

AI辅助CLI操作,智能理解意图并执行,简化流程,提高效率。

description SKILL.md

cli-anything

CLI-Anything for Codex Use this skill when the user wants Codex to act like the CLI-Anything builder. If this skill is being used from inside the CLI-Anything repository, read ../cli-anything-plugin/HARNESS.md before implementation. That file is the full methodology source of truth. If it is not available, follow the condensed rules below. Inputs Accept either: A local source path such as ./gimp or /path/to/software A GitHub repository URL Derive the software name from the local directory name after cloning if needed. Modes Build Use when the user wants a new harness. Produce this structure: / └── agent-harness/ ├── .md ├── setup.py └── cli_anything/ └── / ├── README.md ├── init.py ├── main.py ├── _cli.py ├── core/ ├── utils/ └── tests/ Implement a stateful Click CLI with: one-shot subcommands REPL mode as the default when no subcommand is given --json machine-readable output session state with undo/redo where the target software supports it Refine Use when the harness already exists. First inventory current commands and tests, then do gap analysis against the target software. Prefer: high-impact missing features easy wrappers around existing backend APIs or CLIs additions that compose well with existing commands Do not remove existing commands unless the user explicitly asks for a breaking change. Test Plan tests before writing them. Keep both: test_core.py for unit coverage test_full_e2e.py for workflow and backend validation When possible, test the installed command via subprocess using cli-anything- rather than only module imports. Validate Check that the harness: uses the cli_anything. namespace package layout has an installable setup.py entry point supports JSON output has a REPL default path documents usage and tests Backend Rules Prefer the real software backend over reimplementation. Wrap the actual executable or scripting interface in utils/_backend.py when possible. Use synthetic reimplementation only when the project explicitly requires it or no viable native backend exists. Packaging Rules Use find_namespace_packages(include=["cli_anything.*"]) Keep cli_anything/ as a namespace package without a top-level init.py Expose cli-anything- through console_scripts Workflow Acquire the source tree locally. Analyze architecture, data model, existing CLIs, and GUI-to-API mappings. Design command groups and state model. Implement the harness. Write TEST.md, then tests, then run them. Update README usage docs. Verify local installation with pip install -e . Output Expectations When reporting progress or final results, include: target software and source path files added or changed validation commands run open risks or backend limitations Weekly Installs221Repositoryhkuds/cli-anythingGitHub Stars17.4KFirst Seen6 days agoSecurity AuditsGen Agent Trust HubWarnSocketPassSnykWarnInstalled oncodex215gemini-cli214kimi-cli214cursor214amp214cline214

forum用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价,来写第一条吧

统计数据

安装量0
评分0.0 / 5.0
版本1.0.0
更新日期2026年3月18日
对比案例1 组

用户评分

0.0(0)
5
0%
4
0%
3
0%
2
0%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Claude Code

时间线

创建2026年3月18日
最后更新2026年3月18日