Generate Better Prompts For Free → Try SurePrompts
Complete Guide

How to Use Claude Code Agents

Master the art of working with specialized AI agents to accelerate your development workflow

Contents

🚀

Getting Started

Claude Code agents are specialized AI assistants that supercharge your development workflow. Here's how to get started:

  1. 1

    Access Claude Code

    Visit claude.ai/code and sign in to your account.

  2. 2

    Browse Agent Collection

    Explore our 60+ specialized agents organized by category.

  3. 3

    Add Agent to Claude Code

    Copy the agent's system prompt and add it to your Claude Code workspace.

How to Add an Agent in Claude Code

Step-by-Step Instructions

  1. 1. Navigate to the agent you want to add
  2. 2. Click the "Copy System Prompt" button
  3. 3. In Claude Code, click on "Add Agent" or "Manage Agents"
  4. 4. Paste the system prompt into the configuration
  5. 5. Give your agent a memorable name
  6. 6. Select the appropriate model (Haiku, Sonnet, or Opus)
  7. 7. Save and start using your new agent!

Pro Tip: You can have multiple agents configured for different tasks. Switch between them based on your current development needs.

🎯

Choosing the Right Agent

Agent Selection Guide

For Frontend Development

React Specialist, Vue Specialist, Frontend Developer

For Backend Development

Backend Developer, API Architect, Database Specialist

For DevOps & Infrastructure

DevOps Engineer, Cloud Architect, Kubernetes Specialist

For Quality Assurance

Test Engineer, Security Auditor, Code Reviewer

Model Selection

Haiku

Fast & Efficient

Best for quick code completions and simple tasks

Sonnet

Balanced Performance

Ideal for most development tasks

Opus

Maximum Capability

For complex architecture and deep analysis

💡

Best Practices

  • Provide Clear Context

    Share relevant code, requirements, and constraints for better assistance

  • Use Specific Agents

    Choose specialized agents over general ones for domain-specific tasks

  • Iterate and Refine

    Build incrementally and ask for improvements as needed

  • Verify Generated Code

    Always review and test code before deployment

  • Maintain Context

    Keep conversations focused on specific problems for best results

🔄

Common Workflows

Building a New Feature

  1. 1.Use System Architect for initial design
  2. 2.Implement with Frontend/Backend Developer
  3. 3.Add tests with Test Engineer
  4. 4.Review with Code Reviewer

Debugging Complex Issues

  1. 1.Start with Debugger for root cause analysis
  2. 2.Use Performance Engineer if performance-related
  3. 3.Apply fixes with appropriate specialist agent

Setting Up CI/CD

  1. 1.Plan with DevOps Engineer
  2. 2.Configure with CI/CD Specialist
  3. 3.Deploy with Cloud Architect

Advanced Tips

Agent Chaining

Combine multiple agents for complex tasks. Start with architecture planning, move to implementation, then testing and optimization.

System Architect → Backend Developer → Test Engineer → Performance Engineer

Custom Agent Configurations

Modify agent prompts to match your team's coding standards, tech stack, and best practices for consistent results.

Context Management

Keep a document with project context, architecture decisions, and coding standards to share with agents for better assistance.

Troubleshooting & FAQs

Agent not understanding my codebase?

Provide more context about your project structure, dependencies, and specific requirements. Share relevant code snippets and explain the architecture.

Which model should I use?

Start with Sonnet for most tasks. Use Haiku for simple, repetitive tasks. Switch to Opus for complex architectural decisions or when you need the highest quality output.

Can I use multiple agents simultaneously?

Yes! You can configure multiple agents and switch between them as needed. This is particularly useful when working on different aspects of a project.

How do I report issues or suggest improvements?

Contact us through the Claude Code interface or visit our community forums. We actively collect feedback to improve agent capabilities.

Ready to Supercharge Your Development?

Start using Claude Code agents today and experience the future of AI-assisted development.

Browse All Agents