Build, refine, test, validate, or list CLI-Anything harnesses for GUI applications in Cursor. Prefer slash commands /cli-anything, /cli-anything-refine, /cli-an
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-cli-anything-generator-2c93d188adc4 ,按照其中的说明把「cli-anything-generator」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
This skill is packaged inside the Cursor plugin as a supporting entry point. The primary generator UX is the plugin slash commands.
| Goal | Command |
|---|---|
| Full 7-phase build | /cli-anything <path-or-repo> |
| Expand coverage | /cli-anything-refine <path> [focus] |
| Run tests | /cli-anything-test <path> |
| Validate checklist | /cli-anything-validate <path> |
| List tools | /cli-anything-list |
If the user speaks naturally ("build a CLI for ./gimp"), run the same workflow as the matching command.
This skill is not the Hub consumer. For finding/installing published CLIs:
npx skills add HKUDS/CLI-Anything --skill cli-hub-meta-skill -g -y
Per-app skills live under the repo skills/ tree and install via npx skills add.
PLUGIN_ROOT via discovery pointer then stamp:
~/.cursor/cli-anything-generator.root / %USERPROFILE%\.cursor\cli-anything-generator.root{install}/PLUGIN_ROOT.txt~/.cursor/plugins/local/cli-anything if references/HARNESS.md exists there{PLUGIN_ROOT}/references/HARNESS.md with an absolute path.{PLUGIN_ROOT}/references/commands/.{PLUGIN_ROOT}/references/guides/ on demand.{PLUGIN_ROOT}/scripts/repl_skin.py, preview_bundle.py,
skill_generator.py, templates/.| Document reference | Installed plugin path |
|---|---|
guides/... | references/guides/... |
cli-anything-plugin/repl_skin.py | scripts/repl_skin.py |
cli-anything-plugin/preview_bundle.py | scripts/preview_bundle.py |
cli-anything-plugin/skill_generator.py | scripts/skill_generator.py |
templates/SKILL.md.template | scripts/templates/SKILL.md.template |
docs/PREVIEW_PROTOCOL.md | references/docs/PREVIEW_PROTOCOL.md |
| Cursor tool | Role |
|---|---|
| Read | Methodology and source analysis |
| Grep / Glob | API and file discovery |
| Shell | Clone, pytest, pip, CLI invocation |
| Write / StrReplace | Harness implementation |
| Task | Optional parallel subtasks |
For build/refine/test/validate, maintain
{software-root}/agent-harness/.cli-anything-progress.json.
Create agent-harness/ when tracking starts. Do not advance without completing
the previous phase. Resume non-terminal runs.
Match Claude Code plugin / Codex skill output: same harness layout, namespace
packaging, --json, tests, and skill generation. Do not invent a different
harness format.