/ai-seo:seo-questions [path] [csv=<file>] [search=yes|no] [earlier=yes|no] [commit=yes|no] [questions, one per line]from ai-seo
Builds a question map for Answer Engine Optimization: maps site questions to pages, flags missing/buried answers, and identifies competing pages. Writes to docs/seo-audit/.
Ships in ai-seo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
AEO starts with questions. You build a map from each question the site should answer to the one page that answers it best, then show where answers are missing, buried, or split across pages that compete with each other. /seo-audit reads the latest map to score question coverage in its AEO lens, /seo-faq uses its gaps to build FAQ entries, and /seo-fix uses its competing pages.
/seo-audit geo). This map is about specific questions and direct answers.The text typed after the command holds the arguments. In Claude Code it is inserted here: $ARGUMENTS. In other agents, read it from the user's message. It may be empty.
| Argument | Answers | Values |
|---|---|---|
A path, such as src/content/ | Question 2, Scope | A directory in the repository. . means the entire solution. |
csv=<file> | Question 1, Sources | A query export to read |
search=yes or search=no | Question 1, Sources | Whether to add web search suggestions |
earlier=yes or earlier=no | Question 1, Sources | Whether to carry forward the target questions from the earlier map |
commit=yes or commit=no | Question 3, Version Control | no adds the folder to .gitignore |
| Questions typed after the command | Question 1, Sources | One per line, each ending in ? |
Any source argument answers Question 1: the sources are then the site's own questions plus the ones given. Ask only for what the arguments leave out.
If no one can answer (an unattended run), use these defaults: sources are the site's own questions plus the earlier map's target questions when one exists; scope is the entire solution; .gitignore is left unchanged.
package.json dependencies (next, nuxt, @tanstack/start / @tanstack/react-start, astro, @sveltejs/kit, @remix-run/* / react-router), falling back to config files (next.config.*, nuxt.config.*, astro.config.*, svelte.config.*). Otherwise treat the site as vanilla HTML.docs/, documentation/ or .docs/; default to docs/. The output folder is <docs-dir>/seo-audit/. Its layout and index are described in references/index-template.md.<docs-dir>/seo-audit/ already exists and whether .gitignore already lists it.<docs-dir>/seo-audit/question-map-latest.md, and for <docs-dir>/aeo-audit/question-map-latest.md written by the ai-aeo plugin before it merged into ai-seo 2.0.0. If both exist, the earlier map is the one with the newer Date line.Use the AskUserQuestion tool, or ask in plain text if it isn't available. Skip any question the arguments answered.
<docs-dir>/seo-audit/ doesn't exist yet): "Should the map be committed to version control?"
Follow up for each chosen source: ask for the pasted questions, or the CSV path, in free text.
List the answer pages in scope (docs, guides, blog posts, FAQ, help, glossary, product, pricing, comparison and location pages); skip utility and legal pages. For each answer page, record with file:line:
implied.For each, note whether the first sentence under it answers the question (answered first) or not.
Top queries, Query, Keyword, Grounding query or similar) and keep any Clicks, Impressions, CTR and Position columns.?. Also keep short "cost", "price", "near me", "meaning" and "definition" queries; they're questions without the question word.suggestion with the URL where it appeared. These are leads to confirm, not demand data.site (questions from the site are inventoried fresh in Step 3). Keep each one's source label, add "from the map", and note that any CSV figures come from that older export.Group questions with the same intent ("How much does X cost?", "X price", "What does X cost per month?"). Keep one canonical phrasing per group: the user's wording first, then the export's highest-impression phrasing, then the clearest natural wording. List the variants under it.
For each canonical question, find the pages that answer it (heading match, then content match). Assign one status:
| Status | Meaning |
|---|---|
| ✅ Answered first | A page has the question (or a close heading) and its first sentence answers it |
| ⚠️ Buried | A page answers it, but not under a question heading or not in the first sentence |
| 🟡 Partial | A page touches the topic but doesn't actually answer the question |
| ❌ Missing | No page answers it |
| ⚔️ Competing | Two or more pages answer it with similar weight |
Then recommend an action:
/seo-faq), write a new section or page (user supplies the content), or consolidate competing pages (one owner; others link to it, or merge with a redirect if the user agrees).Filename: question-map-YYYY-MM-DD-HHMMSS.md in <docs-dir>/seo-audit/. Never overwrite an earlier map. Leave maps in the old <docs-dir>/aeo-audit/ folder where they are.
Then:
<docs-dir>/seo-audit/question-map-latest.md (a file copy, not a symlink).<docs-dir>/seo-audit/README.md, following the update rules in references/index-template.md. Leave the Audits table as it is. If the index doesn't exist, create it from the template there.commit=no), append <docs-dir>/seo-audit/ to .gitignore if it isn't there.SEO Question Map Complete
=========================
Project: <name>
Sources: site headings<, typed list><, CSV: <file>><, web search><, earlier map (<date>)>
Questions: <n> (from <n> raw, <n> merged as duplicates)
✅ Answered first: <n>
⚠️ Buried: <n>
🟡 Partial: <n>
❌ Missing: <n>
⚔️ Competing: <n>
Top gaps:
1. <question> (<source>)
2. <question>
3. <question>
Map: <path>
Latest: <path/to/question-map-latest.md>
Next: /seo-faq to fill gaps with FAQ entries, /seo-fix to move buried answers up, /seo-audit aeo to re-score.
# AEO Question Map
**Project:** <PROJECT_NAME>
**Date:** <ISO 8601 timestamp>
**Generated by:** ai-seo plugin 2.2.0
**Sources:** <site headings, typed list, CSV: <file and date range if known>, web search (<date>), earlier map (<date>)>
---
## Summary
| Status | Count |
|--------|-------|
| ✅ Answered first | <n> |
| ⚠️ Buried | <n> |
| 🟡 Partial | <n> |
| ❌ Missing | <n> |
| ⚔️ Competing | <n> |
<2–3 sentences: overall coverage, the biggest gap, the clearest quick win.>
---
## Question Map
| # | Question | Source | Owner page | Status | Action |
|---|----------|--------|------------|--------|--------|
| 1 | <canonical question> | <site / user / CSV (impr. N, pos. N) / suggestion> | `<path>` or new: `<path>` | <status> | <action> |
### Variants
- **Q<#>:** <variant>, <variant>
---
## Gaps (❌ Missing)
<For each: question, source, suggested owner page, and what content the user needs to supply.>
## Buried and Partial Answers
<For each: page and `file:line`, what's wrong, the suggested change.>
## Competing Pages
<For each question: the competing pages, which should own it, and how to consolidate.>
## Web Search Suggestions
<Only if used. Each suggestion with the URL where it appeared, marked "unconfirmed". Otherwise "Not used.">
---
## Next Steps
- `/seo-faq`: build FAQ entries for gaps that fit an existing page.
- `/seo-fix`: move buried answers to the first sentence under a question heading.
- `/seo-audit aeo`: re-score question coverage with this map.
*Generated by [ai-seo](https://github.com/charlesjones-dev/ai-agent-plugins).*
question-map-latest.md and the index updated.gitignore updated if the user opted outWhat SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/seo-auditAudit a site's code through three lenses: SEO (rankings, deprecated tags LLMs still generate, meta tags, structured data, performance signals), AEO (being the direct answer in featured snippets, voice replies and answer boxes) and GEO (being cited in AI answers: crawler access, topical authority, evidence, authorship, entities). Optional live URL check and brand web search. Writes one timestamped report with a score per lens to docs/seo-audit/./seo-crawlCrawl a live site the way search engines do and report what they get: the title and content in the served HTML for Googlebot and a browser, status codes, redirects, soft 404s, robots.txt rules under RFC 9309, sitemaps, canonical and robots signals, metadata, structured data, page weight, caching, mobile and security headers. Works on any site, with or without its repo. Splits the checks across up to three parallel workers, re-checks the serious findings, says where each fix goes (a repo file, or a host, CDN or platform setting), and ends with a verdict on whether fixing them is worth it. Read-only until you pick the fixes./seo-faqBuild, update or validate visible FAQ sections and, if you want it, their FAQPage or QAPage JSON-LD. Drafts questions and answers from a page's own content, the latest question map or answers you supply, renders the FAQ and any markup from one data source, and checks existing markup against the visible text. Supports --dry-run./seo-fixApply fixes from the newest /seo-audit report, for whichever lenses it covers. SEO: removes deprecated tags and adds missing meta. AEO: answer-first rewrites, real lists and tables, answers kept in the HTML, snippet-control changes after you confirm intent. GEO: robots.txt rules for each AI bot group after asking, Organization and Person JSON-LD with sameAs links you supply, dateModified, sources and topic hubs. Shows a diff for each change and supports --dry-run./seo-indexSubmit new or changed pages to search engines after they go live. Checks each URL first, sends the pages through IndexNow or the Bing Webmaster API, resubmits the sitemap to Google, then uses the user's signed-in browser (Claude in Chrome in Claude Code) to request indexing in Google Search Console one URL at a time until Google's daily quota runs out, and to submit them on Brave Search's submit page. Reports what each engine accepted and offers a retry for what's left: a T3 Code scheduled task in T3 Code, otherwise the time and the command to run again. Use when the user runs /seo-index, or explicitly asks to submit pages for indexing or to get pages indexed on Google, Bing or Brave, and when a scheduled retry run asks for it. Don't use it only because a page was published./seo-llms-txtGenerate, update and validate llms.txt and llms-full.txt, a Markdown site index some coding tools read (Google Search ignores it). Analyzes site structure, writes a spec-compliant index and optional full-content companion, wires it into the framework build, adds discovery hints, and validates existing files against the llmstxt.org spec. Supports --dry-run.npx claudepluginhub charlesjones-dev/ai-agent-plugins --plugin ai-seoOther plugins' skills for the same job