cli-anything

cli-anything is a skill for Claude Code, Codex from GGbond-bo/MemOmics-Agent. It costs 131 tokens per session (7,940 once invoked), scanned C, original, MIT.

A way to control desktop and back-end software through command-line programs made for agents. It can install existing command-line interfaces for supported applications or help build a command-line wrapper for another application.

In plain words
What is it for?
Use it to automate or batch-edit work in applications such as GIMP, Inkscape, Blender, FreeCAD, QGIS, Zotero, Obsidian, or Illustrator.
Why use it?
It gives automated workflows a text-based way to operate software that may otherwise require clicking through a graphical interface. The workflow also checks each tool's actual help output before using its commands.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to automate or batch-edit work in applications such as GIMP, Inkscape, Blender, FreeCAD, QGIS, Zotero, Obsidian, or Illustrator.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ggbond-bo/memomics-agent/cli-anything
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add GGbond-bo/MemOmics-Agent --skill cli-anything
Clone the repo
git clone --depth 1 https://github.com/GGbond-bo/MemOmics-Agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cli-anything

README.md
[![agentmods](https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/cli-anything/github.svg)](https://agentmods.dev/skills/ggbond-bo/memomics-agent/cli-anything)
Your own site
<a href="https://agentmods.dev/skills/ggbond-bo/memomics-agent/cli-anything"><img src="https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/cli-anything/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cli-anything

Your own site · 80×15
<a href="https://agentmods.dev/skills/ggbond-bo/memomics-agent/cli-anything"><img src="https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/cli-anything.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,940 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00131 $0.07940
Opus 5.5 $0.00052 $0.03176
Sonnet 5.5 $0.00026 $0.01588
Haiku 4.5 $0.00013 $0.00794

Measured 1mo ago against content hash 38be7786a36f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

cli-anything scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/run.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

| `rmdir` / `rm -rf` 被执行层拦下("操作需确认") | 平台安全层识别删除关键词 | 只移动用 `mv`(不删);确实要删先向用户列出文件再确认 |
memomics_home/skills/bioinformatics/cli-anything/SKILL.md · 332 lines

How it starts

The opening of the file, as written. The whole thing — 332 lines — stays where its author put it; the contents beside it link to each section on GitHub.

⛔ MemOmics 强制规则(不可违反,优先级最高)

本 skill 已集成到 MemOmics-Agent 自进化平台。使用前必须先通过 skill_view 加载本文件。以下规则覆盖所有默认行为。

规则1: 写代码/下命令前 → 必须先查 --help,禁止凭记忆编命令

  • CLI-Anything 的命令树是每个 harness 自己定义的,仓库里 71 个 harness 各不相同。
  • 任何调用前先 cli-anything-<软件> --help 和 <子命令> --help,实测确认参数形态再写命令(2026-10-04 实测:mermaid harness 的 project new / diagram set 只接受选项不接受位置参数,凭直觉写 diagram set "flowchart TD..." 直接报 Got unexpected extra argument)。
  • 官方文档(HARNESS.md / 各 harness 的 SKILL.md)是唯一权威,不许照抄记忆里的命令。

规则2: 8步循环(每步必须走完整循环)

1. search_knowledge 查本步骤的方法和参数
2. skill_view 加载本 SKILL.md(获取命令模板+坑表)
3. check_env 检查环境(缺包按铁律 29 询问用户后装到项目内)
4. rail_review(pre) 前置审查(软件是否在跑?CLI 装了吗?输出路径合法吗?)
5. 写这一步的命令(先 --help 核实参数)
6. terminal 执行(分步执行,禁止 && 连接多步骤)
7. debate_analysis 多方辩论(涉及关键参数/批量改写用户文件时)
8. rail_review(post) 后置审查(产物真实存在吗?大小合理吗?用户文件有没有被改坏?)

规则3: 代码分段执行 — 写一步跑一步

  • ❌ 禁止一次性写完整个流程用 && 连接执行
  • ✅ 必须分步:查 help → 试跑 → 核对输出 → 下一步

规则4: 关键参数多参数尝试 + 辩论

  • 涉及数值/批量改写参数(分辨率、字号、导出格式、批量范围)→ 至少尝试 2 个值
  • 参数变更后调 debate_analysis 辩论"这个参数合理吗?会不会改坏用户文件?"
  • 不确定的参数就辩论,不要自己拍脑袋;最多 3 轮

规则5: 执行后审查(强化版)

  • 每步执行完调 rail_review(post),审查内容全部强制:
    • 产物检查:文件生成了吗?大小 > 0?是有效格式吗(SVG/PNG/PDF 头正确)?
    • 用户资产保护:有没有动到用户已打开的文档?默认必须不保存(SaveOptions.DONOTSAVECHANGES)
    • 退出码:非 0 / traceback → 必须记录 skill_evolution(action="record_error")
    • JSON 可解析:--json 输出必须能被 json.loads 解析(agent-native 的底线)
  • 通过 → skill_evolution(action="record_run");失败 → 记录错误 + 修复后重跑

规则6: 结果存储结构

results/<sid>/software_control/
  ├── cli_tests/      # Hub 装来的现成 CLI 的试跑产物
  ├── <软件>/agent-harness/   # 自建 harness 源码
  └── logs/           # 命令与返回

规则7: 脚本出错/成功 → 必须调 skill_evolution(自进化)

时机 action 调 不调
harness 报错+你找到根因并修复 record_error ✅ 如 CMYK Red 色板不存在(Error 1302) ❌ 打字错误/路径不存在
命令成功+产物通过审查 record_run ✅ 真实产物落盘 ❌ 只 --help 看一眼

CLI-Anything:把软件变成 agent-native CLI

Read the full file on GitHub · 332 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 332 lines · 131 tokens per session scan C 38be7786a36f

Subscribe to this mod's changes

cli-anything is a skill published in the GitHub repository GGbond-bo/MemOmics-Agent (33 stars, last pushed 14d ago), licensed MIT. It adds 131 tokens to every session and 7,940 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-14.

Related

cli-anything compared with skills from other repositories

cli-anything next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cli-anythingGGbond-bo/MemOmics-AgentSkill3314d agoMITC131Claude Code, Codex
slackvercel-labs/agent-browserSkill55k3d agoApache-2.0A88Claude Code
browser-usebrowser-use/browser-useSkill122ktodayMITA54Claude Code, Codex
cli-anything-macrocliHKUDS/CLI-AnythingSkill68k10d agoApache-2.0A67Claude Code, Codex
ComputerUsedanielmiessler/LifeOSSkill20k11d agoMITA0Claude Code, Codex
Interceptordanielmiessler/LifeOSSkill20k11d agoMITA93Claude Code, Codex
agent-browseremdash-cms/emdashSkill15ktodayMITA57Claude Code, Codex