ai-seo
AI SEO
ai-seo is Corey Haines's agent skill for answer engine optimization: the agent audits whether AI assistants cite your site, then restructures content and site files so AI search can extract and cite it.
Install AI SEO
Install the skill with the skills CLI
npx skills add coreyhaines31/marketingskills --skill ai-seoOr, in Claude Code, add the publisher's plugin marketplace
/plugin marketplace add coreyhaines31/marketingskillsThen install all the marketing skills
/plugin install marketing-skillsOr paste this into your coding agent: Install the agent skill ai-seo from github.com/coreyhaines31/marketingskills.
A skill can include scripts that run on your computer, so read its source first.
What AI SEO does
AI SEO is one of Corey Haines's marketing skills, for getting content cited by AI assistants and AI search: Google AI Overviews and AI Mode, ChatGPT, Perplexity, Claude, Gemini and others. It loads for terms such as AEO, GEO, LLM optimization, llms.txt or agent readiness. Like the rest of the set, it first reads your product marketing context file if one exists.
The audit has four steps. The agent tests 10 to 20 of your key queries across platforms and records who gets cited, compares how cited competitors structure their pages, checks whether your content can be extracted as standalone passages, and checks that robots.txt lets AI search crawlers in. The strategy then works on three pillars: structure, authority and presence on the third-party sites AI systems read.
Structure rules include leading each section with a direct answer, short answer passages, headings phrased like real questions, and tables for comparisons. The skill also covers machine-readable files such as llms.txt, schema markup, which content types get cited most, monitoring tools, and a list of things not to do drawn from Google's guidance, such as writing separate content just for AI or blocking the crawlers you want citations from.
When to use AI SEO
- You want to know whether ChatGPT or Perplexity mention your product for the questions buyers ask.
- A competitor gets cited in AI answers and you do not.
- You want pages rewritten so AI search can quote them.
- You are deciding which AI crawlers to allow in robots.txt.
When to pick something else
- Classic ranking problems such as indexing or Core Web Vitals: use seo-audit from the same set.
- Treating its numbers as fixed rules: citation patterns change as AI engines update, so retest its advice on the engines you care about.
Which agents AI SEO works in
Corey Haines documents AI SEO for Claude Code, Codex, Cursor, Windsurf, Any agent that reads SKILL.md files, through the skills CLI. The open skills CLI also installs it into 78 agents, including Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode (we listed it with the CLI on October 1, 2026). See where each agent looks for skills.
AI SEO license
AI SEO is published under MIT.
Related skills for marketing and seo
- Programmatic SEO: programmatic-seo is Corey Haines's agent skill for building SEO pages at scale from templates and data, such as location, comparison or integration pages, without tripping search engine spam policies.
- SEO audit: seo-audit is Corey Haines's agent skill for diagnosing why a site is not ranking: the agent checks crawling, indexing, speed, on-page elements and content quality, then writes a prioritized fix list.