サブエージェントでミニ・マーケティングチームを雇う:リサーチャー、ライター、エディター
仕事を順に引き継ぐ 3 つの Claude Code サブエージェントを設定します。すべての事実に出典を付けるリサーチャー、その事実だけを使うライター、下書きの事実を確認して編集ログを残すエディターです。
- レベル 中級
- 所要時間 設定に約 1 時間、そのあとは 1 本あたり 5〜15 分
- 対応アプリ
- Claude Code
このページの内容7 項目
調べる、書く、編集する、を 1 つのチャットで一度にやらせると、役割がぼやけがちです。空白を埋めるために統計をでっち上げたり、「編集」と言いながらすべてを書き直したりします。このガイドでは、Claude Code で仕事を 3 人の専門家に分けます。それぞれが 1 つの仕事、自分だけの指示、必要なツールだけを持ちます。
- リサーチャー:事実を探し、主張のすぐ横に出典を付けたブリーフを保存します。
- ライター:ブリーフを自分の文体の下書きにします。使うのはブリーフにある事実だけです。
- エディター:すべての主張をブリーフと照合し、文章を引き締め、編集ログを書きます。
それぞれがサブエージェントです。Claude Code が仕事を渡す助手のことです。Anthropic のドキュメントによると、サブエージェントは独自のコンテキストウィンドウ(独自の作業記憶)の中で、カスタムのシステムプロンプト、指定されたツールへのアクセス、独自の権限を持って動き、その後に結果を報告します。サブエージェントはフォルダにある Markdown ファイルにすぎないので、読んだり、編集したり、共有したりできます。
私たちは、この構成をそのまま、架空のテーマと偽の出典ファイル 2 つで実行しました。3 つのエージェントが順に動き、4 つのファイルを保存しました。エディターは 13 件の主張を確認し、9 件は問題なし、3 件は修正、1 件は削除でした。また、こちらが頼んだ見出しは出典で裏付けられないと指摘もしました。これが望ましい動作です。
完成すると手に入るもの
.claude/agents/にある 3 つのサブエージェントのファイル:researcher.md、writer.md、editor.md。- チームが読む 2 つのブランドのファイル:
brand/voice.mdとbrand/audience.md。 - 記事ごとに、
work/<topic>/research.md、draft.md、final.md、edit-log.md。
必要なものと費用
- Pro、Max、Team、Enterprise のプラン、または Claude Console(API)のアカウントの Claude Code。無料の claude.ai プランには Claude Code は含まれません。サブエージェントは Claude Code にしかなく、claude.ai のチャットでは使えません。
- 利用量。サブエージェントはそれぞれ自分のリクエストを送り、ドキュメントによると、それらはメインの会話と同じ利用量の上限に数えられます。3 つのエージェントは、チャット 1 つよりも多く使います。Pro や Max では上限に注意してください。API キーでは、
/usageがセッションの概算費用を表示します。 - 任意:より良いウェブ検索のための Exa MCP サーバー。始めるのにアカウントは不要です。
手順
1. 新しいフォルダで Claude Code を開く
- ターミナル:Claude Code をインストールします(macOS、Linux、WSL:
curl -fsSL https://claude.ai/install.sh | bash、Windows PowerShell:irm https://claude.ai/install.ps1 | iex)。そのあとmkdir content-team && cd content-teamを実行します。 - Claude Desktop:空の
content-teamフォルダを作ります。アプリを開いて Code タブをクリックし、Local を選んで Select folder をクリックし、そのフォルダを選びます。
最初のセッションを始める前に、フォルダを作っておきます(または、作ったあとで一度再起動します)。Claude Code はエージェントのフォルダの変更を監視しますが、セッション開始時にすでにあったフォルダだけです。
mkdir -p .claude/agents brand sources work
2. 文体と読者を書き留める
エージェントは、実行のたびにこれらのファイルを読みます。短く、具体的に書いてください。「親しみやすいがプロらしい」では Claude には何も伝わりません。「感嘆符は使わない」なら伝わります。
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. リサーチャーを作る
これを .claude/agents/researcher.md として保存します。ヘッダー(--- の行にはさまれた設定のブロックである frontmatter)で必須なのは name と description だけです。Claude は description を読んで、そのエージェントをいつ使うかを決めます。tools はできることを制限します。model は Claude のモデルを選びます。
---
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.
リサーチャーは、ウェブを検索して読み、ブリーフを書けます。ほかのファイルの編集やコマンドの実行はできません。
4. ライターを作る
.claude/agents/writer.md として保存します。ウェブのツールがまったくないので、使える事実はブリーフにあるものだけです。
---
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. エディターを作る
.claude/agents/editor.md として保存します。model: inherit は、メインのセッションが使っているモデルをそのまま使うという意味です。最後のチェックには、最も強力なモデルにしたいかもしれません。
---
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.
エディターには Edit ツールもウェブへのアクセスもありません。新しいファイルを書くことしかできないので、ライターの下書きは比較用にそのまま残ります。注意してほしいのは、tools が制限するのはエージェントがどのツールを持つかであり、どのファイルに触れるかではないという点です。「never edit research.md」の行は、鍵ではなく指示です。
6. チームが採用されたか確認する
フォルダの中で Claude Code を起動します(ターミナルでは claude、Desktop では Code タブの新しいセッション)。@ を入力すると、リストに researcher (agent) のように表示された 3 つのエージェントが見えるはずです。見当たらない場合は、Claude Code を再起動します。セッションの開始前に .claude/agents フォルダがなかった場合に必要です。最近のバージョンでは、/agents と入力しても、エージェントはこれらのフォルダにあるという案内が出るだけです。古いバージョンでは、そこでエージェントを作成するメニューが開きます。
7. 1 つのテーマを最初から最後まで実行する
任意で、出典のファイル(メモ、レポート、プレスリリースを .md か .txt で)を sources/ に入れておきます。そのうえで、これを貼り付けます。
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 は、通常どおりツールを使うたびに承認を求めるか、確認します。やりとりの記録には、各エージェントが動くたびに researcher(Research rainy-day commuting) のような行が表示されます。1 つの作業で特定のエージェントを指定したいときは、@ で指名します:@"editor (agent)" re-check work/pricing-post/draft.md。
8. 比べて、引き締める
final.md を、似たテーマで自分が書いた文章と並べて読み、それから編集ログを読みます。直すのは最終的な文章ではなく、うまくいかなかった工程のエージェントです。
- 事実が薄い、またはテーマから外れている?リサーチャーを編集します。信頼できる出典を書くか、検索をもっと行うよう求めます。
- 自分らしく聞こえない?
brand/voice.mdに例の段落をさらに 2 つ追加します。 - エディターが何でも通してしまう?「改善点を少なくとも 3 つ見つけるか、ない理由を説明しなければならない」を追加します。
Claude Code はエージェントのファイルの編集を数秒で検知するので、次の実行では新しいバージョンが使われます。
任意:1 つのコマンドにする
.claude/skills/content-run/SKILL.md を作ると、プロンプトを貼り付ける代わりに /content-run と入力できます。
---
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.
あとは、こう実行します。/content-run "why our onboarding takes 10 minutes" blog post。
うまくいかないときは
- エージェントが表示されない。セッションの開始後に
.claude/agentsを作った場合は、Claude Code を再起動します。ファイルの 1 行目がそのまま---で始まっているかも確認してください。Claude Code は、ヘッダーが壊れたファイルを黙ってスキップします。 - Claude が任せずに自分で作業する。プロンプトでサブエージェントの名前を挙げるか、@ で指名します。「Use first」や「Use after」で始まる description は、Claude が仕事を振り分けるのに役立ちます。
- でっち上げの引用。リサーチャーには出典をでっち上げないよう指示してありますが、公開する前に
final.mdのリンクをすべて確認してください。404 になるリンクや、記事の主張と違うことが書かれたページがあれば、リサーチをやり直しましょう。 - 思ったより早く利用量の上限に達する。3 つのエージェントは、チャット 1 つの数倍のトークンを使います。捨てる予定の下書きなら、リサーチャーとライターを
model: haikuにします。ドキュメントはこれを、より速く低コストなモデルと説明しています。 - ツール名のつづりが違う。
websearchではなくWebSearchと書きます。toolsの行のどの項目も実在するツールと合わない場合、エージェントは、通常それらを名指しするエラーとともに起動に失敗します。 - 著作権。出典は短く引用し、リンクを付けます。ライターに他のサイトの段落をそのまま貼り付けさせないでください。
自分用にカスタマイズ
- より良い検索:Exa を追加し(
claude mcp add --transport http exa https://mcp.exa.ai/mcp)、リサーチャーのtoolsの行にmcp__exa__*を追加します。これで Exa のすべてのツールが使え、ほかのサーバーのツールは使えません。 - 自分の文体のスキル:文体のスキルを作ってあるなら、ライターとエディターの frontmatter に
skills:を加え、その名前をリストの項目として入れます。スキル全体が、エージェントの起動時に読み込まれます。 - 4 人目を雇う:
final.mdを短い投稿 3 つにするsocial-cutterエージェントを、tools: Read, Writeで追加します。 - チームと共有する:
.claude/agentsフォルダをプロジェクトの git リポジトリにコミットします。パソコン上のすべてのプロジェクトでエージェントを使うには、ファイルを~/.claude/agents/に移します。 - アイデアを借りる:VoltAgent のサブエージェントや wshobson/agents のようなコミュニティのライブラリには、すぐ使えるビジネス向けやコンテンツ向けのエージェントがあります。エージェントはツールを実行できるので、インストールする前に必ずファイルを読んでください。
次のステップ
- Claude に Word、PowerPoint、Excel、PDF のファイルを作らせると、
final.mdを整った書式のドキュメントにできます。 - Instagram と YouTube の投稿を安全に自動化する:投稿が予約できる状態になったら。
出典
- code.claude.com/docs/en/sub-agents(新しいタブで開きます)
- code.claude.com/docs/en/skills(新しいタブで開きます)
- code.claude.com/docs/en/mcp(新しいタブで開きます)
- code.claude.com/docs/en/setup(新しいタブで開きます)
- code.claude.com/docs/en/desktop-quickstart(新しいタブで開きます)
- code.claude.com/docs/en/costs(新しいタブで開きます)
- support.claude.com/en/articles/11145838-use-claude-code-with-your-pro-or-max-plan(新しいタブで開きます)
関連ガイド
Claude エージェントのチームで一人会社を回す:参謀役、専門担当、QA レビュアー
1 ページの運用マニュアルを書き、Claude Code のサブエージェント 4 人(参謀役、リサーチ担当、ライター、独立したレビュアー)を採用し、依頼を受信箱に入れます。参謀役が仕事を振り分け、レビュアーが PASS か FAIL を出し、あなたにしか決められないことは 1 つのファイルに集まります。
中級セットアップに約 1 時間、その後は依頼 1 件につき数分
Claude のスキル vs MCP vs プラグイン:必要なのはどれ?
スキルは Claude に作業のやり方を教え、MCP コネクタはアプリやデータに届かせ、プラグインはその両方をまとめます。判断表、プランのメモ、検証済みの実例付き。
初級判断に 10 分、実際に手を動かす例に約 30 分
Claude に自分の文体で書かせる:文章スタイルのスキルを作る
Claude に自分の文体で書かせるには、自分の文章 4〜6 本を my-voice スキルにします。確かめられるルール、禁止語、ビフォー・アフターの例を入れます。テスト済みのテンプレート付き。
初級45〜60 分