# SEO Audit

> Daily SEO audit agent for your site. Daily on-page and technical SEO audit of every page on a site - discovers URLs from the sitemap, scores each page, adds cross-page checks (duplicate titles, canonicals, sitemap gaps), diffs against yesterday, and sends the score line plus any regressions

- Skill: `seo-audit`
- Category: Dev & Code (https://www.aeon.fun/skills#dev)
- Default schedule: Daily at 13:00 UTC (cron `0 13 * * *`)
- Last updated: 2026-11-05 (commit 504a21d)
- Source: https://github.com/aeonfun/aeon/blob/main/skills/seo-audit/SKILL.md

## What it does

Discovers every page a site publishes, audits all of them, compares the result
against the previous run, and reports. The heavy lifting (discovery, fetching,
parsing, checking) happens in `scripts/seo-audit.mjs`, which returns
machine-readable findings so you reason over facts instead of eyeballing HTML.

Discovery is sitemap-first: `robots.txt` → `sitemap.xml` (following sitemap
indexes), honouring the robots `*` `Disallow` rules, falling back to a one-hop
crawl of the homepage's internal links when a site has no sitemap. That is the
same list Google works from, so auditing it is auditing what actually ranks.

Auditing the whole site - not three sample templates - is what makes the
cross-page checks possible: duplicate titles, duplicate meta descriptions,
canonicals pointing away from their own page, and pages linked but missing from
the sitemap. None of those are visible from inside a single page, and all of
them are ways a site quietly loses search traffic.

This is on-page and technical SEO only - no keyword research, rank tracking, or
backlink analysis. If a finding would need those, say so rather than guessing.

## Input: the var setting

The target **sites**, comma-separated (an origin, not a page:
`https://www.example.com`). Each site is audited whole and independently. A
bare host gets `https://` prepended. A path in `var` (`…/docs`) still works
- its origin is what gets crawled.

**Empty `var` → there is nothing to audit.** This skill has no built-in
default site (it ships general-purpose). Log `SEO_NO_TARGET`, send **no**
notification, and exit clean - a daily "set a target" ping would just get
muted. Set the target once in the dashboard (the skill's `var`) and it runs
from the next tick.

## What it needs

- `PAGESPEED_API_KEY`: optional secret

## Install

```bash
bin/add-skill aeonfun/aeon seo-audit
```

```yaml
skills:
  seo-audit: { enabled: true, schedule: "0 13 * * *", var: "" }
```

## Related skills

- [Spend Watch](https://www.aeon.fun/skills/spend-watch): Autonomous cloud-cost analyst across Neon, Vercel, Railway and GitHub Actions - pulls per-object usage, attributes it to the biggest drivers, root-causes each, and emits recommendations ranked by real signal (idle %, over-allowance, failure rate) with dollar figures only where the billing API returns real ones (and, armed, applies safe cost levers)
- [SC Audit](https://www.aeon.fun/skills/sc-audit): Deep security audit of a smart-contract repo OR a live on-chain contract by address - detect Solidity, model the protocol invariants and trust boundaries first, run Slither (best-effort) plus a bounded agentic pass that hunts for a path breaking each invariant, triage, adversarially verify, prove with a fuzzer, and drive each finding through the shared responsible-disclosure routing
- [Vuln Scanner](https://www.aeon.fun/skills/vuln-scanner): Audit trending repos for real security vulnerabilities and disclose responsibly - scan and route findings (PVR / dependency PR), re-submit queued advisories, and send armed email disclosures
- [RightStack - Web3 Stack Advisor](https://www.aeon.fun/skills/rightstack): Use RightStack as a read-only Web3 stack advisor for architecture recommendations, workflow inspection, tool comparisons, and package-migration checks
- [Vuln Tracker](https://www.aeon.fun/skills/vuln-tracker): One lifecycle poll over everything vuln-scanner produces - PR and advisory status, PVR triage transitions, and pending-disclosure aging, with a stars-secured impact headline and one action queue
- [PR Triage](https://www.aeon.fun/skills/pr-triage): First-touch triage for external pull requests - verdict, label, and a welcoming comment within minutes of open
