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.
Install
/plugin marketplace add kubb-labs/kubbFound in the project README. Check it for setup steps after installing.
git clone https://github.com/kubb-labs/kubb.gitFrom the README
./packages/kubb/README.md
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.
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
claude-code-hooks
572karanb192/claude-code-hooks
Collection of safety, cost, observability and productivity hooks, also installable as a plugin marketplace.
Medusa
1kPantheon-Security/medusa
AI-first security scanner. NEW in v2026.7: Claude Code compromise detection — vet .claude/ hooks, permissions & skills before you clone — plus an always-on AI attack-signature scanner and native Rust & PHP rules. Also: medusa scan --git to vet any repo, medusa secrets scan for leaked API keys. 40,000+ patterns, zero setup.
Everything Claude Code Zh
2kxu-xiang/everything-claude-code-zh
everything-claude-code 中文翻译项目:完整的 Claude Code 配置集合(agents, skills, hooks, commands, rules, MCPs)。源自 Anthropic 黑客松获胜者的实战配置,助力中文工程师高效理解与使用 Claude Code。
Claude Code Voice Hooks
563shanraisshan/claude-code-hooks
Adds spoken voice feedback to each Claude Code hook event.
CC Safety Net
1.9kkenryu42/cc-safety-net
Pre-execution guard hook that blocks dangerous git and filesystem commands issued by coding agents.
Claude Code Tamagotchi
435Ido-Levi/claude-code-tamagotchi
Virtual pet that watches Claude's actions through hooks and interrupts when it breaks your rules.
Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.