Agent Skill
Programmatic SEO (Corey Haines)
Plans sets of SEO pages built from a template plus data, such as locations, integrations or comparisons, and checks each page earns its place.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkInstall
Commands are pinned to commit 73573e9, the version we read, wherever the install method supports it.
npx skills
npx skills add coreyhaines31/marketingskills@73573e94a06a39965978b3fa1f9c1eace8cebc7c --skill programmatic-seo -a claude-codeCopies the skill into .claude/skills/ in this project, pinned to the reviewed commit.
Plugin marketplace
/plugin marketplace add coreyhaines31/marketingskills
/plugin install marketing-skills@marketingskillsRun inside Claude Code. Installs the whole marketing-skills plugin from its default branch, not the pinned commit.
Upload
git clone https://github.com/coreyhaines31/marketingskills.git
cd marketingskills/skills && git checkout 73573e94a06a39965978b3fa1f9c1eace8cebc7c
zip -r ~/programmatic-seo.zip programmatic-seoThen in Claude open Customize > Skills, choose + > Upload a skill and pick the zip. Code execution must be enabled in Settings > Capabilities.
npx skills
npx skills add coreyhaines31/marketingskills@73573e94a06a39965978b3fa1f9c1eace8cebc7c --skill programmatic-seo -a codexInstalls to .agents/skills/, which Codex scans from the working directory up to the repo root.
npx skills
npx skills add coreyhaines31/marketingskills@73573e94a06a39965978b3fa1f9c1eace8cebc7c --skill programmatic-seo -a cursorInstalls to .agents/skills/, one of the folders Cursor reads skills from.
gh skill
gh skill install coreyhaines31/marketingskills skills/programmatic-seo --pin 73573e94a06a39965978b3fa1f9c1eace8cebc7c --agent github-copilotNeeds GitHub CLI 2.90.0 or later. Use --scope user to install for every repository.
npx skills
npx skills add coreyhaines31/marketingskills@73573e94a06a39965978b3fa1f9c1eace8cebc7c --skill programmatic-seoPinned to the commit we reviewed. The CLI asks which agents to install for; add -g to install for your user instead of this project.
What it does
Plans page sets built from a template and a dataset: “[tool] integrations”, “[service] in [city]”, “[product] vs [competitor]”, directories and glossaries. The agent starts from the keyword pattern and the data you actually have, then designs a template where each page answers a real search with something unique, not just a swapped noun. The skill lists twelve playbooks, how to choose between them, URL structure, internal linking, indexation strategy and build platforms. Its core principles are the useful part: unique value per page, proprietary data beats public data, match the search intent, and avoid thin or doorway pages that search engines penalise. The output is a strategy document and a page template.
When to use it
You have structured data (integrations, locations, templates, comparisons) and suspect there is search demand for each item, or you already published a page set and want to know whether it looks thin.
When to skip it
When you have no data of your own. Pages generated from public data that a dozen sites already show rarely rank and can drag the rest of the site down. The skill says as much; take it seriously. For a single page, use CRO or copywriting.
Quality risks to plan for
Near-duplicate pages, templates with one sentence that changes, and pages for combinations nobody searches. Ask the agent to show three sample pages filled with real data before you build hundreds, and plan which ones get noindex until they earn traffic.
Try it
We have 140 integrations with usage data per integration. Plan a programmatic
page set for "[integration] + our product" searches. Show the template, three
filled examples from data/integrations.csv, and which pages should not exist.
What it can touch
- Bundles scripts
- No
- Pre-approved tools
- None declared
- Needs
- Nothing beyond the agent
- Client-specific fields
- None, spec fields only
Its instructions steer what your agent does, and it may have changed since the commit we read. How to check a skill.
Instructions, two reference files and test prompts in evals/. It reads data you point it at. No scripts, no allowed-tools.
At commit 73573e9 the SKILL.md is 242 lines long. Alongside it:
evals/(1 entry)references/(2 entries)
SKILL.md
The file exactly as published at the reviewed commit, reproduced under its MIT licence.
---
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?
2. **Opportunity Assessment**
- What search patterns exist?
- How many potential pages?
- What's the search volume distribution?
3. **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)
| Playbook | Pattern | Example |
|----------|---------|---------|
| 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" |
| Translations | Content in multiple languages | Localized 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 data | Directories, Profiles |
| Product with integrations | Integrations |
| Design/creative product | Templates, Examples |
| Multi-segment audience | Personas |
| Local presence | Locations |
| Tool or utility product | Conversions |
| Content/expertise | Glossary, Curation |
| Competitor landscape | Comparisons |
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?
---
## Related Skills
- **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 frameworksRelated skills
SEO audit
Diagnoses SEO problems such as traffic drops, indexing gaps, canonical and hreflang mistakes, Core Web Vitals and on-page issues, in priority order.
AI search visibility (AI SEO)
Helps a site get cited and recommended in AI answers from ChatGPT, Perplexity and AI Overviews: visibility audit, citation patterns and bot access.
CRO: conversion rate optimisation (Corey Haines)
Corey Haines' skill that reviews one landing, pricing or feature page or a form for conversion problems and returns quick wins, bigger changes and test ideas.