cli-anything
Skill by HKUDS
Guides Reasonix to build, refine, test and validate a CLI-Anything harness for a GUI application or source repository. It keeps the generated Python harness format unchanged.
Install cli-anything
Built from the published package, never by AI.
git clone --depth 1 https://github.com/HKUDS/CLI-Anything /tmp/CLI-Anything && mkdir -p ~/.claude/skills && cp -r /tmp/CLI-Anything/reasonix-skill ~/.claude/skills/cli-anythingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/HKUDS/CLI-Anything /tmp/CLI-Anything && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/CLI-Anything/reasonix-skill ~/.gemini/antigravity-cli/skills/cli-anythingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The cli-anything skill tells Reasonix to act like the CLI-Anything builder. It turns a local source path or GitHub repository URL into a stateful Python Click CLI harness, with one-shot subcommands, a default REPL mode, and --json output. It follows the phases from the CLI-Anything methodology, reading HARNESS.md when available and falling back to condensed rules otherwise.
The skill covers build, refine, test and validate modes. Builds produce a cli_anything namespace package with an installable setup.py entry point and a SKILL.md file. It prefers wrapping the real software backend over reimplementation. It is for users who want Reasonix to create CLI harnesses for GUI software or repositories, and it notes that a full build may need 25 to 40 tool-call rounds.
Written from the project's SKILL.md and checked against it.
What it can do
- Build a harnessCreates a new CLI-Anything harness with a Click CLI, backend modules, tests and setup.py.
- Refine a harnessInventories existing commands and tests, then finds gaps against the target software.
- Test a harnessPlans and writes test_core.py and test_full_e2e.py, including subprocess tests of the installed command.
- Validate a harnessChecks namespace layout, setup.py entry point, JSON output, REPL default and documentation.
- Wrap the real backendPrefers wrapping the actual executable or scripting interface in a backend module over reimplementation.
What you need
- Reasonix
- Python
- pip for pip install -e .
Try asking
- Build a CLI-Anything harness for ./gimp
- Refine the existing harness for this app and add missing commands
- Validate the CLI-Anything harness in /path/to/software
Good to know
- A finite agent.max_steps in reasonix.toml can truncate a complex build.
- A full build typically needs 25 to 40 tool-call rounds.
- Without local or network access to HARNESS.md, only condensed rules apply.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: reasonix-skill/SKILL.md, reasonix-skill/scripts/install.ps1, reasonix-skill/scripts/install.sh. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
README.md5 KB -
SKILL.md7 KB -
agents/reasonix.yaml315 B -
scripts/install.ps1733 B -
scripts/install.sh608 B
Alternatives to cli-anything
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
cli-anything: common questions
Does this change the CLI-Anything harness format?
No. The skill adapts the CLI-Anything methodology to Reasonix without changing the generated Python harness format.
Where does the methodology come from?
The skill checks local HARNESS.md files first, then downloads cli-anything-plugin from the HKUDS CLI-Anything GitHub repository. Condensed rules are used only if both fail.
What does a generated harness include?
A stateful Click CLI with one-shot subcommands, REPL mode by default, --json output, and undo/redo session state where the target software supports it.
How do I install cli-anything?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is cli-anything free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is cli-anything safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to cli-anything?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
