简介
CLI Printing Press 用“Agent 使用成本”为目标生成 CLI:更省 token 的参数设计、本地 SQLite 同步、复合洞察命令,并提供 CLI + MCP 双接口。
最适合: 需要为内部/第三方 API 生成可复用、可验证的 Agent 工具链的团队
适配: README 标注需要 Go 1.26.3+ 且推荐 Claude Code;输出 Go 二进制与 skill/MCP 产物
配置时间: 20–45 分钟
关键事实(已验证)
- README 写明前置条件包括 Go 1.26.3+ 与 Claude Code。
- README 给出
go install ...@latest安装二进制,并提供 clone/gh/npx 安装技能的路径。 - GitHub:1,718 stars · 158 forks;最近更新 2026-05-13(GitHub API 验证)。
正文
如何最快获得价值:
- 先选一个你每天都用的 API(GitHub/Linear/Notion 等),端到端跑一轮打印流程。
- 优先采用“skills 驱动 binary”的工作流,让生成过程更 agent-friendly 且可复现。
- 将输出版本化管理,并在发布前要求通过验证证明(golden output / smoke test)。
README 原文节选(verbatim)
CLI Printing Press
Nothing is more valuable than time and money. In a world of AI agents, that's speed and token spend. A well-designed CLI is muscle memory for an agent: no hunting through docs, no wrong turns, no wasted tokens. We built the Printing Press to print the best CLIs in the world for agents.
It reads the official API docs, studies every popular community CLI and MCP server, sniffs the web for the APIs nobody published (think Google Flights or Dominos), and applies the power-user playbook Peter Steinberger proved with discrawl and gogcli - local SQLite, compound commands, agent-native flags. It fuses all of that and prints a token-efficient Go CLI plus a Claude Code skill plus an MCP server for any API or any website.
Three CLIs printed by the press, installable today:
- ESPN (sniffed, no official API). "Tonight's NBA playoff games with live score, series state, each team's leading scorer's stat line, and any injury or lineup news from the last 24 hours." Returns everything in one call.
- flight-goat (Kayak nonstop search plus sniffed Google Flights). "Non-stop flights over 8 hours from Seattle for 4 people, Dec 24 to Jan 1, cheapest first." Two sources stitched into one query.
- linear-pp-cli (50ms against a local SQLite mirror). "Every blocked issue whose blocker has been stuck for a week." Compound queries the API can't answer.
Browse the full catalog of printed CLIs at printingpress.dev or in the Printing Press Library, organized by category, most with full MCP servers.
Cursor users: see docs/CURSOR.md for how to install a printed CLI, attach the matching skill, handle auth, and choose CLI vs MCP when your repo does not already document a workflow.
Install
FAQ
必须同时装 binary 和 skills 吗? 答:README 强调需要两者:skills 驱动工作流,binary 负责生成/验证等核心能力。
skills 怎么安装? 答:README 推荐 clone 仓库,也提供 gh/npx 的替代安装方式。
会输出什么? 答:README 描述会生成 Go CLI、MCP server 以及配套产物用于 agent 使用。