Skills
A skill is a short instruction file in the open SKILL.md format that teaches an AI assistant
how to do one thing well. Kubb ships skills so assistants write correct configuration instead of
guessing at an API that changed between major versions.
IMPORTANT
The skills ship in the Kubb Claude Code plugin and target Kubb v5 or higher.
Install
The fastest way to install the Kubb skills is the skills CLI. Run it
from your project root and it auto-detects your installed agents, including Claude Code, Cursor,
Codex, Windsurf and Cline:
npx skills add kubb-labs/kubbPick a specific skill instead of the full set with the --skill flag:
npx skills add kubb-labs/kubb --skill configPass -g to install user-wide instead of per-project, and -y to skip the interactive picker:
npx skills add kubb-labs/kubb -g -yClaude Code users can also install the skills through the plugin marketplace, which adds the slash commands and agent at the same time:
/plugin marketplace add kubb-labs/kubb
/plugin install kubb@kubbSee the Claude Code plugin page for what the plugin adds on top of the skills.
config
The config skill covers how to author a kubb.config.ts and pick the right @kubb/plugin-*
packages for the output you want. It encodes the rules that trip up models trained on older
releases, such as dropping pluginOas() now that the OpenAPI adapter is applied automatically.
It teaches an assistant to:
- write a
kubb.config.tswithinput,outputand apluginsarray - map a request such as "typed React Query hooks" or "Zod schemas" to the matching plugin package
- run the
kubbCLI to validate a spec, scaffold a config, and generate
Where skills run
The skills ship inside the Kubb Claude Code plugin. Because they are plain
SKILL.md files, any assistant that reads that format can use the same content.