adlibrary.com Logoadlibrary.com
Share
Strategy

How to Build an AI Marketing Team with Claude Code (Agents, Skills, Setup)

An AI marketing team in Claude Code is a set of skills (SKILL.md playbooks) and subagents that each do one job, such as research, copy, SEO and analytics, run from one project folder with a CLAUDE.md voice file. You can set up a first role quickly, but every output still needs human review. This guide gives you the roster, the files, the setup steps and three starter builds.

4 min read
Auto-extracted hero image

The team roster: five jobs, one project folder

An AI marketing team in Claude Code is not a chatbot with a longer prompt. It is a small set of files in one folder: a brand and voice file, a handful of skills that each define one job, and optional subagents that run those jobs in their own context. You decide the roster. Here is a starting one, built around five jobs that most marketing teams repeat every week.

RoleSkill or agentInputOutputHuman check
Competitor researchercompetitor-researchA brand or category and the platforms to look atA structured list of the competitor's active ads, angles and offersSpot-check three ads against the source
Copywriterad-copyAn angle from the research plus your voice fileHeadline, primary text and CTA variantsRead every line against the brand voice
SEO auditorseo-auditA page URL or an exported pageA prioritized list of fixes with the evidence for eachVerify each claim before changing the page
AnalystreportA CSV export from your ad platformA short summary of what moved and what to test nextRecalculate one number by hand
QA reviewerqa-reviewAny draft from the other fourA checklist result: facts, claims, links, toneYou approve or reject, the agent never publishes

Treat the table as a template, not a promise of output quality. Every row has a human check on purpose. The agents draft and organize. People decide.

What Claude Code is, and why it fits marketing work

Claude Code is Anthropic's agentic coding tool. In Anthropic's words, it "reads your codebase, edits files, runs commands, and integrates with your development tools" (Claude Code overview). That description sounds like engineering, and it is. It also happens to describe what a marketing operator needs: something that can read a folder of briefs and exports, write files back, and run a repeatable routine without you pasting context into a chat window each time.

That is the difference between using Claude in a chat and building an AI marketing team with Claude Code. A chat forgets your brand voice by tomorrow. A project folder does not, because the voice lives in a file the agent reads at the start of every session.

AI marketing team Claude Code setup: folder, CLAUDE.md, first skill

Install Claude Code by following Anthropic's official overview, then set up one folder per team. A workable layout:

marketing-team/
  CLAUDE.md
  .claude/
    skills/
      competitor-research/
        SKILL.md
      ad-copy/
        SKILL.md
    agents/
      qa-reviewer.md
  inputs/
  outputs/

1. CLAUDE.md as the brand and voice file. This is the file the agent reads first. Put in it who you sell to, what you sell, the tone you write in, words you never use and the rules every output must follow. Keep it short. A long CLAUDE.md that nobody maintains is worse than none.

2. A first skill. A skill is a folder with a SKILL.md that tells the agent how to do one task. Start with the job you repeat most. A minimal template:

---
name: competitor-research
description: Summarize a competitor's active ads into angles, offers and formats.
---

# Competitor research

1. Read the brand name and platforms from the request.
2. Pull the brand's active ads from the connected ad data source.
3. Group the ads by angle, offer and format.
4. Write the result to outputs/competitor-research-<brand>.md.
5. List anything you could not verify at the bottom of the file.

3. Inputs and outputs folders. Give the agent a place to read from and a place to write to. It keeps drafts out of your working files and makes review easy.

4. A first run. Ask for one small task, read the output line by line and fix the skill file, not the output. That habit is what turns a prompt into a team member.

How skills work, and when to use a subagent instead

A skill is a playbook. When a task matches the skill's description, the agent loads those instructions and follows them in your main session. Use a skill for repeatable procedures: how you write ad copy, how you structure a research summary.

A subagent is a separate agent with its own instructions and its own context. Use one when the job is big, noisy or independent: reading fifty pages for an audit, or reviewing a draft with fresh eyes. The subagent does the heavy reading and hands back a short result, so your main session stays clean.

A simple rule: if you want it to follow your procedure, write a skill. If you want it to work in isolation and report back, use a subagent. A QA reviewer is the textbook case, because a reviewer that shares context with the writer tends to agree with it.

Slash commands are the third piece. They are saved prompts you trigger by name, such as a /weekly-report that runs the analyst skill on the latest export. They save you retyping the same request every Monday.

A QA reviewer subagent, as a template

A reviewer is the cheapest role to build and the one that pays off first. A minimal definition for .claude/agents/qa-reviewer.md:

---
name: qa-reviewer
description: Review a marketing draft for unsupported claims, broken rules and tone.
---

You review drafts. You do not rewrite them.
1. List every factual claim in the draft.
2. For each claim, name the source in /inputs or mark it unsupported.
3. Check the draft against CLAUDE.md and list any rule it breaks.
4. End with PASS or FIX and a numbered list of required changes.

Because the reviewer only reports, a person stays in charge of what changes. Run it on every draft from the other four roles before you read the draft yourself.

Connect your team to real data with MCP

A team that only reads files you paste is a drafting tool. The step up is connecting data sources through MCP, the protocol that lets Claude Code call external tools. For ad research, that means the agent can query real ad data instead of working from memory.

AdLibrary offers this on the research side. You can wire the AdLibrary API or the MCP server into your project, and there is a ready-made set of ad library skills for agentic AI. For a worked build, see Claude Code with the AdLibrary API and agentic marketing with the AdLibrary API. You can also build your own AdLibrary MCP server.

Connect only what a role needs. The copywriter does not need your ad account. The analyst does not need write access to anything.

Three builds to start with

These are workflow outlines, not case studies. Each one lists what to give the agent and what to check. Run them yourself and note your own time and results before you rely on them.

Build 1: competitor ad research. Give the researcher a brand and a platform. Ask for the active ads grouped by angle, offer and format, with the ad IDs so you can verify. Check three ads in the source. Then hand the angles to the copywriter. For the research method, see competitor ad research and Claude Code for competitor research automation. For ad-level analysis, see Claude Code for ad creative analysis.

Build 2: landing-page audit. Export a page, give it to the SEO auditor skill and ask for fixes ranked by impact, each with the evidence on the page. Reject any fix that arrives without evidence. See Claude Code for SEO audits for a fuller version.

Build 3: content refresh. Give the agent an existing article and your voice file. Ask it to flag outdated claims, missing sections and weak internal links, then draft changes as a diff you review. The agent proposes, you approve. For the writing side, see Claude for SEO content writing and Claude for landing page copy.

For more role ideas, see Claude Code agents for media buyers, Claude Code for marketing ops and prompts for marketing in Claude Code. A sibling walk-through is how to build an AI-powered marketing team with Claude Code.

Example CLAUDE.md for a marketing team

A voice file works when it is specific and short. A template to adapt:

# Brand and voice
Product: <one sentence on what you sell and to whom>
Audience: <job title, the problem they have this week>
Tone: direct, concrete, no hype. Short sentences.
Never use: <your banned words and phrases>
Facts: only use numbers and claims from /inputs. If a fact is missing, say so.
Every output ends with a list of anything you could not verify.

The last two lines do the most work. They turn "do not make things up" from a hope into a rule the agent can check itself against.

Example prompts for each role

Prompts are cheaper to fix than outputs, so write them like a brief to a new hire. Adapt the placeholders.

  • Researcher: "Using the competitor-research skill, review on . Group the active ads by angle, offer and format. Include the ad ID for every ad so I can verify."
  • Copywriter: "Using the ad-copy skill and CLAUDE.md, write five headline and primary text variants for the angle in outputs/competitor-research-.md. Stay inside the voice file."
  • SEO auditor: "Audit the page in inputs/.md with the seo-audit skill. Rank fixes by likely impact and show the exact text each fix refers to."
  • Analyst: "Read inputs/.csv. Tell me what changed week over week and name one test to run next. Show the numbers you used."
  • QA reviewer: "Review outputs/.md against CLAUDE.md. List every factual claim and whether it has a source in inputs. Flag anything that breaks the tone rules."

Notice that every prompt asks for evidence. That is the habit that makes a review loop short instead of exhausting.

Claude Code, chat or a custom tool?

Chat is the fastest way to try an idea. Claude Code is the better home for work you repeat, because the instructions, the voice and the outputs live in files you can version and improve. The trade is setup time: a team of skills only pays off if you will run the same jobs many times.

A rule of thumb. If you will do the task once, use chat. If you will do it every week, write a skill. If it needs data from other systems, connect it through MCP. If several people run it, put the folder somewhere shared and have one owner maintain the skill files. Our comparison of Claude, ChatGPT and Gemini for marketing covers the model side of that choice.

What an AI marketing team cannot do

  • It does not replace strategic thinking. It organizes information and drafts. The choice of angle, offer and budget stays with you.
  • Output needs human review. Every role in the roster has a human check for that reason. Never let an agent publish or spend without one.
  • Context window limits exist. A very long export or a very long CLAUDE.md degrades results. Split big jobs across skills or subagents.
  • Data privacy needs a decision. Decide what customer data may enter your project folder before the first run, and keep secrets out of it.
  • Your skills need maintenance. A skill file reflects how you worked the week you wrote it. Update it when your process changes.

Guardrails: the human review loop

Build review into the process instead of relying on discipline. Four guardrails cover most of the risk:

  1. Read-only first. Give agents access to read data before you let them write anywhere that matters.
  2. Evidence in every output. Require each claim or number to carry its source, and reject outputs that do not.
  3. A separate reviewer. Run the QA reviewer as a subagent so it checks the draft without sharing the writer's assumptions.
  4. One approver. A named person approves anything that leaves the folder: ad copy, a page change, a report.

For the research layer behind these builds, see Claude for competitor research, how marketers use Claude daily and agentic marketing workflows with Claude Code. To compare your options, see Claude Code vs Cursor for marketers.

Where to go next

Start with one skill and one human check, run it on real work for a week and fix the skill file each time the output misses. Add the second role only when the first one is dull to review. If your first role is ad research, Get started and connect AdLibrary's data to your project, then test the results with How to Test Facebook Ads and the creative research methods glossary entry.

Frequently Asked Questions

Can Claude Code do marketing?

Yes, for the parts of marketing that involve reading files, drafting, analyzing exports and running repeatable routines. Anthropic describes Claude Code as an agentic coding tool that reads your codebase, edits files and runs commands. In a marketing folder that means it can draft ad copy, summarize competitor research and audit pages, while a person approves the results.

Can you build agents in Claude Code?

Yes. You can write skills (SKILL.md files with step-by-step instructions for one task) and subagents (separate agents with their own instructions and context), then call them from your project folder. Use a skill for a repeatable procedure and a subagent for isolated work such as review.

What is a CLAUDE.md file for marketing?

It is the file the agent reads at the start of a session. For marketing teams it holds the brand voice, audience, product facts, banned words and the rules every output must follow.

Is Claude Code AI?

Yes. Claude Code is an AI tool from Anthropic that works from your terminal and project files. It is built on Claude models, so its output is a draft that needs human review.

What can an AI marketing team in Claude Code not do?

It does not replace strategy, and its output needs human review. Context window limits apply, data privacy needs a decision before you start, and skill files need maintenance as your process changes.

Key Terms

Build in Public
A business strategy involving the open development of a product. Founders share metrics, challenges, and insights to build a community and market the product transparently.
Marketing Flywheel
A self-sustaining model where building a product fuels content creation, which attracts customers and feedback, which in turn improves the product, restarting the cycle with more momentum.
Jab, Jab, Hook
A content marketing strategy focused on providing value repeatedly (jabs) to build audience trust before making a promotional ask or call-to-action (the hook).

Ready to get started?

Try AdLibrary Free
AI Marketing Team in Claude Code: Agents, Skills, Setup