Pular para o conteúdo
← Back to Skalablog

Published article

3 Ways the Printing Press CLI Feeds Your AI Agents

Software EngineeringClaude CodeStripeAnthropic

The Printing Press CLI is a command-line factory that turns apps, APIs, and websites into terminal tools an AI agent can call directly. In a July 2026 walkthrough, the Eric Tech channel used it to build a Xiaohongshu outreach tool that Codex drove from the terminal, without an MCP server or a visual browser agent.

What the Printing Press CLI Is

The Printing Press CLI is a CLI factory that converts apps, APIs, and websites into command-line tools an AI agent can call directly from the terminal. It offers two paths: a searchable library of prebuilt CLIs, and a generation skill that produces a new CLI from a website URL. The product lives at printingpress.dev.

A CLI, or command-line interface, lets you operate software by typing text commands in a terminal instead of clicking buttons in a graphical interface. Printing Press sits one layer above that idea: its output is CLIs for other applications, so an agent like Claude Code, Anthropic agentic coding tool that runs in the terminal, can drive apps it was never natively connected to.

In a July 2026 walkthrough, the Eric Tech channel used the tool to connect Codex, OpenAI's coding agent, to Xiaohongshu (RedNote), a Chinese social platform. Claims about how well it worked in that demo come from the presenter's first-hand experience, not from independent testing.

Why CLIs Beat MCPs and Computer Use on Token Cost

CLIs use fewer tokens because every interaction is text, output can be filtered before it reaches the model, and tool definitions load on demand. This argument comes from Printing Press's own author as relayed in the video, so treat it as the vendor's rationale rather than an independent benchmark.

Three mechanisms carry the claim:

  • Screenshots are expensive. A computer-use agent operates software by taking screenshots and moving the Cursor. Images consume far more context than text, and more context means more cost.
  • Filtered output. When an API returns a large text block, a CLI can filter it with commands like grep and return only the relevant lines. The presenter's contrast is that an MCP passes the whole payload into the context window and lets the model process it.
  • On-demand loading. CLI tools load only when needed, instead of registering a full catalog of tool schemas up front.

A supporting point is training data: current large language models already know how to drive common developer tools like Git, Docker, AWS CLI, and grep, so an agent can run those commands without per-tool instruction. The presenter also asserts that larger contexts reduce decision accuracy. Context degradation is real but model- and task-specific in published research, so read that as a directional concern rather than a measured number.

Find a CLI Before You Build One

The video's workflow starts with reuse, not generation. Most popular services already have a maintained CLI, and using it saves the entire build step.

OptionWhat it coversWhen to use it
Official vendor CLIe.g. the Stripe for terminal-based Stripe managementThe vendor ships one for your app
Printing Press libraryOver 300 prebuilt CLIs per the site tour, including Linear and Instagram BusinessYour app appears in the catalog
Generated CLIAny site or API with no existing CLINothing prebuilt fits, as with Xiaohongshu

The presenter names Firecrawl, a service that turns web pages into data for LLMs, and the Google Workspace CLI as examples of existing tooling an agent can use directly. His stated priority: prefer official open-source CLIs, and only search or build when none exists.

How the Xiaohongshu Outreach Build Worked

The demo's goal was networking: find AI-related posts on Xiaohongshu, then comment or DM creators to arrange coffee chats. Because Xiaohongshu offers no official CLI or MCP, the presenter generated one.

The steps shown in the video:

  1. Search printingpress.dev for an existing Xiaohongshu/RedNote CLI. None exists.

2. Install Printing Press using the repository's curl command, or paste the repository URL and let the agent install it. The repo documents paths for both Claude Code and Codex.

3. Restart the agent session and invoke the generation skill with xiaohongshu.com plus a description of the desired capabilities.

4. Install the generated plugin, which exposes search, read, write, and social actions.

5. Authenticate via a QR-code scan. The presenter confirmed the CLI uses local browser cookies or a QR scan session, and does not run a Puppeteer browser per action.

6. Paste a search URL into Codex, let the agent propose targeting options based on stored context about the user, confirm, and run keyword searches in the background.

Two details matter for anyone copying this. The agent asked clarifying questions before acting, choosing target keywords from the operator's stated goals. And authentication stayed on the operator's own logged-in session, meaning the CLI acts as the account holder rather than an API client with separate credentials.

The Same Pattern Applied to Skool Communities

The host extended the factory approach to Skool, a community platform with no official CLI or MCP. His generated CLI can create posts and updates, list members, extract course content as markdown, and read calendars and notifications.

The stated use cases are community management: an agent that knows your goals can summarize member activity, ingest course material, or check engagement. He also names a hiring example on Fiverr as a future lesson; only the Skool and Xiaohongshu builds are actually demonstrated in the video.

Because the interface is a plain CLI, any agent runtime that executes shell commands can drive the result, which is the practical appeal for users switching between Claude Code, Codex, and other terminal agents.

Limits and Caveats

Three caveats qualify the video's enthusiasm.

  • Unverified efficiency figures. Token savings versus MCPs are the vendor's argument, relayed secondhand. No independent benchmark appears in the source.
  • Platform terms and account risk. Automating comments and DMs through session cookies on Xiaohongshu bypasses any official API. Review the platform's terms of service before running outreach at scale, and expect possible account restrictions.
  • Fragile auth and scraping. A CLI generated from a website depends on that site's current markup and endpoints, and cookie-based sessions expire. Budget for maintenance.

The capability is real in the demo, but the video proves a workflow, not a measured performance advantage.

FAQ

  • What does the Printing Press CLI actually do? It converts apps, APIs, and websites into command-line tools that AI agents can run from the terminal. You can pick a prebuilt CLI from its library or generate a new one from a URL.
  • Is a CLI better than an MCP for AI agents? Printing Press's author argues CLIs save tokens through filtered output and on-demand loading. That is a vendor claim from the video, not an independent measurement, and MCPs remain the standard integration path where a service offers one.
  • Does the Xiaohongshu CLI need API keys? In the demo, no. It authenticated with the operator's local browser cookies or a QR-code scan, acting as the logged-in account.
  • Which AI agents work with Printing Press? The repository documents installation for Claude Code and Codex, and any agent that can execute shell commands can call the generated CLIs.
  • How many prebuilt CLIs does Printing Press include? The presenter's tour of printingpress.dev showed over 300 CLIs, including Linear, Instagram Business, and Google Workspace. Verify current coverage on the site.

Source video