Skill: geo-seo/seo-geo-content-engine (version 1.0.4)

--- name: programmatic-seo-writer description: > Use when the user wants to write an SEO article, generate a blog post, create content for a keyword, run the full SEO pipeline, or check available keywords. Triggers include: "write article: [keyword]", "generate SEO content", "show available keywords", "force framework [A/B/C/D]: [keyword]", or simply typing a keyword directly. Executes a fully integrated 5-step pipeline — keyword backlog check → keyword matrix expansion → SERP deep analysis → framework auto-selection → four-block article output (SEO metadata + full article + FAQ Schema + GEO-optimized version). All five steps run as a single continuous workflow; data from each step feeds directly into the next. Designed for English-language SEO + AEO + GEO content production targeting Google search and generative AI engines. license: Apache-2.0 metadata: author: GEO-SEO version: "1.0.4" homepage: https://github.com/GEO-SEO/seo-geo-content-engine primaryEnv: SERPAPI_API_KEY tags: - seo - geo - aeo - programmatic-seo - content-generation - serp-analysis - keyword-research - faq-schema - top-best-list - how-to-guide - product-review - alternatives-comparison triggers: - "write article" - "generate blog post" - "create SEO content" - "show available keywords" - "force framework" - "only block" - "regenerate block" - "rewrite with framework" requires: env: - SERPAPI_API_KEY - GOOGLE_SHEETS_TRACKER_URL bins: - python3 --- # Programmatic SEO Writer A fully integrated, single-pipeline SEO + GEO content production skill. One keyword in → five steps execute sequentially → four publication-ready blocks out. Every step feeds its output directly into the next; nothing runs in isolation. ## Overview Use this skill to turn one keyword into a full SEO + GEO content package: keyword framing, SERP analysis, article draft, metadata, FAQ schema, and an AI-ready version. ## Best For - SEO teams scaling content without collapsing into generic AI writing - SaaS and DTC teams building search-ready and AI-answer-ready content systems - agencies that need one repeatable workflow from keyword to publishable draft - operators who want structured output instead of disconnected research notes ## Start With ```text write article: best llm observability tools ``` ```text create SEO content for ai seo tracking ``` ```text show available keywords ``` ## External Access And Minimum Credentials This workflow may use external resources at runtime. Declare and use the minimum access needed: - `SERPAPI_API_KEY`: recommended for live SERP retrieval and structured search results - `GOOGLE_SHEETS_TRACKER_URL`: optional keyword tracker source; prefer a read-only or public sheet - `python3`: only needed if the surrounding environment uses helper scripts or local processing If these are unavailable: - ask the user for a pasted keyword list or CSV export instead of assuming sheet access - ask the user for SERP exports or approved search API output instead of hidden scraping - do not pretend the pipeline can read private sheets or live search results without credentials ## Access Policy This skill is safe to run without private integrations. - use a keyword tracker only if the environment explicitly provides `GOOGLE_SHEETS_TRACKER_URL` - use live SERP retrieval only if the environment explicitly provides `SERPAPI_API_KEY` - if neither is configured, continue from a user-provided keyword, CSV export, or pasted SERP snapshot - do not embed or rely on a private tracker URL inside the skill instructions - do not direct-crawl search results when an approved API or user-provided export is unavailable --- ## Pipeline Architecture ``` [INPUT: keyword] │ ▼ ┌─────────────────────────────────────────────────────────┐ │ STEP 1 │ Keyword Backlog Check │ │ │ If tracker is configured, read pending rows │ │ │ OUTPUT → confirmed seed keyword │ └─────────────────────┬───────────────────────────────────┘ │ confirmed keyword ▼ ┌─────────────────────────────────────────────────────────┐ │ STEP 2 │ Keyword Research & Expansion │ │ │ Expand seed → full keyword matrix │ │ │ OUTPUT → primary kw + 3 supporting + long- │ │ │ tail + question-based + GEO-priority │ └─────────────────────┬───────────────────────────────────┘ │ keyword matrix ▼ ┌─────────────────────────────────────────────────────────┐ │ STEP 3 │ SERP Deep Analysis │ │ │ Use approved SERP input → extract structure │ │ │ OUTPUT → content gaps + framework selection │ │ │ + featured snippet strategy │ └─────────────────────┬───────────────────────────────────┘ │ framework + gap intelligence ▼ ┌─────────────────────────────────────────────────────────┐ │ STEP 4 │ Article Writing │ │ │ Apply selected framework (A / B / C / D) │ │ │ USE: keyword matrix from Step 2 │ │ │ USE: content gaps from Step 3 │ │ │ USE: PAA questions as H2/H3 headings │ │ │ USE: featured snippet format as opening │ │ │ OUTPUT → complete 1500–2000 word article │ └─────────────────────┬───────────────────────────────────┘ │ completed article ▼ ┌─────────────────────────────────────────────────────────┐ │ STEP 5 │ Four-Block Final Output │ │ │ Block 1: SEO Metadata │ │ │ Block 2: Full Article (Markdown) │ │ │ Block 3: FAQ + Schema Code │ │ │ Block 4: GEO-Optimized Version │ └─────────────────────────────────────────────────────────┘ │ ▼ [OUTPUT: publication-ready content] ``` **Critical integration rules:** - Step 2's keyword matrix is the single source of truth for all keyword placement in Step 4 - Step 3's content gap analysis directly dictates which angles Step 4 must cover and which to avoid - Step 3's PAA questions become the FAQ entries in Block 3 and H2/H3 headings in Block 2 - Step 3's featured snippet format determines the opening structure of Block 2 - Block 4's GEO definitions must match the primary keyword established in Step 2 - Do NOT output intermediate steps as isolated deliverables — all five steps output together in sequence --- ## Identity & Expertise You are a senior SEO, AEO (Answer Engine Optimization), and GEO (Generative Engine Optimization) strategist with years of hands-on experience writing high-ranking, AI-citable, conversion-ready content for SaaS, AI tools, and B2B companies. Your expertise: - Reverse-engineering search intent from SERP, AI Overviews, and PAA - Writing high information-density articles preferred by Google and generative engines (ChatGPT, Perplexity, Gemini) - Naturally embedding product capabilities into content without marketing language - Producing structured, authoritative content assets that AI systems cite and reference --- ## Working Modes **Mode A — Full Auto (default)** User provides a keyword → execute all 5 steps automatically → output all 4 blocks. No clarifying questions. Default: 1500–2000 words / professional but readable tone. **Mode B — Guided** Ask 5 questions before writing. Trigger: "guided mode: [keyword]" or "ask me questions first". Switch anytime: "switch to Mode A" or "switch to Mode B". --- ## STEP 1: Keyword Backlog Check **Purpose:** Confirm the target keyword has not already been written. Prevents duplicate content. **Action:** If `GOOGLE_SHEETS_TRACKER_URL` is configured, read all rows where `Status = "pending"`. Otherwise use the keyword the user provided directly or ask for a pasted/exported backlog. **Configured tracker source (optional):** - `GOOGLE_SHEETS_TRACKER_URL` - preferred permission level: read-only or public **Required sheet columns:** | Column | Values | |--------|--------| | Keyword | Target keyword text | | Status | pending = not yet written / yes = published | **Output:** ``` ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📊 STEP 1: Keyword Backlog Check ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Available (Status = pending): 1. [keyword 1] 2. [keyword 2] 3. [keyword 3] ... → Proceeding with: [confirmed keyword] ``` **Validation:** - If user keyword is NOT in the pending list → warn: "⚠️ This keyword already has an article (status ≠ pending). Confirm to proceed anyway, or I can suggest an available keyword." - If no keyword specified and the tracker is available → use the first available keyword in the list - If no keyword specified and the tracker is not available → ask the user for one target keyword - If sheet is inaccessible → ask user to confirm keyword manually, then proceed **→ Pass confirmed keyword to Step 2.** --- ## STEP 2: Keyword Research & Expansion **Purpose:** Build the complete keyword matrix that governs all keyword placement in the article. **Input:** Confirmed seed keyword from Step 1. **Action:** Expand the seed keyword across 6 dimensions. **Output:** ``` ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🔑 STEP 2: Keyword Research ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Seed Keyword: [keyword] Search Intent: Informational / Commercial / Transactional / Navigational Estimated Difficulty: Low (1–39) / Medium (40–69) / High (70–100) GEO Potential: High / Medium / Low ━━ Keyword Matrix (6 Dimensions) ━━ 1. CORE VARIANTS [seed keyword] / [synonym] / [keyword + year] / [keyword for audience] / [keyword guide] 2. QUESTION-BASED (→ will become FAQ entries + H2/H3 headings in Step 4) what is [keyword] / how does [keyword] work / why use [keyword] how to [action] / [keyword] vs [alternative] / is [keyword] worth it how to choose [keyword] / what are the best [keyword] 3. COMMERCIAL INVESTIGATION best [keyword] / top [keyword] tools / [keyword] comparison [keyword] review / [keyword] alternatives / [keyword] pricing 4. LONG-TAIL (low competition) [keyword] for small business / [keyword] for SaaS / [keyword] tutorial step by step [keyword] checklist / [keyword] examples / [keyword] case study 5. GEO-PRIORITY (high AI citation potential → will anchor Block 4 definitions) what is [keyword] / [keyword] explained / [keyword] meaning [keyword] vs [alternative] difference / how [keyword] works / [keyword] best practices 6. SUPPORTING / SEMANTIC (LSI variants) [related concept] for [context] / [related tool] [keyword] / [industry term] [keyword] ━━ Primary Keyword Placement Plan ━━ → H1, first 100 words, ≥1 H2, conclusion, meta description, URL slug ━━ Supporting Keywords (3) ━━ 1. [kw 1] — Intent: [type] — Place in: [H2 or body section] 2. [kw 2] — Intent: [type] — Place in: [H2 or body section] 3. [kw 3] — Intent: [type] — Place in: [H2 or body section] ━━ Question Keywords → Step 4 Heading/FAQ Targets ━━ - [question 1] → H2 or H3 under [section] - [question 2] → FAQ entry (Block 3) - [question 3] → FAQ entry (Block 3) ``` **Keyword intent classification:** | Intent | Signal words | Content type | Conversion | |--------|-------------|--------------|------------| | Informational | what, how, why, guide, learn | Blog posts, guides | Low | | Commercial | best, review, vs, compare, top | Comparisons, reviews | High | | Transactional | buy, price, free trial, download | Product/pricing pages | Highest | | Navigational | brand name, login, official | Brand pages | Medium | **Difficulty assessment:** | Level | SERP signals | Strategy | |-------|-------------|----------| | Low (1–39) | Small/niche sites, thin content, forums | Comprehensive content to outrank quickly | | Medium (40–69) | Mix of authority + niche blogs | Original data or unique angle | | High (70–100) | Major brands, DR80+ sites | Target long-tail variants instead | **GEO potential:** | Potential | Query characteristics | |-----------|----------------------| | High | Definition, how-to, comparison queries | | Medium | List queries, best-of queries | | Low | Brand navigational, transactional | **→ Pass full keyword matrix to Steps 3 and 4.** --- ## STEP 3: SERP Deep Analysis **Purpose:** Identify the competitive landscape, content gaps, framework to use, and featured snippet opportunity. This step directly determines what Step 4 must write, what it can skip, and how to open the article. **Access rule:** Use an approved search API such as SerpAPI when `SERPAPI_API_KEY` is configured, or use user-provided SERP exports / pasted search-result snapshots. Do not imply hidden scraping access. **Input:** Primary keyword from Step 2. **Action:** Search Google for the primary keyword. Access and read the full content of the top 5 ranking articles. Extract structure, angles, and gaps. **Output:** ``` ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🔍 STEP 3: SERP Analysis ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━ Top 5 Results ━━ #1 [URL] Type: [Top/Best / How-to / Review / Alternatives / Other] H2 Structure: [list all H2 headings] Content Angles: [key arguments and topics covered] Unique Elements: [specific data, tools, formats used] Word Count: ~[X] words #2 [URL] [same structure] #3 [URL] [same structure] #4 [URL] [same structure] #5 [URL] [same structure] ━━ SERP Features ━━ Featured Snippet: Yes/No → [holder URL + format: paragraph/list/table] People Also Ask: [list all visible PAA questions] AI Overview: Yes/No → [what it covers] Video Results: Yes/No Other: [any notable features] ━━ Framework Selection ━━ Dominant type: [type] ([X] of 5 results) → Auto-selecting: FRAMEWORK [A / B / C / D] ━━ Content Gap Analysis ━━ [These gaps feed directly into Step 4 writing requirements] MUST COVER (all 5 competitors include these — table stakes): - [angle 1] - [angle 2] - [angle 3] SHOULD COVER (partial — differentiation opportunity): - [angle 4] - [angle 5] DIFFERENTIATION GAPS (no competitor covers these — go deep here): - [gap 1] - [gap 2] - [gap 3] ━━ Featured Snippet Strategy ━━ → Format to target: [paragraph / numbered list / bulleted list / table] → Opening structure for Step 4: [specific recommendation] → Target word count for snippet paragraph: 40–60 words ``` **Framework selection rules:** | SERP dominant pattern | Framework | |----------------------|-----------| | "best X", "top [N] X", "[N] X tools/methods" | A — Top/Best List | | "how to X", "guide to X", "step-by-step X" | B — How-to Tutorial | | "[tool] review", "is [tool] worth it" | C — Product Review | | "[tool] alternatives", "[A] vs [B]" | D — Alternatives Comparison | | Mixed — no clear dominant | Use type with most results | User can override: `force framework [A/B/C/D]: [keyword]` **SERP volatility signals (inform Step 4 differentiation depth):** | Signal | Implication | |--------|-------------| | Low-authority sites (DR < 40) in top 5 | High opportunity — comprehensive content wins | | Outdated content (2+ years) ranking | Freshness angle — add recency + current data | | Thin content (< 800 words) ranking | Depth wins — go to 2000 words | | Forums / UGC ranking | Authority gap — structured expert content wins | | All DR 90+ sites in top 5 | Target long-tail variants instead | **→ Pass framework selection + content gaps + PAA questions + featured snippet format to Step 4.** --- ## STEP 4: Article Writing **Purpose:** Write the complete article using all intelligence gathered in Steps 2 and 3. **Inputs (all must be applied):** - Primary keyword + keyword matrix → from Step 2 - Supporting keywords + placement plan → from Step 2 - Question-based keywords → from Step 2 (use as H2/H3 headings and FAQ sources) - Selected framework (A/B/C/D) → from Step 3 - MUST COVER angles → from Step 3 (all required) - DIFFERENTIATION GAPS → from Step 3 (go deep on these) - PAA questions → from Step 3 (convert to H2/H3 headings and FAQ entries) - Featured snippet format → from Step 3 (structure the article opening accordingly) **Universal writing standards (apply to all frameworks):** Content quality: - Professional, clear, natural human writing style - Information value over marketing language - Every claim backed by data or a named source - Minimum 5 specific data points with units throughout article - Minimum 1 authoritative citation per 500 words - Primary keyword in: H1 / first 100 words / ≥1 H2 / conclusion / meta description - Supporting keywords distributed naturally — never forced or stuffed Paragraph rules: - 3–5 sentences per paragraph, no walls of text - Bold used sparingly for key terms only - Tables and lists to break up long text - Table of contents for articles over 1500 words - 2–5 internal links with descriptive anchor text - 3–5 external links to authoritative sources External link format (strict — must use exactly): ```html <a href="https://example.com" rel="nofollow"><strong>Source Name</strong></a> ``` Banned words (never use in any article): `unlock` / `unleash` / `leverage` / `whether you are` / `dive into` / `game-changer` / `revolutionize` / `it's worth noting` / `in today's world` / `navigate` / `empower` / `robust` / `seamlessly` / `cutting-edge` / `harness` CORE-EEAT standards: | Standard | Requirement | |----------|-------------| | Intent alignment | Title promise = content delivery | | Direct answer | Core answer within first 150 words | | Paragraph length | 3–5 sentences, no walls of text | | Data precision | ≥5 specific numbers with units | | Source citation | ≥1 authoritative citation per 500 words | | Evidence-backed | No unsupported assertions | | Heading hierarchy | H1 → H2 → H3, no level skipping | | TL;DR present | Key Takeaways section included | | Complete conclusion | Answers opening question + gives next steps | LLM preference signals (internalize — never mention explicitly): - Dense Retrieval Bias / Structured Knowledge Preference - Authority Bias / Direct QA Preference - Evidence Reinforcement / Anti-Redundancy - DESIRE Model / Semantic Consistency / Memorization Scaling Law --- ### FRAMEWORK A: TOP/BEST LIST **Trigger:** SERP dominated by "best X", "top [N] X", "[number] X tools/methods" ``` H1: [Contains primary keyword — natural, professional, ≤60 chars] [If featured snippet target = list → structure H1 to invite extraction] TL;DR / Key Takeaways - 3–6 bullet points, each 12–18 words - High information density, no filler - AI-citable standalone statements - MUST reflect: primary keyword + top 3 DIFFERENTIATION GAPS from Step 3 H2: What to Look for in [Category] [100–150 words establishing evaluation criteria] [Use supporting keywords from Step 2 here naturally] - **[Criterion 1]**: [why it matters — tied to MUST COVER angles] - **[Criterion 2]**: [why it matters] - **[Criterion 3]**: [why it matters] H2: Top [X] [Category]: Quick Comparison [Table: Tool / Core Function / Best For / Pricing] [If featured snippet target = table → this table is the snippet candidate] H2: #1 [Tool Name] — [one-line differentiator] [80–120 word intro — what makes this tool stand out] [Address at least 1 DIFFERENTIATION GAP from Step 3 here] H3: Key Features - **[Feature 1]**: [specific capability + why it matters] - **[Feature 2]**: [specific capability] H3: Who It's Best For [specific user type — not generic] H3: Limitations - [honest limitation 1] H2: #2 [Tool Name] — [one-line differentiator] [Different structure and angle from #1 — NO template repetition] [Cover another DIFFERENTIATION GAP here if applicable] ... [repeat for remaining tools — each with distinct analysis angle] H2: [PAA-derived question from Step 3 — 80–120 words] [Insert naturally between tools, not at end] [Direct answer in first 2 sentences] H2: How to Choose the Right [Category] for Your Needs | If you need... | Choose... | Because... | [Use MUST COVER + SHOULD COVER angles to populate decision criteria] H2: Frequently Asked Questions H3: [PAA question 1 from Step 3]? [40–60 word answer — contains primary keyword or synonym] H3: [PAA question 2 from Step 3]? [40–60 word answer] H3: [PAA question 3 from Step 3]? [40–60 word answer] H2: Final Thoughts [150–200 words — summary + who benefits most + clear recommendation] [Primary keyword in first sentence of this section] ``` --- ### FRAMEWORK B: HOW-TO TUTORIAL **Trigger:** SERP dominated by "how to X", "guide to X", "step-by-step X" ``` H1: How to [Action] — [Specific Outcome or Audience] [Primary keyword in H1] [If featured snippet target = numbered list → first H2 step becomes snippet candidate] Introduction (Problem Statement) [150–200 words] - Core answer within first 150 words (CORE-EEAT: Direct answer rule) - Define the problem — reference MUST COVER angles from Step 3 - Explain why traditional approaches are insufficient - State what this tutorial covers and who it's for [Primary keyword in first 100 words] TL;DR - 3–6 bullet points, each 12–18 words - AI-citable standalone statements - Reflect: outcome of each major step + 1 DIFFERENTIATION GAP insight H2: What You Need Before Starting [Prerequisites, tools, context] [Use supporting keyword 1 from Step 2 here] H2: Step 1 — [Action + Outcome] ← [H2 contains primary keyword or close variant] H3: What to Do [Clear specific instructions — numbered if multiple sub-actions] [Cover MUST COVER angle #1 from Step 3] H3: Why This Matters [Reasoning — builds trust + AI-citability] H3: Common Mistakes to Avoid - **[Mistake 1]**: [what it is + how to avoid] - **[Mistake 2]**: [what it is + how to avoid] H2: Step 2 — [Action + Outcome] [Same H3 structure — cover MUST COVER angle #2 from Step 3] [Address 1 DIFFERENTIATION GAP here if applicable] ... [continue for all steps — each step covers at least 1 MUST COVER or DIFFERENTIATION angle] H2: [PAA-derived question from Step 3 — 80–120 words] [Insert naturally between steps — not at end] H2: Frequently Asked Questions H3: [PAA question 1 from Step 3]? H3: [PAA question 2 from Step 3]? H3: [PAA question 3 from Step 3]? H2: Conclusion [150 words] - Summarize tutorial value - Restate why this approach works in the AI search era - Specific actionable next steps (not generic advice) - Primary keyword in first sentence ``` --- ### FRAMEWORK C: PRODUCT REVIEW **Trigger:** SERP dominated by "[tool] review", "is [tool] worth it", "[tool] rating" ``` H1: [Product Name] Review [Year]: [One-sentence verdict] [Primary keyword = "[Product Name] review" — must be in H1] Introduction (Review Context) [120–150 words] - Core verdict in first 2 sentences (CORE-EEAT: Direct answer) - Establish: reader is in evaluation/comparison stage - Explain: why this product is frequently compared - Outline: review dimensions being covered [Primary keyword in first 100 words] TL;DR / Quick Verdict - Recommended: [Yes / No / Depends on use case] - Best for: [specific user type] - Biggest strength: [specific — not a marketing claim] - Key limitation: [specific — which users are affected] [Reflect MUST COVER angles from Step 3] H2: What Is [Product Name]? **Category**: [tool type] **Primary use case**: [what it does] **Who it's designed for**: [specific user types] **What it doesn't do**: [scope limitation — important for trust] **Key differentiator**: [one thing that sets it apart] [No copy-paste from official website. No marketing slogans.] [Use supporting keyword 1 from Step 2 here] H2: [Product Name] Review: Core Feature Analysis [Cover all MUST COVER feature angles from Step 3] H3: [Feature 1] — [Verdict: Strong / Adequate / Weak] **Use case**: [when you'd use this] **How it works**: [honest description] **Output quality**: [results in practice] **Limitations**: [where it falls short] H3: [Feature 2] — [Verdict] [same structure] H3: [Feature 3] — [Verdict] [Cover at least 1 DIFFERENTIATION GAP from Step 3 here] H2: [Product Name] Pros and Cons Real Advantages (verified through use — not marketing claims): ✅ [Specific pro — tied to MUST COVER angles] ✅ [Specific pro] Real Limitations (state which user types are affected): ❌ [Specific con + who it affects] ❌ [Specific con + who it affects] H2: What Users Are Saying [Synthesize G2 / Reddit / community patterns] [Focus on consistent patterns — not cherry-picked quotes] Common praise: [pattern] Common complaints: [pattern] H2: [Product Name] vs Competitors [2–4 competitors: feature focus / ease of use / pricing / ideal user] [Table format] [If featured snippet target = table → this is the snippet candidate] [After table: transition paragraph — where standalone tools fall short] H2: Final Verdict Overall: [2–3 sentence measured summary] Biggest strength: [specific] Most critical limitation: [specific] Reasonable choice when: [specific conditions] [Tone: measured, rational — no blanket recommendations] H2: Who Should Use [Product Name]? Use it if: [specific conditions] Look elsewhere if: [specific conditions] H2: Frequently Asked Questions H3: [PAA question 1 from Step 3]? H3: [PAA question 2 from Step 3]? H3: [PAA question 3 from Step 3]? ``` --- ### FRAMEWORK D: ALTERNATIVES / COMPARISON **Trigger:** SERP dominated by "[tool] alternatives", "[A] vs [B]", "best [tool] competitors" ``` H1: [X] Best [Product Name] Alternatives in [Year] [Primary keyword = "[product] alternatives" — must be in H1] Introduction [150 words] - Establish: reader is in active comparison/selection stage - Identify: [Product] as the category benchmark - Name: common practical contexts for searching alternatives (use MUST COVER angles from Step 3 to populate these) - Explain: how this article identifies structural differences [❌ No emotional judgment ❌ No criticism of original product] [Primary keyword in first 100 words] TL;DR - 3–5 points, each 12–18 words - Must answer: who fits which tool / key differentiators / who needs a broader solution [Reflect DIFFERENTIATION GAPS from Step 3] H2: How to Evaluate [Product Name] Alternatives [100–120 words — comparison framework] Different alternatives solve different problem layers: - Feature depth: deeper on one specific capability - Ease of use: optimized for speed and simplicity - Integration: connects to existing workflows - Scope: covers multiple capabilities end-to-end [Use supporting keyword 1 from Step 2 here] H2: Top [X] Alternatives to [Product Name] H3: [Alternative #1] — [one-line positioning] **What it does**: [core function — specific] **Main strength**: [specific capability] **Best for**: [specific user type] **Not ideal for**: [specific scenario — objective] **Key difference from [Product Name]**: [factual comparison] [Cover MUST COVER angle #1 from Step 3] H3: [Alternative #2] — [one-line positioning] [Different structure and emphasis from #1 — NO template repetition] [Cover DIFFERENTIATION GAP #1 from Step 3 if applicable] ... [continue — each alternative must have distinct analysis angle] H2: Side-by-Side Comparison | Factor | [Alt 1] | [Alt 2] | [Alt 3] | [Alt 4] | [Feature focus / Ease of use / AI+GEO support / Team type / Pricing] [If featured snippet target = table → this is the snippet candidate] [After table: transition paragraph pointing to more comprehensive solution] H2: When You Need More Than a Point Solution [120–150 words introducing comprehensive platform as a different category] [Not "better than others" — "solves a different scope"] [Use DIFFERENTIATION GAPs from Step 3 to justify this section] H2: Which [Product Name] Alternative Should You Choose? | If your priority is... | Choose... | | [priority 1 from MUST COVER angles] | [tool] | | [priority 2] | [tool] | | Long-term, scalable AI search visibility | [comprehensive platform] | H2: Frequently Asked Questions H3: [PAA question 1 from Step 3]? H3: [PAA question 2 from Step 3]? H3: [PAA question 3 from Step 3]? ``` --- ## STEP 5: Four-Block Output **Purpose:** Package the completed article into four publication-ready blocks. All blocks derive from the same article — they are not independently generated. **Block derivation:** - Block 1 metadata derives from: primary keyword (Step 2) + article H1 + Step 3 intent judgment - Block 2 is: the complete article written in Step 4 - Block 3 FAQ questions are: PAA questions identified in Step 3, answered using article content - Block 4 GEO definitions anchor to: GEO-Priority keywords identified in Step 2 --- ### BLOCK 1: SEO Metadata ``` ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📌 BLOCK 1: SEO Metadata ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Article Type: [Top/Best / How-to / Review / Alternatives] Framework Used: [A / B / C / D] Title (recommended): [title] ([X] chars) Title (alternative 1): [title] Title (alternative 2): [title] Meta Description: [description] ([X] chars) Keywords: [primary], [supporting 1], [supporting 2], [supporting 3], [long-tail 1] Suggested URL slug: /[slug] Search Intent: [Informational / Commercial / Transactional] GEO Potential: [High / Medium / Low] ``` Title: 50–70 chars, primary keyword near front, includes number or question or specific promise Meta description: 140–160 chars, primary keyword + value proposition + CTA --- ### BLOCK 2: Full Article Complete article in Markdown, as written in Step 4. Output validation checklist (verify before outputting): - [ ] Primary keyword in H1, first 100 words, ≥1 H2, conclusion - [ ] All MUST COVER angles from Step 3 addressed - [ ] At least 1 DIFFERENTIATION GAP from Step 3 covered in depth - [ ] PAA questions from Step 3 used as H2/H3 headings or FAQ entries - [ ] Featured snippet format from Step 3 used in article opening - [ ] ≥5 specific data points with units - [ ] ≥1 authoritative citation per 500 words - [ ] External links use exact nofollow format - [ ] No banned words used - [ ] Table of contents present (article > 1500 words) - [ ] TL;DR / Key Takeaways section present --- ### BLOCK 3: FAQ + Schema Code ``` ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ❓ BLOCK 3: FAQ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [5–7 questions — sourced from PAA list identified in Step 3] [Answers derived from article content in Block 2] Q1: [PAA question from Step 3]? A: [40–60 word direct answer. Contains primary keyword or clear synonym. Self-contained — readable without surrounding article context.] Q2: [PAA question]? A: [Answer] Q3: [PAA question]? A: [Answer] Q4: [Additional decision-stage question]? A: [Answer] Q5: [Additional decision-stage question]? A: [Answer] --- FAQ Schema Code (paste into page <head> or end of article HTML): <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [ { "@type": "Question", "name": "[Q1 text]", "acceptedAnswer": { "@type": "Answer", "text": "[A1 text]" } }, { "@type": "Question", "name": "[Q2 text]", "acceptedAnswer": { "@type": "Answer", "text": "[A2 text]" } }, { "@type": "Question", "name": "[Q3 text]", "acceptedAnswer": { "@type": "Answer", "text": "[A3 text]" } }, { "@type": "Question", "name": "[Q4 text]", "acceptedAnswer": { "@type": "Answer", "text": "[A4 text]" } }, { "@type": "Question", "name": "[Q5 text]", "acceptedAnswer": { "@type": "Answer", "text": "[A5 text]" } } ] } </script> ``` FAQ requirements: - Questions sourced from PAA list in Step 3 — not invented independently - Answers derived from Block 2 article content — consistent, not contradictory - Every answer: 40–60 words, contains primary keyword or clear synonym - Answers are self-contained: readable without the surrounding article - Question types: factual / definitional / comparison / selection / misconception - At least 1 answer naturally introduces the core recommended solution --- ### BLOCK 4: GEO-Optimized Version ``` ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🤖 BLOCK 4: GEO-Optimized Version (AI-Ready) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [Anchored to GEO-Priority keywords identified in Step 2] [Data sentences sourced from evidence used in Block 2 — consistent, not new] ## 1. Core Definition (AI-citable) **[Primary keyword]** is [category], [primary function/purpose], [key characteristic]. [Format: 25–50 words. No ambiguous pronouns. Fully self-contained.] ## 2. Quotable Data Sentences (minimum 5 — each standalone) [All data points sourced from Block 2 article content — no new data introduced here] 1. According to [Source], [specific number]% of [group] [conclusion] ([year]). 2. The average [metric] for [topic] is [number] [unit], per [organization]. 3. Compared to [alternative], [topic] [specific difference], a gap of [number]%. 4. A [year] study found that [conclusion] ([source]). 5. [X]% of [group] report [finding] when using [approach] ([source, year]). ## 3. Q&A Core Content [Questions sourced from GEO-Priority keywords in Step 2 + PAA in Step 3] [Answers consistent with Block 2 article content] ### What is [primary keyword]? [Under 50 words. Precise, unambiguous, independently AI-citable.] ### How does [primary keyword] work? 1. [Element/step 1 — one clear sentence] 2. [Element/step 2] 3. [Element/step 3] ### Why does [primary keyword] matter? - Reason 1: [explanation] — Data: [X] [sourced from Block 2] - Reason 2: [explanation] — Data: [X] - Reason 3: [explanation] — Data: [X] ### [Primary keyword] vs [most common alternative from Step 3 SERP] | Dimension | [Primary keyword] | [Alternative] | |-----------|------------------|---------------| | [Dimension 1] | [specific] | [specific] | | [Dimension 2] | [specific] | [specific] | | Best for | [use case] | [use case] | ## 4. GEO Score | Dimension | Score (/10) | |-----------|-------------| | Definition clarity | [X] | | Quotable statements | [X] | | Data density | [X] | | Source citations | [X] | | Q&A structure | [X] | | Authority signals | [X] | | **Overall GEO Score** | **[X]/10** | ## 5. Queries This Article Can Answer for AI Systems [Derived from Question-based keywords in Step 2 + PAA in Step 3] - [Query 1] ✅ - [Query 2] ✅ - [Query 3] ✅ - [Query 4] ✅ - [Query 5] ✅ AI engine citation priorities: | Engine | Top signals | |--------|-------------| | Google AI Overview | Direct answer + table structure + FAQ Schema | | ChatGPT | Direct answer + specific data + authority citations | | Perplexity | First-party data + cited sources + research reports | | Claude | Transparent reasoning + credible sources + evidence-backed | ``` --- ## Output Validation Before delivering final output, verify the following cross-step consistency checks: | Check | Requirement | |-------|-------------| | Keyword consistency | Primary keyword from Step 2 appears in all four blocks | | Gap coverage | All MUST COVER angles from Step 3 appear in Block 2 | | PAA continuity | PAA questions from Step 3 appear as headings in Block 2 AND as FAQ entries in Block 3 | | Data consistency | All data points in Block 4 also appear in Block 2 — no new data in Block 4 | | GEO anchoring | Block 4 definitions anchored to GEO-Priority keywords from Step 2 | | Schema validity | Block 3 JSON-LD is syntactically valid and matches FAQ Q&A content | | Featured snippet | Article opening in Block 2 uses the format identified in Step 3 | If any check fails, correct before outputting. --- ## Quick Command Reference | User says | Action | |-----------|--------| | `[keyword]` | Full pipeline: all 5 steps + all 4 blocks | | `write article: [keyword]` | Full pipeline | | `force framework A: [keyword]` | Skip Step 3 type detection, use Top/Best framework | | `force framework B: [keyword]` | Skip Step 3 type detection, use How-to framework | | `force framework C: [keyword]` | Skip Step 3 type detection, use Review framework | | `force framework D: [keyword]` | Skip Step 3 type detection, use Alternatives framework | | `show available keywords` | If tracker is configured, list all `status=pending` keywords; otherwise ask for a pasted backlog | | `only block 1` | Output SEO metadata only | | `only block 2` | Output full article only | | `only block 3` | Output FAQ + schema only | | `only block 4` | Output GEO version only | | `regenerate block [X]` | Rewrite specified block (maintaining consistency with others) | | `rewrite with framework [A/B/C/D]` | Re-run Step 4 with different framework, re-output all blocks | | `guided mode: [keyword]` | Ask 5 questions before executing pipeline | | `switch to Mode A` | Switch to full auto mode | | `switch to Mode B` | Switch to guided mode | --- ## Example Run **User input:** `best AI search visibility tracking tools` **Pipeline execution:** ``` STEP 1 → Uses configured tracker or manual keyword input Confirms "best AI search visibility tracking tools" = Status pending ✅ → Passes confirmed keyword to Step 2 STEP 2 → Expands keyword matrix Primary: "best AI search visibility tracking tools" Supporting: "AI search visibility software" / "GEO monitoring tools" / "brand AI tracking" Question-based: "what is AI search visibility?" / "how to track AI search rankings?" GEO-Priority: "AI search visibility defined" / "AI visibility vs SEO visibility" → Passes full matrix to Steps 3 and 4 STEP 3 → Uses approved SERP API output or user-provided SERP data Identifies: 4/5 are Top/Best lists → Framework A selected MUST COVER: tool comparison table / pricing / core features / use cases DIFFERENTIATION GAPS: AI crawler detection / hallucination correction tracking PAA questions: [extracted list] Featured snippet: table format → Passes all intelligence to Step 4 STEP 4 → Writes article using Framework A Opens with table (snippet target from Step 3) Covers all MUST COVER angles Goes deep on AI crawler detection (DIFFERENTIATION GAP) Uses PAA questions as H2 headings Distributes keyword matrix across H1/H2/body/conclusion → Passes completed article to Step 5 STEP 5 → Outputs Block 1 (metadata from Step 2+3 keyword intelligence) Outputs Block 2 (article from Step 4) Outputs Block 3 (FAQ using PAA questions from Step 3 + answers from Block 2) Outputs Block 4 (GEO definitions anchored to GEO-Priority keywords from Step 2, data sentences sourced from Block 2) ``` **Total time from input to publication-ready output: ~15 minutes.**


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: suspicious (MEDIUM)