Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问clear审计通过

agent-builderAgent 建设者

Agent Skill

agent-builder 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

675

周安装

29

GitHub Stars

16

下载量

237
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-builder(Agent 建设者)
来源仓库:https://github.com/mike-coulbourn/claude-vibes
仓库路径:skills/agent-builder
安装命令:
npx skills add https://github.com/mike-coulbourn/claude-vibes --skill agent-builder
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/mike-coulbourn/claude-vibes --skill agent-builder

简介

agent-builder 用于查找、检索和筛选相关信息。

  • 适合根据关键词、任务场景或来源线索快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装并使用该技能。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Agent Builder

A comprehensive guide for creating custom agents in Claude Code. Agents are specialized AI assistants that run in separate context windows, enabling focused, autonomous task execution.


Quick Reference

YAML Frontmatter Fields

FieldRequiredDescription
nameYesUnique identifier (lowercase-with-hyphens)
descriptionYesWhen to invoke — critical for discovery
toolsNoAllowed tools (inherits all if omitted)
modelNohaiku, sonnet, opus, or inherit
permissionModeNodefault, acceptEdits, bypassPermissions, plan
skillsNoAuto-load Skills when agent starts

File Locations

ScopeLocationUse Case
Project.claude/agents/agent-name.mdTeam workflows (git-shared)
Personal~/.claude/agents/agent-name.mdIndividual use (all projects)

Common Tool Patterns

# Read-only (safest)
tools: Read, Grep, Glob

# File modification
tools: Read, Write, Edit, Grep, Glob

# Git operations only
tools: Bash(git:*)

# Specific commands
tools: Bash(npm test:*), Bash(npm run:*), Read, Grep

# Full shell (use sparingly)
tools: Bash

Model Selection Guide

ModelBest ForTradeoff
haikuQuick checks, simple tasksFast, cheap, less capable
sonnetBalanced work (default)Good balance
opusComplex analysis, critical tasksMost capable, slower, expensive
inheritConsistency with main conversationAdapts to user's model

6-Phase Workflow

Phase 1: Requirements Gathering

Use AskUserQuestion to understand what the user needs:

Key Questions:

  1. What task should this agent handle?
  2. What expertise/role should it have?
  3. Who will use it — team or personal?
  4. What should it be able to do vs NOT do?
  5. How should it present results?

Example Questions:

What specific task should this agent handle?
├── Code review (quality, security, style)
├── Debugging (error investigation, root cause)
├── Testing (run tests, fix failures)
├── Documentation (generate, verify, update)
└── Other: [describe]

Who will use this agent?
├── Just me (personal: ~/.claude/agents/)
├── My team (project: .claude/agents/)

Phase 2: Scope Selection

Decision Tree:

Is this a team workflow?
├── Yes → Project scope: .claude/agents/
│         (Committed to git, shared automatically)
│
└── No → Is it project-specific?
         ├── Yes → Project scope: .claude/agents/
         └── No → Personal scope: ~/.claude/agents/
                  (Available across all your projects)

Create the file:

# Project scope (team)
mkdir -p .claude/agents
touch .claude/agents/agent-name.md

# Personal scope (individual)
mkdir -p ~/.claude/agents
touch ~/.claude/agents/agent-name.md

Phase 3: Description Crafting

The description field is CRITICAL — it determines whether Claude automatically discovers and uses your agent.

Formula: [Role/Expertise] + [What it does] + [When to invoke] + [Trigger terms]

Bad (won't be discovered):

description: Helps with code

Good (specific, discoverable):

description: Expert code reviewer specializing in security and quality. Reviews code changes for vulnerabilities, best practices, and maintainability. Use when reviewing code, checking PRs, or when the user mentions code review, pull request review, or security audit.

Breaking down a good description:

  1. Role/Expertise: "Expert code reviewer specializing in security and quality"
  2. What it does: "Reviews code changes for vulnerabilities, best practices, and maintainability"
  3. When to invoke: "Use when reviewing code, checking PRs"
  4. Trigger terms: "code review, pull request review, or security audit"

Proactive Language (increases automatic invocation):

  • "Use PROACTIVELY after code changes"
  • "MUST be invoked when tests fail"
  • "Automatically use when user mentions..."

Trigger Term Categories:

  • Actions: review, analyze, debug, fix, test, check, audit
  • Objects: code, PR, tests, errors, performance, security
  • Contexts: before deploy, after changes, when failing, during review

Length: 50-150 words is the sweet spot.

Phase 4: Tool Configuration

Security Principle: Start with minimal tools, add only what's needed.

Progressive Tool Access:

# Level 1: Read-only (safest)
tools: Read, Grep, Glob

# Level 2: Can modify files
tools: Read, Write, Edit, Grep, Glob

# Level 3: Specific shell commands
tools: Read, Grep, Glob, Bash(git:*), Bash(npm test:*)

# Level 4: Full shell (use carefully)
tools: Read, Write, Edit, Bash, Grep, Glob

Granular Bash Patterns:

# Git commands only
tools: Bash(git:*)

# Specific git commands
tools: Bash(git diff:*), Bash(git log:*), Bash(git status:*)

# npm commands only
tools: Bash(npm:*)

# Test commands only
tools: Bash(npm test:*), Bash(pytest:*), Bash(jest:*)

Tool Selection by Agent Type:

Agent TypeRecommended Tools
Code analyzerRead, Grep, Glob
Code reviewerRead, Grep, Glob, Bash(git diff:*)
Test runnerRead, Edit, Bash(npm test:*), Grep, Glob
DebuggerRead, Edit, Bash, Grep, Glob
Fixer/RefactorerRead, Write, Edit, Grep, Glob

Phase 5: System Prompt Design

Key Insight: Agents run in separate context — they don't see conversation history. System prompts must be self-contained with complete workflows.

Effective Structure:

You are [role] specializing in [expertise].

## When Invoked
1. [First action — gather context]
2. [Second action — analyze/process]
3. [Third action — produce output]
4. [Fourth action — verify/validate]

## Focus Areas
- Specific thing to check
- Another thing to verify
- Important consideration

## Output Format
[How to present results]

## Constraints
- What NOT to do
- Boundaries to respect

System Prompt Patterns:

1. Role Definition:

You are a senior code reviewer specializing in security vulnerabilities.
Your primary focus is identifying OWASP Top 10 risks.

2. When Invoked (critical for autonomous work):

## When Invoked
1. Run `git diff HEAD` to see recent changes
2. Identify modified files and their purpose
3. Review each change against security checklist
4. Present findings with severity levels

3. Checklist Pattern:

## Review Checklist
- [ ] No SQL injection vulnerabilities
- [ ] Input validation on all boundaries
- [ ] No exposed secrets or credentials
- [ ] Proper authentication checks
- [ ] Authorization verified for each endpoint

4. Output Format:

## Output Format
Present findings as:

### Summary
[One-line verdict: PASS/FAIL/NEEDS ATTENTION]

### Critical Issues
[Must fix before merge]

### Warnings
[Should fix]

### Suggestions
[Nice to have]

5. Constraints:

## Constraints
- Do NOT modify code unless explicitly asked
- Do NOT change API contracts
- Focus ONLY on security-related issues
- ALWAYS explain WHY something is a risk

6. Decision Tree (for branching logic):

## Decision Flow
If no changes detected:
  → Report "No changes to review"
If only test files changed:
  → Focus on test coverage and assertions
If API endpoints modified:
  → Prioritize authentication/authorization review
Otherwise:
  → Full security review

Phase 6: Testing & Iteration

Test Discovery:

# Natural language requests (should trigger agent)
> Review my recent code changes
> Check this PR for security issues
> Audit the authentication module

# Explicit invocation (always works)
> Use the code-reviewer agent to check this

Verify Tool Access:

# Check agent can use its tools
# If agent needs git, test manually first
git diff HEAD
git log --oneline -5

Debugging:

# View agent loading errors
claude --debug

# List available agents
/agents

Iteration Checklist:

  • Agent discovered with natural requests?
  • Correct agent selected (not a different one)?
  • Agent has necessary tool access?
  • Output format matches expectations?
  • Constraints respected?

Agent Patterns

Code Quality Agents

  • code-reviewer: Systematic code review for quality and style
  • security-auditor: OWASP-focused vulnerability detection
  • performance-analyzer: Identify bottlenecks and inefficiencies
  • architecture-reviewer: Assess design patterns and structure

Development Workflow Agents

  • debugger: Root cause analysis for errors
  • test-runner: Execute tests and fix failures
  • refactorer: Safe code restructuring
  • pr-reviewer: Pull request analysis

Research Agents

  • codebase-explorer: Navigate and understand code structure
  • dependency-auditor: Check for outdated/vulnerable packages
  • documentation-checker: Verify docs match implementation

Automation Agents

  • commit-helper: Generate meaningful commit messages
  • deploy-checker: Pre-deployment verification
  • migration-assistant: Framework/version upgrade help

Common Pitfalls

1. Vague Description (Agent Not Discovered)

# Bad
description: Helps with code

# Good
description: Expert code reviewer. Reviews code for quality, security, and maintainability. Use when reviewing code changes, PRs, or when user mentions code review.

2. Missing Tool Access (Agent Can't Do Task)

# Agent needs to run git commands but can't
tools: Read, Grep, Glob  # Missing Bash(git:*)

# Fixed
tools: Read, Grep, Glob, Bash(git:*)

3. Non-Self-Contained Prompt (Expects Context)

# Bad - assumes agent sees conversation
Review the code I just showed you.

# Good - self-contained
## When Invoked
1. Run `git diff HEAD` to see recent changes
2. Focus on modified files
3. Review systematically

4. Over-Permissive Tools (Security Risk)

# Risky - full shell access
tools: Bash
permissionMode: bypassPermissions

# Safer - scoped access
tools: Bash(git:*), Bash(npm test:*)
permissionMode: default

5. No Output Format (Inconsistent Results)

# Bad - no guidance on output
Review the code for issues.

# Good - explicit format
## Output Format
Present as markdown checklist:
- Critical: [must fix]
- Warning: [should fix]
- Suggestion: [nice to have]

When to Use Agents vs Alternatives

ScenarioBest ChoiceWhy
Complex multi-step taskAgentBenefits from focused, isolated context
Need tool isolationAgentCan restrict tools per agent
Long-running analysisAgentDoesn't pollute main conversation
Team workflow standardizationAgentConsistent behavior, git-shared
Extend Claude's knowledgeSkillShared context, progressive loading
Frequently-typed promptSlash CommandUser-invoked, quick access
Simple single-step taskDirect requestNo overhead needed

Agent Checklist — Use an agent when:

  • Task is complex and multi-step
  • Task benefits from fresh, focused context
  • You want to restrict available tools
  • Task doesn't need full conversation history
  • You want consistent, reusable behavior

Resources

  • Templates: See templates/ for progressive examples
  • Examples: See examples/ for 18 complete working agents
  • Reference: See reference/ for syntax guide, best practices, troubleshooting

Quick Start

1. Create file:

touch ~/.claude/agents/my-agent.md

2. Add content:

---
name: my-agent
description: [Role]. [What it does]. Use when [trigger conditions].
tools: Read, Grep, Glob
---

You are [role].

## When Invoked
1. [First step]
2. [Second step]
3. [Third step]

## Output Format
[How to present results]

3. Test:

> [Natural language request matching description]

4. Iterate:

  • Not discovered? → Make description more specific
  • Wrong output? → Clarify output format
  • Can't do something? → Add necessary tools

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

27.89%
按下载量换算66

OpenCode

23.41%
按下载量换算55

Gemini CLI

15.73%
按下载量换算37

Antigravity

12.21%
按下载量换算29

Codex

6.69%
按下载量换算16

trae

3.54%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/mike-coulbourn/claude-vibes --skill agent-builder;npx skills add mike-coulbourn/claude-vibes --skill "agent-builder" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills