Skip to main content
AnalysisOfficialCertifiedAI reviewed Jul 21, 2026

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.

v1.0.1New

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-optimizer
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/ai-citation-optimizer/SKILL.md

Setup guide →

Cursor

~/.cursor/skills/ai-citation-optimizer/SKILL.md

Setup guide →

Codex CLI

~/.codex/skills/ai-citation-optimizer/SKILL.md, or reference via codex.md instructions file

Setup guide →

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
0Save

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:

  1. Lead with a 40-80 word direct answer immediately below the H1.
  2. Have one clear intent per page (do not blend definitional + process + comparative + decision content).
  3. Use clean schema that mirrors visible content (no fabricated FAQ).
  4. Cite a named author with verifiable credentials.
  5. Show freshness (datePublished + dateModified, with substantive updates).

PHASE 1: AUDIT THE EXISTING PAGE


Read the target page and answer:

  1. 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.
  2. Does it have an answer-first lead? Look for a 40-80 word direct answer immediately below the H1. If not: missing.

  3. 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?
  4. Author signals? Identifiable author name, bio, social links, credentials?

  5. Entity consistency? Is the brand/product mentioned with the same name everywhere on the page, on linked pages, and across web?

  6. 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:

  1. Answer the H1 query in the first sentence. No throat-clearing, no "In this article we'll explore..."
  2. Be specific. Name products, give numbers, cite versions.
  3. Stand alone. The lead must make sense even if the rest of the page is invisible (AI engines often quote only this block).
  4. 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


  1. 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").
  2. 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.
  3. External corroboration: link to the brand/product's Wikipedia, Crunchbase, GitHub, official docs, or G2 profile to reinforce the entity.

PHASE 6: FRESHNESS


  1. Display the dateModified prominently ("Last updated ").
  2. Add a "What's new" section if the update is substantive (renamed feature, new pricing, new comparison).
  3. 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:

  1. The first 80 words can stand alone and answer the H1 query.
  2. The page has ONE intent (no blending).
  3. Schema validates at validator.schema.org.
  4. Author block is visible and links to a real profile.
  5. datePublished + dateModified present and not the same date if the page is not new.
  6. No FAQ schema unless the page has real visible Q&A.
  7. 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.
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
design-animateAdd purposeful motion to interfaces using modern CSS — scroll-driven animations, view transitions, @starting-style, and GPU-accelerated transforms. Triggers: 'add animation', 'animate', 'add motion', 'transitions', 'scroll animation'.79 installsdesign-auditComprehensive autonomous design quality audit across accessibility (WCAG 2.2), performance, theming, responsive/adaptive design, and anti-pattern detection. Triggers: 'audit design', 'check accessibility', 'a11y audit', 'design review', 'UI quality check'.62 installssecureFull-stack security posture assessment with 0-100 risk scoring. Scans dependency vulnerabilities (npm audit, pip-audit, cargo audit, govulncheck), dangerous code patterns (SQL injection, eval, command injection, ReDoS, innerHTML, XSS vectors), authentication gaps (missing auth middleware.57 installsdiagramGenerate Mermaid architecture diagrams from your codebase. Produces C4 context and container diagrams, sequence diagrams for key flows, ER diagrams from database schemas, and module dependency graphs. Use when you need architecture diagrams, system diagrams, database ERD, sequence diagrams, dependency visualization, or C4 model diagrams.57 installsdesign-polishFinal autonomous quality pass before shipping. Fixes alignment, spacing, consistency, typography hierarchy, color harmony, motion timing, and every micro-detail that separates good from great..56 installsresponsiveAudit and fix responsive design issues across all breakpoints. Scans for fixed widths that cause mobile overflow, missing media query variants, non-responsive images, undersized touch targets below 48px, unreadable typography, and horizontal scroll violations..50 installs

More from Skills Hub

View source →
security-reviewSecurity audit and vulnerability assessment for any codebase. Scans for authentication bypasses, missing auth middleware, broken JWT validation (algorithm confusion, weak secrets, missing expiry), OAuth state and PKCE flaws, IDOR and horizontal privilege escalation.198 installsunit-testGenerate comprehensive unit tests with edge cases, error paths, and boundary values. Triggers: you need to add unit tests, increase code coverage, test edge cases, or verify error handling paths.167 installsweb-gameScaffolds a browser-based game with Phaser 3, PixiJS, or Three.js including game loop, asset pipeline, responsive canvas, input handling, audio, save/load, and deployment to itch.io or web. Triggers: on: "web game", "browser game", "html5 game", "phaser game", "pixi game".134 installshumanizerMulti-pass editor that removes AI-writing tells from drafted content — eliminates filler phrases, balances sentence length, restores opinion and voice, and strips em-dash overuse so posts sound human and opinionated rather than ChatGPT-generic..133 installsflutterBuilds Flutter applications from videos, screenshots, descriptions, or app clone requests. Triggers on: flutter app, build a mobile app, replicate this app in Flutter, build from video, build from screenshots, clone this app, build an app, make an app like, recreate this UI.129 installsdesign-to-codeTurn a design into production-quality frontend code: extract a design system with tokens and components, make layouts responsive across breakpoints, add dark mode with WCAG-compliant theming, then run a UX audit to validate everything..126 installs

More Analysis skills

Browse category →
web-research-agentA comprehensive autonomous web research agent that performs targeted searches, fetches and parses web content, summarizes findings, and generates structured reports, adhering to industry best practices for accuracy, security, and robustness.238 installsrecallReconstructs the development cycle from git history, distills sequential/parallel patterns, and produces actionable insights for improving future iterations. Triggers: recall, retrospective, development analysis, what happened, dev cycle analysis.20 installsseoAutonomous SEO + AI-search optimization agent for 2026. Audits and fixes technical SEO, on-page metadata, structured data, Core Web Vitals (LCP/INP/CLS), llms.txt, Generative Engine Optimization (GEO) for ChatGPT/Perplexity/AI Overviews, E-E-A-T author signals.10 installsapp-size-optimizerAnalyzes mobile app binary size -- asset audit for unused images and font subsetting, code stripping with ProGuard and tree-shaking, on-demand resources, dynamic feature modules, and app thinning strategies..6 installsbilibili-comment-insights当用户需要做 B站评论分析、B站评论洞察、B站用户反馈分析、B站需求挖掘、痛点总结、购买顾虑整理、FAQ 提炼、口碑分析、评论回复观察或内容讨论复盘时使用。基于用户提供的 B站视频、专栏、动态链接或对应内容 ID 下的评论结果,面向内容运营、产品调研、品牌调研和创作者。由社媒数据助手 SocialDataX 提供。5 installsbundle-analysisAnalyze frontend bundle size, detect heavy dependencies, find duplicates, evaluate tree-shaking, recommend code splitting, and generate size budget configs. Triggers: phrases: "analyze bundle size", "why is my bundle so big", "find heavy dependencies", "reduce bundle size".5 installs

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.