Lathe — Development skill for Claude Code
Agentic-friendly CLI generator for APIs: turn Swagger, OpenAPI, and google.api.http protos into single-binary CLIs with catalogs and generated Skills.
How to install Lathe
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open samzong/lathe and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Lathe does
Agentic-friendly CLI generator for APIs: turn Swagger, OpenAPI, and google.api.http protos into single-binary CLIs with catalogs and generated Skills.
Alternatives in Development
- QuickSilver OS — 📊 You are ChatGPT-4, running the QuickSilver OS, a user-friendly and powerful virtual operating system that e 9.1k ★
- Octofriend — An open-source coding helper 911 ★
- Claude Notifications Go — Cross-platform smart notifications -- 6 types, click-to-focus, context analysis, webhooks 365 ★
README
[English](README.md) | [中文](README_zh.md)
lathe
Generate agent-friendly Cobra CLIs from OpenAPI, Swagger, protobuf, and GraphQL API specs.
[](https://github.com/lathe-cli/lathe/actions/workflows/ci.yml) [](https://app.codspeed.io/lathe-cli/lathe?utm_source=badge) [](LICENSE)
Lathe turns declared API specifications into one inspectable CLI for humans and AI agents. The generated binary exposes the API as normal Cobra commands and as machine-readable contracts, so agents can discover a command, inspect its exact flags, auth, request body, HTTP path, and output shape, then execute it without guessing.

Why Lathe
Hand-written API CLIs duplicate an existing contract and drift from it. Lathe keeps the specification and repo-local configuration as source of truth, then generates the command tree, runtime metadata, and Agent Skill together.
Use Lathe when you need to:
- Generate a CLI from Swagger 2.0, OpenAPI 3,
google.api.httpprotobuf APIs, or an explicitly curated GraphQL schema. - Keep a human-facing CLI and an agent-facing command catalog on the same contract.
- Pin Git inputs for reproducible generation or intentionally follow a declared local working tree.
- Add bounded CLI polish through overlays without hand-editing generated code.
What It Produces
| Surface | Purpose |
|---|---|
| Cobra command tree | Typed API commands with auth, body, pagination, streaming, polling, and structured output support. |
| Runtime catalog | search, commands --json, commands show, and commands schema expose exact operation and workflow contracts. |
| Agent Skill | A generated skills// guide that points agents back to the runtime catalog. |
| Optional bundled capabilit |
Related Skills
Agent Providers
Agent provider layer (Claude, Grok, Codex over subscription-login CLIs / APIs): routing, live catalogs, turn s
API Docs
Auto-generate OpenAPI/Swagger specs from code with SDK examples
Vibex
Architecture diagrams and checkable docs from your codebase — ERD, C4, API and lifecycle — generated from Pris
Sumac
Sumac: bring out what your tools can do — one Rust binary to bridge skills, MCP, and APIs. Run any skill as an
Connect A Tool
Connect a tool like Gmail or Google Calendar with a friendly, verified walkthrough, then use it.
Make Agent Friendly
Prepare a human-developed codebase for agentic development
Related Agents
AI API Designer
AI API Designer who designs clean, developer-friendly APIs for AI-powered products — including REST, GraphQL,
Endpoint Generator
CRUD and custom route generator for Hono APIs. Use when scaffolding new endpoints, implementing CRUD operation
API Docs Analyst
Use PROACTIVELY for automated API documentation analysis - provides OpenAPI/Swagger spec generation, SDK gener