|
| 1 | +--- |
| 2 | +name: seo-geo |
| 3 | +description: | |
| 4 | + SEO & GEO (Generative Engine Optimization) for websites. |
| 5 | + Analyze keywords, generate schema markup, optimize for AI search engines |
| 6 | + (ChatGPT, Perplexity, Gemini, Copilot, Claude) and traditional search (Google, Bing). |
| 7 | + Use when user wants to improve search visibility. |
| 8 | +triggers: |
| 9 | + - "SEO" |
| 10 | + - "GEO" |
| 11 | + - "search optimization" |
| 12 | + - "schema markup" |
| 13 | + - "JSON-LD" |
| 14 | + - "meta tags" |
| 15 | + - "keyword research" |
| 16 | + - "search ranking" |
| 17 | + - "AI visibility" |
| 18 | + - "ChatGPT ranking" |
| 19 | + - "Perplexity" |
| 20 | + - "Google AI Overview" |
| 21 | + - "indexing" |
| 22 | +--- |
| 23 | + |
| 24 | +# SEO/GEO Optimization Skill |
| 25 | + |
| 26 | +Comprehensive SEO and GEO (Generative Engine Optimization) for websites. Optimize for both traditional search engines (Google, Bing) and AI search engines (ChatGPT, Perplexity, Gemini, Copilot, Claude). |
| 27 | + |
| 28 | +## Quick Reference |
| 29 | + |
| 30 | +**GEO = Generative Engine Optimization** - Optimizing content to be cited by AI search engines. |
| 31 | + |
| 32 | +**Key Insight:** AI search engines don't rank pages - they **cite sources**. Being cited is the new "ranking #1". |
| 33 | + |
| 34 | +## Workflow |
| 35 | + |
| 36 | +### Step 1: Website Audit |
| 37 | + |
| 38 | +Get the target URL and analyze current SEO/GEO status. |
| 39 | + |
| 40 | +**Basic SEO Audit (Free):** |
| 41 | +```bash |
| 42 | +python3 scripts/seo_audit.py "https://example.com" |
| 43 | +``` |
| 44 | +**Use this for**: Quick technical SEO check (title, meta, H1, robots, sitemap, load time). No API needed. |
| 45 | + |
| 46 | +--- |
| 47 | + |
| 48 | +**Check Meta Tags:** |
| 49 | +```bash |
| 50 | +curl -sL "https://example.com" | grep -E "<title>|<meta name=\"description\"|<meta property=\"og:|application/ld\+json" | head -20 |
| 51 | +``` |
| 52 | + |
| 53 | +**Use this for**: Quick check of essential meta tags and schema markup on any webpage. |
| 54 | + |
| 55 | +--- |
| 56 | + |
| 57 | +**Check robots.txt:** |
| 58 | +```bash |
| 59 | +curl -s "https://example.com/robots.txt" |
| 60 | +``` |
| 61 | + |
| 62 | +**Use this for**: Verify which bots are allowed/blocked. Critical for ensuring AI search engines can crawl your site. |
| 63 | + |
| 64 | +--- |
| 65 | + |
| 66 | +**Check sitemap:** |
| 67 | +```bash |
| 68 | +curl -s "https://example.com/sitemap.xml" | head -50 |
| 69 | +``` |
| 70 | + |
| 71 | +**Use this for**: Verify sitemap structure and ensure all important pages are included for search engine discovery. |
| 72 | + |
| 73 | +**Verify AI Bot Access:** |
| 74 | +``` |
| 75 | +# These bots should be allowed in robots.txt: |
| 76 | +- Googlebot (Google) |
| 77 | +- Bingbot (Bing/Copilot) |
| 78 | +- PerplexityBot (Perplexity) |
| 79 | +- ChatGPT-User (ChatGPT with browsing) |
| 80 | +- ClaudeBot / anthropic-ai (Claude) |
| 81 | +- GPTBot (OpenAI) |
| 82 | +``` |
| 83 | + |
| 84 | +### Step 2: Keyword Research |
| 85 | + |
| 86 | +Use **WebSearch** to research target keywords: |
| 87 | + |
| 88 | +``` |
| 89 | +WebSearch: "{keyword} keyword difficulty site:ahrefs.com OR site:semrush.com" |
| 90 | +WebSearch: "{keyword} search volume 2026" |
| 91 | +WebSearch: "site:{competitor.com} {keyword}" |
| 92 | +``` |
| 93 | + |
| 94 | +**Analyze:** |
| 95 | +- Search volume and difficulty |
| 96 | +- Competitor keyword strategies |
| 97 | +- Long-tail keyword opportunities |
| 98 | +- International keyword conflicts (e.g., "OPC" = industrial automation in English markets) |
| 99 | + |
| 100 | +### Step 3: GEO Optimization (AI Search Engines) |
| 101 | + |
| 102 | +Apply the **9 Princeton GEO Methods** (see [references/geo-research.md](./references/geo-research.md)): |
| 103 | + |
| 104 | +| Method | Visibility Boost | How to Apply | |
| 105 | +|--------|-----------------|--------------| |
| 106 | +| **Cite Sources** | +40% | Add authoritative citations and references | |
| 107 | +| **Statistics Addition** | +37% | Include specific numbers and data points | |
| 108 | +| **Quotation Addition** | +30% | Add expert quotes with attribution | |
| 109 | +| **Authoritative Tone** | +25% | Use confident, expert language | |
| 110 | +| **Easy-to-understand** | +20% | Simplify complex concepts | |
| 111 | +| **Technical Terms** | +18% | Include domain-specific terminology | |
| 112 | +| **Unique Words** | +15% | Increase vocabulary diversity | |
| 113 | +| **Fluency Optimization** | +15-30% | Improve readability and flow | |
| 114 | +| ~~Keyword Stuffing~~ | **-10%** | **AVOID - hurts visibility** | |
| 115 | + |
| 116 | +**Best Combination:** Fluency + Statistics = Maximum boost |
| 117 | + |
| 118 | +**Generate FAQPage Schema** (+40% AI visibility): |
| 119 | +```json |
| 120 | +{ |
| 121 | + "@context": "https://schema.org", |
| 122 | + "@type": "FAQPage", |
| 123 | + "mainEntity": [{ |
| 124 | + "@type": "Question", |
| 125 | + "name": "What is [topic]?", |
| 126 | + "acceptedAnswer": { |
| 127 | + "@type": "Answer", |
| 128 | + "text": "According to [source], [answer with statistics]." |
| 129 | + } |
| 130 | + }] |
| 131 | +} |
| 132 | +``` |
| 133 | + |
| 134 | +**Optimize Content Structure:** |
| 135 | +- Use "answer-first" format (direct answer at top) |
| 136 | +- Clear H1 > H2 > H3 hierarchy |
| 137 | +- Bullet points and numbered lists |
| 138 | +- Tables for comparison data |
| 139 | +- Short paragraphs (2-3 sentences max) |
| 140 | + |
| 141 | +### Step 4: Traditional SEO Optimization |
| 142 | + |
| 143 | +**Meta Tags Template:** |
| 144 | +```html |
| 145 | +<title>{Primary Keyword} - {Brand} | {Secondary Keyword}</title> |
| 146 | +<meta name="description" content="{Compelling description with keyword, 150-160 chars}"> |
| 147 | +<meta name="keywords" content="{keyword1}, {keyword2}, {keyword3}"> |
| 148 | + |
| 149 | +<!-- Open Graph --> |
| 150 | +<meta property="og:title" content="{Title}"> |
| 151 | +<meta property="og:description" content="{Description}"> |
| 152 | +<meta property="og:image" content="{Image URL 1200x630}"> |
| 153 | +<meta property="og:url" content="{Canonical URL}"> |
| 154 | +<meta property="og:type" content="website"> |
| 155 | + |
| 156 | +<!-- Twitter Cards --> |
| 157 | +<meta name="twitter:card" content="summary_large_image"> |
| 158 | +<meta name="twitter:title" content="{Title}"> |
| 159 | +<meta name="twitter:description" content="{Description}"> |
| 160 | +<meta name="twitter:image" content="{Image URL}"> |
| 161 | +``` |
| 162 | + |
| 163 | +**JSON-LD Schema** (see [references/schema-templates.md](./references/schema-templates.md)): |
| 164 | +- WebPage / Article for content pages |
| 165 | +- FAQPage for FAQ sections |
| 166 | +- Product for product pages |
| 167 | +- Organization for about pages |
| 168 | +- SoftwareApplication for tools/apps |
| 169 | + |
| 170 | +**Check Content:** |
| 171 | +- [ ] H1 contains primary keyword |
| 172 | +- [ ] Images have descriptive alt text |
| 173 | +- [ ] Internal links to related content |
| 174 | +- [ ] External links have `rel="noopener noreferrer"` |
| 175 | +- [ ] Content is mobile-friendly |
| 176 | +- [ ] Page loads in < 3 seconds |
| 177 | + |
| 178 | +### Step 5: Validate & Monitor |
| 179 | + |
| 180 | +**Schema Validation:** |
| 181 | +```bash |
| 182 | +# Open Google Rich Results Test |
| 183 | +open "https://search.google.com/test/rich-results?url={encoded_url}" |
| 184 | + |
| 185 | +# Open Schema.org Validator |
| 186 | +open "https://validator.schema.org/?url={encoded_url}" |
| 187 | +``` |
| 188 | + |
| 189 | +**Check Indexing Status:** |
| 190 | +```bash |
| 191 | +# Google (use Search Console API or manual check) |
| 192 | +open "https://www.google.com/search?q=site:{domain}" |
| 193 | + |
| 194 | +# Bing |
| 195 | +open "https://www.bing.com/search?q=site:{domain}" |
| 196 | +``` |
| 197 | + |
| 198 | +**Generate Report:** |
| 199 | +```markdown |
| 200 | +## SEO/GEO Optimization Report |
| 201 | + |
| 202 | +### Current Status |
| 203 | +- Meta Tags: ✅/❌ |
| 204 | +- Schema Markup: ✅/❌ |
| 205 | +- AI Bot Access: ✅/❌ |
| 206 | +- Mobile Friendly: ✅/❌ |
| 207 | +- Page Speed: X seconds |
| 208 | + |
| 209 | +### Recommendations |
| 210 | +1. [Priority 1 action] |
| 211 | +2. [Priority 2 action] |
| 212 | +3. [Priority 3 action] |
| 213 | + |
| 214 | +### GEO Optimizations Applied |
| 215 | +- [ ] FAQPage schema added |
| 216 | +- [ ] Statistics included |
| 217 | +- [ ] Citations added |
| 218 | +- [ ] Answer-first structure |
| 219 | +``` |
| 220 | + |
| 221 | +## Platform-Specific Optimization |
| 222 | + |
| 223 | +See [references/platform-algorithms.md](./references/platform-algorithms.md) for detailed ranking factors. |
| 224 | + |
| 225 | +### ChatGPT |
| 226 | +- Focus on **branded domain authority** (cited 11% more than third-party) |
| 227 | +- Update content within **30 days** (3.2x more citations) |
| 228 | +- Build **backlinks** (>350K referring domains = 8.4 avg citations) |
| 229 | +- Match content style to ChatGPT's response format |
| 230 | + |
| 231 | +### Perplexity |
| 232 | +- Allow **PerplexityBot** in robots.txt |
| 233 | +- Use **FAQ Schema** (higher citation rate) |
| 234 | +- Host **PDF documents** (prioritized for citation) |
| 235 | +- Focus on **semantic relevance** over keywords |
| 236 | + |
| 237 | +### Google AI Overview (SGE) |
| 238 | +- Optimize for **E-E-A-T** (Experience, Expertise, Authority, Trust) |
| 239 | +- Use **structured data** (Schema markup) |
| 240 | +- Build **topical authority** (content clusters + internal linking) |
| 241 | +- Include **authoritative citations** (+132% visibility) |
| 242 | + |
| 243 | +### Microsoft Copilot / Bing |
| 244 | +- Ensure **Bing indexing** (required for citation) |
| 245 | +- Optimize for **Microsoft ecosystem** (LinkedIn, GitHub mentions help) |
| 246 | +- Page speed **< 2 seconds** |
| 247 | +- Clear **entity definitions** |
| 248 | + |
| 249 | +### Claude AI |
| 250 | +- Ensure **Brave Search indexing** (Claude uses Brave, not Google) |
| 251 | +- High **factual density** (data-rich content preferred) |
| 252 | +- Clear **structural clarity** (easy to extract) |
| 253 | + |
| 254 | +## Skill Dependencies |
| 255 | + |
| 256 | +This skill works best with: |
| 257 | +- **twitter skill** - Search SEO experts for latest tips |
| 258 | +- **reddit skill** - Search r/SEO, r/bigseo for discussions |
| 259 | +- **WebSearch** - Keyword research and competitor analysis |
| 260 | + |
| 261 | +## References |
| 262 | + |
| 263 | +- [references/platform-algorithms.md](./references/platform-algorithms.md) - Detailed ranking factors for each platform |
| 264 | +- [references/geo-research.md](./references/geo-research.md) - Princeton GEO research (9 methods) |
| 265 | +- [references/schema-templates.md](./references/schema-templates.md) - JSON-LD templates |
| 266 | +- [references/seo-checklist.md](./references/seo-checklist.md) - Complete SEO audit checklist |
| 267 | +- [references/tools-and-apis.md](./references/tools-and-apis.md) - Tools and API reference |
| 268 | +- [examples/opc-skills-case-study.md](./examples/opc-skills-case-study.md) - Real-world optimization example |
0 commit comments