--- title: "/cs-aeo — Slash Command for AI Coding Agents" description: "/cs:aeo — Answer Engine Optimization workflow. Audit content for E-E-A-T + structure signals that drive LLM citation (ChatGPT, Perplexity, Claude. Slash command for Claude Code, Codex CLI, Gemini CLI." --- # /cs-aeo
**Command:** `/cs:aeo [action] [args]` The `cs-aeo` command is the **entry point for AEO workflows**: audit → optimize → publish → track citations. ## Distinct From `/cs:seo-audit` These share a foundation (E-E-A-T) but optimize for different conversion events: - **`/cs:seo-audit`** — optimizes for ranking + click-through in Google/Bing search results - **`/cs:aeo`** (this command) — optimizes for being cited as authoritative source by LLMs They can run on the same content. The cs-aeo agent will surface this and recommend running both for high-leverage pages. ## When To Run - Auditing existing content for AI-search readiness (E-E-A-T + structure signals) - Optimizing a page for LLM citation before publishing - Tracking which LLMs cite which pages over time (citation ledger) - Researching whether AEO investment is worth it for a given content piece - Benchmarking against competitor citation rates ## When NOT To Run - Pure click-through SEO without AI-citation intent → use `/cs:seo-audit` - Brand-voice content with no factual claims (citations require facts) - Time-sensitive news (LLM training lag means citation comes months later) - Topics where LLMs already have strong training (e.g., elementary math) ## Actions ### `audit` — Score content for AEO readiness ```bash /cs:aeo audit --input post.md --industry saas /cs:aeo audit --url https://example.com/blog/post --industry healthcare /cs:aeo audit --sample ``` Returns composite 0-100 with per-dimension breakdown (E-E-A-T + Structure) and top 5 fixes in priority order. ### `optimize` — Generate AEO-improved variant ```bash /cs:aeo optimize --input post.md --mode balanced --output post-aeo.md /cs:aeo optimize --input post.md --mode aggressive --industry finance ``` Three modes: - `conservative` — touch <10% of words (schema + corrections footer only) - `balanced` — touch <30% (citation markers + heading restructure + schema + footer) - `aggressive` — full restructure + fact-first lede + maximum citation density ### `track` — Log a citation you observed in an LLM response ```bash /cs:aeo track --url https://example.com/post --llm perplexity --query "what is AEO" --date 2026-05-17 ``` Maintains a local ledger at `~/.aeo-data/citations.json`. No telemetry. ### `report` — Aggregate citation report for a URL ```bash /cs:aeo report --url https://example.com/post ``` Returns total citations, LLM coverage, velocity, top queries, verdict (EARLY / EMERGING / STRONG). ### `export` — Emit citation ledger as CSV ```bash /cs:aeo export --output citations.csv ``` For reporting to clients / stakeholders. ## Minimal Intake (3 Questions) | Q | Asks | When | |---|---|---| | Q1 | What action — audit / optimize / track / report? | Always | | Q2 | Industry (saas / healthcare / finance / legal / ecommerce / b2b / media / education) | Always (calibrates thresholds) | | Q3 | For `optimize`: mode (conservative / balanced / aggressive)? | Only when action=optimize | Most invocations exit intake after Q2. ## Workflow ```bash # Phase 1: Audit python3 marketing-skill/skills/aeo/scripts/aeo_audit.py --input