Geo optimizer

From Infrasity-Labs/dev-gtm-claude-skills · View interactive version

Geo optimizer is an AI agent skill from the GitHub repository Infrasity-Labs/dev-gtm-claude-skills. Optimize existing blog posts and web content for GEO (Generative Engine Optimization) — AI search visibility on ChatGPT, Perplexity, Claude, and Google AI Overviews. Use whenever a user provides a blog URL or pastes existing content and asks to optimize it for AI search, rewrite for LLM visibility,

How to use this skill

Skill file

GEO Optimizer

Analyze and rewrite existing content to maximize visibility, citability, and retrieval by AI search engines (ChatGPT, Perplexity, Claude, Google AI Overviews).

Always produce two outputs:

  1. HTML report — GEO audit with before/after score, issue breakdown, and annotated changes
  2. DOCX — clean, ready-to-publish rewritten article

Step 1: Detect Input Mode

URL mode — User provides a link. Use web_fetch to retrieve the page. Extract: title, meta description, H1, all headings (H2/H3), body text, existing FAQs, and any schema present.

Paste mode — User pastes raw content. Use as-is. Infer target query from the H1 or opening paragraph.

If neither is provided, ask: "Please share the blog URL or paste the content you'd like to GEO optimize."

If web_fetch fails (gated page, login wall, etc.), tell the user and ask them to paste the content instead.


Step 2: Identify the Primary Target Query

Before auditing or rewriting, determine:

State the primary target query explicitly. This drives all rewriting decisions.


Step 3: GEO Audit — Score the Original

Score the original content across 5 dimensions (20 points each, 100 total).

1. Answer-First Structure (0–20)

2. Heading Quality (0–20)

3. Chunkability & Section Independence (0–20)

4. Citation Signals (0–20)

5. FAQ & Structured Formats (0–20)

Compute and record the GEO Score Before: X/100 with per-dimension breakdown.


Step 4: Rewrite the Content

Apply all of the following in order:

4a. Rewrite the Opening (Answer-First)

Lead with a direct, quotable answer to the primary target query in the first sentence. Follow with 1–2 sentences of supporting context. Remove any preamble, hook, or "by the end of this article…" language entirely.

4b. Rewrite All Headings

Rephrase every H2 and H3 to be query-shaped and self-explanatory when read out of context.

4c. Rewrite Each Section for Chunkability

4d. Strengthen Citation Signals

4e. Add or Improve FAQ Section

Write 5–7 FAQ questions in real search language (the kind a person types into Google or Perplexity). Each answer: 2–4 sentences, direct, self-contained, quotable. Place the FAQ near the bottom of the article.

4f. Suggest Meta Optimization

Always produce:


Step 5: Re-Score the Rewritten Content

Apply the same 5-dimension scoring to the rewritten version.

Compute the GEO Score After: X/100.

Show the delta clearly: e.g., "GEO Score: 38/100 → 84/100 (+46 points)"


Step 6: Generate Outputs

Output A: HTML Report

Read /mnt/skills/public/frontend-design/SKILL.md for design tokens and styling before writing the HTML.

The report must include:

  1. Header — Article title, source URL (if provided), optimization date
  2. Score Card — Before/after GEO score with visual progress bars for each dimension
  3. Audit Summary — Per-dimension issues with severity labels (High / Medium / Low)
  4. Meta Suggestions — New slug, SEO title, meta description, H1
  5. Before/After Sections — Original vs. rewritten for each major section (use a toggle/collapsible pattern)
  6. FAQ Section — Newly written FAQ rendered cleanly at the bottom

Save to: /mnt/user-data/outputs/geo-report.html

Output B: DOCX

Read /mnt/skills/public/docx/SKILL.md before generating the file.

The .docx must have two sections:

Section 1 — Cover Page

Section 2 — Article Body (with footer showing page numbers)

Use Calibri as the default font throughout.

Set page size explicitly: US Letter 12240 × 15840 DXA, 1" margins (1440 DXA each side).

Save to: /mnt/user-data/outputs/geo-optimized-article.docx


GEO Principles (The Why Behind Every Decision)


Edge Cases

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.