--- name: seo-content-brief description: Generate a writer-ready SEO content brief from a target domain and topic. Pulls domain overview, competitors, keyword gaps, SERP analysis, related and question keywords, AI Search citations, and existing internal-link sources, then synthesises a complete editorial brief a freelance writer can start from immediately. Use when the user asks for a content brief, blog brief, article outline, editor brief, or wants to capture organic traffic their competitors have. --- > Example output: [examples/seo-content-brief-vercel-rate-limiting-20260514/BRIEF.md](../../examples/seo-content-brief-vercel-rate-limiting-20260514/BRIEF.md) # Content Brief Turn a domain plus a topic intent into a complete content editor brief: target keyword, title options, H2/H3 structure, content gaps the current top results miss, internal linking plan, AI search angle, and estimated traffic potential. ## Prerequisites - SE Ranking MCP server connected. - Claude's `WebFetch` tool available (used for top-3 content teardown). - User has provided: (a) target domain, (b) market/country (default: `us`), and optionally (c) a seed topic or intent. If no seed topic is given, discover the best opportunity from the keyword-gap step. ## Process 1. **Domain overview** `DATA_getDomainOverviewWorldwide`, `DATA_getDomainKeywords` - Pull organic traffic, top countries, and top 100 organic keywords in the target market. - Save the raw JSON and a human summary. 2. **Competitor discovery** `DATA_getDomainCompetitors` - Identify the top 5 organic competitors by shared keywords in the target market. - Save a one-line positioning note per competitor. - **Note:** the upstream API does not support `limit`/`offset`, so this call returns the full set (~60KB for popular domains) and the MCP harness writes it to a file. Read that file path, parse the `{data: [...]}` JSON, sort by `common_keywords` desc, and take the top 5. 3. **Keyword gap analysis** `DATA_getDomainKeywordsComparison` - Pull keywords the competitors rank for that the target domain does not. - Filter: informational intent, search volume > 1,000/mo, keyword difficulty < 40. - Save the filtered gap list sorted by volume. 4. **Pick the best topic cluster** - From the gaps, select one topic. Justify the pick with: traffic potential, difficulty, relevance to the target domain's product. Surface reasoning to the user before proceeding. 5. **SERP and keyword deep-dive for the chosen topic** - `DATA_getSerpResults` for the top 10 organic + SERP features (AIO, PAA, Featured Snippet, Video). - `DATA_getRelatedKeywords` and `DATA_getSimilarKeywords` for expansion. - `DATA_getKeywordQuestions` for People-Also-Ask and question-based variations. - `DATA_getAiOverview` + `DATA_getAiOverviewLeaderboard` to see which brands LLMs cite today for the topic. 6. **Top 3 content analysis** `WebFetch` (always) + `mcp__firecrawl-mcp__firecrawl_scrape` (when available) - **WebFetch first** (free, instant): pull markdown for the top 3 ranking URLs. Extract H1/H2/H3 spine, word count per article, shared subtopics, gaps, and prose-level formatting patterns. - **Firecrawl second** (3 Firecrawl credits — 1 per top-3 winner) — recovers what WebFetch's markdown can't show: - From `metadata`: `