cli-builder

A command for building command-line tools, which are programs operated by typing commands in a terminal, with documentation in three layers.

In plain words
What is it for?
Use it to create, validate, or edit CLI tools and their documentation.
Why use it?
It helps make CLI tools easier for both people and AI agents to understand and use.

Command

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.

agentmods
npx agentmods add commands/alenryuichi/openmemory-plus/bmad-bmb-cli-builder
Clone the repo
git clone --depth 1 https://github.com/Alenryuichi/openmemory-plus
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 72 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00023 $0.00072
Opus 5 $0.00012 $0.00036
Sonnet 5 $0.00005 $0.00014
Haiku 4.5 $0.00002 $0.00007

Measured 3d ago against content hash 90b6f43cc70b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cli-builder scanned grade A with 0 findings 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 3d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.augment/commands/bmad-bmb-cli-builder.md · 8 lines

What it actually says

IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL @{project-root}/_bmad/bmb/workflows/cli-builder/workflow.md, READ its entire contents and follow its directions exactly!

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. 3d ago First seen · 8 lines · 23 tokens per session scan A 90b6f43cc70b

Subscribe to this mod's changes

cli-builder is a command published in the GitHub repository Alenryuichi/openmemory-plus (20 stars, last pushed 6mo ago), licensed MIT. It adds 23 tokens to every session and 72 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other commands, from other repositories

fix-layout

Command "fix-layout" from OpenRaiser/PaperFit, covering /fix-layout — 启动完整 vto 排版优化, 用户入口说明, 工具调用约定, 用法 and 直接执行入口.

OpenRaiser/PaperFit · 0 tokens

paperfit

作用: /paperfit 是 Claude Code 中的 PaperFit 主入口。用户可以直接用自然语言描述任务,例如排版分析、完整修复、模板迁移、长度调整、局部表格修复、视觉检查或状态查询。Agent 负责解析意图、识别主 .tex、判断是否需要画像、并自动进入对应的 PaperFit 子流程。.

OpenRaiser/PaperFit · 0 tokens

show-status

作用: 显示当前 PaperFit 任务的运行状态、缺陷消除进度、视觉优先级、修复计划摘要和下一步行动;这是当前默认的“摘要 / 解释”入口。.

OpenRaiser/PaperFit · 0 tokens

adjust-length

作用: 尝试通过排版微调或受控语义改写逼近目标页数。它是专家快捷入口;普通自然语言如“把正文压到 8 页,尽量不要改语义”也应能触发同类任务。.

OpenRaiser/PaperFit · 0 tokens

repair-table

作用: 针对指定表格或当前论文中的表格问题执行修复闭环。它是专家快捷入口;普通自然语言如“修 Table 2 太挤的问题”也应能触发同类任务。.

OpenRaiser/PaperFit · 0 tokens

pre-pr-check

Pre-PR quality gate for PromptPit. Run this on your feature branch after implementation is complete, before opening a PR. Chains three checks: code review, adapter correctness verification, and code simplification.

nirelbaz/promptpit · 0 tokens