Awesome Claude Agents

repository·main·Indexed 26 days ago

https://github.com/vijaythecoder/awesome-claude-agents

A collection of 24 specialized AI agent configurations for the Claude Code CLI. It provides an 'AI Development Team' including orchestrators, framework specialists (Laravel, Django, Rails, React, Vue), universal experts, and core team members to automate technology stack detection and coordinate complex development tasks.

Tokens
2.4K
Snippets
9
Records
13
Agent score
88%

What's inside awesome-claude-agents

  1. Structure the Agent System Prompt

    main

    The body of the agent file (below the front-matter) serves as the system prompt. For predictable performance, structure it as a micro-specification using the following sections:

    1. Mission / Role: A single sentence defining the desired outcome.
    2. Workflow: A numbered list of steps the agent must follow.
    3. Output Contract: The exact Markdown or JSON format the agent must return.
    4. Heuristics & Checks: A bulleted list of edge cases, validations, or scoring rubrics.
    5. Delegation cues (Optional): Instructions like "If X is detected, ask <other-agent>."

    Style Guidelines:

    • Use active voice and imperative verbs.
    • Use Markdown headings up to ### for readability.
    • Wrap code fences with language tags.
    • Avoid external links inside prompts; keep documentation offline.
  2. Initialize your project with @agent-team-configurator

    main

    To set up an optimal AI development team for your specific codebase, navigate to your project directory and invoke the @agent-team-configurator.

    This agent will:

    1. Locate and update your CLAUDE.md file (preserving existing content).
    2. Detect your technology stack (e.g., by inspecting package.json, go.mod, etc.).
    3. Map available specialists to your stack.
    4. Create an "AI Team Configuration" section in CLAUDE.md with a Task|Agent|Notes mapping table.
    claude "use @agent-team-configurator and optimize my project to best use the available subagents."
  3. Configure Agent File & Folder Conventions

    main

    When creating Claude sub-agents, follow these location and naming conventions to ensure proper precedence and discovery:

    • Project-level agents: Place in .claude/agents/ within your repository. These have the highest precedence and will override user-level agents with the same name.
    • User-level agents: Place in ~/.claude/agents/ for global availability across all projects.
    • Filename: Use kebab-case.md (e.g., code-reviewer.md). This should mirror the name field in the front-matter.
    • Version Control: Commit project-level agents to your repository to allow for PR-style reviews.
  4. Install the Awesome Claude Agents collection

    main

    To use the specialized agents with Claude Code, you must first clone the repository and then either symlink or copy the agents into your Claude configuration directory (~/.claude/agents).

    Prerequisites

    • Claude Code CLI installed and authenticated.
    • Claude subscription (recommended due to high token consumption).
    • An active project directory.

    Step 1: Clone the repository

    git clone https://github.com/vijaythecoder/awesome-claude-agents.git

    Step 2: Install agents

    Choose one of the following methods:

    macOS/Linux:

    mkdir -p ~/.claude/agents
    ln -sf "$(pwd)/awesome-claude-agents/agents/" ~/.claude/agents/awesome-claude-agents

    Windows (PowerShell):

    New-Item -Path "$env:USERPROFILE\.claude\agents" -ItemType Directory -Force
    cmd /c mklink /D "$env:USERPROFILE\.claude\agents\awesome-claude-agents" "$(Get-Location)\awesome-claude-agents\agents"

    Option B: Copy (Static installation)

    mkdir -p ~/.claude/agents
    cp -r awesome-claude-agents/agents ~/.claude/agents/awesome-claude-agents
    git clone https://github.com/vijaythecoder/awesome-claude-agents.git
  5. Install Context7 MCP for improved documentation access

    main

    Some agents in this collection can use the Context7 MCP server to fetch up-to-date documentation more efficiently than the default WebFetch fallback. Installing Context7 provides faster retrieval, better structured responses, and cached documentation access.

    If you do not install it, agents will automatically fall back to using WebFetch to retrieve documentation from official websites.

    claude mcp add context7 -- npx -y @upstash/context7-mcp
  6. Test and Iterate on Claude Agents

    main

    Follow these steps to ensure your agent performs reliably:

    1. Testing Workflow

    • Unit Test: Invoke the agent directly using the @ symbol: > Use @agent-code-reviewer to check src/auth.js.
    • Context Test: Pose a natural language request to verify the router selects the agent automatically.
    • Regression: Snapshot outputs to ensure adherence to the declared schema.

    2. Iteration Workflow

    Use the following CLI commands to manage and refine agents:

    /agents            # Opens the interactive editor
    e                  # Opens a specific file in your external editor
    
    # After tuning, commit changes:
    git add .claude/agents/*
    git commit -m "tune(api-architect): clarify versioning strategy"
    /agents            # interactive editor
    e                  # open file in external editor
    git add .claude/agents/*
    git commit -m "tune(api-architect): clarify versioning strategy"
  7. Define Mandatory Agent Front-Matter

    main

    Every agent file must begin with a YAML front-matter block to define its identity, trigger conditions, and capabilities.

    • name: A unique, intent-revealing identifier using lowercase and hyphens only.
    • description: This is used by Claude's router. Write when and why the agent should run. To encourage auto-delegation, include phrases like "MUST BE USED" or "use PROACTIVELY".
    • tools: A comma-separated list of allowed tools (e.g., LS, Read, Grep). To inherit all available tools, omit this field entirely.

    Note: Do not mix behavioral instructions (meant for the agent) into the description block (meant for the router).

    ---
    name: unique-agent-name          # Lowercase & hyphens only
    description: MUST BE USED …      # Natural‑language trigger phrase
    tools: LS, Read, Grep            # Omit to inherit every tool
    ---
  8. Build features using @agent-tech-lead-orchestrator

    main

    Once your project is configured, you can start building complex features by using the @agent-tech-lead-orchestrator. This agent coordinates multi-step development tasks and utilizes other specialized agents to complete the work.

    claude "use @agent-tech-lead-orchestrator and build a user authentication system"
  9. Use the Agent Quick-Start Template

    main

    Use this template to quickly scaffold a new, high-impact sub-agent. Fill in the placeholders and iterate based on performance.

    ---
    name: <agent-name>
    description: MUST BE USED to <do X> whenever <condition>. Use PROACTIVELY before <event>.
    tools: <tool1>, <tool2>
    ---
    
    # <Title> – <Concise Role Tagline>
    
    ## Mission
    One sentence.
    
    ## Workflow
    1. …
    2. …
    
    ## Output Format
    ```markdown
    
    ## Section
    - field: value

    Heuristics

    • Bullet
    • Bullet
  10. Implement Tool-Granting Strategies

    main

    Control agent capabilities by managing the tools field in the front-matter based on the required security and scope:

    ScenarioRecommended tools field
    Broad prototyping(omit tools) – inherits all tools
    Security-sensitiveEnumerate minimal set (e.g., Read, Grep)
    Dangerous commands (e.g., Bash)Grant only to trusted, well-scoped agents