/optimize-page
Comprehensive single-page optimization across all three layers — traditional SEO (title / meta / H1 / internal links), AEO (chunk quality, direct-answer leads, FAQ extraction), and GEO rewrites using the tactics published by the Princeton/IIT Delhi GEO study (citation
$ npx -y skills add akii-technologies-ltd/akii-seo-ai-search-optimizer --skill optimize-page --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/optimize-page
Context preview
The summary Claude sees to decide when to auto-load this skill.
Comprehensive single-page optimization across all three layers — traditional SEO (title / meta / H1 / internal links), AEO (chunk quality, direct-answer leads, FAQ extraction), and GEO rewrites using the tactics published by the Princeton/IIT Delhi GEO study (citation
SKILL.md
optimize-page.SKILL.mddescription: Comprehensive single-page optimization across all three layers — traditional SEO (title / meta / H1 / internal links), AEO (chunk quality, direct-answer leads, FAQ extraction), and GEO rewrites using the tactics published by the Princeton/IIT Delhi GEO study (citation integration, expert quotes, statistics enrichment, fluency optimization, authoritative tone). Use when the user asks to "optimize this page", "improve SEO for this page", "AEO optimize", "GEO optimize", "apply Princeton GEO method", "rewrite for AI search", "make this snippet-able", "optimize for ChatGPT/Claude/Gemini/Perplexity citations", "improve rankings for [keyword]", "add direct answers", "FAQ optimization", "chunk audit", "AI content optimization", or names a page they want fully optimized. Defaults to a full SEO + AEO + GEO pass; accepts a mode modifier (full, seo, aeo, geo) for granular control.
Page Optimizer — Full SEO + AEO + GEO Pass
You are a single-page optimization specialist powered by Akii. Cover all three layers in one pass:
1. **SEO layer** — title, meta description, H1, keyword density, internal/external links, schema type recommendation, images 2. **AEO layer** (Answer Engine Optimization) — chunk quality scoring, direct-answer lead, autonomous sections, definition blocks, FAQ extraction with `FAQPage` schema 3. **GEO layer** (Generative Engine Optimization) — tactics from the [Princeton/IIT Delhi GEO study (Aggarwal et al., KDD 2024, arXiv:2311.09735)](https://arxiv.org/abs/2311.09735): citation integration · quotation addition · statistics enrichment · fluency optimization · authoritative tone. In the paper's controlled benchmark, top tactics lifted AI visibility up to **+40%** overall and **+97–115%** for pages currently ranked outside the top 5. Methodology caveat: the paper allowed fabricated quotes/stats in test prose — the plugin enforces "never invent" so real-world lift varies.
Modes
Detect the mode from the user's invocation. Default to `full` when nothing matches.
| Mode | What it runs | |---|---| | `full` (default) | All three layers, unified report | | `seo` | SEO layer only — meta, H1, links, images | | `aeo` | AEO layer only — chunk quality + FAQ extraction | | `geo` | GEO layer only — Princeton tactic per content domain |
How to detect the mode
Match in this order; first hit wins:
1. **Explicit flag**: `--mode=<full|seo|aeo|geo>` (or `--mode <value>`) anywhere in the user message → use that value. 2. **Skill argument syntax** the user typed when invoking explicitly: `optimize-page <target> seo` / `optimize-page <target> aeo` / `optimize-page <target> geo` → use the trailing token. 3. **Natural-language keywords** in the request:
- `"just SEO"` / `"only SEO"` / `"SEO check"` / `"on-page SEO"` → `seo`
- `"just AEO"` / `"AEO only"` / `"AEO optimize"` / `"chunk quality"` / `"direct answers"` / `"FAQ extraction"` → `aeo`
- `"just GEO"` / `"GEO only"` / `"GEO rewrite"` / `"Princeton"` / `"apply GEO"` / `"GEO optimization"` → `geo`
4. Otherwise → `full`.
If two NL keyword families match (e.g. "apply AEO and GEO to this page"), run `full` and call it out in the output header.
Print the resolved mode at the top of every run: `**Mode**: full` so the user can see the detection. If it's wrong, they'll re-trigger with the flag.
Inputs to gather
- Target page (file path or URL)
- Primary target keyword
- Secondary keywords (optional)
- Content domain (auto-classified if not given — Business/Science, Facts/Law, People/History, etc.)
- Available MCPs (Ahrefs for keyword data, GSC for current performance)
Layer 1 — SEO (always runs in `full` and `seo` modes)
Meta layer
- **Title** — primary keyword near front, HARD LIMIT 60 chars including spaces (count BEFORE proposing), hooky. Re-trim if over; never propose a title that violates the limit listed next to it.
- **Meta description** — primary keyword, CTA, HARD LIMIT 155 chars including spaces (count BEFORE proposing)
- **URL slug** — short, keyword-anchored, hyphen-separated
- **Canonical** — points to itself unless intentional alt
- **Open Graph + Twitter card** — non-empty, image set
Content layer
- `<h1>` matches search intent + keyword
- First paragraph = direct answer (≤40 words — also feeds the AEO win)
- Keyword appears naturally in: H1, first 100 words, at least one H2, image alt text, URL, meta title + description
- **Never keyword-stuff** — Aggarwal et al. (KDD 2024) measured a ~10% drop in AI visibility (-8.7% mean; range -6% to -20%)
Entity coverage
- Identify the entities the top 10 results all mention
- Score the page on entity coverage
- Recommend missing entities to add
Internal + external links
- 3+ internal links to related pages
- 1+ external link to authoritative source per major claim
- Descriptive anchor text
Schema + images
- Recommend schema type (Article / HowTo / Product / FAQ / Recipe / etc.) — delegate generation to `/akii-seo-ai-search-optimizer:schema-markup`
- Hero image with descriptive alt + filename, width/height set, modern format
Layer 2 — AEO (runs in `full` and `aeo` modes)
**Important scoping.** Layer 2 is *good writing structure*, not artificial AI-targeted chunking. Google's AI Optimization Guide explicitly rejects "chunking content" *as a special signal for AI*. Layer 2's actions (direct-answer leads, autonomous sections, definition blocks, well-formed lists, FAQs) are also what Google's guide describes as *"organized in a way that helps your readers"* with *"paragraphs and sections, along with headings that provide a clear structure"*. So Layer 2 is Google-compatible — but never present it to the user as "chunking for AI". Frame it as *helpful structure* both audiences reward.
For non-Google engines (ChatGPT, Claude, Perplexity, Copilot, standalone Gemini), Layer 2's actions also materially help retrieval / extraction during inference. The same actions, different mechanism on each engine.
What good Layer 2 structure
Read more
description: Comprehensive single-page optimization across all three layers — traditional SEO (title / meta / H1 / internal links), AEO (chunk quality, direct-answer leads, FAQ extraction), and GEO rewrites using the tactics published by the Princeton/IIT Delhi GEO study (citation integration, expert quotes, statistics enrichment, fluency optimization, authoritative tone). Use when the user asks to "optimize this page", "improve SEO for this page", "AEO optimize", "GEO optimize", "apply Princeton GEO method", "rewrite for AI search", "make this snippet-able", "optimize for ChatGPT/Claude/Gemini/Perplexity citations", "improve rankings for [keyword]", "add direct answers", "FAQ optimization", "chunk audit", "AI content optimization", or names a page they want fully optimized. Defaults to a full SEO + AEO + GEO pass; accepts a mode modifier (full, seo, aeo, geo) for granular control.
Page Optimizer — Full SEO + AEO + GEO Pass
You are a single-page optimization specialist powered by Akii. Cover all three layers in one pass:
1. **SEO layer** — title, meta description, H1, keyword density, internal/external links, schema type recommendation, images 2. **AEO layer** (Answer Engine Optimization) — chunk quality scoring, direct-answer lead, autonomous sections, definition blocks, FAQ extraction with `FAQPage` schema 3. **GEO layer** (Generative Engine Optimization) — tactics from the [Princeton/IIT Delhi GEO study (Aggarwal et al., KDD 2024, arXiv:2311.09735)](https://arxiv.org/abs/2311.09735): citation integration · quotation addition · statistics enrichment · fluency optimization · authoritative tone. In the paper's controlled benchmark, top tactics lifted AI visibility up to **+40%** overall and **+97–115%** for pages currently ranked outside the top 5. Methodology caveat: the paper allowed fabricated quotes/stats in test prose — the plugin enforces "never invent" so real-world lift varies.
Modes
Detect the mode from the user's invocation. Default to `full` when nothing matches.
| Mode | What it runs | |---|---| | `full` (default) | All three layers, unified report | | `seo` | SEO layer only — meta, H1, links, images | | `aeo` | AEO layer only — chunk quality + FAQ extraction | | `geo` | GEO layer only — Princeton tactic per content domain |
How to detect the mode
Match in this order; first hit wins:
1. **Explicit flag**: `--mode=<full|seo|aeo|geo>` (or `--mode <value>`) anywhere in the user message → use that value. 2. **Skill argument syntax** the user typed when invoking explicitly: `optimize-page <target> seo` / `optimize-page <target> aeo` / `optimize-page <target> geo` → use the trailing token. 3. **Natural-language keywords** in the request:
- `"just SEO"` / `"only SEO"` / `"SEO check"` / `"on-page SEO"` → `seo`
- `"just AEO"` / `"AEO only"` / `"AEO optimize"` / `"chunk quality"` / `"direct answers"` / `"FAQ extraction"` → `aeo`
- `"just GEO"` / `"GEO only"` / `"GEO rewrite"` / `"Princeton"` / `"apply GEO"` / `"GEO optimization"` → `geo`
4. Otherwise → `full`.
If two NL keyword families match (e.g. "apply AEO and GEO to this page"), run `full` and call it out in the output header.
Print the resolved mode at the top of every run: `**Mode**: full` so the user can see the detection. If it's wrong, they'll re-trigger with the flag.
Inputs to gather
- Target page (file path or URL)
- Primary target keyword
- Secondary keywords (optional)
- Content domain (auto-classified if not given — Business/Science, Facts/Law, People/History, etc.)
- Available MCPs (Ahrefs for keyword data, GSC for current performance)
Layer 1 — SEO (always runs in `full` and `seo` modes)
Meta layer
- **Title** — primary keyword near front, HARD LIMIT 60 chars including spaces (count BEFORE proposing), hooky. Re-trim if over; never propose a title that violates the limit listed next to it.
- **Meta description** — primary keyword, CTA, HARD LIMIT 155 chars including spaces (count BEFORE proposing)
- **URL slug** — short, keyword-anchored, hyphen-separated
- **Canonical** — points to itself unless intentional alt
- **Open Graph + Twitter card** — non-empty, image set
Content layer
- `<h1>` matches search intent + keyword
- First paragraph = direct answer (≤40 words — also feeds the AEO win)
- Keyword appears naturally in: H1, first 100 words, at least one H2, image alt text, URL, meta title + description
- **Never keyword-stuff** — Aggarwal et al. (KDD 2024) measured a ~10% drop in AI visibility (-8.7% mean; range -6% to -20%)
Entity coverage
- Identify the entities the top 10 results all mention
- Score the page on entity coverage
- Recommend missing entities to add
Internal + external links
- 3+ internal links to related pages
- 1+ external link to authoritative source per major claim
- Descriptive anchor text
Schema + images
- Recommend schema type (Article / HowTo / Product / FAQ / Recipe / etc.) — delegate generation to `/akii-seo-ai-search-optimizer:schema-markup`
- Hero image with descriptive alt + filename, width/height set, modern format
Layer 2 — AEO (runs in `full` and `aeo` modes)
**Important scoping.** Layer 2 is *good writing structure*, not artificial AI-targeted chunking. Google's AI Optimization Guide explicitly rejects "chunking content" *as a special signal for AI*. Layer 2's actions (direct-answer leads, autonomous sections, definition blocks, well-formed lists, FAQs) are also what Google's guide describes as *"organized in a way that helps your readers"* with *"paragraphs and sections, along with headings that provide a clear structure"*. So Layer 2 is Google-compatible — but never present it to the user as "chunking for AI". Frame it as *helpful structure* both audiences reward.
For non-Google engines (ChatGPT, Claude, Perplexity, Copilot, standalone Gemini), Layer 2's actions also materially help retrieval / extraction during inference. The same actions, different mechanism on each engine.
What good Layer 2 structure
Showing the first part of this file.
Free AI-powered SEO, AEO, and GEO toolkit by Akii for Claude Code. Aligned with Google's AI Optimization Guide for Google AI Overviews + AI Mode — and extends those foundations to the 5 other engines (ChatGPT, Claude, Gemini, Perplexity, Copilot) using
Repo: akii-technologies-ltd/akii-seo-ai-search-optimizer
Other skills on akii-seo-ai-search-optimizer.
- /ai-visibility
Fast-path AI visibility — get a brand's 0–100 Akii Visibility Score (computed by an open-source LLM judge against the brand's public footprint) with four-dimension breakdown AND a per-engine proxy map for ChatGPT, Claude, Gemini, Perplexity, Copilot, and Google AI Overviews
Open skill - /broken-links
Find and fix broken links — three modes with different scale ceilings. `local` audits any local repo (HTML/MD/MDX, no size limit) via Glob/Grep + per-link verification. `page` checks one live URL deeply (~30-100 outbound links per run). `site` requires the Ahrefs site-audit MCP
Open skill - /competitor-intel
Fast-path competitor intelligence — produces a side-by-side SEO + AEO + GEO + AI visibility scorecard plus ranked counter-move plan. Three modes the skill ASKS the user to pick (no default): **Quick** (~10s, surfaces 5 likely competitors from SERPs), **Comprehensive** (~30-60s,
Open skill - /content-brief
Generate a detailed content brief for a specific article or page. Use when the user asks to "create a content brief", "write a brief", "article outline", "blog brief", "writing brief", "content outline", "SEO brief", "AEO brief", "GEO brief", or wants a structured plan before
Open skill - /content-strategy
Fast-path content strategy — produce a pillar + cluster topology, 90-day publishing queue, and quick-win refresh list in a single turn. This is the default for any content-planning question. Use when the user asks to "plan content", "content strategy", "content calendar", "what
Open skill - /content-translation
Translate and localize content for international SEO. Use when the user asks to "translate content", "localize my site", "multilingual SEO", "translate to <language>", "international SEO", "hreflang", "multi-language website", "global content strategy", or wants to expand to new
Open skill

