agent analysis skill risk: medium
Website SEO Audit with Subagent Delegation
Instructs the model to perform a full website SEO audit by fetching the homepage, detecting business type, crawling up to 500 pages, delegating to up to 15 specialist subagents for…
- External action: medium
SKILL 2 files
SKILL.md
--- name: claude-seo-seo-audit description: "Full website SEO audit with parallel subagent delegation. Crawls up to 500 pages, detects business type, delegates to up to 15 specialists (8 always + 7 conditional), generates health score. Use when user says audit, full SEO check, analyze my site, or website health check." --- # Full Website SEO Audit ## Process 1. **Fetch homepage**: use `scripts/fetch_page.py` to retrieve HTML 2. **Detect business type**: analyze homepage signals per seo orchestrator 3. **Crawl site**: follow internal links up to 500 pages, respect robots.txt 4. **Delegate to subagents** (if available, otherwise run inline sequentially): - `seo-technical` -- robots.txt, sitemaps, canonicals, Core Web Vitals, security headers - `seo-content` -- E-E-A-T, readability, thin content, AI citation readiness - `seo-schema` -- detection, validation, generation recommendations - `seo-sitemap` -- structure analysis, quality gates, missing pages - `seo-performance` -- LCP, INP, CLS measurements - `seo-visual` -- screenshots, mobile testing, above-fold analysis - `seo-geo` -- AI crawler access, llms.txt, citability, brand mention signals - `seo-local` -- GBP signals, NAP consistency, reviews, local schema, industry-specific local factors (spawn 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 (spawn when Local Service detected AND DataForSEO MCP available) - `seo-google` -- CWV field data (CrUX), URL indexation (GSC), organic traffic (GA4) (spawn when Google API credentials detected via `python scripts/google_auth.py --check`) - `seo-backlinks` -- Backlink profile data: DA/PA, referring domains, anchor text, toxic links (spawn when Moz or Bing API credentials detected via `python scripts/backlinks_auth.py --check`, or always include Common Crawl domain-level metrics) - `seo-cluster` -- Semantic clustering analysis (spawn 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 (spawn when drift baseline exists for the URL via `python scripts/drift_history.py <url>`) - `seo-ecommerce` -- Product schema, marketplace intelligence (spawn when E-commerce industry detected) 5. **Score** -- aggregate into SEO Health Score (0-100) 6. **Report** -- generate prioritized action plan ## 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 - `FULL-AUDIT-REPORT.md`: Comprehensive findings - `ACTION-PLAN.md`: Prioritized recommendations (Critical > High > Medium > Low) - `screenshots/`: Desktop + mobile captures (if Playwright available) - **PDF Report** (recommended): Generate a professional A4 PDF using `scripts/google_report.py --type full`. 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. ## Scoring Weights | Category | Weight | |----------|--------| | Technical SEO | 22% | | Content Quality | 23% | | On-Page SEO | 20% | | Schema / Structured Data | 10% | | Performance (CWV) | 10% | | AI Search Readiness | 10% | | Images | 5% | ## Report Structure ### Executive Summary - Overall SEO Health Score (0-100) - Business type detected - Top 5 critical issues - Top 5 quick wins ### Technical SEO - Crawlability issues - Indexability problems - Security concerns - Core Web Vitals status ### Content Quality - E-E-A-T assessment - Thin content pages - Duplicate content issues - Readability scores ### On-Page SEO - Title tag issues - Meta description problems - Heading structure - Internal linking gaps ### Schema & Structured Data - Current implementation - Validation errors - Missing opportunities ### Performance - LCP, INP, CLS scores - Resource optimization needs - Third-party script impact ### Images - Missing alt text - Oversized images - Format recommendations ### AI Search Readiness - Citability score - Structural improvements - Authority signals ## Priority Definitions - **Critical**: Blocks indexing or causes penalties (fix immediately) - **High**: Significantly impacts rankings (fix within 1 week) - **Medium**: Optimization opportunity (fix within 1 month) - **Low**: Nice to have (backlog) ## DataForSEO Integration (Optional) If DataForSEO MCP tools are available, spawn the `seo-dataforseo` agent alongside existing subagents to enrich the audit with live data: real SERP positions, backlink profiles with spam scores, on-page analysis (Lighthouse), business listings, and AI visibility checks (ChatGPT scraper, LLM mentions). ## Google API Integration (Optional) If Google API credentials are configured (`python scripts/google_auth.py --check`), spawn the `seo-google` agent to enrich the audit with real Google field data: CrUX Core Web Vitals (replaces lab-only estimates), GSC URL indexation status, search performance (clicks, impressions, CTR), and GA4 organic traffic trends. The Performance (CWV) category score benefits most from field data. ## Error Handling | Scenario | Action | |----------|--------| | URL unreachable (DNS failure, connection refused) | Report the error clearly. Do not guess site content. Suggest the user verify the URL and try again. | | robots.txt blocks crawling | Report which paths are blocked. Analyze only accessible pages and note the limitation in the report. | | Rate limiting (429 responses) | Back off and reduce concurrent requests. Report partial results with a note on which sections could not be completed. | | Timeout on large sites (500+ pages) | Cap the crawl at the timeout limit. Report findings for pages crawled and estimate total site scope. |
REQUIRED CONTEXT
- website URL
OPTIONAL CONTEXT
- Google API credentials
- DataForSEO MCP availability
- Moz/Bing API credentials
- existing drift baseline
TOOLS REQUIRED
- scripts/fetch_page.py
- scripts/google_auth.py
- scripts/backlinks_auth.py
- scripts/drift_history.py
- scripts/google_report.py
ROLES & RULES
- Respect robots.txt
- Follow redirects (max 3 hops)
- Always offer PDF generation after completing an audit
- Report the error clearly. Do not guess site content.
- Report which paths are blocked. Analyze only accessible pages and note the limitation in the report.
- Back off and reduce concurrent requests. Report partial results with a note on which sections could not be completed.
- Cap the crawl at the timeout limit. Report findings for pages crawled and estimate total site scope.
EXPECTED OUTPUT
- Format
- structured_report
- Schema
- markdown_sections · Executive Summary, Technical SEO, Content Quality, On-Page SEO, Schema & Structured Data, Performance, Images, AI Search Readiness
- Constraints
- produce FULL-AUDIT-REPORT.md and ACTION-PLAN.md
- include executive summary with health score and top issues
- categorize findings by Technical SEO, Content Quality, On-Page SEO, etc.
- prioritize actions as Critical > High > Medium > Low
- offer PDF generation via scripts/google_report.py after audit
SUCCESS CRITERIA
- Crawl up to 500 pages
- Detect business type
- Delegate to up to 15 specialists
- Aggregate into SEO Health Score (0-100)
- Generate prioritized action plan
- Produce FULL-AUDIT-REPORT.md, ACTION-PLAN.md, and optional PDF
CAVEATS
- Dependencies
- scripts/fetch_page.py
- seo orchestrator
- Playwright
- DataForSEO MCP
- python scripts/google_auth.py
- python scripts/backlinks_auth.py
- python scripts/drift_history.py
- scripts/google_report.py
- Missing context
- Target URL or site to audit (assumed as runtime input)
- Exact implementation or prompts for each named subagent
- Ambiguities
- "analyze homepage signals per seo orchestrator" - reference to external 'seo orchestrator' is undefined
- "if available, otherwise run inline sequentially" - does not specify how availability is determined
QUALITY
- OVERALL
- 0.84
- CLARITY
- 0.85
- SPECIFICITY
- 0.90
- REUSABILITY
- 0.75
- COMPLETENESS
- 0.88
IMPROVEMENT SUGGESTIONS
- Add explicit placeholder for input URL at the top of the prompt
- Define or link to the 'seo orchestrator' logic for business-type detection
USAGE
Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.
MORE FOR AGENT
- Comprehensive Codebase Bug Analysis and Fixeragentanalysis
- DHDNA Cognitive Pattern Profileragentanalysis
- CLAUDE.md Repo Generator Updateragentanalysis
- Competitor Analysis and Differentiation Strategistagentanalysis
- Porter's Five Forces Industry Analyzeragentanalysis
- Codebase Wiki Researcheragentanalysis
- PESTLE Macro Environment Analystagentanalysis
- Phylogenetics Analysis Pipelineagentanalysis
- System Performance Profiling Assistantagentanalysis
- Behavioral User Segmentation Analystagentanalysis
- System Performance Profiler with Instrumentationagentanalysis
- Product SWOT Analysis Generatoragentanalysis
- Glycoengineering Sequence Analysis Toolkitagentanalysis
- Seaborn Statistical Visualization Referenceagentanalysis
- scikit-bio Bioinformatics Analysis Skillagentanalysis
- User Feedback Sentiment Segment Analyzeragentanalysis
- SHAP Model Interpretability Guideagentanalysis
- DDD Ubiquitous Language Glossary Extractoragentanalysis
- North Star Metric Classifier and Validatoragentanalysis
- SEO Content E-E-A-T Quality Analyzeragentanalysis
- Codebase Architecture Deep Analyzeragentanalysis
- ETE3 Phylogenetic Tree Toolkit Guideagentanalysis
- Codebase Architecture Code Path Traceragentanalysis
- Bitcoin Lightning Network Design Revieweragentanalysis
- ML Experiment Results Analyzeragentanalysis