cli-anything
CommandBuild a complete, stateful CLI harness for any GUI application.
Refine an existing CLI-Anything harness to expand coverage and add missing capabilities
> /plugin marketplace add HKUDS/CLI-Anything> /plugin install cli-anything@cli-anything
name: cli-anything-refine description: Refine an existing CLI-Anything harness to expand coverage and add missing capabilities
Refine an existing CLI harness after a successful `/cli-anything` build.
**Target software**: first argument (local path required). **Focus area**: optional second argument / trailing natural-language focus.
Resolve `PLUGIN_ROOT` in this order (first hit with `references/HARNESS.md` wins):
1. Read `%USERPROFILE%\.cursor\cli-anything-generator.root` or `~/.cursor/cli-anything-generator.root` 2. Else `{default-or-$CURSOR_PLUGINS_HOME}/local/cli-anything/PLUGIN_ROOT.txt` 3. Else that candidate directory if `references/HARNESS.md` exists 4. Else workspace / cloned `cli-anything-plugin/`
Then read `{PLUGIN_ROOT}/references/HARNESS.md` and `{PLUGIN_ROOT}/references/commands/refine.md` with absolute paths.
| Cursor tool | Role | |-------------|------| | Read / Grep / Glob | Inventory current CLI coverage and target APIs | | Shell | Run existing tests; verify new commands | | Write / StrReplace | Add commands, modules, and tests |
Progress: `{software-root}/agent-harness/.cli-anything-progress.json` with `"mode": "refine"`.
Follow `{PLUGIN_ROOT}/references/commands/refine.md` for the full procedure.
"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/
Build a complete, stateful CLI harness for any GUI application.
Refine an existing CLI harness to improve coverage of the software's functions and usage patterns.
Validate a CLI harness against HARNESS.md standards and best practices.
List installed and generated CLI-Anything tools (human or JSON)
Spawn interactive terminal canvases for calendars, documents, and flight booking
Analyze claudish debug logs from a failed model run. Extracts SSE fixtures, diagnoses failures, adds regression tests.
Summarize completed work, current risks, and next actions.