by kubb-labs
🧡 Turn your API spec into type-safe code. Generate TypeScript types, API clients, hooks, validators and mocks from a spec such as OpenAPI.
# Add to your Claude Code skills
git clone https://github.com/kubb-labs/kubbkubb is an open-source code generation skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by kubb-labs. 🧡 Turn your API spec into type-safe code. Generate TypeScript types, API clients, hooks, validators and mocks from a spec such as OpenAPI. It has 1,866 GitHub stars.
kubb's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/kubb-labs/kubb" and add it to your Claude Code skills directory (see the Installation section above).
kubb is primarily written in TypeScript. It is open-source under kubb-labs on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other Code Generation skills you can browse and compare side by side. Open the Code Generation category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh kubb against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Stars][stars-src]][stars-href] [![License][license-src]][license-href] [![Coverage][coverage-src]][coverage-href] [![Node][node-src]][node-href] [![OC Backers][oc-backers-src]][oc-backers-href]
[!IMPORTANT] We are looking for maintainers. Want to help shape Kubb? Email [email protected] or chat with us on Discord.
Kubb turns an API spec, such as OpenAPI, into TypeScript types, API clients, hooks, validators and mocks, and keeps them in sync with your API. It reads OpenAPI 2.0, 3.0, 3.1, and 3.2.
bun add -D kubb
# or
pnpm add -D kubb
# or
npm install -D kubb
Run the setup wizard to create a kubb.config.ts:
npx kubb init
The wizard creates a package.json if needed, guides you through plugin selection, installs packages, and writes kubb.config.ts. Then generate your code:
npx kubb generate
See the documentation for detailed usage and advanced features.
Kubb Studio is the visual companion for Kubb. Configure, run, and inspect generations in the browser while Kubb runs in your project or on an agent you control.
Try Studio's shared sandbox, connect a local project, or publish reviewable snapshots from CI. Kubb remains MIT-licensed and works without Studio.
@kubb/adapter-oas, with output for Node.js and Bun.plugin-ts, plugin-axios, plugin-fetch, plugin-react-query, plugin-vue-query, plugin-swr, plugin-zod, plugin-faker, plugin-msw, plugin-cypress, plugin-redoc, plugin-mcp.kubb/kit authoring toolkit, plus a JSX renderer for component-based output.unplugin-kubb for Vite, Nuxt, Astro, webpack, and more.Kubb is an open source project, and its development is funded entirely by sponsors. If you would like to become a sponsor, please consider:
We welcome contributions that help improve Kubb. A few ways to get involved:
See CONTRIBUTING.md for the project structure, local setup, and commands.