climate-generator

A skill for using Climate to generate Go command-line programs from OpenAPI 3.x specifications, which describe how web APIs work.

In plain words
What is it for?
Generating or composing API clients, inspecting them, creating agent prompts, running local API simulators, handling webhooks, and managing generated clients.
Why use it?
It removes much of the manual work needed to turn an API description into a usable command-line client or agent integration.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/disk0dancer/climate/climate-generator
Any agent
npx skills add disk0Dancer/climate --skill climate-generator
Clone the repo
git clone --depth 1 https://github.com/disk0Dancer/climate

Made for: Claude Code, Codex.

Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,667 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00039 $0.01667
Opus 5 $0.00019 $0.00834
Sonnet 5 $0.00008 $0.00333
Haiku 4.5 $0.00004 $0.00167

Measured 2d ago against content hash 66a1466c4fbb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

climate-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/climate-generator/SKILL.md · 200 lines

How it starts

The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: climate-generator

You have access to climate, a CLI that generates production-ready Go command-line clients from OpenAPI specifications and can emit Markdown prompts for agent skills.

When to use this skill

  • The user has an OpenAPI 3.x URL or file and wants a CLI quickly.
  • The user wants a human-usable API client rather than writing SDK glue code.
  • The user wants to turn a generated CLI into a reusable agent skill.
  • The user wants to compose multiple microservice specs into one facade CLI.
  • The user wants a local OpenAPI simulator (mock server) for testing.
  • The user wants the generated CLI to receive or emit webhook callbacks itself.
  • The user wants shell completion for climate itself.
  • The user wants to list, remove, or upgrade a previously generated CLI.
  • The user wants to uninstall climate itself and clean up local climate-managed artifacts.

Core workflow

  1. Generate a CLI from the provided spec.
  2. If user provides multiple specs, use climate compose instead of climate generate.
  3. Capture the resulting cli_name, binary_path, and source_dir.
  4. If the user wants agent integration, run climate skill generate <cli-name>.
  5. If the user needs sandbox/simulator behavior, run climate mock <openapi_spec>.
  6. If the user wants shell completion for climate itself, run climate completion install --shell <shell>.
  7. If the user wants the CLI managed on GitHub, run climate publish <cli-name>.
  8. Follow the generated instructions from that Markdown prompt.

Commands

Generate a CLI

climate generate [--name <cli-name>] [--out-dir <dir>] [--no-build] [--force] <openapi_spec>
  • <openapi_spec> can be a local path or an HTTP(S) URL.
  • --no-build generates source only.
  • --force overwrites an existing output directory.

Success output is JSON:

{
  "cli_name": "<name>",
  "binary_path": "<absolute path to compiled binary>",
  "source_dir": "<absolute path to generated source>",
  "version": "<API version>",
  "openapi_hash": "<sha256 of the spec>"
}

Read the full file on GitHub · 200 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 200 lines · 39 tokens per session scan A 66a1466c4fbb

Subscribe to this mod's changes

climate-generator is a skill published in the GitHub repository disk0Dancer/climate (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 39 tokens to every session and 1,667 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

create-mcp-tool

Create a new MCP tool end-to-end: sub-package, input/output structs, handler, ActionSpec metadata, markdown formatter, tests, catalog projection, and documentation. Use when adding a new GitLab API endpoint as an MCP tool.

jmrplens/gitlab-mcp-server · 52 tokens

opencli-usage

Use at the start of any OpenCLI session — this is the top-level map of what opencli can do, how to discover adapters, what flags and output formats are universal, and which specialized skill to load next. Point here when an agent asks "what can opencli do?" or "how do I find the right command?".

jackwener/OpenCLI · 74 tokens

ocx

Drive a running opencodex (ocx) proxy from the CLI — account pools, provider routing, model catalog, usage and cost attribution, request logs, access keys, storage cleanup, and the management API. Use when a task involves controlling or inspecting an opencodex proxy rather than editing the opencodex codebase.…

lidge-jun/opencodex · 0 tokens

printing-press-polish

Polish a generated CLI to pass verification and become publish-ready. Runs diagnostics (dogfood, verify, scorecard, go vet, gosec), automatically fixes all issues (verify failures, static-analysis findings, dead code, descriptions, README, MCP tool quality), reports the before/after delta, and offers to publish. Use…

mvanhorn/cli-printing-press · 125 tokens

printing-press-amend

Amend a published CLI from one of two input sources: (1) dogfood mode mines the active Claude Code session transcript for friction (missing flags, hand- rolled API payloads, silent-null returns); (2) direct-input mode accepts user-supplied asks (rename a command, add commands or feeds, fix a named bug, optionally…

mvanhorn/cli-printing-press · 222 tokens

pp-printing-press-oauth2

Printing Press CLI for Printing Press Oauth2. Purpose-built fixture for the OAuth2 device-code auth shape.

mvanhorn/cli-printing-press · 31 tokens