Skip to content

Prompt Chain: Full Competitive SEO Analysis in 4 Steps

For SEO Specialist / Content Marketing Managers ·

Tools:Claude
Time to run:45-60 minutes
Difficulty:Intermediate-Advanced
Prerequisites:Comfortable using Claude for analysis tasks — see Level 3 guide: "Competitive Gap Analysis for Proposals with Claude"
Claude

What This Builds

A repeatable 4-prompt chain that processes raw competitive data into a polished competitive analysis document — including executive summary, specific content gaps, quick win roadmap, and a client-ready narrative. Each prompt's output feeds the next, so the final document is more coherent and specific than a single prompt could produce.

Prerequisites

  • {{tool:Claude.plan}} subscription ({{tool:Claude.price}}) — long context window needed for large data sets
  • SEMrush or Ahrefs access (any paid plan)
  • 30 minutes to gather competitive data before running the chain

The Concept

A prompt chain is like a relay race. Each prompt does one focused job, then passes its output to the next prompt as context. Prompt 1 organizes the raw data. Prompt 2 identifies the gaps. Prompt 3 builds the opportunity roadmap. Prompt 4 writes the client-facing narrative. Each step builds on the previous — this produces a better final result than asking Claude to "do everything in one prompt."


Build It Step by Step

Part 1: Gather your raw data (20-30 minutes)

In SEMrush or Ahrefs, collect for prospect and top 3 competitors:

  • Organic traffic estimate
  • Number of ranking keywords
  • Domain authority/rating
  • Top 10 pages by traffic
  • Keyword gap report: top 100 keywords competitors rank for that prospect doesn't (export to CSV)
  • Backlink gap: referring domain count comparison

Save everything in a structured text document you can paste from.

Part 2: Run the 4-prompt chain in Claude

Open a new Claude conversation. Run these 4 prompts in sequence — each one includes the previous output.


PROMPT 1: Data Organization

Copy and paste this
You are an SEO analyst preparing a competitive analysis. Organize the following raw data into a clean, structured comparison table. Do not interpret or analyze yet — just organize clearly.

PROSPECT: [Name] | [URL]
Traffic: [X]/month | Keywords: [X] | Domain Authority: [X]
Top pages: [list]

COMPETITOR 1: [Name] | [URL]
Traffic: [X]/month | Keywords: [X] | DA: [X]
Top pages: [list]

COMPETITOR 2: [Name] | [URL]
[data]

COMPETITOR 3: [Name] | [URL]
[data]

KEYWORD GAP (competitors rank, prospect doesn't — top 50):
[paste CSV data or keyword list]

Output a clean comparison table showing: traffic, keywords, DA, top content topics for each domain. Then list the keyword gap data organized by topic cluster (group similar keywords together, name each cluster).

Wait for the organized output. Then continue:


PROMPT 2: Gap Analysis

Copy and paste this
Using the organized data above, now perform a gap analysis. Identify:

1. CONTENT GAPS (3-5 topic clusters): Areas where competitors have significant content and rankings that the prospect is missing entirely. For each: name the topic cluster, estimate its traffic value (based on the keyword volumes in the gap data), and name 1-2 specific articles/pages the competitors have that the prospect doesn't.

2. AUTHORITY GAP: How significant is the domain authority gap? Is it bridgeable in 6-12 months with a link building program, or is it a multi-year project?

3. QUICK WIN OPPORTUNITIES (top 3): Keywords in the gap data where the prospect could realistically rank in 90-180 days. Criteria: search volume under 2,000/month (lower competition), keyword difficulty under 40, and the prospect's existing content partially addresses the topic.

4. RED FLAGS: Anything about the competitive landscape that suggests SEO will be particularly difficult or slow for this prospect.

Be specific — reference actual keywords and content examples from the data, not generic observations.

Wait for the gap analysis. Then continue:


PROMPT 3: Opportunity Roadmap

Copy and paste this
Based on the gap analysis above, build a prioritized 12-month opportunity roadmap for this prospect. Structure it as:

PHASE 1 (Months 1-3): Foundation
- What technical or on-page issues to address first (based on what we can infer from the data)
- The 3 quick-win content pieces to publish (from the quick wins identified above)
- Link building targets: what types of sites should be targeted to close the authority gap?

PHASE 2 (Months 4-6): Content Expansion
- The 2-3 content cluster gaps to attack with 3-5 articles each
- Expected traffic outcome if executed: realistic estimate based on keyword volumes
- Measurement milestones: what should we see by month 6?

PHASE 3 (Months 7-12): Authority Building
- Ongoing content velocity needed to maintain momentum
- Authority-building strategies appropriate for this industry
- When should the prospect expect to reach competitive parity with the weakest competitor?

Frame this as realistic expectations — don't overpromise. Include at least one honest caveat about risks or uncertainties.

Wait for the roadmap. Then continue:


PROMPT 4: Client-Facing Narrative

Copy and paste this
Using all the analysis above (data organization, gap analysis, and opportunity roadmap), write a client-facing competitive analysis document for [PROSPECT NAME].

Format:
1. HEADLINE FINDING (1 bold sentence: the single most important insight)
2. COMPETITIVE POSITION (2-3 sentences: where they stand vs. competitors right now — honest but constructive)
3. THE OPPORTUNITY (2-3 bullet points: the most compelling specific gaps and what they're worth in traffic)
4. RECOMMENDED FIRST STEPS (3 bullet points: concrete, specific, achievable in 30-60 days)
5. REALISTIC TIMELINE (2-3 sentences: when they can expect meaningful results with consistent effort)

Tone: strategic advisor, not salesperson. Direct. Specific. Reference actual competitors and keywords by name. No SEO jargon without plain-English context. Total length: 400-500 words.

What you get: A 400-500 word client-ready narrative that can go directly into your proposal


Real Example: Full Chain Run

Prospect: Regional accounting firm in Denver targeting small business clients

After running all 4 prompts (45 minutes total):

Prompt 1 output: A clean comparison table showing the firm has 12% of the organic traffic of their top competitor, with domain authority 15 points lower. The keyword gap shows 400+ keywords around "Denver accounting" variations, "small business tax preparation," and "bookkeeping for contractors" that the firm doesn't rank for.

Prompt 2 output: Three content gap clusters (small business tax guides, contractor accounting, business formation content), quick wins around low-competition local informational queries, and an authority gap that's bridgeable in 12-18 months.

Prompt 3 output: A concrete phase-by-phase roadmap with specific content recommendations by month and realistic traffic projections.

Prompt 4 output: A 450-word client narrative starting with "Your top competitor in Denver captures 6x your organic traffic by owning the informational content that your potential clients search before they call anyone" — specific, compelling, and ready to drop into the proposal.

Time saved: What was a 3-4 hour manual analysis process becomes 30 minutes of data gathering + 45 minutes of running the chain = about 90 minutes total for a higher-quality output.


What to Do When It Breaks

  • Prompt 1 output is disorganized → Add to the prompt: "Use markdown tables with clear column headers. Each competitor gets its own row."
  • Prompt 2 gaps are too generic → Add: "Reference specific keywords from the gap data I provided. Every gap must cite at least one real keyword example."
  • Prompt 3 roadmap is too vague → Add: "Give specific article titles for Phase 1, not topic areas. Use the actual keyword data to suggest real article topics."
  • Prompt 4 sounds like a sales pitch → Add: "Write as an advisor, not a salesperson. Include one genuine risk or uncertainty in the timeline section."

Variations

  • Simpler version: Skip prompts 1 and 3 — run just Prompt 2 (gap analysis) and Prompt 4 (narrative) with the raw data pasted in
  • Extended version: After Prompt 4, run a fifth prompt: "Turn this competitive analysis into a 5-slide presentation outline with a title and 2-3 bullet points per slide"

What to Do Next

  • This week: Run the full chain on one prospect you're actively pursuing
  • This month: Compare your win rate on proposals that use this analysis vs. proposals without structured competitive data
  • Advanced: Save the 4-prompt chain as a Claude Project with your agency context loaded — future prospects only require you to paste new data

Advanced guide for SEO Specialist professionals. These techniques use more sophisticated AI features that may require paid subscriptions.