Audit a URL for SEO factors and generate an actionable markdown report. Use when asked to analyze, check, or audit a webpage's SEO performance. Covers title, meta description, heading structure, canonical tags, robots.txt, and sitemap.xml. Outputs a scored, readable markdown report with specific recommendations.
Presence, length (150-160 chars optimal), relevance |
| H1 Heading | Exactly one H1 present, content relevance |
| Heading Structure | H1→H2→H3 hierarchy, no missing levels, no multiple H1s |
| Canonical Tag | <link rel="canonical"> present and points to correct URL |
| Robots.txt | File exists, is accessible, and is not blocking important pages |
| Sitemap.xml | File exists, is accessible, and contains the audited URL |
| Open Graph Tags | OG title, description, and image present |
| Mobile Viewport | Viewport meta tag present |
| HTTPS | Page served over secure connection |
Each factor gets a score (Pass / Warning / Fail) and specific recommendations if issues are found.
Usage
Run the audit
CODEBLOCK1
Inline from agent
The agent should run audit.sh with the target URL and present the output as a formatted markdown report.
CODEBLOCK2
Report Format
CODEBLOCK3
Scoring Guide
Score
Meaning
10/10
Perfect — no issues
7-9/10
Good — minor improvements possible |
| 4-6/10 | Warning — meaningful issue that should be fixed |
| 0-3/10 | Fail — critical issue |
Tips
- Always validate the URL has a protocol prefix (https://) before running
The audit is non-destructive (read-only HTTP requests)
Run from the skill directory so relative paths to helpers work
For comparing two pages, run the audit on both and diff the scores