Claude Code hook

Kubb

Turn your API spec into type-safe code. Generate TypeScript types, API clients, hooks, validators and mocks from a spec such as OpenAPI.

1,836 stars 150 forksHooks Plugin marketplace Source

Install

Inside Claude Code
/plugin marketplace add kubb-labs/kubb

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/kubb-labs/kubb.git

From the README

./packages/kubb/README.md
Read the full README on GitHub

How hooks work

  • Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
  • They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
  • A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Claude Code docs

Details

Repository
kubb-labs/kubb
Type
Hooks
Website
kubb.dev
Language
TypeScript
License
MIT
Last updated
3 November 2026
Topics
axiosclaudecodegenfakerkubbmcpmswopenapiplugin-managerreactreact-querysolid

FAQ

What is Kubb?

Turn your API spec into type-safe code. Generate TypeScript types, API clients, hooks, validators and mocks from a spec such as OpenAPI. It is a hook for Claude Code, from kubb-labs/kubb on GitHub.

How do I install Kubb?

Run /plugin marketplace add kubb-labs/kubb inside Claude Code, then follow the setup in the README.

Is Kubb popular?

kubb-labs/kubb has 1,836 GitHub stars and 150 forks. It was last updated on 3 November 2026.

More hooks

Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.