Skip to content

disk0Dancer/climate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

climate

CI Release Go Reference Go Report Card Homebrew skills.sh License

Any API becomes a tool. Give climate an OpenAPI spec — it builds a CLI and a skill. Works for humans. Works for AI agents. One spec → unlimited new tools.

climate generate --name petstore https://petstore3.swagger.io/api/v3/openapi.json
petstore pet get --pet-id 1

Install

brew tap disk0Dancer/tap && brew install climate

Or go install github.com/disk0Dancer/climate/cmd/climate@latest.

How it works

One command turns an OpenAPI 3.x spec into a compiled Go binary with auth, JSON output, and structured errors.

climate generate --name myapi https://api.example.com/openapi.json
myapi <group> <operation> [flags] --output=json|table|raw

Agent skill

An agent with climate can build its own tools. Point it at any OpenAPI spec — it generates a CLI, creates a skill, and starts using the API. No human required.

climate skill generate myapi          # skill prompt for a generated CLI
climate skill generator               # skill for climate itself
npx skills add https://github.com/disk0Dancer/climate --skill climate-generator

Publish

Push a generated CLI to GitHub with CI and release workflows:

climate publish myapi --owner disk0Dancer

Demo: disk0Dancer/github — 1 100+ endpoint CLI from the GitHub REST API spec.

Commands

Command Purpose
generate Create CLI from OpenAPI spec
list Show registered CLIs
remove Delete a generated CLI
upgrade Regenerate from updated spec
publish Push CLI to GitHub with CI/release
skill generate Emit agent skill prompt

Docs

Development

go build ./...
go test ./...

Star History

Star History Chart

License

Apache 2.0