Claude Code hook
Claude Agent Builder
Build production-ready AI agents in Claude Code from natural language. Analyzes your problem, researches best practices, and generates subagents, skills, hooks, commands & MCP configs.
Install
git clone https://github.com/keysersoose/claude-agent-builder.gitFrom the README
🏗️ Claude Agent Builder Turn any idea into production-ready AI agents in Claude Code Stop writing agent files from scratch. Describe your problem → get researched, architected, production-ready agents, skills, hooks, and commands — automatically. Quick Start · How It Works · Examples · Patterns · Contributing The Problem Building agents in Claude Code means juggling 7 different primitives (subagents, skills, hooks, commands, MCP servers, CLAUDE.md, Agent SDK), reading scattered docs, and starting from blank Markdown files every time. Claude Agent Builder fixes this. It's a skill that acts as your personal agent architect — it interviews you, researches what already exists, designs the optimal system, and generates every file you need. ⚡ Quick Start macOS / Linux Windows (PowerShell) Windows (CMD) Other install methods Open Claude Code and say: The skill triggers automatically. That's it. 🧠 How It Works Agent Builder operates in 6 phases, adapting to how much context you provide: Why not just ask Claude directly? 📦 What's Inside 🗺️ Architecture Patterns The skill knows 7 proven patterns and selects the right one for your use case: 🎯 Real-World Examples PR Security Reviewer — subagent with GitHub MCP, PreToolUse safety hooks, slash command trigger, and persistent memory. Research Pipeline — /research command spawning 3 parallel subagents (web, codebase, Stack Overflow) with synthesis and markdown report output. Self-Improving Onboarder — subagent with memory: project that builds institutional knowledge across conversations. See examples/ for complete, ready-to-use configurations. 🔧 Utility Scripts Requirements: Claude Code installed. Python 3.7+ for utility scripts. 🧩 Primitives Decision Tree 🤝 Contributing We welcome contributions!…
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
- keysersoose/claude-agent-builder
- Type
- Hooks
- Language
- Python
- License
- MIT
- Last updated
- 6 March 2026
- Topics
- agent-architectureagent-builderagent-skillsagentic-codingai-agentsai-automationai-workflowanthropicclaudeclaude-agent-sdkclaude-codeclaude-code-agents
FAQ
What is Claude Agent Builder?
Build production-ready AI agents in Claude Code from natural language. Analyzes your problem, researches best practices, and generates subagents, skills, hooks, commands & MCP configs. It is a hook for Claude Code, from keysersoose/claude-agent-builder on GitHub.
How do I install Claude Agent Builder?
Clone keysersoose/claude-agent-builder from GitHub and follow the setup steps in its README.
Is Claude Agent Builder popular?
keysersoose/claude-agent-builder has 46 GitHub stars and 7 forks. It was last updated on 6 March 2026.
More hooks
Claude Ignore
47li-zhixin/claude-ignore
A Claude Code PreToolUse hook that prevents Claude from reading files that match patterns in .claudeignore files, similar to how .gitignore works.
Claude Code Prompt Optimizer
490-to-1-Labs/claude-code-prompt-optimizer
AI-powered prompt optimization hook for Claude Code. Transforms simple prompts into comprehensive, structured instructions using Claude Opus 4.6's advanced reasoning capabilities.
Jev Axi
46shiftynick/jev-axi
Agent-ergonomic CLI for TypeSafe's Jev: fast calibrated judgments (pick, rate, check, rank, triage, guard) from the shell
claude-code-toast
18eyalzh/claude-code-toast
macOS Notification hook that shows a toast when Claude Code is waiting for you.
Claude Code Zero
53LeeJuOh/claude-code-zero
Complete Claude Code plugin marketplace — agents, skills, hooks, commands, rules, MCPs.
CC Best
49xiaobei930/cc-best
cc-best: Turn Claude Code into a full dev team — PM→Lead→Dev→QA autonomous workflow. 44 commands · 19 skills · 8 agents · 43 rules · 30 hooks · auto-learning pipeline. | 一个插件,完整开发团队。
Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.