Cli anything

From openakita/openakita · View interactive version

Cli anything is an AI agent skill from the GitHub repository openakita/openakita. Control desktop software (GIMP, Blender, LibreOffice, etc.) through CLI-Anything generated command-line interfaces. Calls real application backends — much more reliable than GUI automation via desktop_* tools.

How to use this skill

Skill file

CLI-Anything - 桌面软件 CLI 控制

通过 CLI-Anything 生成的 CLI 接口控制桌面软件。

直接调用软件后端 API,比 pyautogui/UIA 的 GUI 自动化可靠得多。

核心优势

何时使用 CLI-Anything(优先于 desktop_* 工具)

| 场景 | 推荐工具 | 原因 |

|------|---------|------|

| 操作有 CLI 的桌面软件 | cli_anything_run | 确定性,JSON 输出 |

| 无 CLI 的桌面软件 | desktop_* 工具 | 降级到 GUI 自动化 |

| 查看可用工具 | cli_anything_discover | 扫描 PATH |

| 了解命令参数 | cli_anything_help | 获取 --help 文档 |

工具

cli_anything_discover — 发现已安装工具

cli_anything_discover()

cli_anything_run — 执行命令

cli_anything_run(app="gimp", subcommand="image resize", args=["--width", "800", "input.png"])
cli_anything_run(app="libreoffice", subcommand="document export-pdf", args=["report.docx"])

cli_anything_help — 查看帮助文档

cli_anything_help(app="gimp")
cli_anything_help(app="gimp", subcommand="image resize")

安装 CLI-Anything 工具

# 从 CLI-Hub 安装已有的 CLI
pip install cli-anything-gimp
pip install cli-anything-blender
pip install cli-anything-libreoffice

# 为新软件生成 CLI(需要 Claude Code)
/cli-anything ./your-software

支持的软件

CLI-Anything 社区已支持 9+ 软件:

决策路径

需要控制桌面软件?
├─ 有 cli-anything CLI → cli_anything_run(首选)
├─ 无 CLI + Windows → desktop_* 工具(GUI 自动化)
└─ 无 CLI + 非 Windows → run_shell 尝试命令行工具

相关技能

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.