Data Bear

Claude Code: Build an AI Work Team with Autonomous Agents

Power BI Box plots

Artificial intelligence isn’t just for developers anymore. While many people assume Claude is only useful for coding or simple chat tasks, Claude Code changes the game. It enables you to build a coordinated AI work team where autonomous agents share context, execute workflows, and become true collaborators.

If you’re serious about using AI to build systems that work end‑to‑end, not just generate text, this tutorial will walk you through everything you need to know about Claude Code.

For more Power BI and AI implementation guides, check out the expert-led Data Bear blog.

What Makes Claude Code Different?

Traditional Claude projects rely on separate agents each one isolated. You’re stuck manually coordinating between them, copying and pasting information. That limits their effectiveness.

Claude Code solves this.

With Claude Code:

  • All agents share the same workspace and context
  • Agents can communicate and hand off work
  • Each agent has its own token context window
  • Claude becomes the team lead, orchestrating the flow

This makes Claude Code ideal for building an AI team each agent focused on a specific task, operating under shared knowledge, and managed by Claude as the coordinator.

Key Components of a Claude Code Agent

Each Claude Code agent is defined by a single .md file containing:

  1. Role and responsibilities
  2. Context and workflow knowledge
  3. Tools and skills (e.g., Claude Skills or MCPs)

A well-structured agent should have specific, non-overlapping roles to reduce conflict and maintain clarity.

How to Use Claude Code: 4 Access Methods
  1. Local TerminalLocal Terminal Claude Code
    • Full feature access and best performance
    • Use Anthropic’s official installer to set it up
  2. IDE ExtensionIDE Extension Claude Code
    • Integrate Claude Code with VS Code or Cursor
    • Useful for editing .md files alongside code and folders
  3. Claude Web AppClaude Code
    • Run Claude Code in the cloud (requires GitHub repo linking)
  4. Claude Desktop AppClaude Desktop App
    • Built-in Claude Code support with user-friendly UI
    • Recommended for beginners

Pro tip: Regardless of interface, start by installing Claude Code via the terminal for the most complete experience.

Setting Up Your First Claude Code Project

Let’s say you’re running a marketing agency and want to build an AI team to automate workflows.

  1. Create a project folder (e.g., marketing_team)
  2. Add your brand and business context campaign examples, tone, goals
  3. Open Claude Desktop, choose Claude Code, select Local, and connect it to your folder
  4. Ask Claude to generate the initial Claude.md file
    • This becomes your project prompt and shared knowledge base
    • Claude will also create the entire folder structure
First Agent: Content Strategist

Use the terminal to create your agent:

  • Run claude
  • Use the /agents command
  • Choose project-level agent
  • Define the agent’s role: content research and strategy
  • Assign no tools or Claude Skills (for now)

Claude creates the agent .md file and any supporting templates like:

  • Campaign briefs
  • SEO research outlines
  • Content planning templates

You can now tag the agent by name in chat to delegate tasks.

Second Agent: Presentation Specialist (with Official Claude Skills)

Next, let’s add an agent to convert data into slide decks.

  1. Use /plugin to install the official Claude document skills
  2. Create a presentation specialist agent
  3. Specify brand color palette and slide layout preferences
  4. Drop a dataset into your project folder
  5. Ask the agent to generate a slide deck

Claude will:

  • Use the official skills to format slides
  • Follow your brand guidelines
  • Create visual storytelling elements (charts, summaries)
Third Agent: Data Analyst (with MCP Integration)

MCP tools connect Claude to live external data like Google Analytics, Notion, or Ahrefs.

To set this up:

  1. Open your system terminal
  2. Use: mcp add-from-claude-desktop
  3. Import and authenticate servers (e.g., GA4, Notion, Ahrefs)
  4. Create a data analyst agent that connects to GA4
  5. Ask it to build an HTML dashboard from your web traffic

Claude retrieves the data, creates visual elements, and generates reports all using the brand tone you define.

Fourth Agent: Social Media Specialist (with Custom Skills)

Now, create custom Claude Skills to tailor outputs to your brand:

  1. Upload branded visual examples
  2. Extend official canvas design skills
  3. Generate a new custom skill: “Branded Social Visuals”
  4. Create a social media specialist agent that uses this skill
  5. Ask it to:
    • Draft posts
    • Create graphics
    • Schedule via Notion MCP

Claude automates the entire social content pipeline fully branded and ready to publish.

Setting Up Agent Routing Rules

Once your agents are built, Claude still needs to know who to delegate to and when.

Go back to the Claude.md file and ask Claude to:

  • Review all agents
  • Update the file with routing rules
  • Define trigger phrases and workflows
  • Create a multi-agent workflow section

This connects all your agents into a seamless AI production line.

Claude Orchestrating a Full AI Workflow

To test the system, try a prompt like:

“Research pricing strategies for service businesses. Then create a blog post and a presentation deck.”

Here’s what Claude will do:

  1. Call the Content Strategist to research the topic
  2. Pass that to the SEO Content Writer to draft a blog
  3. Hand off to the Presentation Specialist to create slides
  4. Deliver a complete content package all branded and aligned

Each agent follows pre‑set templates, references shared knowledge, and produces consistent outputs.

Final Thoughts

Claude Code transforms Claude from a smart assistant into an AI team lead managing a group of specialized agents.

With clear roles, defined skills, and shared knowledge, you can build automated systems that do real work faster and with more consistency than ever before.

For more tutorials on AI agents, Power BI, and system automation, check out the Data Bear blog.