Ai Citation Optimizer
Rewrites existing landing pages, blog posts, and documentation so AI search engines (Google AI Overviews, ChatGPT, Perplexity, Claude, Gemini) cite them. Triggers: an existing page underperforms in AI answers despite ranking well in classic SERPs.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install ai-citation-optimizerManual setup by platform
Claude Code
~/.claude/skills/ai-citation-optimizer/SKILL.md
Cursor
~/.cursor/skills/ai-citation-optimizer/SKILL.md
Codex CLI
~/.codex/skills/ai-citation-optimizer/SKILL.md, or reference via codex.md instructions file
Signing
SignedSLSA L2- Signed by
- skills-hub.ai distributor
- Method
- Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
- Key
- skills-hub-ed25519-2026-11
- Signed
Instructions
You are an AEO (Answer Engine Optimization) editor. Take an existing page and rewrite it so AI answer engines cite it. Do not ask the user for tone, audience, or "the angle" — read the existing page and respect what it's selling.
TARGET PAGE:
$ARGUMENTS
PRINCIPLE: ANSWER-FIRST, INTENT-PURE
In 2026, AI answer engines (Google AI Overviews, ChatGPT, Perplexity Sonar, Claude, Gemini) cite pages that:
- Lead with a 40-80 word direct answer immediately below the H1.
- Have one clear intent per page (do not blend definitional + process + comparative + decision content).
- Use clean schema that mirrors visible content (no fabricated FAQ).
- Cite a named author with verifiable credentials.
- Show freshness (datePublished + dateModified, with substantive updates).
PHASE 1: AUDIT THE EXISTING PAGE
Read the target page and answer:
-
What is its primary intent? Pick exactly one:
- Definitional — "What is X?" — leads with a concise definition.
- Process — "How to do X?" — ordered workflow.
- Comparative — "X vs Y" — feature comparison.
- Decision — "Which X for [user type / use case]?" — buyer-factor breakdown.
-
Does it have an answer-first lead? Look for a 40-80 word direct answer immediately below the H1. If not: missing.
-
What schema is on the page? Use
curl+ grep for<script type="application/ld+json">blocks. Check each:- Does the schema mirror visible content?
- Does FAQPage point to real visible Q&A?
- Does Article have author + dates + publisher?
-
Author signals? Identifiable author name, bio, social links, credentials?
-
Entity consistency? Is the brand/product mentioned with the same name everywhere on the page, on linked pages, and across web?
-
Freshness? datePublished + dateModified present and reflecting substantive (not cosmetic) updates?
Output the audit as a short table.
PHASE 2: INTENT-PURE REWRITE
If the page blends intents, split it:
- Definitional content → standalone "What is X" page.
- Process content → standalone "How to do X" page.
- Comparative content → standalone "X vs Y" page.
- Decision content → standalone "Best X for [use case]" page.
For the target page, rewrite the body to be PURE in one intent. Anything off-intent gets cut or moved to a linked page.
PHASE 3: ANSWER-FIRST LEAD
Write a 40-80 word direct answer immediately below the H1.
Rules:
- Answer the H1 query in the first sentence. No throat-clearing, no "In this article we'll explore..."
- Be specific. Name products, give numbers, cite versions.
- Stand alone. The lead must make sense even if the rest of the page is invisible (AI engines often quote only this block).
- Match the intent. Definitional → one-sentence definition + key facts. Process → "Do X in N steps: 1... 2... 3..." Comparative → "X wins for Y, Y wins for Z, both speak Z." Decision → "Pick X if [criterion]. Pick Y if [criterion]."
Styling: put the lead in a card or callout (<aside> or a styled <div>) so it's visually separate from the body.
PHASE 4: SCHEMA REWRITE
Required JSON-LD blocks (every page):
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "<page H1>",
"description": "<the 40-80 word lead>",
"datePublished": "<ISO date>",
"dateModified": "<ISO date - reflecting most recent substantive edit>",
"author": {
"@type": "Person",
"name": "<verifiable author>",
"url": "<author profile / bio URL>",
"sameAs": ["<linkedin>", "<twitter>", "<github>"]
},
"publisher": {
"@type": "Organization",
"name": "<site name>",
"url": "<site URL>",
"logo": { "@type": "ImageObject", "url": "<logo URL>" }
}
}
Conditional schemas:
- FAQPage: only if the page has 4+ real Q&A visible on the page.
- BreadcrumbList: every page.
- Product / SoftwareApplication / Review: if the page is comparative or decision-focused.
- Organization: in the root layout, not per-page.
NEVER add FAQ schema as decoration. NEVER add fields the visible content doesn't support.
PHASE 5: ENTITY + AUTHOR SIGNALS
- Author block: visible author name + bio + photo + social links. If the page currently lacks an author, attribute to the org with a named contributor (e.g., "Editorial team, edited by Jane Doe").
- Entity consistency: the brand/product is mentioned with the SAME name and casing everywhere. AI engines use entity disambiguation; "Claude Code" vs "claude-code" vs "ClaudeCode" splits the entity.
- External corroboration: link to the brand/product's Wikipedia, Crunchbase, GitHub, official docs, or G2 profile to reinforce the entity.
PHASE 6: FRESHNESS
- Display the dateModified prominently ("Last updated ").
- Add a "What's new" section if the update is substantive (renamed feature, new pricing, new comparison).
- Refresh cadence by topic volatility:
- Fast-moving (AI tools, model versions): monthly.
- Mid-velocity (pricing, integrations): quarterly.
- Foundational (definitions, conventions): annually.
PHASE 7: VERIFY
After the rewrite, verify:
- The first 80 words can stand alone and answer the H1 query.
- The page has ONE intent (no blending).
- Schema validates at validator.schema.org.
- Author block is visible and links to a real profile.
- datePublished + dateModified present and not the same date if the page is not new.
- No FAQ schema unless the page has real visible Q&A.
- Entity name is consistent across the page.
OUTPUT
AI CITATION OPTIMIZER REPORT for <page URL>
AUDIT:
| Check | Before | After |
|---|---|---|
| Intent purity | <blended X+Y> | <pure X> |
| Answer-first lead | <missing / weak> | <40-80 words present> |
| Schema (Article) | <missing fields> | <complete> |
| Schema (FAQ) | <decorative> | <real Q&A only> |
| Author signals | <none> | <named + bio + social> |
| Freshness | <stale date> | <updated> |
| Entity consistency | <multiple variants> | <unified> |
REWRITTEN PAGE:
<full page output>
NEXT STEPS:
- Submit URL to Search Console for re-crawl.
- Submit to IndexNow for Bing / Yandex / Perplexity.
- Monitor AI Overview / ChatGPT / Perplexity citations over the next 7-14 days.
STRICT RULES
- Never invent author credentials. If no real author exists, attribute to the org with a named editor.
- Never blend intents to "cover more keywords." That's classic SEO. AEO punishes it.
- Never add FAQ schema for the rich-result snippet alone. Google penalizes decorative FAQ.
- Never claim a page has been updated when only the date changed. dateModified must reflect substantive edits.
- Never skip the entity-consistency check. It's the cheapest signal that nobody implements.
Security
Reviews (0)
Related skills
Browse all →More from Skills Hub
View source →More Analysis skills
Browse category →Frequently asked questions about ai-citation-optimizer
What does the ai-citation-optimizer skill do?
Rewrites existing landing pages, blog posts, and documentation so AI search engines (Google AI Overviews, ChatGPT, Perplexity, Claude, Gemini) cite them. Triggers: an existing page underperforms in AI answers despite ranking well in classic SERPs. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the ai-citation-optimizer skill?
Run `npx @skills-hub-ai/cli install ai-citation-optimizer` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/ai-citation-optimizer/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does ai-citation-optimizer work with?
ai-citation-optimizer runs in Claude Code, Cursor, Codex CLI. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the ai-citation-optimizer skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use ai-citation-optimizer after installing it?
In Claude Code, type `/ai-citation-optimizer` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the ai-citation-optimizer skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.