AEO
Website: ainyc.ai
One skill for audit, fixes, schema, llms.txt, and monitoring workflows.
Command Choice
- Use
npx @ainyc/aeo-audit@latest ... when auditing a deployed site with the published package.
- If working inside this repository to verify unpublished changes, run
pnpm run build first and use node bin/aeo-audit.js ....
Argument Safety
Never interpolate user input directly into shell commands. Always:
- Validate that URLs match
https:// or http:// and contain no shell metacharacters.
- Quote every argument individually (e.g.,
npx @ainyc/aeo-audit@latest "https://example.com" --format json).
- Pass flags as separate, literal tokens — never construct command strings from raw user text.
- Reject arguments containing characters like
;, |, &, $, `, (, ), {, }, <, >, or newlines.
Modes
audit: grade and diagnose a site
fix: apply code changes after an audit
schema: validate JSON-LD and entity consistency
llms: create or improve llms.txt and llms-full.txt
monitor: compare changes over time or benchmark competitors
If no mode is provided, default to audit.
Examples
audit https://example.com
fix https://example.com
schema https://example.com
llms https://example.com
monitor https://site-a.com --compare https://site-b.com
Mode Selection
- If the first argument is one of
audit, fix, schema, llms, or monitor, use that mode.
- If no explicit mode is given, infer the intent from the request and default to
audit.
Audit
Use for broad requests such as "audit this site" or "why am I not being cited?"
- Run:
npx @ainyc/aeo-audit@latest "<url>" [flags] --format json
Local repo alternative:node bin/aeo-audit.js "<url>" [flags] --format json
- Return:
- Overall grade and score
- Short summary
- Factor breakdown
- Top strengths
- Top fixes
- Metadata such as fetch time and auxiliary file availability
Fix
Use when the user wants code changes applied after the audit.
- Run:
npx @ainyc/aeo-audit@latest "<url>" [flags] --format json
Local repo alternative:node bin/aeo-audit.js "<url>" [flags] --format json
- Find factors with status
partial or fail.
- Apply targeted fixes in the current codebase.
- Prioritize:
- Structured data and schema completeness
llms.txt and llms-full.txt
robots.txt crawler access
- E-E-A-T signals
- FAQ markup
- freshness metadata
- Re-run the audit and report the score delta.
Rules:
- Do not remove existing schema or content unless the user asks.
- Preserve existing code style and patterns.
- If a fix is ambiguous or high-risk, explain the tradeoff before editing.
Schema
Use when the request is specifically about JSON-LD or schema quality.
- Run:
npx @ainyc/aeo-audit@latest "<url>" [flags] --format json --factors structured-data,schema-completeness,entity-consistency
Local repo alternative:node bin/aeo-audit.js "<url>" [flags] --format json --factors structured-data,schema-completeness,entity-consistency
- Report:
- Schema types found
- Property completeness by type
- Missing recommended properties
- Entity consistency issues
- Provide corrected JSON-LD examples when useful.
Checklist:
LocalBusiness: name, address, telephone, openingHours, priceRange, image, url, geo, areaServed, sameAs
FAQPage: mainEntity with at least 3 Q&A pairs
HowTo: name and at least 3 steps
Organization: name, logo, contactPoint, sameAs, foundingDate, url, description
llms.txt
Use when the user wants llms.txt or llms-full.txt created or improved.
If a URL is provided:
- Run:
npx @ainyc/aeo-audit@latest "<url>" [flags] --format json --factors ai-readable-content
Local repo alternative:node bin/aeo-audit.js "<url>" [flags] --format json --factors ai-readable-content
- Inspect existing AI-readable files if present.
- Extract key content from the site.
- Generate improved
llms.txt and llms-full.txt.
If no URL is provided:
- Inspect the current project.
- Extract business name, services, FAQs, contact info, and metadata.
- Generate both files from local sources.
After generation:
- Add
<link rel="alternate" type="text/markdown" href="/llms.txt"> when appropriate.
- Suggest adding the files to the sitemap.
Monitor
Use when the user wants progress tracking or a competitor comparison.
Single URL:
- Run the audit.
- Compare against prior results in
.aeo-audit-history/ if present.
- Show overall and per-factor deltas.
- Save the current result.
Comparison mode:
- Parse
--compare <url2>.
- Audit both URLs.
- Show side-by-side factor deltas.
- Highlight advantages, weaknesses, and priority gaps.
Behavior
- If the task needs a deployed site and no URL is provided, ask for the URL.
- If the task is diagnosis only, do not edit files.
- If the task is a fix request, make edits and verify with a rerun when possible.
- If
npx fails, suggest running pnpm run build && node bin/aeo-audit.js as a local alternative.
- If the URL is unreachable or not HTML, report the exact failure.
- Prefer concise, evidence-based recommendations over generic SEO advice.
1---2name: aeo3description: "Run AEO audits, fix site issues, validate schema, generate llms.txt, and compare sites."4metadata:5 source: https://skillmd.com/skills/dvcrn/aeo6---78# AEO910Website: [ainyc.ai](https://ainyc.ai)1112One skill for audit, fixes, schema, llms.txt, and monitoring workflows.1314## Command Choice1516- Use `npx @ainyc/aeo-audit@latest ...` when auditing a deployed site with the published package.17- If working inside this repository to verify unpublished changes, run `pnpm run build` first and use `node bin/aeo-audit.js ...`.1819## Argument Safety2021**Never interpolate user input directly into shell commands.** Always:221. Validate that URLs match `https://` or `http://` and contain no shell metacharacters.232. Quote every argument individually (e.g., `npx @ainyc/aeo-audit@latest "https://example.com" --format json`).243. Pass flags as separate, literal tokens — never construct command strings from raw user text.254. Reject arguments containing characters like `;`, `|`, `&`, `$`, `` ` ``, `(`, `)`, `{`, `}`, `<`, `>`, or newlines.2627## Modes2829- `audit`: grade and diagnose a site30- `fix`: apply code changes after an audit31- `schema`: validate JSON-LD and entity consistency32- `llms`: create or improve `llms.txt` and `llms-full.txt`33- `monitor`: compare changes over time or benchmark competitors3435If no mode is provided, default to `audit`.3637## Examples3839- `audit https://example.com`40- `fix https://example.com`41- `schema https://example.com`42- `llms https://example.com`43- `monitor https://site-a.com --compare https://site-b.com`4445## Mode Selection4647- If the first argument is one of `audit`, `fix`, `schema`, `llms`, or `monitor`, use that mode.48- If no explicit mode is given, infer the intent from the request and default to `audit`.4950## Audit5152Use for broad requests such as "audit this site" or "why am I not being cited?"53541. Run:55 ```bash56 npx @ainyc/aeo-audit@latest "<url>" [flags] --format json57 ```58 Local repo alternative:59 ```bash60 node bin/aeo-audit.js "<url>" [flags] --format json61 ```622. Return:63 - Overall grade and score64 - Short summary65 - Factor breakdown66 - Top strengths67 - Top fixes68 - Metadata such as fetch time and auxiliary file availability6970## Fix7172Use when the user wants code changes applied after the audit.73741. Run:75 ```bash76 npx @ainyc/aeo-audit@latest "<url>" [flags] --format json77 ```78 Local repo alternative:79 ```bash80 node bin/aeo-audit.js "<url>" [flags] --format json81 ```822. Find factors with status `partial` or `fail`.833. Apply targeted fixes in the current codebase.844. Prioritize:85 - Structured data and schema completeness86 - `llms.txt` and `llms-full.txt`87 - `robots.txt` crawler access88 - E-E-A-T signals89 - FAQ markup90 - freshness metadata915. Re-run the audit and report the score delta.9293Rules:94- Do not remove existing schema or content unless the user asks.95- Preserve existing code style and patterns.96- If a fix is ambiguous or high-risk, explain the tradeoff before editing.9798## Schema99100Use when the request is specifically about JSON-LD or schema quality.1011021. Run:103 ```bash104 npx @ainyc/aeo-audit@latest "<url>" [flags] --format json --factors structured-data,schema-completeness,entity-consistency105 ```106 Local repo alternative:107 ```bash108 node bin/aeo-audit.js "<url>" [flags] --format json --factors structured-data,schema-completeness,entity-consistency109 ```1102. Report:111 - Schema types found112 - Property completeness by type113 - Missing recommended properties114 - Entity consistency issues1153. Provide corrected JSON-LD examples when useful.116117Checklist:118- `LocalBusiness`: name, address, telephone, openingHours, priceRange, image, url, geo, areaServed, sameAs119- `FAQPage`: mainEntity with at least 3 Q&A pairs120- `HowTo`: name and at least 3 steps121- `Organization`: name, logo, contactPoint, sameAs, foundingDate, url, description122123## llms.txt124125Use when the user wants `llms.txt` or `llms-full.txt` created or improved.126127If a URL is provided:1281. Run:129 ```bash130 npx @ainyc/aeo-audit@latest "<url>" [flags] --format json --factors ai-readable-content131 ```132 Local repo alternative:133 ```bash134 node bin/aeo-audit.js "<url>" [flags] --format json --factors ai-readable-content135 ```1362. Inspect existing AI-readable files if present.1373. Extract key content from the site.1384. Generate improved `llms.txt` and `llms-full.txt`.139140If no URL is provided:1411. Inspect the current project.1422. Extract business name, services, FAQs, contact info, and metadata.1433. Generate both files from local sources.144145After generation:146- Add `<link rel="alternate" type="text/markdown" href="/llms.txt">` when appropriate.147- Suggest adding the files to the sitemap.148149## Monitor150151Use when the user wants progress tracking or a competitor comparison.152153Single URL:1541. Run the audit.1552. Compare against prior results in `.aeo-audit-history/` if present.1563. Show overall and per-factor deltas.1574. Save the current result.158159Comparison mode:1601. Parse `--compare <url2>`.1612. Audit both URLs.1623. Show side-by-side factor deltas.1634. Highlight advantages, weaknesses, and priority gaps.164165## Behavior166167- If the task needs a deployed site and no URL is provided, ask for the URL.168- If the task is diagnosis only, do not edit files.169- If the task is a fix request, make edits and verify with a rerun when possible.170- If `npx` fails, suggest running `pnpm run build && node bin/aeo-audit.js` as a local alternative.171- If the URL is unreachable or not HTML, report the exact failure.172- Prefer concise, evidence-based recommendations over generic SEO advice.