CLI-Anything
将软件能力转换为适合 Agent 使用的命令行接口,帮助 AI 助手调用和操作现有工具。
中文简介经编辑校订 ·
README / 项目原文
CLI-Anything: Making ALL Software Agent-Native
Today's Software Serves Humans👨💻. Tomorrow's Users will be Agents🤖.
CLI-Anything: Bridging the Gap Between AI Agents and the World's Software
🌐 CLI-Hub: pip install cli-anything-hub then cli-hub install <name> — browse, install, and manage all community-built CLIs. Want to add your own? Open a PR — the hub updates instantly.
🎬 See Demos: Watch AI agents use generated CLIs plus preview, live preview, and trajectory loops to produce real artifacts — CAD builds, 3D scenes, diagrams, gameplay, subtitles, and more.
🙋 [Become a Contributor, or Request a CLI]: Join us! Sign up to build a new CLI harness — once reviewed and merged, you'll gain access as one of our community contributors! Wish CLI-Anything supported a specific software or service? Submit a wishlist request!
One Command Line: Make any software agent-ready for Pi, OpenClaw, nanobot, Cursor, Claude Code, etc. 中文文档 | 日本語ドキュメント | Deutsch
📰 News
Thanks to all invaluable efforts from the community! More updates continuously on the way everyday..
2026-05-30 🧭 Hermes skill proposed (#320), adding a CLI-Anything orchestration skill with installer scripts and HARNESS fallback guidance. 🗺️ ArcGIS Pro was proposed for the public registry (#318) as a Windows/ArcPy CLI for cartography, geoprocessing, feature editing, and live-Pro MCP workflows.
2026-05-27 🔧 CLI-Hub registry date updates now handle
python -m pipinstall commands (#312), improving package-date detection for registry automation.2026-05-23 📝 Obsidian Agent CLI was proposed for the public registry (#307), bringing a PyPI-installed Obsidian automation CLI with persistent agent memory workflows and a pinned skill link.
2026-05-21 🔒 Sketch CLI token-file handling was hardened against path traversal and symlink escapes (#304).
2026-05-20 📓 Joplin CLI was proposed (#300) with notebooks, notes, to-dos, tags, attachments, search/sync, import/export, server/E2EE helpers, full docs, packaged skill docs, and a 134-test validation baseline.
2026-05-20 🎛️ Rekordbox CLI merged (#252) with guarded SQLCipher write paths, backup-required forced writes, smoke coverage, and root skill sync. 📚 Calibre CLI merged (#223) with library/search/metadata/conversion/export workflows, 41 unit tests, real-Calibre E2E evidence, and root skill validation. 🧊 3MF CLI merged (#209) with mesh inspection, hole resizing, repair, comparison, and preserved triangle attributes. 🎙️ MiniMax CLI merged (#189) with chat/TTS workflows, JSON-safe model/voice listing, REPL quote handling, and smoke/E2E coverage. 🎮 UEAtelier joined the registry (#297) as an Unreal Editor MCP self-extension workbench with a Python CLI proxy.
2026-05-19 🛠️ Existing harnesses got a quality/security pass — Zoom downloads recordings from direct URLs (#294), Obsidian search now uses the Local REST API vendor content types (#289), LibreOffice headless conversion is more robust on macOS (#290), and XML/SVG/ODF/MLT/MusicXML/CSL parsing now routes untrusted input through
defusedxml(#296).2026-05-18 📈 README presentation refreshed with the Trendshift badge and centered project header polish (#285, #286), keeping the landing section focused on discovery and project momentum.
2026-05-17 🌐 CLI-Hub registry handling was hardened (#281) — registry entries are now copied before
_sourcetagging, preventing cached or mocked registry data from being mutated in place.2026-05-16 🔧 n8n received the REPL banner crash fix that later merged into main (#280), restoring the no-subcommand interactive startup path with regression coverage.
Earlier news (Apr 10–18)
2026-04-18 🧩 All SKILL.md files are now being unified under the top-level
skills/directory — every CLI skill can be installed from one canonical source withnpx skills add HKUDS/CLI-Anything --skill <skill-name> -g -y. We also added root-skill validation CI, synced contribution / PR docs and REPL skill-path hints to the new layout, and refreshed the CLI-Hub install-first frontend around the newnpx skillsflow.2026-04-17 🌐 CLI-Hub received another install UX pass — public registry metadata and skill coverage were tightened, visit counting was corrected, and the web hub was further refined. 🧪 Shotcut render output duration was fixed (#92). 📝 SKILL contribution paths were corrected for the new docs flow (#224), and the skill generator now safely handles empty intros (#203).
2026-04-16 🗺️ QGIS CLI merged (#207) — a full GIS / map authoring harness landed. 🧬 UniMol Tools CLI merged (#219) for molecular modeling workflows. 🌐 CLI-Hub also added more public CLIs, including py4csr, refreshed its generated meta-skill, corrected SKILL contribution docs, and fixed
apt-getpackage extraction in skill generation (#204).2026-04-16 📈 Unreal Insights CLI expanded — added background capture session control (
capture start/status/snapshot/stop), engine-root-matchedUnrealInsights.exeresolution/build flows, and refreshed docs/tests for the new orchestration workflow.2026-04-15 🌐 CLI-Hub updated to v0.2.0 — the PyPI package now supports public CLIs from multiple install sources (
pip,npm,brew, bundled/system tools), backed by a newpublic_registry.json. The Hub frontend was redesigned with separate CLI-Anything CLIs and Public CLIs decks, and live end-to-end checks now cover real install, update, and uninstall flows across both pip and npm packages.2026-04-14 🧭 Safari CLI merged (#212) and added to the Hub registry — browser automation via
safari-mcp. 🎬 Kdenlive also received compatibility fixes for Gen 5 project output and invalid project generation.2026-04-13 📓 Obsidian CLI merged (#211) — knowledge management harness via the Local REST API, with 48 unit tests and 7 E2E tests. ⛓️ Eth2-Quickstart CLI merged (#195) — Ethereum staking node management harness. 📚 Zotero CLI updated to v0.4.1 (#201) — now shipped from its standalone repo, and CLI-Hub gained support for remote
skill_mdURLs.2026-04-11 🔗 n8n CLI merged (#188) — workflow automation harness for self-hosted automation flows. 🔧 Exa CLI fix (#205) added the
x-exa-integrationheader for usage tracking. 📦 CLI-Hub also gained its PyPI auto-publish workflow and package refresh pipeline.2026-04-10 📦 CLI-Hub package manager launched —
pip install cli-anything-hubto browse, search, install, update, and uninstall CLI-Anything harnesses from one command. The web Hub also shipped its first install-focused frontend refresh and "Empower yourself" toolkit card.
Earlier news (Apr 1–9)
2026-04-09 🧹 Cleanup and docs pass (#200) — fixed Openscreen test subtotals, added Openscreen to the Chinese README and project structure, and clarified
/cli-anythingcommand syntax in the docs.2026-04-08 🎬 Openscreen CLI merged (#183) — screen recording editor harness with 101 tests. ☁️ CloudAnalyzer CLI merged (#181) — cloud cost analysis harness with 27 commands. 🌊 SeaClip / PM2 / ChromaDB harnesses merged (#129).
2026-04-07 🔄 Dify Workflow CLI merged (#191) — workflow automation wrapper. 🔧 Inkscape auto-save fix (#193, fixes #182). 🛡️ DomShell security hardening (#156) — URL validation and DOM sanitization for the browser CLI. 🥧 Pi Coding Agent extension merged (#178).
2026-04-06 🔍 Exa CLI merged (#172) — AI-powered web search and answers harness. 🎮 Godot CLI merged (#140) — game engine harness with a full demo-game E2E pipeline. ☁️ CloudAnalyzer review fixes and frontend improvements also landed.
2026-04-03 🧪 WireMock CLI merged (#170) — HTTP mock server harness for API testing. 🥧 Pi Coding Agent extension support also landed, and CLI demo recordings were added to the docs.
2026-04-01 ⚔️ Slay the Spire II CLI merged (#148) — deck-building roguelike harness. 🎥 VideoCaptioner CLI merged (#166) — AI-powered video captioning harness. 🛰️ IntelWatch was added to the registry for B2B OSINT workflows.
Earlier news (Mar 23–30)
2026-03-30 🏗️ CLI-Anything v0.2.0 — HARNESS.md progressive disclosure redesign. Detailed guides extracted into
guides/for on-demand loading. Phases 1–7 now contiguous. Key Principles and Rules merged into a single authoritative section.2026-03-29 📐 Blender skill docs updated — enforce absolute render paths and correct prerequisites.
2026-03-28 🌐 CLIBrowser added to CLI-Hub registry for agent-accessible browser automation.
2026-03-27 📚 Zotero SKILL.md enhanced with agent-facing constraints; REPL config and executable resolution fixes.
2026-03-26 📖 Zotero CLI harness landed for Zotero desktop (library management, collections, citations). Draw.io custom ID bugfix (#132) and registry.json syntax fix.
2026-03-25 🎮 RenderDoc CLI merged for GPU frame capture analysis. FreeCAD updated for v1.1. Blender EEVEE engine name corrected. Zoom token permissions hardened.
2026-03-24 🏭 FreeCAD CLI added with 258 commands across 17 groups. iTerm2 and Teltonika RMS harnesses added to registry.
2026-03-23 🤖 Launched CLI-Hub meta-skill — agents can now discover and install CLIs autonomously. Krita CLI harness merged for digital painting.
Earlier news (Mar 11–22)
2026-03-22 🎵 MuseScore CLI merged with transpose, export, and instrument management.
2026-03-21 🔧 Infrastructure improvements — refined test harnesses and documentation across multiple CLIs. Enhanced Windows compatibility for several backends.
2026-03-20 🌐 Novita AI CLI added for OpenAI-compatible API access. Registry metadata improvements for better hub discovery.
2026-03-19 📦 Package structure refinements across harnesses. Improved SKILL.md generation with better command documentation.
2026-03-18 🧪 Test coverage expansion — additional E2E scenarios and edge case validation across multiple CLIs.
2026-03-17 🌐 Launched the CLI-Hub — a central registry where you can browse, search, and install any CLI with a single
pipcommand.2026-03-16 🤖 Added SKILL.md generation (Phase 6.5) — every generated CLI now ships with an AI-discoverable skill definition.
2026-03-15 🐾 Support for OpenClaw from the community! Merged Windows
cygpathguard for cross-platform support.2026-03-14 🔒 Fixed a GIMP Script-Fu path injection vulnerability and added Japanese README translation.
2026-03-13 🔌 Qodercli plugin officially merged as a community contribution with dedicated setup scripts.
2026-03-12 📦 Codex skill integration landed, bringing CLI-Anything to yet another AI coding platform.
2026-03-11 📞 Zoom video conferencing harness added as the 11th supported application.
🤔 Why CLI?
CLI is the universal interface for both humans and AI agents:
• Structured & Composable - Text commands match LLM format and chain for complex workflows
• Lightweight & Universal - Minimal overhead, works across all systems without dependencies
• Self-Describing - --help flags provide automatic documentation agents can discover
• Proven Success - Claude Code runs thousands of real workflows through CLI daily
• Agent-First Design - Structured JSON output eliminates parsing complexity
• Deterministic & Reliable - Consistent results enable predictable agent behavior
🚀 Quick Start
CLI-Anything has two equally useful starting points:
| Goal | Start Here |
|---|---|
| Use the existing CLI ecosystem now | Install cli-anything-hub, browse the registry, and install ready-made CLIs. |
| Build a new agent-native CLI | Install the CLI-Anything plugin/skill for your agent, then run the 7-phase harness generator. |
Phase 1: Empower yourself — your CLI toolkit
Install the CLI-Hub package manager first. It lets you browse, search, inspect, install, update, uninstall, and launch CLI-Anything harnesses plus public third-party CLIs from one command.
PIP
pip install cli-anything-hub
| Command | What it does |
|---|---|
cli-hub list |
Browse the registry |
cli-hub search <query> |
Search by keyword |
cli-hub info <name> |
Inspect one CLI |
cli-hub install <name> |
Install from CLI-Hub |
cli-hub update <name> |
Update an install |
cli-hub uninstall <name> |
Remove an install |
cli-hub launch <name> [args...] |
Run an installed CLI |
# Browse what is available
cli-hub list
cli-hub search image
# Install and try a CLI immediately
cli-hub install gimp
cli-hub info gimp
cli-hub launch gimp
Some CLIs wrap real desktop or backend software. If a selected CLI needs GIMP, Blender, LibreOffice, or another upstream tool, install that upstream application too.
Phase 1.5: Empower your agents — install in one command
Give SKILL-compatible agents the CLI-Hub meta-skill so they can discover and install the right CLI for a task.
Also available on: ClawHub, SkillHub, SkillHub.cn
NPX SKILLS
npx skills add HKUDS/CLI-Anything --skill cli-hub-meta-skill -g -y
Works with: OpenClaw, Nanobot, Claude Code, Codex, Reasonix, Antigravity, and other SKILL-compatible agents.
Then prompt:
Find appropriate CLI software in CLI-Hub and complete the task: ...
Phase 3: Build a new CLI when the registry does not have one yet
Use the CLI-Anything generator when you need a new harness for software, a codebase, or an internal tool that is not already available through CLI-Hub.
Prerequisites
- Python 3.10+
- Target software or source repo available locally or online
- A supported AI coding agent: Claude Code | Cursor | Pi | OpenClaw | OpenCode | Codex | Hermes | Reasonix | Qodercli | GitHub Copilot CLI | More Platforms
Pick Your Agent Platform
⚡ Claude Code
Step 1: Add the Marketplace
CLI-Anything is distributed as a Claude Code plugin marketplace hosted on GitHub.
# Add the CLI-Anything marketplace
/plugin marketplace add HKUDS/CLI-Anything
Step 2: Install the Plugin
# Install the cli-anything plugin from the marketplace
/plugin install cli-anything
That's it. The plugin is now available in your Claude Code session.
Note for Win Users: Claude Code runs shell commands via
bash. On Windows, install Git for Windows (includesbashandcygpath) or use WSL; otherwise commands may fail withcygpath: command not found.
Step 3: Build a CLI in One Command
# /cli-anything <software-path-or-repo>
# Generate a complete CLI for GIMP (all 7 phases)
/cli-anything ./gimp
Command compatibility across Claude Code versions:
- Use
/cli-anythingas the primary entrypoint. - On older builds where
/cli-anythingisn't recognized after confirming the plugin is installed and loaded, try the legacy entry form/cli-anything:cli-anything. - Auxiliary commands keep the
:subcommandform (e.g./cli-anything:refine).
If you see Unknown skill: cli-anything, focus on plugin install/load first (both entry forms reference the same skill, so swapping forms won't help):
- Reload plugin commands:
/reload-plugins - Verify the plugin is loaded:
/help cli-anything(CLI-Anything help/commands should appear) - Reinstall from marketplace if needed:
/plugin marketplace add HKUDS/CLI-Anything/plugin install cli-anything
- After confirming the plugin is available, retry the entry command:
- Preferred:
/cli-anything ./gimp - Older builds only:
/cli-anything:cli-anything ./gimp
- Preferred:
This runs the full pipeline:
- 🔍 Analyze — Scans source code, maps GUI actions to APIs
- 📐 Design — Architects command groups, state model, output formats
- 🔨 Implement — Builds Click CLI with REPL, JSON output, undo/redo
- 📋 Plan Tests — Creates TEST.md with unit + E2E test plans
- 🧪 Write Tests — Implements comprehensive test suite
- 📝 Document — Updates TEST.md with results
- 📦 Publish — Creates
setup.py, installs to PATH
Step 4 (Optional): Refine and Improve the CLI
After the initial build, you can iteratively refine the CLI to expand coverage and add missing capabilities:
# Broad refinement — agent analyzes gaps across all capabilities
/cli-anything:refine ./gimp
# Focused refinement — target a specific functionality area
/cli-anything:refine ./gimp "I want more CLIs on image batch processing and filters"
The refine command performs gap analysis between the software's full capabilities and current CLI coverage, then implements new commands, tests, and documentation for the identified gaps. You can run it multiple times to steadily expand coverage — each run is incremental and non-destructive.
Alternative: Manual Installation
If you prefer not to use the marketplace:
# Clone the repo
git clone https://github.com/HKUDS/CLI-Anything.git
# Copy plugin to Claude Code plugins directory
cp -r CLI-Anything/cli-anything-plugin ~/.claude/plugins/cli-anything
# Reload plugins
/reload-plugins
⚡ Pi Coding Agent
Step 1: Install the Extension
The extension lives at .pi-extension/cli-anything/ in this repository. Install it globally so /cli-anything commands are available in all Pi projects:
# Clone the repo
git clone https://github.com/HKUDS/CLI-Anything.git
cd CLI-Anything
# Install globally into Pi's extensions directory
bash .pi-extension/cli-anything/install.sh
To uninstall:
bash .pi-extension/cli-anything/install.sh --uninstall
How it works:
install.shcopies the extension files (including HARNESS.md, commands, guides, scripts, and templates fromcli-anything-plugin/) into~/.pi/agent/extensions/cli-anything/, which Pi auto-discovers on startup. Run/reloadin Pi or restart Pi to activate.
Step 2: Build a CLI in One Command
Once the extension is loaded, the following commands are available:
# Generate a complete CLI for GIMP (all 7 phases)
/cli-anything ./gimp
# Build from a GitHub repo
/cli-anything https://github.com/blender/blender
Step 3 (Optional): Refine and Improve the CLI
# Broad refinement — agent analyzes gaps across all capabilities
/cli-anything:refine ./gimp
# Focused refinement — target a specific functionality area
/cli-anything:refine ./gimp "batch processing and filters"
Available Commands
| Command | Description |
|---|---|
/cli-anything <path-or-repo> |
Build a complete CLI harness |
/cli-anything:refine <path> [focus] |
Refine an existing CLI harness |
/cli-anything:test <path-or-repo> |
Run tests for a CLI harness |
/cli-anything:validate <path-or-repo> |
Validate a CLI harness |
/cli-anything:list [options] |
List all CLI-Anything tools |
⚡ OpenCode (Experimental)
Step 1: Install the Commands
Note: Please upgrade to the latest OpenCode. Older versions may use a different commands path.
Copy the CLI-Anything commands and HARNESS.md to your OpenCode commands directory:
# Clone the repo
git clone https://github.com/HKUDS/CLI-Anything.git
# Global install (available in all projects)
cp CLI-Anything/opencode-commands/*.md ~/.config/opencode/commands/
cp CLI-Anything/cli-anything-plugin/HARNESS.md ~/.config/opencode/commands/
# Or project-level install
cp CLI-Anything/opencode-commands/*.md .opencode/commands/
cp CLI-Anything/cli-anything-plugin/HARNESS.md .opencode/commands/
Note: Please upgrade to the latest OpenCode. Older versions use
command/(singular) instead ofcommands/. Ifcommands/does not exist, usecommand/for both global and project-level installs.
Note:
HARNESS.mdis the methodology spec that all commands reference. It must be in the same directory as the commands.
This adds 5 slash commands: /cli-anything, /cli-anything-refine, /cli-anything-test, /cli-anything-validate, and /cli-anything-list.
Step 2: Build a CLI in One Command
# Generate a complete CLI for GIMP (all 7 phases)
/cli-anything ./gimp
# Build from a GitHub repo
/cli-anything https://github.com/blender/blender
The command runs as a subtask and follows the same 7-phase methodology as Claude Code.
Step 3 (Optional): Refine and Improve the CLI
# Broad refinement — agent analyzes gaps across all capabilities
/cli-anything-refine ./gimp
# Focused refinement — target a specific functionality area
/cli-anything-refine ./gimp "batch processing and filters"
⚡ Goose (Desktop / CLI) Experimental Community
Experimental CommunityStep 1: Install Goose
Install Goose (Desktop or CLI) using the official Goose instructions for your OS.
Step 2: Configure a CLI Provider
Configure Goose to use a CLI provider such as Claude Code, and make sure that CLI is installed and authenticated.
Step 3: Use CLI-Anything in a Goose Session
Once Goose is configured, start a session and use the same CLI-Anything commands described above for Claude Code, for example:
/cli-anything ./gimp
/cli-anything:refine ./gimp "batch processing and filters"
Note: When Goose runs through a CLI provider, it uses that provider's capabilities and command format.
⚡ Qodercli Community
CommunityStep 1: Register the Plugin
git clone https://github.com/HKUDS/CLI-Anything.git
bash CLI-Anything/qoder-plugin/setup-qodercli.sh
This registers the cli-anything plugin in ~/.qoder.json. Start a new Qodercli session after registration.
Step 2: Use CLI-Anything from Qodercli
/cli-anything ./gimp
/cli-anything:refine ./gimp "batch processing and filters"
/cli-anything:validate ./gimp
⚡ OpenClaw Community
CommunityStep 1: Install the Skill
CLI-Anything provides a native OpenClaw SKILL.md file. Copy it to your OpenClaw skills directory:
# Clone the repo
git clone https://github.com/HKUDS/CLI-Anything.git
# Install to the global skills folder
mkdir -p ~/.openclaw/skills/cli-anything
cp CLI-Anything/openclaw-skill/SKILL.md ~/.openclaw/skills/cli-anything/SKILL.md
Step 2: Build a CLI
Now you can invoke the skill inside OpenClaw:
@cli-anything build a CLI for ./gimp
The skill follows the same 7-phase methodology as Claude Code and OpenCode.
⚡ Cursor
Cursor gets both tracks:
| Track | Purpose | Install |
|---|---|---|
| Generator | Build new harnesses with /cli-anything (and refine/test/validate/list) |
Cursor plugin in cursor-plugin/ |
| Consumer | Find/install/use published CLIs from CLI-Hub | npx skills + cli-hub (unchanged) |
Generator — install the Cursor plugin
git clone https://github.com/HKUDS/CLI-Anything.git
bash CLI-Anything/cursor-plugin/scripts/install.sh
Windows PowerShell:
.\CLI-Anything\cursor-plugin\scripts\install.ps1
Upgrade with --force / -Force. Default install path is
~/.cursor/plugins/local/cli-anything (override with CURSOR_PLUGINS_HOME pointing at a
directory named plugins). The installer vendors cli-anything-plugin/ methodology
resources and writes PLUGIN_ROOT.txt plus ~/.cursor/cli-anything-generator.root
so Cursor agents can resolve absolute methodology paths.
Reload the Cursor window (Developer: Reload Window), then:
/cli-anything ./gimp
/cli-anything-refine ./shotcut "picture-in-picture workflows"
/cli-anything-test ./libreoffice
/cli-anything-validate ./libreoffice
/cli-anything-list
Consumer — Hub / skills (separate from the generator plugin)
npx skills add HKUDS/CLI-Anything --skill cli-hub-meta-skill -g -y
# or a per-app skill, e.g. cli-anything-blender
pip install cli-anything-hub
Verify the plugin installer locally:
bash CLI-Anything/cursor-plugin/tests/test_install.sh
See cursor-plugin/README.md for troubleshooting local plugin loading.
⚡ Codex Experimental Community
Experimental CommunityStep 1: Install the Skill
Run the bundled installer:
# Clone the repo
git clone https://github.com/HKUDS/CLI-Anything.git
# Install the skill
bash CLI-Anything/codex-skill/scripts/install.sh
On Windows PowerShell, use:
.\CLI-Anything\codex-skill\scripts\install.ps1
This installs the skill to $CODEX_HOME/skills/cli-anything (or ~/.codex/skills/cli-anything if CODEX_HOME is unset).
The installer also vendors the canonical HARNESS.md, command specifications,
on-demand guides, reusable helper scripts, skill template, and preview protocol
into the installed skill's references/ and scripts/ directories.
This keeps the Codex skill self-contained while using cli-anything-plugin/ as
the source of truth.
Restart Codex after installation so it is discovered.
Step 2: Use CLI-Anything from Codex
Describe the task in natural language, for example:
Use CLI-Anything to build a harness for ./gimp
Use CLI-Anything to refine ./shotcut for picture-in-picture workflows
Use CLI-Anything to validate ./libreoffice
Use CLI-Anything to list generated harnesses under the current directory
The Codex skill adapts the same methodology used by the Claude Code plugin and OpenCode commands, while keeping the generated Python harness format unchanged.
To verify the self-contained Codex installation locally:
bash CLI-Anything/codex-skill/tests/test_install.sh
⚡ Hermes Experimental Community
Experimental CommunityStep 1: Install the Skill
Run the bundled installer:
# Clone the repo
git clone https://github.com/HKUDS/CLI-Anything.git
# Install the skill
bash CLI-Anything/hermes-skill/scripts/install.sh
On Windows PowerShell, use:
.\CLI-Anything\hermes-skill\scripts\install.ps1
This installs the skill to $HERMES_HOME/skills/cli-anything-hermes (or ~/.hermes/skills/cli-anything-hermes if HERMES_HOME is unset).
Restart Hermes Agent after installation so it is discovered.
Step 2: Use CLI-Anything from Hermes
Describe the task in natural language, for example:
Use CLI-Anything to build a harness for ./gimp
Use CLI-Anything to refine ./shotcut for picture-in-picture workflows
Use CLI-Anything to validate ./libreoffice
The Hermes skill adapts the same methodology used by the Claude Code plugin and
Codex skill, binding Hermes's terminal, execute_code, delegate_task, and
read_file / write_file / patch tools to the 7-phase harness workflow while
keeping the generated Python harness format unchanged.
⚡ Reasonix Experimental Community
Experimental CommunityStep 1: Install the Skill
Run the bundled installer:
# Clone the repo
git clone https://github.com/HKUDS/CLI-Anything.git
# Install the skill
bash CLI-Anything/reasonix-skill/scripts/install.sh
On Windows PowerShell, use:
.\CLI-Anything\reasonix-skill\scripts\install.ps1
This installs the skill to Reasonix's global skill directory at ~/.reasonix/skills/cli-anything.
Restart Reasonix after installation so it is discovered.
Step 2: Use CLI-Anything from Reasonix
Describe the task in natural language, for example:
Use CLI-Anything to build a harness for ./gimp
Use CLI-Anything to refine ./shotcut for picture-in-picture workflows
Use CLI-Anything to validate ./libreoffice
The Reasonix skill adapts the same methodology used by the Claude Code plugin and
Codex/Hermes skills, binding Reasonix's bash, write_file, edit_file,
multi_edit, grep, glob, and optional mcp__codegraph__search / mcp__codegraph__context tools to the
7-phase harness workflow while keeping the generated Python harness format unchanged.
⚡ GitHub Copilot CLI Community
CommunityStep 1: Install the Plugin
git clone https://github.com/HKUDS/CLI-Anything.git
cd CLI-Anything
copilot plugin install ./cli-anything-plugin
This installs the CLI-Anything plugin to GitHub Copilot CLI. The plugin should now be available in your GitHub Copilot CLI session.
Step 2: Use CLI-Anything from GitHub Copilot CLI
/cli-anything ./gimp
/cli-anything:refine ./gimp "batch processing and filters"
/cli-anything:validate ./gimp
🔮 More Platforms (Coming Soon)
CLI-Anything is designed to be platform-agnostic. Support for more AI coding agents is planned:
- Cursor — available via the Cursor plugin in
cursor-plugin/(generator) plus Hub/skills (consumer) - Codex — available via the bundled skill in
codex-skill/ - Windsurf — coming soon
- Your favorite tool — contributions welcome! See the
opencode-commands/directory for a reference implementation.
Use the Generated CLI
Regardless of which platform you used to build it, the generated CLI works the same way:
# Install to PATH
cd gimp/agent-harness && pip install -e .
# Use from anywhere
cli-anything-gimp --help
cli-anything-gimp project new --width 1920 --height 1080 -o poster.json
cli-anything-gimp --json layer add -n "Background" --type solid --color "#1a1a2e"
# Enter interactive REPL
cli-anything-gimp
Each in-repo harness now has a canonical SKILL.md at skills/cli-anything-<software>/SKILL.md, which makes the monorepo directly discoverable via npx skills add HKUDS/CLI-Anything --list. Installed harness packages still ship a compatibility copy at cli_anything/<software>/skills/SKILL.md, and the REPL banner prefers the repo-root canonical file when present, falling back to the packaged copy otherwise.
🤖 Empower Your Agents with CLI-Hub
CLI-Hub lets agents autonomously discover, install, and use the CLIs they need.
npx skills add HKUDS/CLI-Anything --skill cli-hub-meta-skill -g -y
Also available on: ClawHub, SkillHub, SkillHub.cn
Then prompt:
Find appropriate CLI software in CLI-Hub and complete the task: ...
The meta-skill points agents to the live CLI-Hub catalog, where they can choose a CLI, install it, and read its own SKILL.md for task-specific usage.
💡 CLI-Anything's Vision: Building Agent-Native Software
• 🌐 Universal Access - Every software becomes instantly agent-controllable through structured CLI.
• 🔗 Seamless Integration - Agents control any application without APIs, GUI, rebuilding or complex wrappers.
• 🚀 Future-Ready Ecosystem - Transform human-designed software into agent-native tools with one command.
🔧 When to Use CLI-Anything
| Category | How to be Agent-native | Notable Examples |
|---|---|---|
| 📂 GitHub Repositories | Transform any open-source project into agent-controllable tools through automatic CLI generation | VSCodium, WordPress, Calibre, Zotero, Joplin, Logseq, Penpot, Super Productivity |
| 🤖 AI/ML Platforms | Automate model training, inference pipelines, and hyperparameter tuning through structured commands | Stable Diffusion WebUI, ComfyUI, Ollama, InvokeAI, Text-generation-webui, Open WebUI, Fooocus, Kohya_ss, AnythingLLM, SillyTavern |
| 📊 Data & Analytics | Enable programmatic data processing, visualization, and statistical analysis workflows | JupyterLab, Apache Superset, Metabase, Redash, DBeaver, KNIME, Orange, OpenSearch Dashboards, Lightdash |
| 💻 Development Tools | Streamline code editing, building, testing, and deployment processes via command interfaces | Jenkins, Gitea, Hoppscotch, Portainer, pgAdmin, SonarQube, ArgoCD, OpenLens, Insomnia, Beekeeper Studio, iTerm2 |
| 🎨 Creative & Media | Control content creation, editing, and rendering workflows programmatically | Blender, GIMP, OBS Studio, Audacity, WaveTone, Krita, Kdenlive, Shotcut, Inkscape, Darktable, LMMS, Ardour |
| 🎮 Game Development | Manage game projects, scenes, exports, and scripting through headless engine interfaces | Godot Engine, s&box |
| 🔬 Scientific Computing | Automate research workflows, simulations, and complex calculations | ImageJ, FreeCAD, QGIS, ParaView, Gephi, LibreCAD, Stellarium, KiCad, JASP, Jamovi |
| 🏢 Enterprise & Office | Convert business applications and productivity tools into agent-accessible systems | NextCloud, GitLab, Grafana, Mattermost, LibreOffice, AppFlowy, NocoDB, Odoo (Community), Plane, ERPNext |
| 📞 Communication & Collaboration | Automate meeting scheduling, participant management, recording retrieval, and reporting through structured CLI | Zoom, Jitsi Meet, BigBlueButton, Mattermost |
| 📐 Diagramming & Visualization | Create and manipulate diagrams, flowcharts, architecture diagrams, and visual documentation programmatically | Draw.io (diagrams.net), Mermaid, PlantUML, Excalidraw, yEd |
| 🌐 Network & Infrastructure | Manage network services, DNS, ad-blocking, and infrastructure through structured CLI commands | AdGuardHome |
| 🧪 Testing & Mocking | Control HTTP mock servers, manage test stubs, record and replay API traffic for integration testing | WireMock |
| 🔬 Graphics & GPU Debugging | Analyze GPU frame captures, inspect pipeline state, export shaders, and diff rendering state | RenderDoc |
| ⚙️ Fabrication & Machine Control | Drive real hardware from design file to physical output — safety-gated detect, preflight, jog, and framing commands with machine profiles over the software's real backend | MeerK40t (laser), Ink/Stitch (embroidery) |
| 🎬 Video & Subtitles | Transcribe speech, translate subtitles, burn styled captions into video — full captioning pipeline | VideoCaptioner |
| 🔍 AI-Native Search | Neural and deep web search with structured content retrieval through embedding-based APIs | Exa |
| ✨ AI Content Generation | Generate professional deliverables (slides, docs, diagrams, websites, research reports) through AI-powered cloud APIs | AnyGen, Gamma, Beautiful.ai, Tome |
CLI-Anything's Key Features
The Agent-Software Gap
AI agents are great at reasoning but terrible at using real professional software. Current solutions are fragile UI automation, limited APIs, or dumbed-down reimplementations that miss 90% of functionality.
CLI-Anything's Solution: Transform any professional software into agent-native tools without losing capabilities.
| Current Pain Point | CLI-Anything's Fix |
|---|---|
| 🤖 "AI can't use real tools" | Direct integration with actual software backends (Blender, LibreOffice, FFmpeg) — full professional capabilities, zero compromises |
| 💸 "UI automation breaks constantly" | No screenshots, no clicking, no RPA fragility. Pure command-line reliability with structured interfaces |
| 📊 "Agents need structured data" | Built-in JSON output for seamless agent consumption + human-readable formats for debugging |
| 🔧 "Custom integrations are expensive" | One Claude plugin auto-generates CLIs for ANY codebase through proven 7-phase pipeline |
| ⚡ "Prototype vs Production gap" | 2,280+ tests with real software validation. Battle-tested across 18 major applications |
🎯 What Can You Do with CLI-Anything?
🛠️ Let Agents Take Your WorkflowsProfessional or everyday — just throw the codebase at |
🔗 Unify Scattered APIs into One CLITired of juggling fragmented web service APIs? Feed the docs or SDK manuscripts to |
🚀 Replace or Supercharge GUI AgentsCLI-Anything can flat-out replace GUI-based agent approaches — no more screenshots, no brittle pixel-clicking. But here's the fun part: once you |
✨ ⚙️ How CLI-Anything Works
🏗️ Fully Automated 7-Phase PipelineFrom codebase analysis to PyPI publishing — the plugin handles architecture design, implementation, test planning, test writing, and documentation completely automatically. |
🎯 Authentic Software IntegrationDirect calls to real applications for actual rendering. LibreOffice generates PDFs, Blender renders 3D scenes, Audacity processes audio via sox. Zero compromises, Zero toy implementations. |
🔁 Smart Session ManagementPersistent project state with undo/redo capabilities, plus unified REPL interface (ReplSkin) that delivers consistent interactive experience across all CLIs. |
📦 Zero-Config InstallationSimple pip install -e . puts cli-anything- directly on PATH. Agents discover tools via standard which commands. No setup, no wrappers. |
🧪 Production-Grade TestingMulti-layered validation: unit tests with synthetic data, end-to-end tests with real files and software, plus CLI subprocess verification of installed commands. |
🐍 Clean Package ArchitectureAll CLIs organized under cli_anything.* namespace — conflict-free, pip-installable, with consistent naming: cli-anything-gimp, cli-anything-blender, etc. |
🤖 SKILL.md Generation
Each generated CLI now has a canonical SKILL.md at skills/cli-anything-<software>/SKILL.md. This makes the current monorepo directly consumable by npx skills, while a packaged compatibility copy at cli_anything/<software>/skills/SKILL.md preserves installed-harness behavior.
What SKILL.md provides:
- YAML frontmatter with name and description for agent skill discovery
- Command groups with all available subcommands documented
- Usage examples for common workflows
- Agent-specific guidance for JSON output, error handling, and programmatic use
SKILL.md files are auto-generated during Phase 6.5 of the pipeline using skill_generator.py, which extracts metadata directly from the CLI's Click decorators, setup.py, and README. The generator now writes the canonical repo-root skill file and refreshes the package-local compatibility copy used by installed harnesses. Inside this repo, the REPL banner points agents to the canonical root skill path; after pip install, it falls back to the packaged copy.
🎬 Real-World Demos
AI agents using generated CLIs to produce complete, useful artifacts — no GUI needed.
FreeCAD — Curiosity Rover via Preview, Live Preview, and Trajectory
Harness:
cli-anything-freecad| Preview Stack:preview+preview live+trajectory.json| Artifact: Agent-built Curiosity-style rover
An agent incrementally assembles a Curiosity-inspired rover while publishing real FreeCAD preview bundles, refreshing a live preview session, and recording command-to-preview history for later replay. The resulting demo shows the artifact evolving step by step before the final showcase.
README GIF generated from the full local demo video with a speed-adjusted, high-quality ffmpeg palette workflow.
Blender — Orbital Relay Drone via Preview, Live Preview, and Trajectory
Harness:
cli-anything-blender| Preview Stack:preview+preview live+trajectory.json| Artifact: Agent-built orbital relay drone
An agent uses the Blender harness to grow a hard-surface orbital relay drone under a real preview loop: each stage pushes new render-backed bundles, the live session tracks the current head, and the trajectory ties every command to the matching visual state. The demo finishes with the completed scene ready for a polished turntable.
README GIF generated from the full local demo video with a speed-adjusted, high-quality ffmpeg palette workflow.
Draw.io — HTTPS Handshake Diagram
Harness:
cli-anything-drawio| Time: ~4 min | Artifact:.drawio+.png
An agent creates a full HTTPS connection lifecycle diagram from scratch — TCP three-way handshake, TLS negotiation, encrypted data exchange, and TCP four-way termination — entirely through CLI commands.
Final artifact
Contributed by @zhangxilong-43
Slay the Spire II — Game Automation
Harness:
cli-anything-slay-the-spire-ii| Artifact: Automated gameplay session
An agent plays through a Slay the Spire II run using the CLI harness — reading game state, selecting cards, choosing paths, and making strategic decisions in real-time.
Contributed by @TianyuFan0504
VideoCaptioner — Auto-Generated Subtitles
Harness:
cli-anything-videocaptioner| Artifact: Captioned video frames
An agent uses the VideoCaptioner CLI to automatically generate and overlay styled subtitles onto video content, with bilingual text rendering and customizable formatting.
| Sub A | Sub B |
![]() |
![]() |
Contributed by @WEIFENG2333
ArcGIS Pro — Live Agent Cartography via the MCP Bridge
Harness:
arcgis-pro(registered inpublic_registry.json) | Mode: live-Pro MCP bridge | Artifact: Agent-driven map navigation in a running ArcGIS Pro session
An agent drives a live, open ArcGIS Pro session through an MCP bridge — reading the project, zooming the map to feature layers, running geoprocessing, and exporting layouts — while each step executes inside Pro as you watch. ArcGIS Pro is Esri's commercial GIS desktop (Windows-only, licensed), so this wraps its official ArcPy / ArcGIS Pro SDK rather than being generated from source — the ArcGIS Pro counterpart to the QGIS harness.
README GIF generated from the full local demo video with a high-quality ffmpeg palette workflow.
Contributed by @Jasper0122
More CLI demos coming soon.
🎬 Demonstrations
🎯 General-Purpose
CLI-Anything works on any software with a codebase — no domain restrictions or architectural limitations.
🏭 Professional-Grade Testing
Tested across 18 diverse, complex applications spanning creative, productivity, communication, diagramming, AI image generation, AI content generation, network ad blocking, local LLM inference, native debugging, and graphics profiling domains previously inaccessible to AI agents.
🎨 Diverse Domain Coverage
From creative workflows (image editing, 3D modeling, vector graphics) to production tools (audio, office, live streaming, video editing).
✅ Full CLI Generation
Each application received complete, production-ready CLI interfaces — not demos, but comprehensive tool access preserving full capabilities.
| Software | Domain | CLI Command | Backend | Tests |
|---|---|---|---|---|
| 🎨 GIMP | Image Editing | cli-anything-gimp |
Pillow + GEGL/Script-Fu | ✅ 107 |
| 🧊 Blender | 3D Modeling & Rendering | cli-anything-blender |
bpy (Python scripting) | ✅ 208 |
| ✏️ Inkscape | Vector Graphics | cli-anything-inkscape |
Direct SVG/XML manipulation | ✅ 202 |
| 🎵 Audacity | Audio Production | cli-anything-audacity |
Python wave + sox | ✅ 161 |
| WaveTone | Audio Transcription | cli-anything-wavetone |
JSON manifest + real WaveTone launch | New |
| 🌐 Browser | Browser Automation | cli-anything-browser |
DOMShell MCP + Accessibility Tree | ✅ New |
| Web Yu-pri | Japan Post Shipping Labels | cli-anything-web-yu-pri |
Playwright + Web Yu-pri forms | ✅ New |
| 📄 LibreOffice | Office Suite (Writer, Calc, Impress) | cli-anything-libreoffice |
ODF generation + headless LO | ✅ 158 |
| OpenRefine | Data Cleaning | cli-anything-openrefine |
OpenRefine local HTTP API | ✅ 76 |
| ⚡ n8n | Workflow Automation | cli-anything-n8n |
n8n REST API v1.1.1 | ✅ 55+ cmds |
| 📧 Mailchimp | Email Marketing & Automation | cli-anything-mailchimp |
Mailchimp Marketing API v3.0 | ✅ 303 cmds |
| 📚 Zotero | Reference Management | cli-anything-zotero |
Local SQLite + connector + Local API | ✅ New |
| 📖 Calibre | E-book Library Management | cli-anything-calibre |
calibredb + ebook-convert + ebook-meta | ✅ 58 |
| 📓 Joplin | Note-taking & To-dos | cli-anything-joplin |
Joplin terminal CLI subprocess | ✅ 134 |
| 📝 Mubu | Knowledge Management & Outlining | cli-anything-mubu |
Local Mubu data + sync logs | ✅ 96 |
| 📹 OBS Studio | Live Streaming & Recording | cli-anything-obs-studio |
JSON scene + obs-websocket | ✅ 153 |
| 📱 NSLogger | iOS/macOS Log Capture | cli-anything-nslogger |
NSLogger wire protocol + native macOS Bonjour | ✅ 139 |
| 🎞️ Kdenlive | Video Editing | cli-anything-kdenlive |
MLT XML + melt renderer | ✅ 155 |
| 🎬 Shotcut | Video Editing | cli-anything-shotcut |
Direct MLT XML + melt | ✅ 154 |
| 🎬 Openscreen | Screen Recording Editor | cli-anything-openscreen |
ffmpeg backend | ✅ 101 |
| 📞 Zoom | Video Conferencing | cli-anything-zoom |
Zoom REST API (OAuth2) | ✅ 22 |
| 🎵 MuseScore | Music Notation | cli-anything-musescore |
mscore CLI (MSCX/MusicXML) | ✅ 56 |
| 📐 Draw.io | Diagramming | cli-anything-drawio |
mxGraph XML + draw.io CLI | ✅ 138 |
| EEZ Studio | Embedded UI / Instrument Automation | cli-anything-eez-studio |
.eez-project JSON + EEZ Studio Node backend | ✅ New |
| ⛓️ ETH2 QuickStart | DevOps / Ethereum | cli-anything-eth2-quickstart |
eth2-quickstart shell automation + JSON health checks | ✅ 18 |
| 🧜 Mermaid Live Editor | Diagramming | cli-anything-mermaid |
Mermaid state + mermaid.ink renderer | ✅ 10 |
| ✨ AnyGen | AI Content Generation | cli-anything-anygen |
AnyGen REST API (anygen.io) | ✅ 50 |
| 🧠 NotebookLM | AI Research Assistant | cli-anything-notebooklm |
NotebookLM CLI wrapper (experimental) | ✅ 21 |
| 🧩 Dify Workflow | Dify DSL Editing | cli-anything-dify-workflow |
Wrapper around the open-source dify-workflow CLI | ✅ 11 |
| 🖼️ ComfyUI | AI Image Generation | cli-anything-comfyui |
ComfyUI REST API | ✅ 70 |
| 🛡️ AdGuard Home | Network-wide Ad Blocking | cli-anything-adguardhome |
AdGuard Home REST API | ✅ 36 |
| 🦙 Ollama | Local LLM Inference | cli-anything-ollama |
Ollama REST API | ✅ 98 |
| 🧬 Uni-Mol Tools | Molecular Property Prediction (AI4S) | cli-anything-unimol-tools |
Uni-Mol molecular ML backend | ✅ 67 |
| 🎬 VideoCaptioner | AI Video Captioning | cli-anything-videocaptioner |
videocaptioner CLI (PyPI) | ✅ 26 |
| 🎨 Sketch | UI Design | sketch-cli |
sketch-constructor (Node.js) | ✅ 19 |
| 🎮 Godot Engine | Game Development | cli-anything-godot |
Godot 4.x headless subprocess | ✅ 24 |
| 📦 s&box | Game Development | cli-anything-sbox |
Source 2 game engine - direct file I/O on .scene/.prefab/.vmat/.vsnd JSON | ✅ 244 |
| 🐞 LLDB | Native Debugging | cli-anything-lldb |
LLDB Python API | ✅ 27 |
| 🟩 Nsight Graphics CLI | GPU Debugging & Profiling | cli-anything-nsight-graphics |
Official ngfx / ngfx-capture orchestration + GPU Trace summary + replay analysis | ✅ 51 |
| 🔍 Exa | AI-Native Web Search | cli-anything-exa |
exa-py SDK | ✅ 40 |
| 📈 Unreal Insights | Performance Profiling | cli-anything-unrealinsights |
Background trace sessions + engine-matched UnrealInsights build + headless export | ✅ 50 |
| ☁️ CloudAnalyzer | Point cloud / trajectory QA | cli-anything-cloudanalyzer |
CloudAnalyzer (Python API) | ✅ 14 |
| 🗺️ QGIS | Geospatial Analysis & Mapping | cli-anything-qgis |
PyQGIS + qgis_process | ✅ 22 |
| 🔩 3MF | Mesh geometry editor for 3D printing | cli-anything-3mf |
numpy, scipy, trimesh | ✅ 50 |
| 🗄️ Tigris | Object Storage (S3-compatible, global, no egress) — buckets, objects, snapshots, IAM, access keys | cli-anything-tigris |
subprocess wrapping the official tigris CLI |
✅ New |
| Total | ✅ 2,461 | |||
100% pass rate across all 2,461 tests — 1,732 unit tests + 579 end-to-end tests + 19 Node.js tests.
📊 Test Results
Each CLI harness undergoes rigorous multi-layered testing to ensure production reliability:
| Layer | What it tests | Example |
|---|---|---|
| Unit tests | Every core function in isolation with synthetic data | test_core.py — project creation, layer ops, filter params |
| E2E tests (native) | Project file generation pipeline | Valid ODF ZIP structure, correct MLT XML, SVG well-formedness |
| E2E tests (true backend) | Real software invocation + output verification | LibreOffice → PDF with %PDF- magic bytes, Blender → rendered PNG |
| CLI subprocess tests | Installed command via subprocess.run |
cli-anything-gimp --json project new → valid JSON output |
================================ Test Summary ================================
gimp 107 passed ✅ (64 unit + 43 e2e)
blender 208 passed ✅ (150 unit + 58 e2e)
inkscape 202 passed ✅ (148 unit + 54 e2e)
audacity 161 passed ✅ (107 unit + 54 e2e)
wavetone 30 passed ✅ (24 unit + 6 default e2e, 2 backend-gated e2e skipped; 32 passed opt-in)
libreoffice 158 passed ✅ (89 unit + 69 e2e)
mubu 96 passed ✅ (85 unit + 11 e2e)
obs-studio 153 passed ✅ (116 unit + 37 e2e)
nslogger 139 passed ✅ (97 unit + 42 e2e)
kdenlive 155 passed ✅ (111 unit + 44 e2e)
shotcut 154 passed ✅ (110 unit + 44 e2e)
zoom 22 passed ✅ (22 unit + 0 e2e)
drawio 138 passed ✅ (116 unit + 22 e2e)
eth2-quickstart 18 passed ✅ (18 unit + 3 e2e skipped)
mermaid 10 passed ✅ (5 unit + 5 e2e)
anygen 50 passed ✅ (40 unit + 10 e2e)
notebooklm 21 passed ✅ (21 unit + 0 e2e)
comfyui 73 passed ✅ (63 unit + 10 e2e)
adguardhome 36 passed ✅ (24 unit + 12 e2e)
ollama 98 passed ✅ (87 unit + 11 e2e)
sketch 19 passed ✅ (19 jest, Node.js)
renderdoc 59 passed ✅ (45 unit + 14 e2e)
cloudcompare 88 passed ✅ (49 unit + 39 e2e)
openscreen 101 passed ✅ (78 unit + 23 e2e)
lldb 27 passed ✅ (23 unit + 4 e2e)
nsight-graphics 51 passed ✅ (46 unit/CLI + 5 local e2e)
unrealinsights 50 passed ✅ (49 unit + 1 e2e, 9 backend-gated e2e skipped)
cloudanalyzer 14 passed ✅ (7 unit + 7 e2e)
3mf 50 passed ✅ (50 unit)
joplin 134 passed ✅ (107 unit + 27 e2e, 1 skipped on Windows)
──────────────────────────────────────────────────────────────────────────────
TOTAL 2,464 passed ✅ 100% pass rate
🏗️ CLI-Anything's Architecture
🎯 Core Design Principles
Authentic Software Integration — The CLI generates valid project files (ODF, MLT XML, SVG) and delegates to real applications for rendering. We build structured interfaces TO software, not replacements.
Flexible Interaction Models — Every CLI operates in dual modes: stateful REPL for interactive agent sessions + subcommand interface for scripting/pipelines. Run bare command → enter REPL mode.
Consistent User Experience — All generated CLIs share unified REPL interface (repl_skin.py) with branded banners, styled prompts, command history, progress indicators, and standardized formatting.
Agent-Native Design — Built-in --json flag on every command delivers structured data for machine consumption, while human-readable tables serve interactive use. Agents discover capabilities via standard --help and which commands.
Zero Compromise Dependencies — Real software is a hard requirement — no fallbacks, no graceful degradation. Tests fail (not skip) when backends are missing, ensuring authentic functionality.
📂 Project Structure
cli-anything/
├── 📄 README.md # You are here
├── 📁 assets/ # Images and media
│ ├── icon.png # Project icon
│ └── teaser.png # Teaser figure
│
├── 🔌 cli-anything-plugin/ # The Claude Code plugin
│ ├── HARNESS.md # Methodology SOP (source of truth)
│ ├── README.md # Plugin documentation
│ ├── QUICKSTART.md # 5-minute getting started
│ ├── PUBLISHING.md # Distribution guide
│ ├── repl_skin.py # Unified REPL interface
│ ├── commands/ # Plugin command definitions
│ │ ├── cli-anything.md # Main build command
│ │ ├── refine.md # Expand existing harness coverage
│ │ ├── test.md # Test runner
│ │ └── validate.md # Standards validation
│ └── scripts/
│ └── setup-cli-anything.sh # Setup script
│
├── 🖱️ cursor-plugin/ # Cursor Desktop generator plugin
│ ├── .cursor-plugin/plugin.json # Cursor plugin manifest
│ ├── commands/ # /cli-anything slash commands
│ ├── skills/ # Supporting generator skill
│ ├── rules/ # Phase-gate guidance
│ ├── scripts/ # Bash/PowerShell installers + vendored helpers
│ └── tests/ # Installer resource-sync regression tests
├── 🤖 codex-skill/ # Self-contained Codex skill installer
│ ├── SKILL.md # Codex workflow entry point
│ ├── agents/ # Codex UI metadata
│ ├── scripts/ # Bash and PowerShell installers
│ └── tests/ # Installer resource-sync regression test
├── 🧭 hermes-skill/ # Hermes Agent skill entry point
├── 🧠 reasonix-skill/ # Reasonix skill entry point
├── 🎨 gimp/agent-harness/ # GIMP CLI (107 tests)
├── 🧊 blender/agent-harness/ # Blender CLI (208 tests)
├── ✏️ inkscape/agent-harness/ # Inkscape CLI (202 tests)
├── 🎵 audacity/agent-harness/ # Audacity CLI (161 tests)
├── wavetone/agent-harness/ # WaveTone CLI (32 tests: 30 default + 2 backend-gated e2e)
├── 🌐 browser/agent-harness/ # Browser CLI (DOMShell MCP, new)
├── 🌐 web-yu-pri/agent-harness/ # Japan Post Web Yu-pri CLI (new)
├── 📄 libreoffice/agent-harness/ # LibreOffice CLI (158 tests)
├── 🧹 openrefine/agent-harness/ # OpenRefine CLI (76 tests: 64 unit + 12 real backend e2e)
├── 📧 mailchimp/agent-harness/ # Mailchimp Marketing API CLI (303 commands, 36 unit tests)
├── 📚 zotero/agent-harness/ # Zotero CLI (new, write import support)
├── 📖 calibre/agent-harness/ # Calibre CLI (58 tests: 38 unit + 20 E2E)
├── 📓 joplin/agent-harness/ # Joplin CLI (134 tests: 107 unit + 27 e2e)
├── 📝 mubu/agent-harness/ # Mubu CLI (96 tests)
├── 📹 obs-studio/agent-harness/ # OBS Studio CLI (153 tests)
├── 📱 nslogger/agent-harness/ # NSLogger CLI (139 tests)
├── 🎞️ kdenlive/agent-harness/ # Kdenlive CLI (155 tests)
├── 🎬 shotcut/agent-harness/ # Shotcut CLI (154 tests)
├── 📞 zoom/agent-harness/ # Zoom CLI (22 tests)
├── 🎵 musescore/agent-harness/ # MuseScore CLI (56 tests)
├── 📐 drawio/agent-harness/ # Draw.io CLI (138 tests)
├── 🧪 eez-studio/agent-harness/ # EEZ Studio CLI (project, LVGL, SCPI automation)
├── ⛓️ eth2-quickstart/agent-harness/ # ETH2 QuickStart CLI (18 unit, 3 e2e skipped)
├── 🧜 mermaid/agent-harness/ # Mermaid Live Editor CLI (10 tests)
├── ✨ anygen/agent-harness/ # AnyGen CLI (50 tests)
├── 🖼️ comfyui/agent-harness/ # ComfyUI CLI (73 tests)
├── 🧠 notebooklm/agent-harness/ # NotebookLM CLI (experimental, 21 tests)
├── 🧩 dify-workflow/agent-harness/ # Dify Workflow CLI wrapper (11 tests)
├── 🛡️ adguardhome/agent-harness/ # AdGuard Home CLI (36 tests)
├── 🦙 ollama/agent-harness/ # Ollama CLI (98 tests)
├── 🎮 godot/agent-harness/ # Godot Engine CLI (24 tests)
├── 📦 sbox/agent-harness/ # s&box CLI (244 tests: 157 unit + 17 orchestrator + 50 e2e + 20 exit-code)
├── 🎨 sketch/agent-harness/ # Sketch CLI (19 tests, Node.js)
├── 🔬 renderdoc/agent-harness/ # RenderDoc CLI (59 tests)
├── 🟩 nsight-graphics/agent-harness/ # Nsight Graphics CLI (51 tests)
├── 🐞 lldb/agent-harness/ # LLDB CLI (27 tests)
├── 📈 unrealinsights/agent-harness/ # Unreal Insights CLI (50 tests)
├── 🎬 videocaptioner/agent-harness/ # VideoCaptioner CLI (26 tests)
├── 🎬 openscreen/agent-harness/ # Openscreen CLI — screen recording editor (101 tests)
├── ☁️ cloudcompare/agent-harness/ # CloudCompare CLI (88 tests)
├── 🔍 exa/agent-harness/ # Exa CLI (40 tests)
└── ⛅ cloudanalyzer/agent-harness/ # CloudAnalyzer CLI (14 tests)
└── 🔩 3MF/agent-harness/ # 3MF Mesh Editor CLI (50+ tests)
Each agent-harness/ contains an installable Python package under cli_anything.<software>/ with Click CLI, core modules, utils (including repl_skin.py and backend wrapper), and comprehensive tests.
🎯 Plugin Commands
| Command | Description |
|---|---|
/cli-anything <software-path-or-repo> |
Build complete CLI harness — all 7 phases |
/cli-anything:refine <software-path> [focus] |
Refine an existing harness — expand coverage with gap analysis |
/cli-anything:test <software-path-or-repo> |
Run tests and update TEST.md with results |
/cli-anything:validate <software-path-or-repo> |
Validate against HARNESS.md standards |
Examples
# Build a complete CLI for GIMP from local source
/cli-anything /home/user/gimp
# Build from a GitHub repo
/cli-anything https://github.com/blender/blender
# Refine an existing harness — broad gap analysis
/cli-anything:refine /home/user/gimp
# Refine with a specific focus area
/cli-anything:refine /home/user/shotcut "vid-in-vid and picture-in-picture compositing"
# Run tests and update TEST.md
/cli-anything:test /home/user/inkscape
# Validate against HARNESS.md standards
/cli-anything:validate /home/user/audacity
🎮 Demo: Using a Generated CLI
Here's what an agent can do with cli-anything-libreoffice:
# Create a new Writer document
$ cli-anything-libreoffice document new -o report.json --type writer
✓ Created Writer document: report.json
# Add content
$ cli-anything-libreoffice --project report.json writer add-heading -t "Q1 Report" --level 1
✓ Added heading: "Q1 Report"
$ cli-anything-libreoffice --project report.json writer add-table --rows 4 --cols 3
✓ Added 4×3 table
# Export to real PDF via LibreOffice headless
$ cli-anything-libreoffice --project report.json export render output.pdf -p pdf --overwrite
✓ Exported: output.pdf (42,831 bytes) via libreoffice-headless
# JSON mode for agent consumption
$ cli-anything-libreoffice --json document info --project report.json
{
"name": "Q1 Report",
"type": "writer",
"pages": 1,
"elements": 2,
"modified": true
}
REPL Mode
$ cli-anything-blender
╔══════════════════════════════════════════╗
║ cli-anything-blender v1.0.0 ║
║ Blender CLI for AI Agents ║
╚══════════════════════════════════════════╝
blender> scene new --name ProductShot
✓ Created scene: ProductShot
blender[ProductShot]> object add-mesh --type cube --location 0 0 1
✓ Added mesh: Cube at (0, 0, 1)
blender[ProductShot]*> render execute --output render.png --engine CYCLES
✓ Rendered: render.png (1920×1080, 2.3 MB) via blender --background
blender[ProductShot]> exit
Goodbye! 👋
📖 The Standard Playbook: HARNESS.md
HARNESS.md is our definitive SOP for making any software agent-accessible via automated CLI generation.
It encodes proven patterns and methodologies refined through automated generation processes.
The playbook distills key insights from successfully building all 18 diverse, production-ready harnesses.
Critical Lessons
| Lesson | Description |
|---|---|
| Use the real software | The CLI MUST call the actual application for rendering. No Pillow replacements for GIMP, no custom renderers for Blender. Generate valid project files → invoke the real backend. |
| The Rendering Gap | GUI apps apply effects at render time. If your CLI manipulates project files but uses a naive export tool, effects get silently dropped. Solution: native renderer → filter translation → render script. |
| Filter Translation | When mapping effects between formats (MLT → ffmpeg), watch for duplicate filter merging, interleaved stream ordering, parameter space differences, and unmappable effects. |
| Timecode Precision | Non-integer frame rates (29.97fps) cause cumulative rounding. Use round() not int(), integer arithmetic for display, and ±1 frame tolerance in tests. |
| Output Verification | Never trust that export worked because it exited 0. Verify: magic bytes, ZIP/OOXML structure, pixel analysis, audio RMS levels, duration checks. |
See the full methodology:
cli-anything-plugin/HARNESS.md
📦 Installation & Usage
For CLI-Hub Users
# Install the package manager
pip install cli-anything-hub
# Browse, search, inspect, and install CLIs
cli-hub list
cli-hub search <query>
cli-hub info <name>
cli-hub install <name>
# Manage installed CLIs
cli-hub update <name>
cli-hub uninstall <name>
cli-hub launch <name> [args...]
For Plugin Users (Claude Code)
# Add marketplace & install (recommended)
/plugin marketplace add HKUDS/CLI-Anything
/plugin install cli-anything
# Build a CLI for any software with a codebase
/cli-anything <software-name>
For Generated CLIs
# Install any generated CLI
cd <software>/agent-harness
pip install -e .
# Verify
which cli-anything-<software>
# Use
cli-anything-<software> --help
cli-anything-<software> # enters REPL
cli-anything-<software> --json <command> # JSON output for agents
Running Tests
# Run tests for a specific CLI
cd <software>/agent-harness
python3 -m pytest cli_anything/<software>/tests/ -v
# Force-installed mode (recommended for validation)
CLI_ANYTHING_FORCE_INSTALLED=1 python3 -m pytest cli_anything/<software>/tests/ -v -s
🤝 Contributing
We welcome contributions! CLI-Anything is designed to be extensible:
- New software targets — Use the plugin to generate a CLI for any software with a codebase, then submit your harness via
cli-anything-plugin/PUBLISHING.md. - Methodology improvements — PRs to
HARNESS.mdthat encode new lessons learned - Plugin enhancements — New commands, phase improvements, better validation
- Test coverage — More E2E scenarios, edge cases, workflow tests
Limitations
- Requires strong foundation models — CLI-Anything relies on frontier-class models (e.g., Claude Opus 4.6, Claude Sonnet 4.6, GPT-5.4) for reliable harness generation. Weaker or smaller models may produce incomplete or incorrect CLIs that require significant manual correction.
- Relies on available source code — The 7-phase pipeline analyzes and generates from source code. When the target software only provides compiled binaries that require decompilation, harness quality and coverage will degrade substantially.
- May require iterative refinement — A single
/cli-anythingrun may not fully cover all capabilities. Running/refineone or more times is often needed to push the CLI's performance and coverage to production quality.
Roadmap
- Support for more application categories (CAD, DAW, IDE, EDA, scientific tools)
- Benchmark suite for agent task completion rates
- Community-contributed CLI harnesses for internal/custom software
- Integration with additional agent frameworks beyond Claude Code
- Support packaging APIs for closed-source software and web services into CLIs
- Produce SKILL.md alongside the CLI for agent skill discovery and orchestration
📖 Documentation
| Document | Description |
|---|---|
cli-anything-plugin/HARNESS.md |
The methodology SOP — single source of truth |
cli-anything-plugin/README.md |
Plugin documentation — commands, options, phases |
cli-anything-plugin/QUICKSTART.md |
5-minute getting started guide |
cli-anything-plugin/PUBLISHING.md |
Distribution and publishing guide |
Each generated harness also includes:
<SOFTWARE>.md— Architecture SOP specific to that applicationtests/TEST.md— Test plan and results documentation
⭐ Star History
If CLI-Anything helps make your software Agent-native, give us a star! ⭐
📚 Citation
If you find CLI-Anything useful, please cite our technical report:
@misc{yang2026clianythingagentnativecomputeruse,
title={CLI-Anything: Towards Agent-Native Computer Use},
author={Yuhao Yang and Tianyu Fan and Chao Huang},
year={2026},
eprint={2606.03854},
archivePrefix={arXiv},
primaryClass={cs.HC},
url={https://arxiv.org/abs/2606.03854},
}
📄 License
Apache License 2.0 — free to use, modify, and distribute.
CLI-Anything — Make any software with a codebase Agent-native.
A methodology for the age of AI agents | 18 professional software demos | 2,280 passing tests
Thanks for visiting ✨ CLI-Anything!
CLI-Anything: 让所有软件都能被 Agent 驱动
今天的软件为人而生👨💻,明天的用户是 Agent🤖
CLI-Anything:连接 AI Agent 与全世界软件的桥梁
🌐 CLI-Hub:在 CLI-Hub 探索社区已构建的所有 CLI,一条命令即可安装。想贡献你的 CLI?提交 PR — Hub 会即时更新。
一行命令,让任意软件接入 OpenClaw、nanobot、Cursor、Claude Code 等 Agent 框架。
🤔 为什么是 CLI?
CLI 是人类和 AI Agent 共通的万能接口:
• 结构化、可组合 - 文本命令天然匹配 LLM 的输入格式,可自由串联成复杂工作流
• 轻量且通用 - 几乎零开销,跨平台运行,不依赖额外环境
• 自描述 - 一个 --help 就能让 Agent 自动发现所有功能
• 久经验证 - Claude Code 每天通过 CLI 执行数以千计的真实任务
• Agent 友好 - 结构化 JSON 输出,Agent 无需任何额外解析
• 确定且可靠 - 输出稳定一致,Agent 行为可预测
🚀 快速上手
环境要求
- Python 3.10+
- 目标软件已安装(如 GIMP、Blender、LibreOffice 或你自己的应用)
- 支持的 AI 编程工具之一:Claude Code | Cursor | OpenClaw | OpenCode | Codex | Qodercli | GitHub Copilot CLI | 更多平台
选择你的平台
⚡ Claude Code
第一步:添加插件市场
CLI-Anything 以 Claude Code 插件市场的形式托管在 GitHub 上。
# 添加 CLI-Anything 插件市场
/plugin marketplace add HKUDS/CLI-Anything
第二步:安装插件
# 从市场安装 cli-anything 插件
/plugin install cli-anything
搞定。插件已经在你的 Claude Code 会话中可用了。
Windows 注意: Claude Code 通过 bash 执行命令。Windows 下请安装 Git for Windows(包含 bash 和 cygpath)
或使用 WSL,否则可能出现 cygpath: command not found。
第三步:一行命令生成 CLI
# /cli-anything <软件路径或仓库地址>
# 为 GIMP 生成完整的 CLI(7 个阶段全自动)
/cli-anything ./gimp
# 兼容写法(旧版本 Claude Code 可重试)
# /cli-anything:cli-anything ./gimp
Claude Code 不同版本的命令兼容说明:
- 优先使用
/cli-anything作为主入口。 - 在已确认插件已安装并加载的情况下,若旧版本的 Claude Code 不识别
/cli-anything,可尝试兼容写法/cli-anything:cli-anything。 - 其他辅助命令保持
:子命令形式(例如/cli-anything:refine)。
如果出现 Unknown skill: cli-anything,两种写法都引用同一个 skill 名称,切换写法无法解决,请优先排查插件是否已安装/加载:
- 重新加载插件命令:
/reload-plugins - 验证插件是否已加载:
/help cli-anything(能看到 CLI-Anything 帮助即表示已加载) - 如仍未识别,重新从市场安装:
/plugin marketplace add HKUDS/CLI-Anything/plugin install cli-anything
- 确认插件可用后,再重试入口命令:
- 推荐:
/cli-anything ./gimp - 仅旧版本:
/cli-anything:cli-anything ./gimp
- 推荐:
完整流水线自动执行:
- 🔍 分析 — 扫描源码,将 GUI 操作映射到 API
- 📐 设计 — 规划命令分组、状态模型、输出格式
- 🔨 实现 — 构建 Click CLI,包含 REPL、JSON 输出、撤销/重做
- 📋 规划测试 — 生成 TEST.md,涵盖单元测试和端到端测试计划
- 🧪 编写测试 — 实现完整测试套件
- 📝 文档 — 更新 TEST.md,写入测试结果
- 📦 发布 — 生成
setup.py,安装到 PATH
第四步(可选):优化和扩展 CLI
初始构建完成后,你可以迭代优化 CLI,扩展覆盖面并补充缺失的功能:
# 全面优化 — Agent 分析所有功能的覆盖差距
/cli-anything:refine ./gimp
# 定向优化 — 指定特定功能领域
/cli-anything:refine ./gimp "我需要更多图像批处理和滤镜相关的 CLI"
优化命令会对软件的完整功能与当前 CLI 覆盖范围进行差距分析,然后为识别到的差距实现新命令、测试和文档。你可以多次运行该命令,逐步扩大功能覆盖范围 — 每次运行都是增量的、非破坏性的。
备选方案:手动安装
如果你不想用插件市场:
# 克隆仓库
git clone https://github.com/HKUDS/CLI-Anything.git
# 复制插件到 Claude Code 插件目录
cp -r CLI-Anything/cli-anything-plugin ~/.claude/plugins/cli-anything
# 重新加载插件
/reload-plugins
⚡ OpenCode (实验性支持)
第一步:安装命令
注意: 请升级到最新 OpenCode,旧版本可能使用不同的命令目录路径。
将 CLI-Anything 命令和 HARNESS.md 复制到 OpenCode 命令目录:
# 克隆仓库
git clone https://github.com/HKUDS/CLI-Anything.git
# 全局安装(所有项目可用)
cp CLI-Anything/opencode-commands/*.md ~/.config/opencode/commands/
cp CLI-Anything/cli-anything-plugin/HARNESS.md ~/.config/opencode/commands/
# 或项目级安装
cp CLI-Anything/opencode-commands/*.md .opencode/commands/
cp CLI-Anything/cli-anything-plugin/HARNESS.md .opencode/commands/
注意:
HARNESS.md是所有命令引用的方法论规范,必须和命令文件放在同一目录下。
安装后获得 5 个斜杠命令:/cli-anything、/cli-anything-refine、/cli-anything-test、/cli-anything-validate 和 /cli-anything-list。
第二步:一行命令生成 CLI
# 为 GIMP 生成完整的 CLI(7 个阶段全自动)
/cli-anything ./gimp
# 从 GitHub 仓库构建
/cli-anything https://github.com/blender/blender
命令以子任务方式运行,遵循与 Claude Code 相同的 7 阶段方法论。
第三步(可选):优化和扩展 CLI
# 全面优化 — Agent 分析所有功能的覆盖差距
/cli-anything-refine ./gimp
# 定向优化 — 指定特定功能领域
/cli-anything-refine ./gimp "批处理和滤镜"
⚡ Qodercli 社区贡献
社区贡献第一步:注册插件
git clone https://github.com/HKUDS/CLI-Anything.git
bash CLI-Anything/qoder-plugin/setup-qodercli.sh
脚本会将 cli-anything 插件注册到 ~/.qoder.json。注册后开启新的 Qodercli 会话即可使用。
第二步:在 Qodercli 中使用 CLI-Anything
/cli-anything:cli-anything ./gimp
/cli-anything:refine ./gimp "批处理和滤镜"
/cli-anything:validate ./gimp
⚡ OpenClaw
第一步:安装 Skill
CLI-Anything 提供了原生的 OpenClaw SKILL.md 文件。请将其复制到你的 OpenClaw 技能目录:
# Clone the repo
git clone https://github.com/HKUDS/CLI-Anything.git
# Install to the global skills folder
mkdir -p ~/.openclaw/skills/cli-anything
cp CLI-Anything/openclaw-skill/SKILL.md ~/.openclaw/skills/cli-anything/SKILL.md
第二步:构建 CLI
安装完成后,你就可以在 OpenClaw 中直接调用:
@cli-anything build a CLI for ./gimp
该技能采用了与 Claude Code 和 OpenCode 一致的 7 步构建流程。
⚡ Cursor
Cursor 同时提供两条能力:
| 轨道 | 用途 | 安装方式 |
|---|---|---|
| 生成器 | 用 /cli-anything 等斜杠命令构建新 harness |
cursor-plugin/ Cursor 插件 |
| 消费端 | 从 CLI-Hub 查找/安装/使用已发布 CLI | npx skills + cli-hub(不变) |
生成器 — 安装 Cursor 插件
git clone https://github.com/HKUDS/CLI-Anything.git
bash CLI-Anything/cursor-plugin/scripts/install.sh
Windows PowerShell:
.\CLI-Anything\cursor-plugin\scripts\install.ps1
升级使用 --force / -Force。默认安装路径为
~/.cursor/plugins/local/cli-anything(CURSOR_PLUGINS_HOME 必须指向名为 plugins 的目录)。
安装器会把 cli-anything-plugin/ 中的方法论资源 vendor 进插件,并写入 PLUGIN_ROOT.txt
与 ~/.cursor/cli-anything-generator.root,以便 Cursor Agent 用绝对路径读取 HARNESS。
在 Cursor 中执行 Developer: Reload Window,然后:
/cli-anything ./gimp
/cli-anything-refine ./shotcut "picture-in-picture workflows"
/cli-anything-test ./libreoffice
/cli-anything-validate ./libreoffice
/cli-anything-list
消费端 — Hub / skills(与生成器插件分离)
npx skills add HKUDS/CLI-Anything --skill cli-hub-meta-skill -g -y
# 或某个单应用 skill,例如 cli-anything-blender
pip install cli-anything-hub
本地验证安装器:
bash CLI-Anything/cursor-plugin/tests/test_install.sh
更多说明见 cursor-plugin/README.md。
⚡ Codex 实验性 社区贡献
实验性 社区贡献第一步:安装 Skill
运行仓库内置的安装脚本:
# 克隆仓库
git clone https://github.com/HKUDS/CLI-Anything.git
# 安装 skill
bash CLI-Anything/codex-skill/scripts/install.sh
在 Windows PowerShell 中,可以使用:
.\CLI-Anything\codex-skill\scripts\install.ps1
脚本会把 skill 安装到 $CODEX_HOME/skills/cli-anything;如果没有设置 CODEX_HOME,则默认安装到 ~/.codex/skills/cli-anything。
安装器还会把权威版本的 HARNESS.md、命令规范、按需指南、可复用辅助脚本、skill 模板和 preview 协议复制到已安装 skill 的 references/ 和 scripts/ 目录。这样 Codex skill 可以独立工作,同时仍以 cli-anything-plugin/ 作为唯一权威来源。
安装后重启 Codex,让它重新发现这个 skill。
第二步:在 Codex 里使用 CLI-Anything
直接用自然语言描述任务,例如:
Use CLI-Anything to build a harness for ./gimp
Use CLI-Anything to refine ./shotcut for picture-in-picture workflows
Use CLI-Anything to validate ./libreoffice
Use CLI-Anything to list generated harnesses under the current directory
这个 Codex skill 复用了 Claude Code 插件和 OpenCode 命令所使用的同一套方法论, 不会改变生成出来的 Python harness 结构。
可以运行下面的命令,验证 Codex 安装包是否完整:
bash CLI-Anything/codex-skill/tests/test_install.sh
⚡ GitHub Copilot CLI 社区贡献
社区贡献第一步:安装插件
git clone https://github.com/HKUDS/CLI-Anything.git
cd CLI-Anything
copilot plugin install ./cli-anything-plugin
这将 CLI-Anything 插件安装到 GitHub Copilot CLI 中。插件应该已经在你的 GitHub Copilot CLI 会话中可用了。
第二步:在 GitHub Copilot CLI 中使用 CLI-Anything
/cli-anything:cli-anything ./gimp
/cli-anything:refine ./gimp "批处理和滤镜"
/cli-anything:validate ./gimp
🔮 更多平台(即将支持)
CLI-Anything 的设计是平台无关的,计划支持更多 AI 编程工具:
- Cursor — 已通过
cursor-plugin/提供生成器插件,消费端继续用 Hub/skills - Codex — 已通过
codex-skill/提供接入 - Windsurf — 即将支持
- 你喜欢的工具 — 欢迎贡献!参考
opencode-commands/目录的实现。
开始使用生成的 CLI
无论你用哪个平台构建,生成的 CLI 使用方式完全一样:
# 安装到 PATH
cd gimp/agent-harness && pip install -e .
# 随处可用
cli-anything-gimp --help
cli-anything-gimp project new --width 1920 --height 1080 -o poster.json
cli-anything-gimp --json layer add -n "Background" --type solid --color "#1a1a2e"
# 进入交互式 REPL
cli-anything-gimp
💡 CLI-Anything 的愿景:构建 Agent 原生的软件生态
• 🌐 无门槛接入 - 任何软件都能通过结构化 CLI 即刻被 Agent 操控。
• 🔗 无缝集成 - 不需要专门的 API、不需要操控 GUI、不需要重构代码,也不需要复杂的适配层。
• 🚀 面向未来 - 一条命令,就能把为人类设计的软件变成 Agent 的原生工具。
🔧 适用场景
| 类别 | 如何接入 Agent | 典型软件 |
|---|---|---|
| 📂 GitHub 开源项目 | 通过自动生成 CLI,将任意开源项目转化为 Agent 可控工具 | VSCodium、WordPress、Calibre、Zotero、Joplin、Logseq、Penpot、Super Productivity |
| 🤖 AI/ML 平台 | 用结构化命令驱动模型训练、推理流水线和超参搜索 | Stable Diffusion WebUI、ComfyUI、InvokeAI、Text-generation-webui、Open WebUI、Fooocus、Kohya_ss、AnythingLLM、SillyTavern |
| 📊 数据与分析 | 以编程方式完成数据处理、可视化和统计分析工作流 | JupyterLab、Apache Superset、Metabase、Redash、DBeaver、KNIME、Orange、OpenSearch Dashboards、Lightdash |
| 💻 开发工具 | 通过 CLI 串联代码编辑、构建、测试与部署流程 | Jenkins、Gitea、Hoppscotch、Portainer、pgAdmin、SonarQube、ArgoCD、OpenLens、Insomnia、Beekeeper Studio |
| 🎨 创意与媒体 | 以编程方式控制内容创作、编辑和渲染工作流 | Blender、GIMP、OBS Studio、Audacity、WaveTone、Krita、Kdenlive、Shotcut、Inkscape、Darktable、LMMS、Ardour |
| 📐 图表与可视化 | 以编程方式创建和操作流程图、架构图、ER 图等各类图表 | Draw.io (diagrams.net)、Mermaid、PlantUML、Excalidraw、yEd |
| 🔬 科学计算 | 自动化科研工作流、仿真模拟和复杂计算 | ImageJ、FreeCAD、QGIS、ParaView、Gephi、LibreCAD、Stellarium、KiCad、JASP、Jamovi |
| 🏢 企业与办公 | 将商业应用和生产力工具转化为 Agent 可访问的系统 | NextCloud、GitLab、Grafana、Mattermost、LibreOffice、AppFlowy、NocoDB、Odoo (Community)、Plane、ERPNext |
| 📞 通信与协作 | 通过结构化 CLI 自动化会议调度、参会人管理、录制获取和报告生成 | Zoom、Jitsi Meet、BigBlueButton、Mattermost |
CLI-Anything 的核心优势
Agent 与软件之间的鸿沟
AI Agent 推理能力很强,但操控真实专业软件的能力很弱。现有方案要么是脆弱的 GUI 自动化,要么是覆盖面有限的 API,要么是阉割了 90% 功能的重新实现。
CLI-Anything 的解法:把任何专业软件变成 Agent 原生工具,功能一个不少。
| 现有痛点 | CLI-Anything 怎么解 |
|---|---|
| 🤖 "AI 用不了真正的专业工具" | 直接对接真实软件后端(Blender、LibreOffice、FFmpeg)—— 完整的专业能力,零妥协 |
| 💸 "GUI 自动化三天两头崩" | 告别截图、点击和 RPA 的脆弱性,纯命令行操控,结构化接口 |
| 📊 "Agent 需要结构化数据" | 内置 JSON 输出供 Agent 直接消费,同时保留可读格式方便调试 |
| 🔧 "定制集成太贵了" | 一个插件就能为任意代码库自动生成 CLI,经过验证的 7 阶段流水线 |
| ⚡ "原型和生产之间差十万八千里" | 1,774+ 测试用例,全部在真实软件上验证通过,覆盖 13 款主流应用 |
🎯 CLI-Anything 能做什么?
🛠️ 让 Agent 接管你的工作流不管是专业场景还是日常事务 —— 把代码库扔给 |
🔗 把散装 API 统一成一个 CLI受够了一堆零碎的 Web 服务 API?把文档或 SDK 手册喂给 |
🚀 取代 GUI Agent,或让它更强CLI-Anything 可直接替代基于 GUI 的 Agent 方案 —— 无需截图,也无需繁琐地点击像素操作。更实用的是:只要你对 GUI 软件执行过 |
✨ ⚙️ CLI-Anything 的工作方式
🏗️ 全自动 7 阶段流水线从代码分析到发布上线 —— 插件自动完成架构设计、代码实现、测试规划、测试编写和文档生成,全程无需人工介入。 |
🎯 真实软件集成直接调用真实应用进行渲染。LibreOffice 生成 PDF,Blender 渲染 3D 场景,Audacity 通过 sox 处理音频。零妥协,零玩具实现。 |
🔁 智能会话管理持久化项目状态,支持撤销/重做,加上统一的 REPL 交互界面(ReplSkin),所有 CLI 的使用体验保持一致。 |
📦 零配置安装
|
🧪 生产级测试多层验证:使用合成数据的单元测试、使用真实文件和软件的端到端测试,外加已安装命令的 CLI 子进程验证。 |
🐍 干净的包架构所有 CLI 统一在 cli_anything.* 命名空间下 —— 无冲突、可 pip 安装、命名规范统一:cli-anything-gimp、cli-anything-blender 等。 |
🎬 实测展示
🎯 通用性
CLI-Anything 适用于任何有代码库的软件 —— 不限领域,不限架构。
🏭 专业级测试
在 13 款复杂应用上进行了实测,涵盖创意、生产力、通信、图表、原生调试、GPU 分析和 AI 内容生成领域 —— 这些软件此前对 AI Agent 来说几乎不可触及。
🎨 覆盖多元领域
从创意工作流(图像编辑、3D 建模、矢量图形)到生产工具(音频、办公、直播、视频剪辑)。
✅ 完整的 CLI 生成
每款软件都生成了完整的、可投产的 CLI 接口 —— 不是 demo,而是保留全部功能的完整工具接入。
| 软件 | 领域 | CLI 命令 | 后端 | 测试 |
|---|---|---|---|---|
| 🎨 GIMP | 图像编辑 | cli-anything-gimp |
Pillow + GEGL/Script-Fu | ✅ 107 |
| 🧊 Blender | 3D 建模与渲染 | cli-anything-blender |
bpy (Python scripting) | ✅ 208 |
| ✏️ Inkscape | 矢量图形 | cli-anything-inkscape |
Direct SVG/XML manipulation | ✅ 202 |
| 🎵 Audacity | 音频制作 | cli-anything-audacity |
Python wave + sox | ✅ 161 |
| WaveTone | 音频扒谱辅助 | cli-anything-wavetone |
JSON manifest + real WaveTone launch | 新增 |
| 📄 LibreOffice | 办公套件(Writer、Calc、Impress) | cli-anything-libreoffice |
ODF generation + headless LO | ✅ 158 |
| 📚 Zotero | 文献管理与引用 | cli-anything-zotero |
Local SQLite + connector + Local API | ✅ 新增 |
| 📹 OBS Studio | 直播与录制 | cli-anything-obs-studio |
JSON scene + obs-websocket | ✅ 153 |
| 🎞️ Kdenlive | 视频剪辑 | cli-anything-kdenlive |
MLT XML + melt renderer | ✅ 155 |
| 🎬 Shotcut | 视频剪辑 | cli-anything-shotcut |
Direct MLT XML + melt | ✅ 154 |
| 🎬 Openscreen | 屏幕录像编辑器 | cli-anything-openscreen |
ffmpeg backend | ✅ 101 |
| 📞 Zoom | 视频会议 | cli-anything-zoom |
Zoom REST API (OAuth2) | ✅ 22 |
| 📐 Draw.io | 图表绘制 | cli-anything-drawio |
mxGraph XML + draw.io CLI | ✅ 138 |
| ✨ AnyGen | AI 内容生成 | cli-anything-anygen |
AnyGen REST API (anygen.io) | ✅ 50 |
| 🐞 LLDB | 原生调试 | cli-anything-lldb |
LLDB Python API | ✅ 27 |
| 🟩 Nsight Graphics CLI | GPU 调试与分析 | cli-anything-nsight-graphics |
官方 ngfx / ngfx-capture 编排 + GPU Trace 摘要 + replay 分析 | ✅ 51 |
| 📈 Unreal Insights | 性能分析 | cli-anything-unrealinsights |
后台 trace 会话 + 匹配版 UnrealInsights 构建 + 无头导出 | ✅ 50 |
| 📦 s&box | 游戏开发 | cli-anything-sbox |
Source 2 游戏引擎 - 直接读写 .scene/.prefab/.vmat/.vsnd JSON | ✅ 244 |
| 🎨 Sketch | UI 设计 | sketch-cli |
sketch-constructor (Node.js) | ✅ 19 |
| 🔩 3MF | 3D 打印网格编辑器 | cli-anything-3mf |
numpy, scipy, trimesh | ✅ 50+ |
| 📓 Joplin | 笔记与待办 | cli-anything-joplin |
Joplin 终端 CLI 子进程 | ✅ 134 |
| 合计 | ✅ 1,955 | |||
全部 1,955 项测试 100% 通过 - 1,318 项单元测试 + 487 项端到端测试 + 19 项 Node.js 测试。
📊 测试结果
每个 CLI 都经过多层严格测试,确保生产可用:
| 测试层级 | 测什么 | 示例 |
|---|---|---|
| 单元测试 | 每个核心函数的隔离验证,使用合成数据 | test_core.py — 项目创建、图层操作、滤镜参数 |
| 端到端测试(原生) | 项目文件的完整生成流程 | ODF ZIP 结构合法性、MLT XML 正确性、SVG 格式完整性 |
| 端到端测试(真实后端) | 调用真实软件并验证输出 | LibreOffice → 含 %PDF- 魔术字节的 PDF,Blender → 渲染后的 PNG |
| CLI 子进程测试 | 通过 subprocess.run 调用已安装命令 |
cli-anything-gimp --json project new → 合法 JSON 输出 |
================================ Test Summary ================================
gimp 107 passed ✅ (64 unit + 43 e2e)
blender 208 passed ✅ (150 unit + 58 e2e)
inkscape 202 passed ✅ (148 unit + 54 e2e)
audacity 161 passed ✅ (107 unit + 54 e2e)
wavetone 30 passed ✅ (24 unit + 6 default e2e,2 backend-gated e2e skipped;32 passed opt-in)
libreoffice 158 passed ✅ (89 unit + 69 e2e)
obs-studio 153 passed ✅ (116 unit + 37 e2e)
kdenlive 155 passed ✅ (111 unit + 44 e2e)
shotcut 154 passed ✅ (110 unit + 44 e2e)
openscreen 101 passed ✅ (78 unit + 23 e2e)
zoom 22 passed ✅ (22 unit + 0 e2e)
drawio 138 passed ✅ (116 unit + 22 e2e)
anygen 50 passed ✅ (40 unit + 10 e2e)
lldb 27 passed ✅ (23 unit + 4 e2e)
nsight-graphics 51 passed ✅ (46 unit/CLI + 5 local e2e)
unrealinsights 50 passed ✅ (49 unit + 1 e2e, 9 backend-gated e2e skipped)
sketch 19 passed ✅ (19 jest, Node.js)
3mf 50 passed ✅ (50 unit)
joplin 134 passed ✅ (107 unit + 27 e2e, 1 skipped on Windows)
──────────────────────────────────────────────────────────────────────────────
TOTAL 1,955 passed ✅ 100% pass rate
🏗️ CLI-Anything 的架构
🎯 核心设计原则
- 真实软件集成 — CLI 生成合法的项目文件(ODF、MLT XML、SVG),然后交给真实应用去渲染。我们做的是软件的结构化接口,而不是替代品。
- 灵活的交互模式 — 每个 CLI 都支持两种模式:有状态的 REPL 用于 Agent 交互会话,子命令模式用于脚本和流水线。直接运行命令即进入 REPL。
- 一致的使用体验 — 所有生成的 CLI 共享统一的 REPL 界面(repl_skin.py),带有品牌横幅、风格化提示符、命令历史、进度指示器和标准化格式。
- Agent 原生设计 — 每个命令内置
--json参数,输出结构化数据供 Agent 消费,同时可读的表格格式服务于交互调试。Agent 通过标准的--help和which命令发现能力。 - 零妥协的依赖策略 — 真实软件是硬性要求 —— 没有兜底,没有降级。后端缺失时测试直接失败(而非跳过),确保功能的真实性。
📂 项目结构
cli-anything/
├── 📄 README.md # 英文文档
├── 📄 README_CN.md # 中文文档(你在这里)
├── 📁 assets/ # 图片和媒体文件
│ ├── icon.png # 项目图标
│ └── teaser.png # 概览图
│
├── 🔌 cli-anything-plugin/ # Claude Code 插件
│ ├── HARNESS.md # 方法论 SOP(唯一权威来源)
│ ├── README.md # 插件文档
│ ├── QUICKSTART.md # 5 分钟快速上手
│ ├── PUBLISHING.md # 分发与发布指南
│ ├── repl_skin.py # 统一 REPL 界面
│ ├── commands/ # 插件命令定义
│ │ ├── cli-anything.md # 主构建命令
│ │ ├── refine.md # 扩展已有 harness 覆盖面
│ │ ├── test.md # 测试运行器
│ │ ├── validate.md # 标准验证
│ │ └── list.md # 列出所有 CLI 工具
│ └── scripts/
│ └── setup-cli-anything.sh # 安装脚本
│
├── 📋 opencode-commands/ # OpenCode 命令
│ ├── cli-anything.md # 主构建命令
│ ├── cli-anything-refine.md # 优化扩展命令
│ ├── cli-anything-test.md # 测试运行器
│ ├── cli-anything-validate.md # 标准验证
│ └── cli-anything-list.md # 列出所有 CLI 工具
│
├── 🖱️ cursor-plugin/ # Cursor Desktop 生成器插件
│ ├── .cursor-plugin/plugin.json # Cursor 插件清单
│ ├── commands/ # /cli-anything 斜杠命令
│ ├── skills/ # 辅助生成器 skill
│ ├── rules/ # 阶段门禁规则
│ ├── scripts/ # 安装脚本与 vendor 辅助文件
│ └── tests/ # 安装器回归测试
├── 🤖 codex-skill/ # 可独立安装的 Codex skill
│ ├── SKILL.md # Codex 工作流入口
│ ├── agents/ # Codex 界面元数据
│ ├── scripts/ # Bash 和 PowerShell 安装器
│ └── tests/ # 安装资源同步回归测试
├── 🎨 gimp/agent-harness/ # GIMP CLI(107 项测试)
├── 🧊 blender/agent-harness/ # Blender CLI(208 项测试)
├── ✏️ inkscape/agent-harness/ # Inkscape CLI(202 项测试)
├── 🎵 audacity/agent-harness/ # Audacity CLI(161 项测试)
├── wavetone/agent-harness/ # WaveTone CLI(32 项测试:30 default + 2 backend-gated e2e)
├── 📄 libreoffice/agent-harness/ # LibreOffice CLI(158 项测试)
├── 📚 zotero/agent-harness/ # Zotero CLI(新增,支持文献导入)
├── 📓 joplin/agent-harness/ # Joplin CLI(134 测试:107 单元 + 27 e2e)
├── 📹 obs-studio/agent-harness/ # OBS Studio CLI(153 项测试)
├── 🎞️ kdenlive/agent-harness/ # Kdenlive CLI(155 项测试)
├── 🎬 shotcut/agent-harness/ # Shotcut CLI(154 项测试)
├── 🎬 openscreen/agent-harness/ # Openscreen CLI — 屏幕录像编辑器(101 项测试)
├── 📞 zoom/agent-harness/ # Zoom CLI(22 项测试)
├── 📐 drawio/agent-harness/ # Draw.io CLI(138 项测试)
├── ✨ anygen/agent-harness/ # AnyGen CLI(50 项测试)
├── 🟩 nsight-graphics/agent-harness/ # Nsight Graphics CLI(51 项测试)
├── 🐞 lldb/agent-harness/ # LLDB CLI(27 项测试)
├── 📈 unrealinsights/agent-harness/ # Unreal Insights CLI(50 项测试)
├── 📦 sbox/agent-harness/ # s&box CLI(244 项测试: 157 单元 + 17 orchestrator + 50 e2e + 20 exit-code)
└── 🎨 sketch/agent-harness/ # Sketch CLI(19 项测试,Node.js)
每个 agent-harness/ 包含一个可安装的 Python 包,位于 cli_anything.<软件名>/ 下,包含 Click CLI、核心模块、工具类(含 repl_skin.py 和后端适配器)以及完整的测试。
🎯 插件命令
| 命令 | 说明 |
|---|---|
/cli-anything <软件路径或仓库> |
构建完整的 CLI —— 全部 7 个阶段 |
/cli-anything:refine <软件路径> [聚焦方向] |
优化已有的 CLI —— 通过差距分析扩展覆盖面 |
/cli-anything:test <软件路径或仓库> |
运行测试并更新 TEST.md |
/cli-anything:validate <软件路径或仓库> |
按照 HARNESS.md 标准进行验证 |
/cli-anything:list |
列出所有已安装和已生成的 CLI 工具 |
使用示例
# 从本地源码为 GIMP 构建完整 CLI
/cli-anything /home/user/gimp
# 从 GitHub 仓库构建
/cli-anything https://github.com/blender/blender
# 优化已有的 CLI —— 全面差距分析
/cli-anything:refine /home/user/gimp
# 带聚焦方向的优化
/cli-anything:refine /home/user/shotcut "画中画和视频叠加合成"
# 运行测试并更新 TEST.md
/cli-anything:test /home/user/inkscape
# 按照 HARNESS.md 标准验证
/cli-anything:validate /home/user/audacity
🎮 实际操作演示
以 cli-anything-libreoffice 为例,看看 Agent 能做什么:
# 创建一个 Writer 文档
$ cli-anything-libreoffice document new -o report.json --type writer
✓ Created Writer document: report.json
# 添加内容
$ cli-anything-libreoffice --project report.json writer add-heading -t "Q1 Report" --level 1
✓ Added heading: "Q1 Report"
$ cli-anything-libreoffice --project report.json writer add-table --rows 4 --cols 3
✓ Added 4×3 table
# 通过 LibreOffice headless 导出为真实 PDF
$ cli-anything-libreoffice --project report.json export render output.pdf -p pdf --overwrite
✓ Exported: output.pdf (42,831 bytes) via libreoffice-headless
# JSON 模式供 Agent 消费
$ cli-anything-libreoffice --json document info --project report.json
{
"name": "Q1 Report",
"type": "writer",
"pages": 1,
"elements": 2,
"modified": true
}
REPL 模式
$ cli-anything-blender
╔══════════════════════════════════════════╗
║ cli-anything-blender v1.0.0 ║
║ Blender CLI for AI Agents ║
╚══════════════════════════════════════════╝
blender> scene new --name ProductShot
✓ Created scene: ProductShot
blender[ProductShot]> object add-mesh --type cube --location 0 0 1
✓ Added mesh: Cube at (0, 0, 1)
blender[ProductShot]*> render execute --output render.png --engine CYCLES
✓ Rendered: render.png (1920×1080, 2.3 MB) via blender --background
blender[ProductShot]> exit
Goodbye! 👋
📖 标准手册:HARNESS.md
HARNESS.md 是我们通过自动化 CLI 生成,使任意软件具备 Agent 可用性的权威标准操作流程(SOP)。
它记录了在自动化生成过程中经验证并沉淀出的模式与方法论。
这本手册提炼了成功构建全部 13 套生产级 CLI 的关键经验。
核心经验
| 经验 | 说明 |
|---|---|
| 必须用真实软件 | CLI 必须调用真实应用进行渲染。不能用 Pillow 替代 GIMP,不能自己写渲染器替代 Blender。正确做法:生成合法的项目文件 → 调用真实后端。 |
| 渲染鸿沟 | GUI 应用在渲染时才应用特效。如果你的 CLI 操作了项目文件但用了简陋的导出工具,特效会被静默丢弃。正确做法:原生渲染器 → 滤镜转译 → 渲染脚本。 |
| 滤镜转译 | 在不同格式间映射特效时(如 MLT → ffmpeg),要注意:重复滤镜合并、交错的流排序、参数空间差异、无法映射的特效。 |
| 时间码精度 | 非整数帧率(如 29.97fps)会导致累积舍入误差。用 round() 而非 int(),显示时用整数运算,测试中允许 ±1 帧容差。 |
| 输出验证 | 永远不要因为进程退出码为 0 就信任导出成功。要验证:魔术字节、ZIP/OOXML 结构、像素分析、音频 RMS 电平、时长检查。 |
📦 安装与使用
Claude Code 用户
# 添加市场并安装(推荐)
/plugin marketplace add HKUDS/CLI-Anything
/plugin install cli-anything
# 为任何有代码库的软件生成 CLI
/cli-anything:cli-anything <软件路径或仓库>
OpenCode 用户
# 克隆仓库
git clone https://github.com/HKUDS/CLI-Anything.git
# 请确保使用最新 OpenCode,旧版本可能使用不同的命令目录路径
# 复制命令和 HARNESS.md 到 OpenCode 命令目录
cp CLI-Anything/opencode-commands/*.md ~/.config/opencode/commands/
cp CLI-Anything/cli-anything-plugin/HARNESS.md ~/.config/opencode/commands/
# 为任何有代码库的软件生成 CLI
/cli-anything <软件路径或仓库>
使用生成的 CLI
# 安装任意生成的 CLI
cd <软件名>/agent-harness
pip install -e .
# 验证安装
which cli-anything-<软件名>
# 开始使用
cli-anything-<软件名> --help
cli-anything-<软件名> # 进入 REPL
cli-anything-<软件名> --json <命令> # JSON 输出供 Agent 使用
运行测试
# 运行某个 CLI 的测试
cd <软件名>/agent-harness
python3 -m pytest cli_anything/<软件名>/tests/ -v
# 强制安装模式(推荐用于验证)
CLI_ANYTHING_FORCE_INSTALLED=1 python3 -m pytest cli_anything/<软件名>/tests/ -v -s
🤝 参与贡献
欢迎贡献!CLI-Anything 天然支持扩展:
- 新的目标软件 — 用插件为任意有代码库的软件生成 CLI,然后通过
cli-anything-plugin/PUBLISHING.md提交你的成果。 - 方法论改进 — 向
HARNESS.md提 PR,把新的经验教训沉淀下来 - 插件增强 — 新命令、阶段优化、更好的验证逻辑
- 测试覆盖 — 更多端到端场景、边界情况、工作流测试
已知局限
- 依赖强大的基础模型 — CLI-Anything 依赖前沿级别的模型(如 Claude Opus 4.6、Claude Sonnet 4.6、GPT-5.4)才能可靠地生成 harness。较弱或较小的模型可能产出不完整或有误的 CLI,需要大量人工修正。
- 依赖可用的源代码 —
/cli-anything基于源码进行分析和生成。如果目标软件只提供编译后的二进制文件,需要反编译才能获取代码,harness 的质量和覆盖率会显著下降。 - 可能需要迭代优化 — 单次
/cli-anything运行不一定能完整覆盖所有功能。通常需要执行一次或多次/refine命令,才能将 CLI 的性能和覆盖率推到生产级水平。
📖 文档
| 文档 | 说明 |
|---|---|
cli-anything-plugin/HARNESS.md |
方法论 SOP — 唯一权威来源 |
cli-anything-plugin/README.md |
插件文档 — 命令、选项、阶段 |
cli-anything-plugin/QUICKSTART.md |
5 分钟快速上手 |
cli-anything-plugin/PUBLISHING.md |
分发与发布指南 |
每个生成的 CLI 还包含:
<软件名>.md— 该应用的架构 SOPtests/TEST.md— 测试计划和结果文档
⭐ Star History
如果 CLI-Anything 帮到了你,给个 Star 吧!⭐
📚 引用
如果 CLI-Anything 对你有帮助,请引用我们的技术报告:
@misc{yang2026clianythingagentnativecomputeruse,
title={CLI-Anything: Towards Agent-Native Computer Use},
author={Yuhao Yang and Tianyu Fan and Chao Huang},
year={2026},
eprint={2606.03854},
archivePrefix={arXiv},
primaryClass={cs.HC},
url={https://arxiv.org/abs/2606.03854},
}
📄 License
Apache License 2.0 — 可自由使用、修改和分发。
CLI-Anything — 一行命令,让任何软件成为 Agent 的原生工具。
为 AI Agent 时代而生 | 13 款专业软件实测 | 1,774 项测试全部通过
感谢访问 ✨ CLI-Anything!

