Airsc miễn phí cho tất cả. Nếu nó giúp bạn, hãy ủng hộ $2–$20.

Ủng hộ
SkillAn toànQuy trình & bộ nhớ agentCần cài đặt chút

claude-agent-builder

keysersoose · keysersoose/claude-agent-builder

Kỹ năng Claude Code này cho phép người dùng xây dựng các tác nhân AI, kỹ năng và lệnh sẵn sàng cho sản xuất từ mô tả ngôn ngữ tự nhiên bằng cách phân tích vấn đề và tạo cấu hình.

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.

44 sao7Giấy phép: MITCập nhật 8 tháng trước0 lượt mở

Xem trước

▍

Bạn có thể làm gì với nó

  • Tạo một tập hợp các tác nhân con, kỹ năng và lệnh cho một ý tưởng ứng dụng AI mới.
  • Tự động thiết kế kiến trúc và cấu hình một hệ thống tác nhân dựa trên các phương pháp hay nhất được nghiên cứu bởi công cụ xây dựng.
  • Biến mô tả vấn đề bằng ngôn ngữ tự nhiên thành một thiết lập tác nhân Claude Code hoàn chỉnh, giảm việc tạo tệp thủ công.

Kiểm tra an toàn

An toàn

Không thấy dấu hiệu rủi ro trong các file đã quét.

Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.

Trích từ 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

git clone https://github.com/keysersoose/claude-agent-builder.git && cp -r claude-agent-builder/agent-builder ~/.claude/skills/

Windows (PowerShell)

git clone https://github.com/keysersoose/claude-agent-builder.git; Copy-Item -Recurse claude-agent-builder\agent-builder "$env:USERPROFILE\.claude\skills\agent-builder"

Windows (CMD)

git clone https://github.com/keysersoose/claude-agent-builder.git && xcopy /E /I claude-agent-builder\agent-builder "%USERPROFILE%\.claude\skills\agent-builder"

Other install methods

# macOS/Linux — install script
git clone https://github.com/keysersoose/claude-agent-builder.git
cd claude-agent-builder && ./install.sh

# macOS/Linux — project-level only
./install.sh --project
# Windows — install script (PowerShell)
git clone https://github.com/keysersoose/claude-agent-builder.git
cd claude-agent-builder; .\install.ps1

# Windows — project-level only
.\install.ps1 -Project
# Any platform — project-level manual
git clone https://github.com/keysersoose/claude-agent-builder.git
cp -r claude-agent-builder/agent-builder .claude/skills/

Open Claude Code and say:

Build me an agent that reviews my PRs for security issues and posts comments on GitHub

The skill triggers automatically. That's it.

🧠 How It Works

Agent Builder operates in 6 phases, adapting to how much context you provide:

  🔍 CONTEXT SCAN →  Reads your project files + conversation history automatically
  📋 DISCOVERY    →  Only asks what it can't figure out itself
  🌐 RESEARCH     →  Parallel search (GitHub + blogs + docs + community) → consolidated brief
  📐 ARCHITECTURE →  Proposes agents, gets your explicit approval before building
  🔨 BUILD        →  Writes all agent files directly into your project
  ✅ VERIFY       →  Self-checks everything, shows you what was built, asks for final OK

Why not just ask Claude directly?

Without Agent BuilderWith Agent Builder
You need to know all 7 primitivesIt picks the right ones for you
You write from blank .md filesIt writes production-ready files directly into your project
You guess at descriptions and toolsIt optimizes for auto-triggering
You explain your project from scratchIt scans your codebase and conversation history first
You don't know what exists alreadyIt searches GitHub, blogs, docs, and community in parallel — then consolidates
Trial and errorProposes → you approve → it builds → it verifies

📦 What's Inside

agent-builder/
├── SKILL.md                       # Core skill — 6-phase agent building workflow
├── references/
│   ├── primitives-guide.md        # Complete guide to all Claude Code building blocks
│   └── agent-patterns.md          # 7 battle-tested multi-agent architecture patterns
└── scripts/
    ├── validate_agents.py         # Lint agent files for common issues
    └── scaffold_agent.py          # Generate starter files from templates

🗺️ Architecture Patterns

The skill knows 7 proven patterns and selects the right one for your use case:

PatternBest ForExample
Command → Agent → SkillsMulti-step pipelinesFull-stack feature builder
Research → Consolidate → Plan → ExecuteUnderstanding before actingCodebase migration
Parallel SpecialistsIndependent analysesSecurity + perf + style review
Self-Evolving AgentLearning over timeProject onboarding guide
Hook-Guarded AgentSafety-critical workflowsRead-only database analyst
Slash Command + HandoffQuick entry → complex flowBug investigation
MCP-Powered AgentExternal service integrationGitHub PR review bot

🎯 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

# Install dependency for validation script
pip install pyyaml

# Validate your agents for common issues
python agent-builder/scripts/validate_agents.py .claude/agents/

# Scaffold new agents from templates
python agent-builder/scripts/scaffold_agent.py my-agent .claude --type subagent
python agent-builder/scripts/scaffold_agent.py deploy-pipe .claude --type full-stack

Requirements: Claude Code installed. Python 3.7+ for utility scripts.

🧩 Primitives Decision Tree

Your need
├── "Auto-do X when Y happens"
│   ├── During a tool call?           → Hook
│   ├── Based on context?             → Skill
│   └── Based on task type?          
Xem mã nguồn trên GitHub