skills/aeo-optimizer/SKILL.md
Optimize an article for Answer Engine Optimization (AEO) — restructuring content so AI engines like ChatGPT, Perplexity, and Claude can extract, quote, and cite it. Rewrites headings as questions, drops 50-80 word answer capsules, audits paragraph length, and flags trust signals. Use when asked to AEO-optimize, make content AI-readable, improve AI citation chances, or adapt an article for answer engines.
npx skillsauth add mohitagw15856/pm-claude-skills aeo-optimizerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
AEO — Answer Engine Optimization — is the discipline of structuring content so that AI engines (ChatGPT, Perplexity, Claude, Gemini) can extract clean, quotable answers and confidently cite your content as a source.
Most articles are written for humans who scroll, skim, and click. AI engines don't scroll — they scan for extractable answer units. They look for short, self-contained answer blocks sitting directly beneath a clear question heading. If they can't find those, they either skip the content or paraphrase it poorly. This skill fixes that.
Here is what AI engines are scanning for, and what most articles fail to provide:
| What AI engines want | What most articles deliver | |---|---| | H2 = a direct question ("What is X?") | H2 = a vague topic label ("About X" or "Understanding X") | | 50-80 word answer capsule immediately under the heading | Long intro paragraphs before the actual answer | | No links inside the answer block | Inline links that break extractability | | ≤3 sentences per paragraph | Dense 6-8 sentence paragraphs | | Named frameworks, original data, first-person experience | Generic statements with no attribution or specificity | | Consistent question-answer-expand structure throughout | Inconsistent structure that varies section by section |
When an AI engine cannot cleanly extract a 50-80 word answer, it either skips the article or provides a vague paraphrase without a citation link. AEO optimization removes those barriers.
Claude will ask for these if not provided:
| Input | Required | Notes | |---|---|---| | Article content | Yes | Paste the full draft text, or provide a URL Claude can fetch | | Target audience | No | Helps calibrate question phrasing — e.g. "beginner founders" vs "senior engineers" | | Primary keyword or topic | No | If provided, Claude ensures H2 questions cover it directly | | Existing URL (if published) | No | Used in the audit report to note the live page | | Preserve exact section order | No | Defaults to yes — Claude rewrites in place, doesn't restructure |
If providing a URL instead of pasted text, Claude will fetch the page content. Note: paywalled or JavaScript-rendered articles may require manual paste.
Claude produces two deliverables in sequence:
The full rewritten article with:
Format:
# [Original H1 title — unchanged unless it needs question format]
[Introduction — keep as-is or trim to ≤3 sentences. Add a "What this covers:" summary if intro is >150 words.]
## [H2 rewritten as a direct question?]
[Answer capsule — 50-80 words, no links, self-contained, answers the question completely on its own.]
[Rest of the section body — expanded explanation, examples, data, links allowed here]
## [Next H2 as a direct question?]
[Answer capsule — 50-80 words, no links]
[Section body]
Structured report showing all changes made and signals identified.
Format:
Article: [Title] URL: [If provided] Audit date: [Today's date] AEO readiness score (before): [X/10] AEO readiness score (after): [X/10]
| Original H2 | Rewritten H2 | Change type | |---|---|---| | Understanding Content Strategy | What is content strategy and why does it matter? | Topic label → direct question | | The Benefits of X | What are the main benefits of X? | Vague noun phrase → question | | How We Do It at [Company] | How does [Company] approach X? | First-person → question format |
For each section, confirm capsule word count is within 50-80 words:
| Section | Capsule word count | Links removed from capsule | Status | |---|---|---|---| | What is content strategy...? | 64 words | 2 links removed | OK | | How do you build a content calendar? | 71 words | 0 links (none were present) | OK | | What tools do content teams use? | 58 words | 1 link removed | OK |
| Section | Original max paragraph (sentences) | Action taken | |---|---|---| | Introduction | 6 sentences | Split into 2 paragraphs | | Section 2 body | 4 sentences | Trimmed to 3 | | Section 4 body | 2 sentences | No change needed |
Paragraphs flagged as too long (before optimization): [N] Paragraphs within ≤3 sentences (after optimization): [all]
Trust signals are the elements AI engines treat as credibility markers — original data, named frameworks, first-person experience, and specific attributions. These make AI engines more likely to cite rather than paraphrase.
| Signal type | Found in article | Example | AEO value | |---|---|---|---| | Original data / research | Yes | "Our analysis of 400 posts showed..." | High — cite-worthy claim | | Named framework | Yes | "The RICE scoring model" | High — search anchor | | First-person experience | Yes | "After running 3 content audits..." | Medium — authority signal | | Named expert / quote | No | — | Recommend adding | | Specific numbers / stats | Yes | "34% increase in organic traffic" | High — extractable fact | | Date-stamped content | No | — | Recommend adding publication date | | Case study reference | Yes | "At Acme Corp, we ran..." | High — concrete example |
Trust signals present: [N] Recommended additions: [list any gaps]
| Criterion | Before | After | |---|---|---| | H2s as direct questions (% of total) | [X%] | [X%] | | Answer capsule present under each H2 | No | Yes | | Capsules within 50-80 words | N/A | [X/N sections] | | No links inside capsules | N/A | Yes | | Paragraphs ≤3 sentences | [X%] | [X%] | | Trust signals present | [N] | [N] | | Total score | [X/10] | [X/10] |
End of AEO Audit Report
Accept the content as either:
Count the headings. Note the number of H2s, H3s, and H1s. This sets expectations for how many capsules will be written.
Before rewriting, score the article on the AEO rubric (see Deliverable 2 scoring table). This gives the user a before/after comparison and helps Claude identify where to focus effort.
Run through each criterion and note the count:
Record the before scores. Do not round up — be honest.
For each H2 in the article, rewrite it as a direct question that a real person would ask an AI engine. Guidelines:
The question must:
Examples of heading transformations:
| Before | After | |---|---| | Introduction to Agile | What is Agile methodology? | | Why We Built This | Why did [Company] build [product]? | | The Case for Async Work | Why do distributed teams choose async work? | | Benefits | What are the main benefits of X? | | Tools and Resources | Which tools do [audience] use for X? | | Getting Started | How do you get started with X? | | Common Mistakes | What mistakes do beginners make with X? | | Our Approach | How does [Company/author] approach X? |
Do not rewrite H3s unless the user requests it. H3s can stay as labels — AI engines primarily anchor on H2s.
Do not change the H1. The H1 is the article title and SEO title — it follows different rules.
For each H2, write a 50-80 word answer capsule to be inserted immediately after the heading and before any existing body text.
Capsule rules:
Capsule structure options:
Option A — Definition then application:
[Concise definition of the concept in 1-2 sentences.] [How it applies in practice, with one specific example or number.] [Why it matters for the reader's situation.]
Option B — Direct answer then context:
[Direct answer to the heading question in 1 sentence.] [2-3 sentences of supporting context, specifics, or mechanism.] [Optional: one concrete example or stat.]
Option C — How-to opener:
[State the outcome in 1 sentence.] [Steps 1, 2, 3 in compressed form.] [Note on when this applies or what to watch for.]
Mark each capsule clearly with an HTML comment so the author knows it was added:
<!-- AEO Answer Capsule — 64 words -->
[capsule text]
<!-- End AEO Capsule -->
Scan every paragraph in the body sections (not the capsules). If a paragraph exceeds 3 sentences:
Note every change in the audit report's paragraph length table.
Scan the full article for trust signals. Do not add trust signals — only identify what exists and flag gaps. Trust signals are:
| Signal type | What to look for | |---|---| | Original data | "Our data shows", "We analysed X", "In our survey of N..." | | Named frameworks | Any named methodology, model, or system (RICE, Jobs-to-be-Done, etc.) | | First-person experience | "I found", "We ran", "When I built", "After testing..." | | Specific numbers | Percentages, counts, timeframes, dollar amounts | | Expert quotes | Direct quotes attributed to a named person | | Case studies | Named company or project with specific outcomes | | Publication freshness | A visible publish or update date |
Flag any category with zero signals as a gap. Include specific recommendations for what could be added (e.g. "Add a statistic to the intro — even a well-known industry stat cited correctly adds credibility").
Produce the two deliverables in this order:
Separate the two deliverables with a clear horizontal rule (---) and a heading (## AEO Audit Report).
If the article does not already have a FAQ section, and the topic has obvious high-volume PAA (People Also Ask) questions, recommend adding one. Provide 3-5 suggested FAQ questions in question format with brief capsule answers. Note that FAQ sections with proper schema markup (FAQPage JSON-LD) get preferential treatment in both traditional SEO and AI engine extraction.
This section is reference material — Claude should use it when evaluating capsule quality.
Strong capsule (62 words):
Content strategy is the planning and management of content to achieve specific business goals. It defines what to publish, for whom, through which channels, and how often. A strong content strategy starts with audience research, maps content to stages of the buyer journey, and includes a measurement framework. Without it, content teams produce output without direction — publishing more without knowing whether it drives outcomes.
Why it works:
Weak capsule (48 words — too short, too vague):
Content strategy is important for businesses. It helps you plan what content to create. Many companies use content strategy to grow their audience. There are different approaches depending on your goals. It's a broad topic that covers many areas of marketing.
Why it fails:
Before marking this task complete, verify each item:
This is useful context Claude can share with users who are unfamiliar with AEO:
| Dimension | SEO (Search Engine Optimization) | AEO (Answer Engine Optimization) | |---|---|---| | Target | Google's ranking algorithm | AI engine extraction models | | Primary signal | Backlinks, authority, keyword density | Structured Q&A, answer capsule clarity | | Content format | Long-form, comprehensive coverage | Question-first, capsule-first, then expand | | Heading style | Keyword-rich labels ("Best Project Management Tools") | Direct questions ("What are the best project management tools?") | | Paragraph length | Not a ranking factor | Short (≤3 sentences) is strongly preferred | | Links in body | Important for authority passing | Links inside answer capsules break extractability | | Trust signals | Domain authority, backlink profile | Named data, frameworks, first-person experience | | Measurement | Organic ranking position, CTR | AI citation frequency, answer box appearances |
AEO does not replace SEO — it complements it. A well-structured article optimized for AEO will also perform better in traditional search because its structure is clearer and its headings are more specific to user intent.
Not all articles have the same kind of content. Use these capsule templates as starting points based on the section type.
[X] is [concise category or type]. It [what it does or how it works] by [mechanism or method].
[Why it exists or what problem it solves — 1 sentence.] [One concrete example or real-world application.]
Target: 55-70 words. Avoid starting with "X is a type of X" — give immediate signal.
To [achieve outcome], [do step A], then [do step B], then [do step C].
[The most common mistake or prerequisite — 1 sentence.] [The expected result or timeframe.]
Target: 50-65 words. Use active verbs throughout. No links.
[X] matters because [specific reason 1] and [specific reason 2].
Without [X], [consequence — ideally quantified or concrete].
[Who this is most important for, and under what conditions.]
Target: 55-75 words. Specifics outperform generalities here — name numbers when they exist.
The main benefits of [X] are [benefit 1], [benefit 2], and [benefit 3].
[Benefit 1] means [specific outcome]. [Benefit 2] enables [specific use case].
Together these make [X] valuable for [audience] who need [outcome].
Target: 60-80 words. Compress the list into prose — bullet lists inside capsules are less extractable.
Choose [Option A] when [condition A]. Choose [Option B] when [condition B].
The deciding factor is [key variable]. [One sentence on the most common mistake —
picking based on the wrong criterion.]
Target: 50-70 words. Decision capsules are among the highest-cited by AI engines — they answer the user's actual next question.
[X] when [specific trigger condition], typically [timeframe or frequency].
Early signs that it's time include [signal 1] and [signal 2].
Waiting too long often results in [consequence].
Target: 45-65 words. Concise is especially important for timing capsules.
Use this when producing the before/after score. Each criterion has a maximum contribution to the /10 score.
| Criterion | Max score | How to assess | |---|---|---| | H2s as direct questions | 2 pts | 2 = all H2s are questions; 1 = majority; 0 = few or none | | Answer capsules present | 2 pts | 2 = every H2 section has a capsule; 1 = some sections; 0 = none | | Capsules within 50-80 words | 1 pt | 1 = all capsules in range; 0 = any over 80 or under 50 | | No links inside capsules | 1 pt | 1 = zero links in any capsule; 0 = any links present | | Paragraphs ≤3 sentences | 2 pts | 2 = all paragraphs compliant; 1 = majority; 0 = widespread violations | | Trust signals present | 2 pts | 2 = 3+ trust signal types; 1 = 1-2 types; 0 = none |
Score interpretation:
A typical unoptimized article scores 2-4. A well-structured but unoptimized thought leadership piece might score 4-6. After this skill runs, target 8+.
Understanding how each engine works helps explain the rules behind the skill.
Retrieval-augmented generation with Bing Search integration. When a user asks a question, Bing retrieves pages, then GPT extracts passages. It tends to extract the first plausible answer-shaped block it finds in the page — meaning the capsule directly under the H2 is almost always what gets quoted. It prefers prose over lists for citations (though it reads lists fine).
Implication: Get the capsule under the question-format H2 right. The rest of the section body is bonus context.
Explicitly designed for sourced Q&A. It retrieves 5-10 pages per query and extracts from all of them simultaneously. It shows citations with numbered footnotes. It strongly prefers content that is:
Implication: Trust signals (author, date) and heading-to-question matching are especially important for Perplexity. Capsules that include specific numbers or named frameworks are more likely to be footnoted.
Claude with web search capability (Claude.ai or API with tools) retrieves pages and synthesises across them. Claude prioritises self-contained, complete answers and tends to directly quote capsules that are within the 50-80 word range. Claude is less likely to quote incomplete paragraphs that trail off or rely on surrounding context.
Implication: The self-contained requirement is especially important for Claude citation. If the capsule requires reading the surrounding sentences to make sense, Claude will paraphrase instead of quote.
Integrated into Google Search. Generates AI Overviews for informational queries. Extracts from indexed pages, with preference for pages that already rank well (so SEO and AEO reinforce each other here). Tends to extract bulleted lists and numbered steps for how-to content; extracts definition capsules for "what is" queries.
Implication: For Gemini AI Overviews, structured how-to content with numbered steps in the capsule performs well. Definition capsules should include the category/type as the first word.
Not all content benefits equally. Use this to set expectations with the user about where AEO investment pays off most.
| Content type | AEO benefit | Reason | |---|---|---| | Glossary or definition articles | Very high | AI engines are constantly answering "what is X?" queries | | How-to guides and tutorials | Very high | Step-by-step content is a primary retrieval target | | Comparison articles ("X vs Y") | High | Decision queries are common AI engine inputs | | FAQ pages | High | Already in question format — just needs capsule discipline | | Research roundups with original data | High | Named statistics are citation anchors | | Thought leadership / opinion pieces | Medium | Opinion is less extractable; add definition and how-to sections | | News and timely content | Medium | AI engines prefer evergreen; but breaking news gets citation bursts | | Case studies | Medium | Specific outcomes are extractable; company-specific context less so | | Creative writing / narrative | Low | Not structured for extraction; AEO rules don't apply | | Product pages / landing pages | Low | Conversion-focused pages are rarely cited by AI engines |
Originally created by Gencay (LearnAIwithMe) — adapted and extended for this library.
development
Build a framework for creating shareable, high-reach social media content. Use when asked to plan viral content, develop a shareable content strategy, create a hook writing system, or build a repeatable process for content that gets shared. Produces a platform-specific viral content framework with hook formulas, content structures, shareability triggers, and a content testing system.
development
Generate article or newsletter thumbnail candidates using the Gemini API from inside Claude Code. Claude reads article copy, proposes composition concepts, writes image generation prompts incorporating brand specs, calls Gemini to generate the images, evaluates the results via computer vision, and returns ranked candidates with rationale. Use when asked to create thumbnails, generate cover images, or produce visual candidates for an article or newsletter.
testing
Flips Claude's default from "find reasons you're right" to "find reasons you're wrong." A genuine thinking partner, not a mirror with grammar. Use before high-stakes decisions, plans, assumptions, or pitches you haven't stress-tested.
development
Scrapes a Substack Notes page and exports engagement data (likes, comments, restacks) to a formatted .xlsx file with conditional formatting and summary stats.