Marketing & sales
seo-audit
Run a full-site SEO audit and return a scored, prioritized report. Use only for site-wide checks; use seo-page for one URL or seo-technical for a technical-only review.
AgriciDaniel · Static checks on file
Installation
Read the source and dependencies before running a command. Copying does not install or execute anything.
npx skills add zhtyyx/codex-seo --skill seo-auditAbout this skill
name: seo-audit description: "Run a full-site SEO audit and return a scored, prioritized report. Use only for site-wide checks; use seo-page for one URL or seo-technical for a technical-only review." license: MIT metadata: author: AgriciDaniel version: "2.5.0" category: seo
Full Website SEO Audit
Process
- Render homepage: use
"${CODEX_SEO_ROOT}/scripts/codex-seo" run render_page.py <url> --mode auto --jsonto capture raw HTML, rendered HTML, extracted text, SPA status, and accessibility data when needed - Detect business type: analyze homepage signals per seo orchestrator
- Crawl site: follow internal links up to 500 pages, respect robots.txt
- Run the specialist role playbooks sequentially (from
agents/seo-<role>.md, installed at"$HOME/.agents/skills/seo/agents/"):seo-technical-- robots.txt, sitemaps, canonicals, Core Web Vitals, security headersseo-content-- E-E-A-T, readability, thin content, AI citation readinessseo-schema-- detection, validation, generation recommendationsseo-sitemap-- structure analysis, quality gates, missing pagesseo-performance-- LCP, INP, CLS measurementsseo-visual-- screenshots, mobile testing, above-fold analysisseo-geo-- AI crawler access, llms.txt, citability, brand mention signalsseo-agentic-- Lighthouse Agentic Browsing fraction (X/N), accessibility tree for agents, AI agent access policy, Markdown and discovery files, WebMCP (always include in full audits; its findings feed AI Search Readiness)seo-local-- GBP signals, NAP consistency, reviews, local schema, industry-specific local factors (run when Local Service industry detected: brick-and-mortar, SAB, or hybrid business type)seo-maps-- Geo-grid rank tracking, GBP audit, review intelligence, competitor radius mapping (run when Local Service detected AND DataForSEO MCP available)seo-google-- CWV field data (CrUX), URL indexation (GSC), organic traffic (GA4) (run when Google API credentials detected via"${CODEX_SEO_ROOT}/scripts/codex-seo" run google_auth.py --check)seo-matomo-- Matomo Reporting API: organic traffic, landing pages, device / country splits, referrer analysis (run when Matomo credentials detected via"${CODEX_SEO_ROOT}/scripts/codex-seo" run matomo_auth.py --check; runs alongsideseo-googlewhen both are configured, or as a GA4 alternative when GA4 is not)seo-backlinks-- Backlink profile data: DA/PA, referring domains, anchor text, toxic links (run when Moz or Bing API credentials detected via"${CODEX_SEO_ROOT}/scripts/codex-seo" run backlinks_auth.py --check, or always include Common Crawl domain-level metrics)seo-cluster-- Semantic clustering analysis (run when content strategy signals detected: blog, pillar pages, topic clusters)seo-sxo-- Search experience analysis: page-type mismatch, user stories, persona scoring (always include in full audits)seo-drift-- Drift analysis: compare against stored baseline (run when drift baseline exists for the URL via"${CODEX_SEO_ROOT}/scripts/codex-seo" run drift_history.py <url>)seo-ecommerce-- Product schema, marketplace intelligence (run when E-commerce industry detected)
- Score -- aggregate into SEO Health Score (0-100)
- Persist audit artifacts -- write all outputs under
{domain}-audit/ - Report -- generate prioritized action plan and optional PDF/HTML report
Crawl Configuration
Max pages: 500
Respect robots.txt: Yes
Follow redirects: Yes (max 3 hops)
Timeout per page: 30 seconds
Concurrent requests: 5
Delay between requests: 1 second
Output Files
{domain}-audit/FULL-AUDIT-REPORT.md: Comprehensive findings{domain}-audit/ACTION-PLAN.md: Prioritized recommendations (Critical > High > Medium > Low){domain}-audit/audit-data.json: Structured audit envelope for report generation{domain}-audit/findings/*.md: Per-category specialist findings (technical.md,content.md,schema.md,performance.md,visual.md, etc.){domain}-audit/screenshots/: Desktop + mobile captures (if Playwright available)- PDF Report (recommended): Generate a professional A4 PDF using
"${CODEX_SEO_ROOT}/scripts/codex-seo" run google_report.py --type full --data {domain}-audit/audit-data.json --domain <domain> --output-dir {domain}-audit/. This produces a white-cover enterprise report with TOC, executive summary, charts (Lighthouse gauges, query bars, index donut), metric cards, threshold tables, prioritized recommendations with effort estimates, and implementation roadmap. Always offer PDF generation after completing an audit.
Structured Audit Data Envelope
Write {domain}-audit/audit-data.json with this shape so "${CODEX_SEO_ROOT}/scripts/codex-seo" run google_report.py --type full --data {domain}-audit/audit-data.json --domain <domain> --output-dir {domain}-audit/ can generate a report even when Google API data is unavailable:
{
"summary": {
"health_score": 0,
"business_type": "detected type",
"top_findings": [],
"quick_wins": []
},
"categories": [
{
"name": "Technical SEO",
"score": 0,
"what_works": [],
"findings": [
{
"title": "Finding title",
"severity": "Critical|High|Medium|Low|Info",
"description": "Evidence-backed detail",
"recommendation": "Specific fix"
}
]
}
],
"action_plan": {
"phases": [
{"name": "Phase 1: Critical Fixes", "timeframe": "Week 1", "items": []},
{"name": "Phase 2: High-Impact Improvements", "timeframe": "Weeks 2-3", "items": []},
{"name": "Phase 3: Content & Authority", "timeframe": "Month 2", "items": []},
{"name": "Phase 4: Monitoring & Iteration", "timeframe": "Ongoing", "items": []}
]
},
"artifacts": {
"findings_dir": "findings/",
"screenshots_dir": "screenshots/"
}
}