Generate client SDKs in multiple languages from OpenAPI specifications.

MITAuto-check passedBackend & APIs

Install Generating API Sdks

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill generating-api-sdks -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace generating-api-sdks --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/generating-api-sdks .claude/skills/generating-api-sdks && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
generating-api-sdks
GitHub stars
2.8k
Token cost
~1.3k tokens
SKILL.md length
562 words
Files
4 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Generate client SDKs in multiple languages from OpenAPI specifications.

  • Works in 9 steps: Read and validate the OpenAPI… → Extract all operation IDs,… → Generate typed model classes for every… → …
  • Generating client libraries for API consumption
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Generating API Sdks is an agent skill from jeremylongshore/tons-of-skills-marketplace. Generate client SDKs in multiple languages from OpenAPI specifications. Use when generating client libraries for API consumption. Trigger with phrases like "generate SDK", "create client library", or "build API SDK".

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/errors.md`, `references/examples.md` and `references/implementation.md`). Compatibility notes: Designed for Claude Code

It sits in Backend & APIs, covering OpenAPI specifications. It works with OpenAPI. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Generating client libraries for API consumption
  • With phrases like generate SDK
  • Create client library

Example prompts

  • “generate SDK”
  • “create client library”
  • “build API SDK”
  • “/generating-api-sdks”

Requirements

  • Python 3
  • Node.js
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Grep, Glob, Bash(api:sdk-*)

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Read and validate the OpenAPI specification using Read, checking for complete schema definitions, proper $ref usage, and response type…
  2. Extract all operation IDs, request/response models, and authentication schemes from the specification to build the SDK method inventory.
  3. Generate typed model classes for every schema component, including nested objects, enums, and discriminated unions with proper nullability…
  4. Create a client class with methods for each API operation, mapping operation IDs to idiomatic method names (e.g., listUsers, get_user…
  5. Implement authentication handling with support for Bearer tokens, API keys (header and query), and OAuth2 client credentials flow…
  6. Add automatic retry logic with exponential backoff for 429 and 5xx responses, with configurable max retries and backoff multiplier.
  7. Build pagination helpers that abstract cursor-based and offset pagination into iterator/generator patterns native to each target language.
  8. Generate comprehensive JSDoc/docstring/Javadoc comments from OpenAPI description and summary fields for full IDE IntelliSense support.
  9. Create a test suite that validates SDK methods against a mock server running the OpenAPI spec, covering authentication, error handling…

What it can do on your machine

Read from SKILL.md and the folder at commit 80f86df. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Grep
    • Glob
    • Bash(api:sdk-*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • openapi-generator.tech
    • speakeasy.com
    • spec.openapis.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Generating API Sdks loads about 1.3k tokens when it runs, and up to ~3.7k if it reads all its reference files. Until then it costs about 59 tokens; SKILL.md has 562 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit 80f86df, republished under its MIT licence (© jeremylongshore). 562 words, ~1,333 tokens.

Download SKILL.mdSave it as .claude/skills/generating-api-sdks/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
generating-api-sdks
description
Generate client SDKs in multiple languages from OpenAPI specifications. Use when generating client libraries for API consumption. Trigger with phrases like "generate SDK", "create client library", or "build API SDK".
allowed-tools
Read, Write, Edit, Grep, Glob, Bash(api:sdk-*)
compatibility
Designed for Claude Code
version
1.22.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
api, api-sdks

Generating API SDKs

Overview

Generate type-safe client SDKs in multiple languages (TypeScript, Python, Go, Java) from OpenAPI 3.0+ specifications. Produce idiomatic client libraries with authentication handling, automatic retries, pagination helpers, and comprehensive type definitions that mirror the API contract.

Prerequisites

  • OpenAPI 3.0+ specification file (YAML or JSON) with complete schema definitions
  • Target language toolchain installed (Node.js/TypeScript, Python 3.10+, Go 1.21+, or Java 17+)
  • OpenAPI Generator CLI or equivalent code generation tool
  • Package registry credentials for publishing (npm, PyPI, Maven Central, pkg.go.dev)
  • CI pipeline for automated SDK builds on spec changes

Instructions

  1. Read and validate the OpenAPI specification using Read, checking for complete schema definitions, proper $ref usage, and response type coverage across all endpoints.
  2. Extract all operation IDs, request/response models, and authentication schemes from the specification to build the SDK method inventory.
  3. Generate typed model classes for every schema component, including nested objects, enums, and discriminated unions with proper nullability annotations.
  4. Create a client class with methods for each API operation, mapping operation IDs to idiomatic method names (e.g., listUsers, get_user, CreateUser).
  5. Implement authentication handling with support for Bearer tokens, API keys (header and query), and OAuth2 client credentials flow, configurable at client instantiation.
  6. Add automatic retry logic with exponential backoff for 429 and 5xx responses, with configurable max retries and backoff multiplier.
  7. Build pagination helpers that abstract cursor-based and offset pagination into iterator/generator patterns native to each target language.
  8. Generate comprehensive JSDoc/docstring/Javadoc comments from OpenAPI description and summary fields for full IDE IntelliSense support.
  9. Create a test suite that validates SDK methods against a mock server running the OpenAPI spec, covering authentication, error handling, and pagination.

See ${CLAUDE_SKILL_DIR}/references/implementation.md for the full implementation guide.

Output

  • ${CLAUDE_SKILL_DIR}/sdk/typescript/src/client.ts - Main SDK client class with typed methods
  • ${CLAUDE_SKILL_DIR}/sdk/typescript/src/models/ - TypeScript interfaces and type definitions
  • ${CLAUDE_SKILL_DIR}/sdk/python/client.py - Python SDK with dataclass models and async support
  • ${CLAUDE_SKILL_DIR}/sdk/go/client.go - Go SDK with struct types and context-based methods
  • ${CLAUDE_SKILL_DIR}/sdk/*/README.md - Per-language installation and usage documentation
  • ${CLAUDE_SKILL_DIR}/sdk/*/tests/ - SDK test suites per language
Show full SKILL.md (234 more words)Show less

Error Handling

ErrorCauseSolution
Schema generation failureOpenAPI spec contains $ref cycles or missing component definitionsRun spec linting with spectral first; resolve circular references with allOf composition
Type mismatchAPI response does not match generated model types at runtimeAdd runtime response validation option; log schema drift warnings for API provider notification
Auth configuration errorSDK instantiated without required credentials for protected endpointsThrow descriptive error at client construction time listing required auth parameters
Pagination exhaustionIterator consumes all pages without termination conditionEnforce maximum page count safety limit; detect empty result sets as termination signal
Rate limit handlingSDK retry logic conflicts with application-level retry logicExpose retryConfig option to disable built-in retries; emit retry events for observability

Refer to ${CLAUDE_SKILL_DIR}/references/errors.md for comprehensive error patterns.

Examples

TypeScript SDK for payment API: Generate a fully typed PaymentsClient with methods like createCharge(amount, currency) returning Promise<Charge>, automatic Bearer token injection, and paginated listTransactions() returning an async iterator.

Python SDK with async support: Produce both sync (PaymentsClient) and async (AsyncPaymentsClient) clients using httpx, with Pydantic models for request/response validation and __aiter__ pagination support.

Multi-language CI pipeline: On OpenAPI spec change, automatically regenerate SDKs in all target languages, run tests against a mock server, bump semantic versions, and publish to respective package registries.

See ${CLAUDE_SKILL_DIR}/references/examples.md for additional examples.

Resources

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in skills/.curated/generating-api-sdks of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/errors.md
  • references/examples.md
  • references/implementation.md

Open the folder on GitHubat commit 80f86df

Compare with similar skills

Generating API Sdks next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Generating API Sdks compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Generating API Sdks this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.3kAutomated safety check: PassMIT
ToolJet Marketplace Plugin BuilderToolJet/ToolJet41k—~2.1kAutomated safety check: PassAGPL-3.0
Step Partsearthtojake/text-to-cad19k1 repos~1.5kAutomated safety check: PassMIT
OpenAPI to MCP Servermcp-use/mcp-use11k—~5.2kAutomated safety check: PassApache-2.0
Use Yaakmountain-loop/yaak19k—~1.9kAutomated safety check: PassMIT
API DesignerJeffallan/claude-skills12k1 repos~2kAutomated safety check: PassMIT

Similar skills

  • Turns an API description, such as an OpenAPI file or a Postman collection, into a connector plugin for ToolJet's marketplace and checks it with the repo's validator.

    41k GitHub stars~2.1k tokensUpdated today
    Backend & APIsAuto-check passed
  • Step Parts

    earthtojake/text-to-cad

    Find, evaluate, and download common purchasable CAD parts from step.parts, including named off-the-shelf actuators, servos, motors, electronics boards, connectors, screws, bolts, nuts, washers…

    19k GitHub starsUsed in 1 repo~1.5k tokens
    Backend & APIsAuto-check passed
  • OpenAPI to MCP Server

    mcp-use/mcp-use

    Turns an OpenAPI or Swagger spec into an MCP server with the mcp-use TypeScript SDK, mapping each operation to a tool, wiring auth, testing and deploying.

    11k GitHub stars~5.2k tokensUpdated today
    Backend & APIsAuto-check passed
  • Use Yaak

    mountain-loop/yaak

    A skill your agent uses when the user mentions Yaak, a Yaak workspace, or the yaak command, or asks to call, hit, or smoke test HTTP/REST endpoints, save or organize API requests for reuse or manual…

    19k GitHub stars~1.9k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • API Designer

    Jeffallan/claude-skills

    Designs REST and GraphQL APIs from resource modeling to an OpenAPI 3.1 contract, with versioning, pagination and RFC 7807 error handling.

    12k GitHub starsUsed in 1 repo~2k tokens
    Backend & APIsAuto-check passed
  • CLI Creator

    huangruiteng/CS-Notes

    Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script.

    4k GitHub starsUsed in 2 repos~2.7k tokens
    Backend & APIsAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Generating API Sdks

What does Generating API Sdks do?

Generate client SDKs in multiple languages from OpenAPI specifications. Generating API Sdks is an agent skill from jeremylongshore/tons-of-skills-marketplace. Generate client SDKs in multiple languages from OpenAPI specifications.

When should I use Generating API Sdks?

Generating API Sdks fits situations like: generating client libraries for API consumption; with phrases like generate SDK; create client library.

How do I install Generating API Sdks in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill generating-api-sdks -a claude-code`. Or copy the skill folder (skills/.curated/generating-api-sdks in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/generating-api-sdks in your project. Claude Code loads it when a task matches its description.

How do I install Generating API Sdks in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill generating-api-sdks -a codex`. Or copy the skill folder (skills/.curated/generating-api-sdks in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/generating-api-sdks in your project. Codex loads it when a task matches its description.

Can I use Generating API Sdks in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill generating-api-sdks -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/generating-api-sdks, .gemini/skills/generating-api-sdks, .github/skills/generating-api-sdks and .opencode/skills/generating-api-sdks in your project.

What does Generating API Sdks need to run?

SKILL.md names no scripts, command-line tools or credentials: Generating API Sdks is instructions for the agent only. Our summary lists: Python 3; Node.js. Its frontmatter pre-approves these tools: Read, Write, Edit, Grep, Glob, Bash(api:sdk-*). Compatibility (from SKILL.md): Designed for Claude Code.

Does Generating API Sdks access the network?

SKILL.md names 3 domains. As links in the text: openapi-generator.tech, speakeasy.com and spec.openapis.org. This is read from the text; nothing was executed.

Is Generating API Sdks safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Generating API Sdks use?

Generating API Sdks is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Generating API Sdks use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.4k tokens, read only when the agent opens those files.

What are the alternatives to Generating API Sdks?

Skills that share tags, products or a category with Generating API Sdks: ToolJet Marketplace Plugin Builder (ToolJet/ToolJet, 41k stars), Step Parts (earthtojake/text-to-cad, 19k stars), OpenAPI to MCP Server (mcp-use/mcp-use, 11k stars) and Use Yaak (mountain-loop/yaak, 19k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Generating API Sdks?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,825 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 9, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.