Hire a mini marketing team of subagents: researcher, writer, editor
Set up three Claude Code subagents that pass work down a line: a researcher who cites every fact, a writer who uses only those facts, and an editor who fact-checks the draft and leaves an edit log.
- Level Intermediate
- Time About 1 hour to set up, then 5-15 minutes per piece
- Works with
- Claude Code
On this page7 sections
One chat that researches, writes and edits at once tends to blur the jobs. It invents a stat to fill a gap, or it “edits” by rewriting everything. This guide splits the work across three specialists in Claude Code, each with one job, its own instructions and only the tools it needs:
- Researcher: finds facts and saves a brief with a source next to every claim.
- Writer: turns the brief into a draft in your voice, using only facts from the brief.
- Editor: checks every claim against the brief, tightens the copy, and writes an edit log.
Each one is a subagent: a helper that Claude Code hands a task to. Per Anthropic’s docs, a subagent runs in its own context window (its own working memory) with a custom system prompt, specific tool access and its own permissions, then reports back. A subagent is just a Markdown file in a folder, so you can read, edit and share it.
We ran this exact setup on a made-up topic with two fake source files. The three agents ran in order and saved four files. The editor checked 13 claims: 9 OK, 3 fixed and 1 removed. It also flagged that the sources didn’t support the headline we’d asked for. That’s the behavior you want.
What you’ll have at the end
- Three subagent files in
.claude/agents/:researcher.md,writer.md,editor.md. - Two brand files the team reads:
brand/voice.mdandbrand/audience.md. - For each piece:
work/<topic>/research.md,draft.md,final.mdandedit-log.md.
What you need, and what it costs
- Claude Code on a Pro, Max, Team or Enterprise plan, or a Claude Console (API) account. The free claude.ai plan doesn’t include Claude Code. Subagents only exist in Claude Code; they aren’t available in claude.ai chats.
- Usage. Each subagent sends its own requests, and the docs say these count toward the same usage limits as your main conversation. Three agents use more than one chat would. On Pro or Max, watch your limits; on an API key,
/usageshows an estimated cost for the session. - Optional: the Exa MCP server for better web search. No account needed to start.
Step-by-step
1. Open Claude Code in a new folder
- Terminal: install Claude Code (macOS, Linux, WSL:
curl -fsSL https://claude.ai/install.sh | bash; Windows PowerShell:irm https://claude.ai/install.ps1 | iex). Then runmkdir content-team && cd content-team. - Claude Desktop: create an empty
content-teamfolder. Open the app, click the Code tab, select Local, click Select folder and choose it.
Create the folders before you start your first session (or restart once after). Claude Code watches the agents folder for changes, but only folders that existed when the session started:
mkdir -p .claude/agents brand sources work
2. Write down your voice and audience
The agents read these files on every run. Keep them short and concrete. “Friendly but professional” tells Claude nothing; “no exclamation marks” does.
brand/voice.md:
# Voice
- [e.g. Friendly, direct, a little dry. Like a helpful neighbor who knows the subject.]
- Short sentences. No exclamation marks. Never use: game-changer, unlock, revolutionize, delve.
- Use "you" and "we". Explain any jargon in five words or fewer.
- [Paste one paragraph you wrote that sounds exactly like you.]
brand/audience.md:
# Audience
[Who reads this, what they already know, what they worry about, and what you want them to do next.]
3. Create the researcher
Save this as .claude/agents/researcher.md. Only name and description are required in the header (the frontmatter, the settings block between the --- lines). Claude reads description to decide when to use the agent. tools limits what it can do. model picks the Claude model.
---
name: researcher
description: Marketing researcher. Use first for any content request. Gathers facts, stats and quotes on a topic, with a source for every claim, and saves a research brief. Does not write the post.
tools: Read, Grep, Glob, Write, WebSearch, WebFetch
model: sonnet
color: blue
---
You are the researcher on a three-person content team (researcher, writer, editor).
Your job: produce a research brief that the writer can trust without checking anything.
When you get a topic:
1. Read brand/audience.md if it exists, so you research what this audience cares about.
2. Look for facts in this order: files in sources/ first, then the web (if you have web tools).
3. Prefer primary sources: official sites, original studies, company announcements. Avoid content farms and unsourced listicles.
4. Save the brief to work/<topic-slug>/research.md, using this structure:
## Key points
- One fact per bullet, then its source in brackets: [Title](URL) or [file: sources/name.md].
## Useful quotes
- Exact words in quotation marks, who said it, and the source.
## Numbers
- The number, what it measures, the date, and the source.
## Open questions
- Anything you could not confirm. Say so plainly.
Rules:
- Never invent a statistic, quote, name or URL. If you can't find a source, put it under Open questions.
- Copy numbers exactly as the source states them, with the date.
- Keep the brief under 600 words.
- When you finish, reply with the file path and a 3-line summary.
The researcher can search and read the web and write its brief. It can’t edit other files or run commands.
4. Create the writer
Save as .claude/agents/writer.md. It has no web tools at all, so the only facts it can use are the ones in the brief.
---
name: writer
description: Marketing writer. Use after the researcher has saved a research brief. Turns work/<topic-slug>/research.md into a first draft in the brand voice. Uses only facts from the brief.
tools: Read, Write, Edit, Glob
model: sonnet
color: green
---
You are the writer on a three-person content team (researcher, writer, editor).
When you get a topic and a format (blog post, LinkedIn post, newsletter section):
1. Read work/<topic-slug>/research.md. This is your only source of facts.
2. Read brand/voice.md and brand/audience.md if they exist, and follow them.
3. Write the draft to work/<topic-slug>/draft.md.
Rules:
- Use only facts, numbers and quotes that appear in research.md. Keep the source link next to each one, as a Markdown link or a footnote.
- If the brief is too thin for the format, write a shorter piece and say so. Do not fill gaps with general claims.
- Plain words, short sentences, one idea per paragraph.
- Start with the reader's problem, not with the company.
- End with one clear call to action.
- Default lengths: blog post 600-900 words, LinkedIn post under 1,300 characters, newsletter section under 250 words.
- When you finish, reply with the file path and the word count.
5. Create the editor
Save as .claude/agents/editor.md. model: inherit means it uses whatever model your main session uses, which you may want to be your strongest one for the final check.
---
name: editor
description: Marketing editor and fact-checker. Use after the writer has saved a draft. Checks every claim against the research brief, fixes voice and clarity, and saves a final version plus an edit log.
tools: Read, Write, Glob, Grep
model: inherit
color: purple
---
You are the editor on a three-person content team (researcher, writer, editor).
When you get a topic:
1. Read work/<topic-slug>/research.md, work/<topic-slug>/draft.md, and brand/voice.md if it exists.
2. Fact-check: for every number, quote and claim in the draft, find it in research.md. If it isn't there, or the draft changed its meaning, remove or fix it.
3. Edit for voice and clarity: cut filler, hype words and repetition; keep the writer's structure unless it's broken.
4. Save the result to work/<topic-slug>/final.md.
5. Save work/<topic-slug>/edit-log.md with three sections:
## Fact-check
- Each claim, then OK, FIXED or REMOVED, and why.
## Changes
- The 5-10 most important edits, before and after.
## Needs a human
- Anything you weren't sure about.
Rules:
- Never edit research.md or draft.md. Write only final.md and edit-log.md.
- Never add a new fact. You can only keep, fix or remove.
- When you finish, reply with the paths, the number of claims checked, and how many were fixed or removed.
The editor has no Edit tool and no web access. It can only write new files, so the writer’s draft stays untouched for comparison. Note that tools limits which tools an agent has, not which files it touches. The “never edit research.md” line is an instruction, not a lock.
6. Check the team is hired
Start Claude Code in the folder (claude in the terminal, or a new session in the Desktop Code tab). Type @ and you should see your three agents in the list, shown as researcher (agent) and so on. If they’re missing, restart Claude Code. That’s needed when the .claude/agents folder didn’t exist before the session started. On recent versions, typing /agents just reminds you that agents live in these folders. Older versions open a menu for creating agents there.
7. Run a topic end to end
Optionally, drop a few source files (notes, a report, a press release, as .md or .txt) into sources/. Then paste:
Run our content team on this topic: "[your topic]" as a [LinkedIn post / blog post / newsletter section]. Use the researcher subagent first, then the writer subagent, then the editor subagent. Wait for each to finish before starting the next. When all three are done, show me final.md and the Fact-check section of edit-log.md.
Claude Code approves or asks for each tool use as normal. In the transcript you’ll see rows like researcher(Research rainy-day commuting) as each agent works. To force one specific agent for one task, @-mention it: @"editor (agent)" re-check work/pricing-post/draft.md.
8. Compare and tighten
Read final.md next to a piece you wrote yourself on a similar topic, then read the edit log. Fix the agent whose step went wrong, not the final text:
- Facts are thin or off-topic? Edit the researcher: name the sources you trust, or ask for more searches.
- Doesn’t sound like you? Add two more example paragraphs to
brand/voice.md. - The editor rubber-stamps everything? Add: “You must find at least 3 improvements or explain why there are none.”
Claude Code notices edits to agent files within a few seconds, so the next run uses the new version.
Optional: make it one command
Create .claude/skills/content-run/SKILL.md so you can type /content-run instead of pasting the prompt:
---
name: content-run
description: Run the researcher, writer and editor subagents in order on a topic and format.
disable-model-invocation: true
---
The user gives a topic and a format in $ARGUMENTS.
1. Delegate to the researcher subagent. Wait for it.
2. If research.md has fewer than 3 key points, stop and show me the Open questions.
3. Delegate to the writer subagent with the topic and format. Wait for it.
4. Delegate to the editor subagent. Wait for it.
5. Show final.md and the Fact-check section of edit-log.md.
Then run: /content-run "why our onboarding takes 10 minutes" blog post.
What can go wrong
- The agents don’t appear. Restart Claude Code if you created
.claude/agentsafter the session started. Also check the file starts with---on the very first line; Claude Code silently skips files whose header is broken. - Claude does the work itself instead of delegating. Name the subagent in your prompt, or @-mention it. Descriptions that start with “Use first” or “Use after” help Claude route the work.
- Made-up citations. The researcher is told never to invent a source, but check every link in
final.mdbefore you publish. A link that 404s, or a page that doesn’t say what the post claims, means you should rerun the research. - Usage limits sooner than expected. Three agents use several times the tokens of one chat. For drafts you’ll throw away, set the researcher and writer to
model: haiku, which the docs describe as a faster, lower-cost model. - Tool names are spelled wrong. Write
WebSearch, notwebsearch. If none of the entries in thetoolsline match a real tool, the agent usually fails to launch with an error that names them. - Copyright. Quote sources briefly and link to them. Don’t let the writer paste whole paragraphs from other sites.
Make it yours
- Better search: add Exa (
claude mcp add --transport http exa https://mcp.exa.ai/mcp) and addmcp__exa__*to the researcher’stoolsline. That gives it every Exa tool and no other server’s. - Your voice skill: if you’ve built a voice skill, add
skills:with its name as a list item to the writer’s and editor’s frontmatter. The full skill is loaded into the agent when it starts. - Add a fourth hire: a
social-cutteragent that turnsfinal.mdinto three short posts, withtools: Read, Write. - Share with your team: commit the
.claude/agentsfolder to your project’s git repository. To use the agents in every project on your computer, move the files to~/.claude/agents/. - Borrow ideas: community libraries such as VoltAgent’s subagents and wshobson/agents have ready-made business and content agents. Read any file before you install it, since agents can run tools.
Next steps
- Make Claude create Word, PowerPoint, Excel and PDF files to turn
final.mdinto a formatted document. - Automate Instagram and YouTube posting safely once your posts are ready to schedule.
Sources
- code.claude.com/docs/en/sub-agents (opens in a new tab)
- code.claude.com/docs/en/skills (opens in a new tab)
- code.claude.com/docs/en/mcp (opens in a new tab)
- code.claude.com/docs/en/setup (opens in a new tab)
- code.claude.com/docs/en/desktop-quickstart (opens in a new tab)
- code.claude.com/docs/en/costs (opens in a new tab)
- support.claude.com/en/articles/11145838-use-claude-code-with-your-pro-or-max-plan (opens in a new tab)
Related guides
Run a one-person company with a team of Claude agents: chief of staff, specialists and a QA reviewer
Write a one-page operating manual, hire four Claude Code subagents (chief of staff, researcher, writer, independent reviewer), and drop requests in an inbox. The chief of staff routes the work, the reviewer gives PASS or FAIL, and decisions only you can make land in one file.
IntermediateAbout 1 hour to set up, then a few minutes per request
Claude skills vs MCP vs plugins: which do you need?
Skills teach Claude how to do a task, MCP connectors let it reach your apps and data, plugins bundle both. Decision table, plan notes and a tested example.
Beginner10 minutes to decide, about 30 minutes for the hands-on example
Make Claude write like you: build a writing-style skill
To make Claude write like you, turn 4-6 samples of your writing into a my-voice skill: checkable rules, banned words, before/after examples. Tested template.
Beginner45-60 minutes