# cli-printing-press: Generate Agent-First Go CLIs for APIs

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Source: osrepos.com
Repository profile: https://osrepos.com/repo/mvanhorn-cli-printing-press
Generated for open source discovery and AI-assisted research.

CLI Printing Press is a Go-based generator that turns API specs, HAR captures, or websites into agent-first CLIs and MCP servers. It adds local SQLite search and sync, domain-specific commands, and verification tools for teams building API workflows for AI agents.

GitHub: https://github.com/mvanhorn/cli-printing-press
OSRepos URL: https://osrepos.com/repo/mvanhorn-cli-printing-press

## Summary

CLI Printing Press is a Go-based generator that turns API specs, HAR captures, or websites into agent-first CLIs and MCP servers. It adds local SQLite search and sync, domain-specific commands, and verification tools for teams building API workflows for AI agents.

## Topics

- go
- cli
- ai-agents
- mcp
- api
- cli-generator
- sqlite
- agent-native-cli

## Repository Information

Last analyzed by OSRepos: Sun Oct 18 2026 10:35:26 GMT+0100 (Western European Summer Time)
Detail views: 4
GitHub clicks: 1

## Safety Notice

OSRepos shares public repositories for knowledge and discovery only. Review source code, dependencies, licenses, and security implications before running or installing anything.

## Content

## Overview

CLI Printing Press is a Go-based tool that generates agent-first command-line interfaces and MCP servers for APIs and websites. It uses Cobra for generated CLIs and supports OpenAPI specs, HAR files, and browser-captured traffic, so an API does not need a published spec. Its central aim is to make API work faster and less error-prone for AI agents, with concise output and commands designed around useful workflows rather than endpoint coverage alone.

Generated tools can include local SQLite storage, full-text search, incremental sync, and domain-specific analysis commands. The project is aimed at developers and agent users who want to build or use a capable CLI for a service, including services without official APIs. The README documents Claude Code as the best-tested agent workflow and also provides Codex installation guidance.

## Key Features

- Generate Go CLIs and MCP servers from OpenAPI specs, HAR files, or browser-captured API traffic.
- Create agent-oriented command output, including automatic JSON when piped, compact fields, and typed exit codes.
- Add SQLite-backed local data, FTS5 search, incremental sync, and direct SQL access where appropriate.
- Generate domain-focused workflow and insight commands, such as stale-item checks, health summaries, and bottleneck analysis.
- Research competing tools and MCP servers, then use an absorb manifest to guide feature coverage.
- Check generated projects with scorecards, structural dogfooding, behavior proofs, and optional read-only live API tests.
- Install project skills for Claude Code or Codex to drive the generation workflow.

## Use Cases

- A developer wants an agent-friendly CLI for a documented API and can provide its OpenAPI specification.
- A team needs to explore a web service with no published API spec and can capture its traffic in a browser or HAR file.
- An agent user wants to search and analyze service data locally instead of repeatedly making live API calls.
- A CLI maintainer wants to check paths, authentication, flags, and data flow in a generated or hand-built Go CLI.

## Our Take

CLI Printing Press is an actively maintained, ambitious generator for teams that want API-specific CLIs shaped around agent workflows, though its Go and agent-tooling prerequisites make it a specialized choice.

**Good fit if:**
- You want to generate both a CLI and MCP server, with local SQLite features and domain-specific commands.
- Your workflow uses Claude Code, or you are willing to try the documented Codex skills path.
- You can provide an OpenAPI spec, HAR capture, or a website to inspect, and can verify that automated access is permitted.

**Look elsewhere if:**
- You need a ready-to-use CLI for a particular service rather than a generator. Published outputs are maintained in the separate Printing Press Library.
- You need a standalone distribution without Go, Node/npm, or an agent that supports the project’s skills workflow.
- You need autonomous website crawling or a generated CLI that replaces every vendor-specific administrative feature.

## Project Health

| Signal | Value |
|---|---|
| Status | **Active**: regular commits and releases |
| Last commit | 2026-10-17 (today) |
| Commits, last 90 days | 100+ |
| Releases, last 12 months | 100+ (latest v4.33.6, 2026-10-17) |
| Contributors | 93 (top contributor: 68% of commits) |
| Issues closed, last 90 days | 34+ (typically closed in 1 day) |
| Pull requests merged, last 90 days | 47 (typically merged in 0 days) |
| Project age | 7 months |

Checked on 2026-10-18 with the GitHub API.

## Project Facts

- Language: Go
- License: MIT
- Stars: 4.8k
- Forks: 524
- Topics: ai-agents, cli, cli-generator, developer-tools, golang, openapi
- Archived: no

## What You Need

Detected in the repository:

- Go 1.26.9 or newer (from go.mod)
- Automated checks on GitHub Actions

## Getting Started

The installer installs the generator and refreshes its skills. It requires Go 1.26.9 or newer and Node/npm for the skills installer:

```bash
curl -fsSL https://raw.githubusercontent.com/mvanhorn/cli-printing-press/main/scripts/install.sh | bash
```

Then start Claude Code and run `/printing-press <app-name>`. See the [README](https://github.com/mvanhorn/cli-printing-press#readme) for Codex setup, manual installation, and workflow details.

## License in Plain Words

**MIT** (permissive).

- Commercial use: yes
- Modify and redistribute: yes
- You must keep: the copyright and license notice
- Share your changes: no

A summary, not legal advice: the LICENSE file is what applies.

## Considerations

- The project is actively maintained, with recent commits and releases and ongoing issue and pull-request activity. Its scope is substantial, so generated output still benefits from hands-on review; the README says structural scores do not replace end-user QA.
- The generator requires Go 1.26.9 or newer. The curated workflow also depends on an agent that supports open-agent-skills and Node/npm; Claude Code is the most-tested path.
- Browser-based discovery requires a user to capture traffic or provide a HAR file. Some sites may expose traffic the tool cannot use, and the README warns that technical access does not establish legal permission. Review each service’s terms before use.
- Live verification is read-only and does not test write paths against a real service. Windows is not supported for the `regen-merge` subcommand.
- The repository is MIT-licensed. Generated CLIs may also interact with third-party services, so their terms and any separate requirements should be reviewed.