seo

Programmatic SEO Spy

Reverse-engineer how competitors do programmatic SEO. Detects URL pattern clusters (vs/, integrations/, for-{industry}/), estimates page count per pattern, analyzes template quality, infers which patterns actually drive traffic, and identifies gaps you can exploit. Outputs a competitive pSEO landscape report.

Gooseby Athina AI
Install
Terminal
npx gooseworks install --all

# then, in Claude Code, Cursor, or Codex:
/gooseworks use the programmatic-seo-spy skill
About This Skill

Programmatic SEO Competitor Spy

Before building your own programmatic SEO pages, know what your competitors are already doing. This skill crawls competitor sitemaps, detects which URL patterns are programmatic, estimates which ones actually drive traffic, assesses template quality, and finds the gaps they're missing.

Core principle: The best pSEO strategy starts with competitive intelligence. If 3 competitors have /vs/ pages and none have /for-{industry}/ pages, that's a signal. This skill turns competitor site structures into strategic intelligence.

When to Use

  • "What programmatic SEO are competitors doing?"
  • "Reverse-engineer competitor SEO pages"
  • "Which pSEO patterns actually work in our space?"
  • "Find pSEO gaps our competitors are missing"
  • "Analyze competitor URL structure for SEO patterns"

Tool Enhancement (Optional)

This skill works with existing capabilities but is dramatically better with domain analytics data that shows actual traffic per URL pattern.

Agent Prompt to User

"I can analyze competitor site structures with our existing crawling tools. For the most accurate results — especially knowing which patterns actually drive traffic vs. just existing — I'd recommend connecting a domain analytics API."

Recommended: DataForSEO (pay-per-use, ~$0.02-0.05 per domain analysis)

  • Sign up at dataforseo.com → get API login + password
  • Set DATAFORSEO_LOGIN and DATAFORSEO_PASSWORD env vars

Alternatives that also work:

  • SEMrush API (if you have a subscription) → set SEMRUSH_API_KEY
  • Ahrefs API (if you have a subscription) → set AHREFS_API_TOKEN
  • SimilarWeb API (if you have access) → set SIMILARWEB_API_KEY

"Want to use one of these, or should I proceed with baseline mode? Baseline will detect patterns and assess template quality, but traffic estimates will be inferred rather than measured."

Mode Selection

  • Enhanced mode — Domain analytics API provides organic keywords and estimated traffic per URL. Enables confident "this pattern drives X traffic" conclusions. Can show which specific pages within a pattern rank well.
  • Baseline mode — Uses site-content-catalog for URL crawling, seo-domain-analyzer for domain-level metrics, web_search for spot-checking rankings. Pattern detection is equally good. Traffic attribution is directional, based on page count × domain authority × keyword indicators.

Phase 0: Intake

  1. Competitors — 1-5 competitor URLs to analyze
  2. Your product URL — So we can compare coverage
  3. Category — What market/category are these competitors in?
  4. Specific interest? — Looking for anything specific (vs/ pages, integrations, etc.) or full analysis?
  5. Tool preference — Enhanced mode with domain analytics API, or baseline? (see Tool Enhancement above)

Phase 1: Sitemap Crawl

For each competitor, run site-content-catalog:

python3 skills/site-content-catalog/scripts/catalog_content.py \
  --url "<competitor_url>" \
  --output json

Collect:

  • All URLs from sitemap and internal crawl
  • Page titles
  • URL structure/hierarchy
  • Last modified dates (if available)

Phase 2: Pattern Detection

2A: URL Clustering

Group URLs by structural patterns using regex matching:

Pattern RegexExample URLsCategory
/vs/.* or /compare/.*/vs/competitor-a, /vs/competitor-bComparison
/integrations?/.*/integrations/slack, /integrations/hubspotIntegration
/for-.* or /solutions/.*/for-startups, /for-enterpriseVertical
/use-cases?/.*/use-cases/project-managementUse case
/alternatives?(-to)?/.*/alternatives/competitor-aAlternatives
/templates?/.* or /examples?/.*/templates/invoice, /templates/proposalTemplates
/glossary/.* or /what-is/.*/glossary/term-a, /what-is/crmGlossary
/tools?/.* or `/calculat(ore)/.*`/tools/roi-calculator
/blog/.* (exclude from pSEO)/blog/how-to-xEditorial (not pSEO)

For each detected pattern:

  • Page count — How many pages follow this pattern?
  • Data axis — What varies per page? (competitor name, tool name, industry, etc.)
  • URL consistency — Are URLs cleanly structured or messy?
  • Coverage completeness — Have they covered the obvious variations?

2B: Programmatic vs. Editorial Classification

Not every URL pattern is programmatic. Classify each cluster:

  • Programmatic — Clearly templated: consistent URL structure, similar page titles following a pattern, high page count, structured content
  • Semi-programmatic — Template with heavy manual customization
  • Editorial — Individually written, no template pattern
  • Auto-generated — Thin/low-quality programmatic (tag pages, archive pages)

Focus analysis on Programmatic and Semi-programmatic clusters only.

Phase 3: Traffic & Performance Analysis

Enhanced Mode (DataForSEO / SEMrush / Ahrefs)

For each competitor domain, pull organic keywords data:

# DataForSEO example
POST /v3/dataforseo_labs/google/ranked_keywords/live
{
  "target": "competitor.com",
  "filters": [
    ["ranked_serp_element.serp_item.url", "contains", "/vs/"]
  ]
}

Per pattern cluster:

  • Total ranking keywords across all pages in the pattern
  • Estimated monthly organic traffic to the pattern
  • Average ranking position for pages in this pattern
  • Top-performing pages within the pattern (which variations rank best?)
  • Keyword difficulty distribution (are they targeting easy or hard keywords?)

Baseline Mode

Estimate traffic indicators:

  • Run seo-domain-analyzer for overall domain metrics
  • Spot-check 3-5 pages per pattern via web_search — do they appear in top 10?
  • Check if pages are indexed (site:competitor.com/vs/)
  • Infer relative traffic: pattern page count × indexation rate × domain authority proxy
  • Note: these are directional estimates, not exact numbers

Phase 4: Template Quality Assessment

For each programmatic pattern, fetch 3-5 sample pages via fetch_webpage:

# Pick pages from the pattern — one high-variation, one low-variation, one middle

Evaluate template quality on:

DimensionScore 1-5What to Look For
Content depthWord count, sections, detail level
Unique value per pageDoes each page offer something you can't get from the template alone?
Data richnessTables, comparisons, stats, screenshots
Freshness signalsUpdated dates, current pricing, recent reviews
Internal linkingLinks to related pages, hub structure
CTA integrationContextual CTAs vs. generic banners
Schema markupStructured data, FAQ schema, review schema

Quality tiers:

  • 4-5 avg: Well-executed pSEO — hard to beat without significant differentiation
  • 3-4 avg: Decent but improvable — opportunity to out-template them
  • 1-3 avg: Thin/low-quality — easy to dominate with better content

Phase 5: Gap Analysis

5A: Pattern Coverage Matrix

Pattern TypeCompetitor ACompetitor BCompetitor CYouGap?
vs/ comparisons25 pages ★★★★10 pages ★★★00✓ A leads
integrations/40 pages ★★★60 pages ★★★★20 pages ★★0✓ B leads
for-{industry}/008 pages ★★0✓ Wide open
alternatives/5 pages ★★★000✓ Lightly competed
glossary/100 pages ★★050 pages ★★★0⚠️ Volume play

5B: Variation Gaps

Within each pattern competitors use, find missing variations:

  • Competitors they haven't written vs/ pages for
  • Integrations they support but haven't built pages for
  • Industries they serve but haven't targeted
  • These are your quick-win entries

5C: Pattern White Space

Entire pattern types no competitor has built:

  • Highest opportunity — no one to outrank, first-mover advantage
  • Validate search demand exists (Phase 1D of programmatic-seo-planner)

5D: Quality Gaps

Patterns where competitors have pages but they're low quality:

  • Thin content (< 500 words, no unique data)
  • Outdated (old screenshots, wrong pricing)
  • Missing schema markup
  • No visual differentiation between pages
  • These are "out-template" opportunities

Phase 6: Output

# Programmatic SEO Competitive Landscape — [Category] — [DATE]
 
## Competitors Analyzed
- [Competitor A] — [domain metrics, total pages crawled]
- [Competitor B] — [domain metrics, total pages crawled]
- [Competitor C] — [domain metrics, total pages crawled]
 
## Executive Summary
- [N] programmatic patterns detected across [M] competitors
- Strongest competitor pSEO: [Competitor X] with [pattern] ([N] pages, [quality])
- Biggest opportunity: [pattern type] — [reasoning]
- Quick wins: [N] variation gaps in existing competitor patterns
 
---
 
## Pattern-by-Pattern Analysis
 
### Pattern: [vs/ Comparisons]
**Who's doing it:** [Competitor A (25 pages, ★★★★), Competitor B (10 pages, ★★★)]
**Traffic estimate:** [X monthly visits across pattern] (enhanced) / [directional estimate] (baseline)
**Template quality:** [summary of strengths/weaknesses]
**Top-performing pages:** [specific pages that rank well]
**Variation gaps:** [competitors/variations they're missing]
**Your opportunity:** [specific recommendation]
 
### Pattern: [integrations/]
...
 
---
 
## Opportunity Ranking
 
| Priority | Pattern | Opportunity Type | Effort | Expected Impact |
|----------|---------|-----------------|--------|----------------|
| P0 | [pattern] | White space — no competitors | Medium | High |
| P0 | [pattern] | Quality gap — beat weak templates | Low | Medium |
| P1 | [pattern] | Variation gap — fill missing pages | Low | Medium |
| P2 | [pattern] | Head-to-head — outrank strong competitor | High | High |
 
---
 
## Recommended Action Plan
 
1. **Immediate (Week 1-2):** Build [pattern] — [rationale]
2. **Short-term (Month 1):** Build [pattern] — [rationale]
3. **Medium-term (Month 2-3):** Build [pattern] — [rationale]
 
---
 
## Raw Data
[Link to crawl data, pattern clusters, sample pages analyzed]

Save to the current working directory or wherever the user prefers.

Cost

ComponentCost
Site catalog per competitor (Apify)~$0.05-0.10
SEO domain analyzer per competitor~$0.10-0.20
Page fetches (3-5 per pattern × N patterns)~$0.01-0.05
DataForSEO domain analytics (enhanced)~$0.10-0.50 per competitor
AnalysisFree (LLM reasoning)
Total (baseline, 3 competitors)~$0.50-1.00
Total (enhanced, 3 competitors)~$0.80-2.00

Tools Required

  • Apify API tokenAPIFY_API_TOKEN env var
  • Upstream skills: site-content-catalog, seo-domain-analyzer, fetch_webpage
  • Optional (enhanced): DataForSEO (DATAFORSEO_LOGIN + DATAFORSEO_PASSWORD), SEMrush (SEMRUSH_API_KEY), Ahrefs (AHREFS_API_TOKEN), or SimilarWeb (SIMILARWEB_API_KEY)

Trigger Phrases

  • "What pSEO are competitors doing?"
  • "Reverse-engineer competitor programmatic pages"
  • "Analyze competitor URL structure"
  • "Find pSEO gaps in our space"
  • "What comparison pages do competitors have?"

What's included

·
"What programmatic SEO are competitors doing?"
·
"Reverse-engineer competitor SEO pages"
·
"Which pSEO patterns actually work in our space?"
·
"Find pSEO gaps our competitors are missing"
·
"Analyze competitor URL structure for SEO patterns"
You Might Also Like

Render VO Anchored Motion Listicle

Assemble an expert/educator motion-graphic LISTICLE video ad from a config — a spoken authoritative voiceover carries a numbered listicle while N web-animated hyperframe beats (HTML plus the Web Animations API, one branded design system of alternating tiles, big hero numerals, and glass-pill callouts) are rendered frame-by-frame via Playwright and anchored to the VO's word-level timestamps, periodic color-graded B-roll windows give visual breath, and captions burn ONLY inside those B-roll windows (2-word chunks, ASS Format header carrying a Name field so none drop) with the VO mixed under a low music bed. This is the FREE deterministic assembly stage (Playwright beat render plus ffmpeg concat plus window-masked caption burn plus VO-and-music mix plus final composite) — the VO, the music bed, and the stock B-roll come from create-vo-elevenlabs, create-music-elevenlabs, and media-proxy. Use for the vo-anchored-motion-listicle format.

Render Stopmotion Hand Swatch Cycle

Assemble a stop-motion hand-swatch-cycle product-demo ad from a config — a sequence of still PLATES (one hand swiping a single-barrel cosmetic across a cream skin-patch, the barrel + swatch changing per plate while the hand, background, crop, and lighting stay locked) is PNG→mp4 loop-encoded at each plate's own stop-motion hold (fast motion frames 150–250ms, per-shade ~380ms, hero beats 1100–1800ms), concat-demuxed with HARD cuts into a silent master, closed on a Playwright HTML-rendered branded end card (serif tagline + sans subtitle + real logo SVG over a hero BG, never AI-rendered text), and muxed with a pre-sourced music track playing under the end card with a fade tail (no VO). This is the FREE deterministic assembly stage (loop-encode + concat-demux + end-card render + music mux); the master-anchor plate, shade plates, and end-card BG come from create-image-gpt-image-fal and the track from create-music-elevenlabs. Use for the stopmotion-hand-swatch-cycle format.

Render Split Screen Creator

Assemble a split-screen creator ad from a config — a two-zone vertical composite where a supplied AI-creator lip-sync take fills the BOTTOM ~48% while real 16:9 product/demo clips run uncropped in the TOP ~52%, each top clip contain-fit with a darkened blurred cover-scale fill of the same clip (never black bars), a 3px brand-color divider between the zones, the creator slice cover-fit per the per-scene VO timing, scenes hard-concatenated with the body audio being the concatenated creator VO slices, an end card held on the last sharp frame ~3s, then the ASSEMBLED cut transcribed with local Whisper (not the raw VO — concat drops inter-scene silence) and word-level captions burned in the chosen style. This is the FREE deterministic assembly + caption stage (two-zone composite + blurred fill + divider + hard-concat + end card + captions); the VO comes from create-vo-elevenlabs, the anchor from create-image-gpt-image-fal, and the whole-VO lip-sync from a paid VEED Fabric 1.0 take (a no-atom upstream input). Use for the split-screen-creator format.

Newsletter

Learn to build Growth systems with AI

2-3 compounding systems per week using Claude Code, OpenClaw, and more.