ai-seo

ai-seo is a skill for Claude Code from coreyhaines31/marketingskills. It costs 253 tokens per session (8,127 once invoked), scanned A, original, MIT.

A guide for making content easier for AI search systems such as Google AI Overviews, ChatGPT, Perplexity, Claude, Gemini, and Copilot to find, use, and cite. This practice is often called AI search optimization.

In plain words
What is it for?
Use it to review AI visibility, target important questions, improve blog posts, documentation, comparisons, and product pages, and work on structured data.
Why use it?
It addresses the problem of content being absent from AI-generated answers even when people ask questions related to it. It helps assess current visibility and improve the content and structured data used by search systems.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument; mentions Claude Code; mentions AGENTS.md.

Part of the marketing-skills plugin — 53 skills shipped together

Good fit Use it to review AI visibility, target important questions, improve blog posts, documentation, comparisons, and product pages, and work on structured data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/coreyhaines31/marketingskills/ai-seo
About the project

Marketing Skills is a collection of skills for AI coding agents that assist with conversion optimization, copywriting, SEO, analytics, and growth engineering. Technical marketers and founders use it to apply agents to marketing work in tools such as Claude Code, OpenAI Codex, Cursor, and Windsurf. The catalogue entries are the project's own marketing skills and instructions.

coreyhaines31/marketingskills · 58,740 stars · on GitHub · marketing-skills.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add coreyhaines31/marketingskills --skill ai-seo
Clone the repo
git clone --depth 1 https://github.com/coreyhaines31/marketingskills

Made for: Claude Code.

Or install marketing-skills, the plugin that ships this one along with the rest of its 53 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ai-seo

README.md
[![agentmods](https://agentmods.dev/badge/skills/coreyhaines31/marketingskills/ai-seo/github.svg)](https://agentmods.dev/skills/coreyhaines31/marketingskills/ai-seo)
Your own site
<a href="https://agentmods.dev/skills/coreyhaines31/marketingskills/ai-seo"><img src="https://agentmods.dev/badge/skills/coreyhaines31/marketingskills/ai-seo/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ai-seo

Your own site · 80×15
<a href="https://agentmods.dev/skills/coreyhaines31/marketingskills/ai-seo"><img src="https://agentmods.dev/badge/skills/coreyhaines31/marketingskills/ai-seo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 253 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,127 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 29 Oct 2026
  • Snyk pass 29 Oct 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 278
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00253 $0.08127
Opus 5.5 $0.00101 $0.03251
Sonnet 5.5 $0.00051 $0.01625
Haiku 4.5 $0.00025 $0.00813

Measured 7d ago against content hash 8e5532f13d06, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ai-seo scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

8 near-identical copies found in the catalogue:

  • ai-seo — 100% identical, 156 lines differ
  • ai-seo — 88% identical, 165 lines differ
  • ai-seo — 88% identical, 165 lines differ
  • ai-seo — 84% identical, 158 lines differ
  • ai-seo — 84% identical, 162 lines differ
  • ai-seo — 84% identical, 173 lines differ
  • ai-seo — 84% identical, 10 lines differ
  • ai-seo — 84% identical, 162 lines differ
skills/ai-seo/SKILL.md · 501 lines

How it starts

The opening of the file, as written. The whole thing — 501 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AI SEO

You are an expert in AI search optimization — the practice of making content discoverable, extractable, and citable by AI systems including Google AI Overviews, ChatGPT, Perplexity, Claude, Gemini, and Copilot. Your goal is to help users get their content cited as a source in AI-generated answers.

Reference Routing

Start with this skill's core workflow. Open a reference when the user's question needs that detail; read additional references only when their topics are relevant.

User questions Local reference
Why can an agent not read our site? Are bot access, discovery files, or HTML blocking it? Can an agent sign up or check out for the user, through WebMCP or a skill file for our product? Agent readiness
AI barely shows up in referrals. How do we measure delayed visits, branded search, and pipeline from AI answers? AI attribution
Is AI saying something wrong about our price, features, or limits? How do we find and fix the source? Answer accuracy
Which vendor does Claude Code or Cursor pick when a user says "deploy this"? How do we become the tool an agent installs mid-task? Agent defaults
Why are we cited but absent from the shortlist? Can our own buyer's guide help competitors? How should we measure recommendations? Citations vs. recommendations
How should we structure a definition, comparison, or FAQ? What makes an answer block useful on its own? Content patterns
How does the approach differ for product pages, docs, local businesses, or ecommerce? Which content type should we improve? Content types
Did an engine change which page formats it cites? Should we still invest in listicles or comparison pages? How do we separate a shift from noisy measurements? Format volatility
Should we publish LinkedIn posts, articles, or company-page content? What makes that content discoverable and citable? LinkedIn citations
How do we run AEO in other languages and countries? Is ChatGPT Shopping worth it for our product? Multilingual and commerce
What belongs in an OKF bundle? Is it an established AI-search requirement or an emerging experiment? Open Knowledge Format
Which prompts should we track, how often, which topics are we losing, and how do we test multi-turn buying conversations? Prompt portfolio
Where should we start for a particular AI engine? Which search and training crawlers should we distinguish? Platform ranking factors
Why does AI describe our positioning incorrectly? How can third-party consensus reinforce a specific use case? Positioning and consensus
How should a video's title, captions, chapters, or description support citations? What should we check before publishing? YouTube citations

Read the full file on GitHub · 501 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed 8e5532f13d06
  2. 10d ago Changed 01de1dc92839
  3. 18d ago Changed · +1 lines 1293062b48ce
  4. 22d ago Changed 8db51a80d71f
  5. 23d ago Changed · +1 lines 9d45b6d4d639
  6. 29d ago Changed · +11 lines 97424245fab1
  7. 1mo ago Changed · +1 lines fec6de3d2b3f
  8. 1mo ago Changed 5031aca0c1b8
  9. 1mo ago Changed · -2 lines · +17 tokens per session a4a7d43a0285
  10. 1mo ago First seen · 489 lines · 236 tokens per session scan A b1ecd93ebc65

Subscribe to this mod's changes

ai-seo is a skill published in the GitHub repository coreyhaines31/marketingskills (58,740 stars, last pushed 2d ago), licensed MIT. It adds 253 tokens to every session and 8,127 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ai-seo compared with skills from other repositories

ai-seo next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-seocoreyhaines31/marketingskillsSkill59k2d agoMITA253Claude Code
marketing-skillsh3rb3rn/moe-sovereignSkill111mo agoApache-2.0A66Claude Code, Codex
marketing-skillsferdinandruthben12-dotcom/535-skillsSkill22mo agononeA66Claude Code
marketing-skillsartubss/SKILLS-CLAUDE-CODESkill115mo agononeA55Claude Code, Codex
magazine-web-pptnexu-io/open-designSkill106ktodayApache-2.0A67Claude Code, Codex
html-ppt-zhangzara-coralnexu-io/open-designSkill106ktodayApache-2.0A55Claude Code, Codex
product-launchgenspark-ai/genofficeSkill12kyesterdayApache-2.0A27Claude Code, Codex