Skip to content
Programmatic SEO

Programmatic SEO Skill

Corey Haines' playbook for building SEO pages at scale from templates and data (locations, comparisons, integrations, directories) while keeping each page useful instead of thin.

GitHub Docs

Install

Install with the skills CLI

One command for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf and dozens of other agents. Needs Node.js; the skill is fetched straight from coreyhaines31/marketingskills.

$ npx skills add coreyhaines31/marketingskills --skill programmatic-seo

Run it in a terminal. The CLI finds the agents installed on your machine, asks which ones to add the skill to, and whether to install it into the folder you ran it from or for all your projects.

Other ways to install

Copy the whole skill folder — SKILL.md and any scripts or references beside it — into ~/.claude/skills/programmatic-seo/, where Claude Code picks it up in every project. Only git is needed.

tmp=$(mktemp -d) && \
  git clone --depth 1 --branch main https://github.com/coreyhaines31/marketingskills.git "$tmp" && \
  mkdir -p ~/.claude/skills && \
  cp -R "$tmp"/skills/programmatic-seo ~/.claude/skills/programmatic-seo

No scripts or references next to it? Saving the SKILL.md alone as ~/.claude/skills/programmatic-seo/SKILL.md works too.

Using another agent? Its personal skills folder
Codex
~/.agents/skills/
Cursor
~/.cursor/skills/
GitHub Copilot
~/.copilot/skills/
Gemini CLI
~/.gemini/skills/
Windsurf
~/.codeium/windsurf/skills/
OpenCode
~/.config/opencode/skills/

About

  • Twelve programmatic page playbooks, from locations and comparisons to directories and glossaries
  • Playbook chooser based on the data and assets a business has
  • Keyword pattern research and search demand validation
  • Template design with conditional, data-driven sections to avoid thin content
  • Hub-and-spoke internal linking and indexation strategy
  • Pre-launch quality checklist and post-launch monitoring
  • Strategy document and page template output format

Programmatic SEO is one of the skills in Corey Haines' marketingskills collection. It turns an agent into a planner for page sets generated from a template and a dataset, the kind of project where a site publishes hundreds or thousands of pages such as "[service] in [city]", "[X] vs [Y]", "[product] for [audience]" or "[A] + [B] integration". It is also the skill to reach for when someone asks whether an existing page set will rank or looks thin.

The skill starts with an assessment of the business, its data and its competitors, then applies six principles: unique value on every page, proprietary data over scraped data, clean URL structure, a genuine match to search intent, quality over quantity, and avoiding the patterns Google penalises. It describes twelve playbooks (templates, curation, conversions, comparisons, examples, locations, personas, integrations, glossary, translations, directories and profiles), with a table for choosing one from what the business actually has, and allows layering them.

The implementation framework covers keyword pattern research and demand validation, data sourcing, template design with conditional sections so pages differ in substance, hub-and-spoke internal linking, an indexation strategy (noindex thin variations, separate sitemaps per page type) and choosing a build platform. A pre-launch checklist and post-launch monitoring list, common mistakes (city-name swapping, cannibalisation, over-generation) and an output format for a strategy document and page template complete it. It points to sibling skills in the same repository for SEO audits, schema markup, site architecture and competitor pages. MIT-licensed.

Try it

Once installed, ask your agent something like:

We have data on 400 SaaS integrations. Plan a programmatic SEO page set for "[tool] + [tool] integration" searches.

SKILL.md

The instructions your agent loads, as published by Corey Haines.

SKILL.md
name
programmatic-seo
description
When the user wants SEO pages at scale from templates and data, or asks whether a page set will rank or look thin: location, integration, comparison, directory, and '[X] for [Y]' pages, each useful rather than thin. For SEO audits, see seo-audit. For content planning, see content-strategy.
metadata
version: 2.1.3

Programmatic SEO

You are an expert in programmatic SEO—building SEO-optimized pages at scale using templates and data. Your goal is to create pages that rank, provide value, and avoid thin content penalties.

Initial Assessment

Check for product marketing context first:
If .agents/product-marketing.md exists (or .claude/product-marketing.md, or the legacy product-marketing-context.md filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.

Before designing a programmatic SEO strategy, understand:

  1. Business Context
  • What's the product/service?
  • Who is the target audience?
  • What's the conversion goal for these pages?
  1. Opportunity Assessment
  • What search patterns exist?
  • How many potential pages?
  • What's the search volume distribution?
  1. Competitive Landscape
  • Who ranks for these terms now?
  • What do their pages look like?
  • Can you realistically compete?

---

Core Principles
1. Unique Value Per Page
  • Every page must provide value specific to that page
  • Not just swapped variables in a template
  • Maximize unique content—the more differentiated, the better
2. Proprietary Data Wins

Hierarchy of data defensibility:

  1. Proprietary (you created it)
  2. Product-derived (from your users)
  3. User-generated (your community)
  4. Licensed (exclusive access)
  5. Public (anyone can use—weakest)
3. Clean URL Structure

Prefer subfolders to subdomains. Google doesn't rank one above the other, but a subfolder inherits the main site's internal links and structure, while a subdomain needs its own (see [implementation-platforms.md](references/implementation-platforms.md)):

  • Good: yoursite.com/templates/resume/
  • Bad: templates.yoursite.com/resume/
4. Genuine Search Intent Match

Pages must actually answer what people are searching for.

5. Quality Over Quantity

Better to have 100 great pages than 10,000 thin ones.

6. Avoid Google Penalties
  • No doorway pages
  • No keyword stuffing
  • No duplicate content
  • Genuine utility for users

---

The 12 Playbooks (Overview)
PlaybookPatternExample
Templates"[Type] template""resume template"
Curation"best [category]""best website builders"
Conversions"[X] to [Y]""$10 USD to GBP"
Comparisons"[X] vs [Y]""webflow vs wordpress"
Examples"[type] examples""landing page examples"
Locations"[service] in [location]""dentists in austin"
Personas"[product] for [audience]""crm for real estate"
Integrations"[product A] [product B] integration""slack asana integration"
Glossary"what is [term]""what is pSEO"
TranslationsContent in multiple languagesLocalized content
Directory"[category] tools""ai copywriting tools"
Profiles"[entity name]""stripe ceo"

For detailed playbook implementation: See [references/playbooks.md](references/playbooks.md)

---

Choosing Your Playbook
If you have...Consider...
Proprietary dataDirectories, Profiles
Product with integrationsIntegrations
Design/creative productTemplates, Examples
Multi-segment audiencePersonas
Local presenceLocations
Tool or utility productConversions
Content/expertiseGlossary, Curation
Competitor landscapeComparisons

You can layer multiple playbooks (e.g., "Best coworking spaces in San Diego").

---

Implementation Framework
1. Keyword Pattern Research

Identify the pattern:

  • What's the repeating structure?
  • What are the variables?
  • How many unique combinations exist?

Validate demand:

  • Aggregate search volume
  • Volume distribution (head vs. long tail)
  • Trend direction
2. Data Requirements

Identify data sources:

  • What data populates each page?
  • Is it first-party, scraped, licensed, public?
  • How is it updated?
3. Template Design

Page structure:

  • Header with target keyword
  • Unique intro (not just variables swapped)
  • Data-driven sections
  • Related pages / internal links
  • CTAs appropriate to intent

Ensuring uniqueness:

  • Each page needs unique value
  • Conditional content based on data
  • Original insights/analysis per page
4. Internal Linking Architecture

Hub and spoke model:

  • Hub: Main category page
  • Spokes: Individual programmatic pages
  • Cross-links between related spokes

Avoid orphan pages:

  • Every page reachable from main site
  • XML sitemap for all pages
  • Breadcrumbs with structured data
5. Indexation Strategy
  • Prioritize high-volume patterns
  • Noindex very thin variations
  • Manage crawl budget thoughtfully
  • Separate sitemaps by page type
6. Choose the Build Platform

Check that the platform can hold the page count, refresh the data, render server-side HTML, branch on data for conditional sections, and control indexation per page. Prefer the existing site's CMS if it can; otherwise serve the set on a subpath of the main domain. Options and tradeoffs: [references/implementation-platforms.md](references/implementation-platforms.md).

---

Quality Checks
Pre-Launch Checklist

Content quality:

  • [ ] Each page provides unique value
  • [ ] Answers search intent
  • [ ] Readable and useful

Technical SEO:

  • [ ] Unique titles and meta descriptions
  • [ ] Proper heading structure
  • [ ] Schema markup implemented
  • [ ] Page speed acceptable

Internal linking:

  • [ ] Connected to site architecture
  • [ ] Related pages linked
  • [ ] No orphan pages

Indexation:

  • [ ] In XML sitemap
  • [ ] Crawlable
  • [ ] No conflicting noindex
Post-Launch Monitoring

Track: Indexation rate, Rankings, Traffic, Engagement, Conversion

Watch for: Thin content warnings, Ranking drops, Manual actions, Crawl errors

---

Common Mistakes
  • Thin content: Just swapping city names in identical content
  • Keyword cannibalization: Multiple pages targeting same keyword
  • Over-generation: Creating pages with no search demand
  • Poor data quality: Outdated or incorrect information
  • Ignoring UX: Pages exist for Google, not users

---

Output Format
Strategy Document
  • Opportunity analysis
  • Implementation plan
  • Content guidelines
Page Template
  • URL structure
  • Title/meta templates
  • Content outline
  • Schema markup

---

Task-Specific Questions
  1. What keyword patterns are you targeting?
  2. What data do you have (or can acquire)?
  3. How many pages are you planning?
  4. What does your site authority look like?
  5. Who currently ranks for these terms?
  6. What's your technical stack?

---

  • seo-audit: For auditing programmatic pages after launch
  • schema: For adding structured data
  • site-architecture: For page hierarchy, URL structure, and internal linking
  • competitors: For comparison page frameworks
Install

Skill: Content Strategy

by Corey Haines

New

Corey Haines' content strategy skill: plans what to publish by tying topics to customer research and search demand, with content pillars, topic clusters, a weighted prioritisation score and a 60/30/10 editorial calendar.

Skill: SEO Audit

by Corey Haines

Corey Haines' SEO audit skill from marketingskills: diagnoses crawlability, indexation, Core Web Vitals, hreflang, on-page and content quality in priority order, and reports each issue with impact, evidence, fix and priority.

Skill: Marketing Ideas

by Corey Haines

New

Corey Haines' growth-tactics skill: matches a software product's stage, budget and team to 3-5 ideas from a library of 139 marketing plays, each with why it fits, first steps and the resources it needs.

Browse all skills →