Skills2026年5月13日·1 分钟阅读

CLI Printing Press — Generate Agent-First CLIs

Agent-first Go CLI generator: ingests docs and web traffic, outputs Go CLI + Claude Code skill + MCP server, with SQLite sync and compound commands.

Agent 就绪

这个资产可以被 Agent 直接读取和安装

TokRepo 同时提供通用 CLI 命令、安装契约、metadata JSON、按适配器生成的安装计划和原始内容链接,方便 Agent 判断适配度、风险和下一步动作。

Needs Confirmation · 66/100策略:需确认
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Go|Git|Skill
信任
信任等级:Established
入口
go install github.com/mvanhorn/cli-printing-press/v4/cmd/printing-press@latest
通用 CLI 安装命令
npx tokrepo install 27b6953d-ddb5-5deb-802b-dd7938b05b43

简介

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 验证)。

正文

如何最快获得价值:

  1. 先选一个你每天都用的 API(GitHub/Linear/Notion 等),端到端跑一轮打印流程。
  2. 优先采用“skills 驱动 binary”的工作流,让生成过程更 agent-friendly 且可复现。
  3. 将输出版本化管理,并在发布前要求通过验证证明(golden output / smoke test)。

README 原文节选(verbatim)

CLI Printing Press

CI Golden Release Go License

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 使用。

🙏

来源与感谢

Source: https://github.com/mvanhorn/cli-printing-press > License: MIT > GitHub stars: 1,718 · forks: 158

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产