ai-seo

ai-seo is a skill for Claude Code from coreyhaines31/marketingskills. It costs 213 tokens per session (6,283 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 AGENTS.md.

Part of the marketing-skills plugin — 50 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 · 49,629 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 50 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 213 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,283 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 20 May 2026
  • Snyk warn 20 May 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.00213 $0.06283
Opus 5 $0.00106 $0.03141
Sonnet 5 $0.00043 $0.01257
Haiku 4.5 $0.00021 $0.00628

Measured 13d ago against content hash b4394dde31fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 13d 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, 0 lines differ
  • ai-seo — 88% identical, 17 lines differ
  • ai-seo — 88% identical, 17 lines differ
  • ai-seo — 84% identical, 14 lines differ
  • ai-seo — 84% identical, 25 lines differ
  • ai-seo — 84% identical, 14 lines differ
  • ai-seo — 84% identical, 2 lines differ
  • ai-seo — 83% identical, 31 lines differ
skills/ai-seo/SKILL.md · 497 lines

How it starts

The opening of the file, as written. The whole thing — 497 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.

Before Starting

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.

Gather this context (ask if not provided):

1. Current AI Visibility

  • Do you know if your brand appears in AI-generated answers today?
  • Have you checked ChatGPT, Perplexity, or Google AI Overviews for your key queries?
  • What queries matter most to your business?

2. Content & Domain

  • What type of content do you produce? (Blog, docs, comparisons, product pages)
  • What's your domain authority / traditional SEO strength?
  • Do you have existing structured data (schema markup)?

3. Goals

  • Get cited as a source in AI answers?
  • Appear in Google AI Overviews for specific queries?
  • Compete with specific brands already getting cited?
  • Optimize existing content or create new AI-optimized content?

4. Competitive Landscape

  • Who are your top competitors in AI search results?
  • Are they being cited where you're not?

How AI Search Works

The AI Search Landscape

Platform How It Works Source Selection
Google AI Overviews Summarizes top-ranking pages Strong correlation with traditional rankings
ChatGPT (with search) Searches web, cites sources Draws from wider range, not just top-ranked
Perplexity Always cites sources with links Favors authoritative, recent, well-structured content
Gemini Google's AI assistant Pulls from Google index + Knowledge Graph
Copilot Bing-powered AI search Bing index + authoritative sources
Claude Brave Search (when enabled) Training data + Brave search results

Read the full file on GitHub · 497 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 13d ago First seen · 497 lines · 213 tokens per session scan A b4394dde31fb

Subscribe to this mod's changes

ai-seo is a skill published in the GitHub repository coreyhaines31/marketingskills (49,629 stars, last pushed 7d ago), licensed MIT. It adds 213 tokens to every session and 6,283 once invoked, about $0.0011 per session on Opus 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

Other skills, from other repositories

magazine-web-ppt

For marketing and gtm work: bind launches, campaigns, events, and brand plans to growth and pipeline outcomes. Built around the core query "annual-marketing-plan", with GTM strategy lead judgment, buyer-ready proof, and this outcome: approve launch plan, campaign budget, or GTM motion.

nexu-io/open-design · 67 tokens

html-ppt-zhangzara-coral

OpenDesign's community-growth campaign across GitHub, Discord, and X: the loops, the content calendar, and the pipeline math. Built as a decision-grade marketing & GTM deck for growth team, community lead.

nexu-io/open-design · 55 tokens

press-media-relations

Use when the user asks to "build a media list for my launch", "write a launch press release", or "pitch press under embargo"; produces a three-tier media and analyst list (Tier 1 exclusive candidates, Tier 2 vertical press, Tier 3 communities and newsletters), an embargo pitch timing skeleton keyed to the…

aaron-he-zhu/aaron-marketing-skills · 150 tokens

launch-monitor

Use when the user asks to "monitor my launch", "track our Product Hunt / Hacker News ranking", or "watch the launch window"; runs the T-0 to T+30 window watch — pre-launch instrumentation verification (UTM/event checks, the upstream of RAMP P1), HN rank/points/comments polling with a comments-over-points flamewar…

aaron-he-zhu/aaron-marketing-skills · 183 tokens

launch-tier-planner

Use when the user asks to "plan my launch tier", "how big should this launch be", or "build a launch risk register with kill criteria"; produces a tier decision (Tier 1 flagship all-channel / Tier 2 targeted / Tier 3 changelog-level), a launch-type declaration (new-product / feature / relaunch / partnership with…

aaron-he-zhu/aaron-marketing-skills · 181 tokens

story-bank-builder

Use when the user asks to "build a story bank", "collect our origin and customer stories", or "assemble reusable proof stories for the message"; assembles reusable narrative units — origin, founder, customer, transformation, and proof stories — each tagged to a claims-ledger ID and a message-house pillar, with every…

aaron-he-zhu/aaron-marketing-skills · 157 tokens