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.

46 stars 7 forksHooks Source

Install

From source
git clone https://github.com/keysersoose/claude-agent-builder.git

From 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!…
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

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

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