by seo-skills
A comprehensive SEO audit command-line tool with 332 audit rules across 20 categories. Analyze any website for SEO best practices, Core Web Vitals, security headers, structured data, accessibility, and more.
# Add to your Claude Code skills
git clone https://github.com/seo-skills/seo-audit-skillGuides for using cli tools skills like seo-audit-skill.
seo-audit-skill is an open-source cli tools skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by seo-skills. A comprehensive SEO audit command-line tool with 332 audit rules across 20 categories. Analyze any website for SEO best practices, Core Web Vitals, security headers, structured data, accessibility, and more. It has 1,018 GitHub stars.
seo-audit-skill's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/seo-skills/seo-audit-skill" and add it to your Claude Code skills directory (see the Installation section above). seo-audit-skill ships a SKILL.md manifest, so compatible agents can discover and load it automatically.
seo-audit-skill is primarily written in TypeScript. It is open-source under seo-skills on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other CLI Tools skills you can browse and compare side by side. Open the CLI Tools category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh seo-audit-skill against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
SEOmator is a command-line auditor. Point it at a URL and it fetches the page (or crawls the site), checks it against 398 rules across 20 categories, and prints every problem it finds with a severity, the URLs involved, and a fix.
The CLI runs 398 rules in 20 categories:
--crawl)--cwv --mobileA report contains:
Load this skill for requests such as:
This skill requires the SEOmator CLI to be installed.
npm install -g @seomator/seo-audit
Check that seomator is installed and the system is ready:
seomator self doctor
This checks:
Running seomator init creates a seomator.toml config file in the current directory.
seomator init # Interactive setup
seomator init -y # Use defaults
seomator init --preset blog # Blog-optimized config
seomator init --preset ecommerce # E-commerce config
seomator init --preset ci # Minimal CI config
If there is no seomator.toml in the directory, CREATE ONE with seomator init -y before running audits.
Plain seomator init asks questions, and without a terminal it exits 0 without writing a file.
YOU SHOULD always prefer --format llm - it provides token-optimized XML output specifically designed for AI agents (50-70% smaller than JSON).
When auditing:
Prefer live websites over local dev servers for accurate performance and rendering data
Add --cwv when you need the browser render. Audits skip it by default
because it is slow, so without --cwv Core Web Vitals, the JavaScript
rendering rules, js-console-errors, js-failed-requests, the
rendered-asset checks and all mobile-parity-* rules report unmeasured
rather than passing or failing
Match the flags to the question. Rules that need more than one page or more than one render are unmeasured without the right flag:
| To check | Run with |
|---|---|
| Click depth, inbound internal links | --crawl (builds the site graph) |
| Mobile-first indexing parity | --cwv --mobile (second render at a phone viewport) |
| JS errors, failed subresources, Core Web Vitals | --cwv (renders the page in a browser) |
| What a deploy changed | run before and after, then seomator compare <domain> |
Scope fixes as concurrent tasks when implementing multiple fixes
Run typechecking/formatting after implementing fixes (tsc, eslint, prettier, etc.)
No URL in the request? Work one out before asking:
package.json homepage, .env files, hosting configdev or start script and its portWhen both a deployed site and a local dev server exist, prefer the deployed site: only there do real headers, redirects, CDN caching and TLS show up.
# Quick single-page audit with LLM output
seomator audit https://example.com --format llm
# Multi-page crawl (up to 50 pages)
seomator audit https://example.com --crawl -m 50 --format llm
# Full audit with Core Web Vitals + JS rendering analysis
seomator audit https://example.com --crawl -m 20 --format llm --cwv
Audit specific categories only:
seomator audit https://example.com -c core,security,js --format llm
Save HTML report for sharing:
seomator audit https://example.com --format html -o report.html
Verbose output for debugging:
seomator audit https://example.com --format llm -v
seomator mcp serves the same engine as MCP tools over stdio, registered as
seomator-audit:
claude mcp add seomator-audit -- npx -y @seomator/seo-audit mcp # public sites
claude mcp add seomator-audit -- npx -y @seomator/seo-audit mcp --allow-private # also local and intranet sites
Tools: audit_url (returns a runId at once, waitS up to 25), audit_status,
cancel_run, list_audits, get_audit, get_findings (paged), compare_audits,
list_rules, explain_rule. Failures are isError with { code, message, hint }.
See docs/ai-agent-integration.md for the full contract.
An agent must be able to tell "the audit failed" from "the site scored badly".
audit, analyze and compare use these codes (other commands, such as
self doctor, or config <key> for a key that does not exist, exit 1 on an
error of their own):
| Code | Meaning |
|---|---|
0 |
Success |
1 |
The run worked, and a gate failed: audit/analyze scored under --fail-under (default 70), a [rules.override] rule with fail_ci = true failed or could not be measured, a crawl measured less than --min-coverage, or compare --fail-on-regression found a regression. The last stderr line starts with Exit 1: and says which; JSON carries it in gate |
2 |
The command failed: bad flag, invalid config (including an unknown rule id in [rules.override]), unreachable URL, HTTP error, a start page that stays rate-limited, missing crawl, bad --config path |
130 |
Cancelled with Ctrl-C |
A non-zero exit is not automatically a failure. 1 means the tool worked
and is telling you something about the site. Only 2 means it could not do the
job. Under --format json, a 2 also puts a structured error on stdout with a
stable code field (hint appears only when there is one):
{ "error": true, "code": "http-error", "message": "...", "hint": "...", "timestamp": "..." }
Under --format llm the same error is XML:
<seo-audit ok="false"><error code="http-error"><message>…</message><hint>…</hint></error></seo-audit>.
A command line the parser rejects (an unknown flag, an invalid URL or option
value) exits 2 with the reason on stderr, starting error:, and nothing on
stdout. Treat that as a usage error to fix, not as a failed site; 1 always
means a gate failed.
code is one of dns, unreachable (nothing answered: refused, reset or no
route), tls (certificate rejected), timeout, http-error, non-html,
rate-limited (the start page kept answering 429 or 503), private-address
(a request resolved to a loopback, private or link-local address and was
refused), playwright-missing, no-pages, config, aborted or unknown.
audit Flags| Flag | Short | What it does | Default |
|---|---|---|---|
--format <fmt> |
-f |
Output format: console, json, html, markdown, llm | console |
--max-pages <n> |
-m |
Maximum pages to crawl | 10 |
--crawl |
Enable multi-page crawl | false | |
--categories <list> |
-c |
Comma-separated categories to audit | All |
--cwv |
--render |
Render in a browser: Core Web Vitals, JS rendering, axe-core accessibility, unused JS/CSS and image sizing | false |
--mobile |
Render mobile viewport + mobile-first parity (single-page); implies --cwv |
false | |
--verbose |
-v |
Show progress | false |
--output <path> |
-o |
Output file path | |
--config <path> |
Config file path | ||
--no-save |
Do not store this audit in ~/.seomator | ||
--staging |
Audit a staging site: waive the noindex and robots.txt caps and crawl past robots.txt; the waived caps are listed | false | |
--fail-under <n> |
Exit 1 when the score is below n (overrides [ci] fail_under) |
70 | |
--min-coverage <pct> |
With --crawl: exit 1 when fewer than pct% of the attempted pages were measured |
0 | |
--max-duration <s> |
With --crawl: stop requesting pages after s seconds and score what was fetched |
no limit | |
--ignore-crawl-delay |
With --crawl: do not honour the site's robots.txt Crawl-delay |
false | |
--refresh |
-r |
Check every external link again instead of using the link cache | false |
Audits are stored by default, so compare and report always have history.
seomator serve runs a local web dashboard over the stored audits (history,
per-rule detail, comparisons, exports). For scripted access, read the token
from ~/.seomator/serve.json and send it as X-SEOmator-Token; GET /api
lists every route. See docs/WEB-DASHBOARD.md.
Each audit opens on its score, then one fix queue ranked by the score points
each fix returns. In GET /api/audits/:id, every failing or warning rule
summary carries points: what the score gains when that rule passes. An
audit's points add up to what its score is missing, so they rank fixes
exactly; the detail also carries categoryWeights.
seomator compare <domain> diffs two stored audits of the same site. Every
audit is stored unless it ran with --no-save.
| Option | Description | Default |
|---|---|---|
--against <auditId> |
Compare against a specific audit instead of the previous run | latest-but-one |
--trend |
Show score history for the domain instead of a two-run diff | false |
--json / -j |
Machine-readable diff | false |
--fail-on-regression |
Exit 1 when the score dropped or any rule's status got worse. Two audits measured differently (Core Web Vitals, scoring model, rule filters, rule options, staging) are reported as not like-for-like and never fail | false |
Rules are diffed by ID, so a rule that broke and a different one that was fixed are reported separately rather than cancelling out in a count.
seomator init # Create config file
seomator self doctor # Check system setup
seomator config --list # Show all config values
seomator explain <rule-id> # What a rule checks, its weight, the fix and override lines
seomator report --list # List past reports
seomator compare <domain> # Diff the two most recent saved audits
seomator db stats # Show database statistics
| Format | Flag | Best For |
|---|---|---|
| console | --format console |
Human terminal output (default) |
| json | --format json |
CI/CD, programmatic processing |
| html | --format html |
Standalone reports, sharing |
| markdown | --format markdown |
Documentation, GitHub |
| llm | --format llm |
AI agents (recommended) |
The --format llm output is a compact XML format optimized for token efficiency:
[rules.override] priority); the dashboard and the HTML report
rank one fix queue by score points instead# Request: "Any SEO problems on example.com?"
seomator audit https://example.com --format llm
# Request: "Go through the whole site, up to 100 pages"
seomator audit https://example.com --crawl -m 100 --format llm
# Request: "Run it again and re-check every external link"
# Pages are always fetched fresh. External link answers are kept in a link
# cache for 7 days by default; --refresh checks every external link again.
seomator audit https://example.com --format llm --refresh
# Request: "Create an HTML report I can share"
seomator audit https://example.com --crawl -m 20 --format html -o seo-report.html
# Request: "Just check my JavaScript rendering and redirects"
seomator audit https://example.com -c js,redirect --format llm --cwv
# A baseline before the change (stored automatically)
seomator audit https://example.com
# ... deploy ...
seomator audit https://example.com
seomator compare example.com --json
compare reports which specific rules changed status, which is more useful than
a score delta on its own: a score can hold steady while one thing broke and
another was fixed. Use --fail-on-regression to make this a CI gate.
# js-console-errors and js-failed-requests need a real browser render,
# so pass --cwv here.
seomator audit https://example.com -c js --format llm --cwv
An uncaught exception halts the script that threw it, so content, structured data or canonical tags that script would have written never appear to a rendering crawler. A 404 on a script is invisible to static HTML analysis: the tag is present and well-formed, and only a real fetch reveals nothing came back.
| Score | Grade | Meaning |
|---|---|---|
| 90-100 | A | Excellent - Minor optimizations only |
| 80-89 | B | Good - Address warnings |
| 70-79 | C | Fair - Several issues to fix |
| 50-69 | D | Needs Work - Priority fixes required |
| 0-49 | F | Poor - Critical issues to resolve |
Fix issues in this order for maximum impact:
A category score is the average of its rule results — pass 100, warn 50,
fail 0 — weighted by each rule's declared weight, so a heavy rule such as
security-https moves the category far more than a minor one. The overall score
is the weighted average of category scores using the weights above. Advisory
rules (new checks, marked "Advisory" in every report) are listed but never count
toward a score.
A page-level condition can cap the overall score. An average cannot say "nothing else matters", so while one of these holds, the overall score stays at or under its ceiling whatever the categories average. A crawl takes only the first two, read from its start page:
| Condition | Ceiling |
|---|---|
noindex for Google (robots meta tag or X-Robots-Tag) |
20 |
| robots.txt disallows the page for Googlebot | 20 |
No <title> and fewer than 20 words of main content |
30 |
| Fewer than 20 words of main content | 49 |
No <title> |
69 |
The JSON result then carries scoreCap: { uncappedScore, caps: [{ id, ceiling, reason }] }, and --format llm a <score-cap> element. Fix the cap first:
no other fix moves the score while it holds.
Audit a staging site with --staging. It waives the noindex and robots.txt
caps (the content caps stay), and a crawl ignores robots.txt so a Disallow: /
site is crawled past its first page. What it waived is in waivedCaps, and in a
<waived-caps> element under --format llm: that list is what must change at
launch. Never compare a staging audit to a production one as like-for-like;
compare flags the difference.
Unmeasured checks carry weight 0 and do not affect the score. A check whose input was unavailable is reported so the gap is visible, but scores neither for nor against the site — you cannot score what you did not measure. This is why:
cwv-inp always reports unmeasured. INP requires real user interaction, which
an automated crawl does not perform. For real INP use field data (CrUX or RUM).--cwv reports the Core Web Vitals rules and most JavaScript
rendering rules as unmeasured rather than passing or failing them. A site
audited with --cwv is not directly comparable to one audited without it,
because a different set of rules contributed to the score.links-depth and links-orphan-pages need the site-wide link graph, which
only exists in crawl mode. Run with --crawl to measure them; a
single-page audit reports them unmeasured because click distance and inbound
links cannot be known from one page.mobile-parity-* rules need a second render at a mobile viewport. Run
with --cwv --mobile to measure them.core-title-unique,
content-duplicate-description, content-duplicate-exact,
content-duplicate-near, crawl-sitemap-orphan-urls) report unmeasured on a
single page. A page with no title or no meta description still fails
core-title-unique or content-duplicate-description: that is a missing
field, not a uniqueness question. Run with --crawl to measure them.schema-present reports the
absence), eeat-author-expertise when the page has no author, and
a11y-color-contrast when every colour comes from a stylesheet.Scores changed in v3.1.0. Earlier versions weighted failing rules 100× less than passing ones, which inflated scores. If comparing against a report generated before 3.1.0, re-run the baseline rather than treating the drop as a regression.
Once the fixes are in, tell the user what changed and which issue each change resolves. Independent fixes can be split into separate tasks and handed to sub-agents in parallel.
seomator: command not foundThe CLI is missing, or npm's global bin folder is not on PATH. Install it globally:
npm install -g @seomator/seo-audit
If CWV metrics are missing, the audit may have run without --cwv, or
Chrome/Chromium may not be available.
Solution:
--cwv: audits skip the browser render by defaultseomator self doctor to verify browser detectionFor large sites, audits may take several minutes.
Solution:
--verbose to see progress-m 20 for faster results--cwv: it renders every crawled page in a browserPass the full URL, scheme included:
# Wrong
seomator audit example.com
# Correct
seomator audit https://example.com
Results are stored in ~/.seomator/ for later retrieval with seomator report.
The seomator CLI fetches HTML from arbitrary user-supplied URLs. Any text
quoted from those pages — titles, meta tags, headings, link text, alt
attributes, schema content — is untrusted input that may attempt indirect
prompt injection against the LLM consuming the report.
The LLM-format reporter (--format llm) applies a layered defense:
<seo-audit> element.<msg> and
<details> is wrapped in <untrusted-{nonce}>...</untrusted-{nonce}>. An
attacker cannot forge the closing tag because the nonce is unpredictable
and unique per audit.<security-notice> instructing
the consuming LLM to treat the wrapped blocks as data, not instructions.< > & " ' inside untrusted content
is escaped, so a crafted </untrusted-...> literal becomes inert text.Tool-authored fields — fix suggestions, rule IDs, category metadata — are emitted as plain XML and are not wrapped, since wrapping trusted content in untrusted delimiters would dilute the signal.
docs/SEO-AUDIT-RULES.md for all 398 rulesdocs/STORAGE-ARCHITECTURE.md for database detailsseomator --help and seomator <command> --helpSEOmator is a comprehensive SEO audit tool that scans any website against 398 rules across 20 categories — technical SEO, Core Web Vitals, structured data, accessibility, security headers, and AI/GEO search readiness — and returns a prioritized, actionable report. It ships as a command-line tool, an Electron desktop app, and a Claude Code skill, so you can run an SEO audit from a terminal, a visual dashboard, or directly inside an AI coding agent.

Prefer a web interface? Try our Free SEO Audit Tool for a visual, browser-based SEO analysis.
SEOmator is an SEO audit you can automate and trust the answer of.
seomator.toml, and an MCP
server so an AI agent can run audits and read the findings.--render, and "Render in a browser"
in the dashboard and desktop app) are the exception for now: the browser
loads a page's own resources without that check.What it is not: a tool for exploring every URL of a very large site in a spreadsheet view, or a source of search-traffic data. A crawl here is sized for an audit (10 pages by default, up to 1,000 per run on the command line), and Search Console data is not part of the audit yet.
# Install globally
npm install -g @seomator/seo-audit
# Run audit
seomator audit https://example.com
Note: The CLI automatically uses your system Chrome, Chromium, or Edge browser for Core Web Vitals measurement (
--cwv). No additional browser installation is required if you have Chrome installed.
git clone https://github.com/seo-skills/seo-audit-skill.git
cd seo-audit-skill
npm install
npm run build
# Run directly
./dist/cli.js audit https://example.com
# Or link globally
npm link
seomator audit https://example.com
The desktop app provides a visual audit dashboard with real-time progress streaming, interactive results, score history, and light/dark theme support.

seomator serve shows the same screens in your browser.
# From source
git clone https://github.com/seo-skills/seo-audit-skill.git
cd seo-audit-skill
npm install
npm run rebuild:electron # Compile native module for Electron
npm run electron:dev # Launch with hot reload
npm run electron:build # Production build
npm run electron:pack # Build + package distributable
# Basic audit
seomator audit https://example.com
# Render in a browser for Core Web Vitals and rendered-page checks (slower)
seomator audit https://example.com --cwv
# Audit specific categories
seomator audit https://example.com -c core,security,perf
# JSON output (for CI/CD or parsing)
seomator audit https://example.com --format json
# HTML report
seomator audit https://example.com --format html -o report.html
# LLM-optimized output (pipe to Claude)
seomator audit https://example.com --format llm | claude "rank these issues by impact and fix the top ones"
# Crawl multiple pages
seomator audit https://example.com --crawl --max-pages 20
# Full options
seomator audit https://example.com --crawl -m 50 --concurrency 5 --timeout 60000 --format json -o results.json
seomator audit <url>Run SEO audit on a URL.
| Option | Alias | Description | Default |
|---|---|---|---|
--format <type> |
-f |
Output format: console, json, html, markdown, llm | console |
--output <path> |
-o |
Output file path | - |
--categories <list> |
-c |
Comma-separated categories to audit | All |
--json |
-j |
Output as JSON (deprecated, use --format json) | false |
--crawl |
- | Enable crawl mode for multiple pages | false |
--max-pages <n> |
-m |
Maximum pages to crawl | 10 |
--concurrency <n> |
- | Concurrent requests | 3 |
--timeout <ms> |
- | Request timeout in milliseconds | 30000 |
--render |
--cwv |
Render each page in a browser for Core Web Vitals, JavaScript rendering, rendered-asset, accessibility (axe-core), unused code and image sizing checks (slower). --no-cwv is still accepted |
false |
--mobile |
- | Second render at a mobile viewport + mobile-first parity checks (single-page). Implies --cwv |
false |
--simulate-interaction |
- | Scroll and click the page so INP can be measured (reported as synthetic, unscored). Implies --cwv |
false |
--staging |
- | Audit a staging site: waive the noindex and robots.txt caps, and crawl past robots.txt | false |
--fail-under <n> |
- | Exit 1 when the score is below n (overrides [ci] fail_under) |
70 |
--min-coverage <pct> |
- | With --crawl: exit 1 when fewer than pct% of the attempted pages were measured |
0 |
--max-duration <s> |
- | With --crawl: stop requesting pages after s seconds and score what was fetched |
no limit |
--ignore-crawl-delay |
- | With --crawl: do not honour the site's robots.txt Crawl-delay |
false |
--refresh |
-r |
Check every external link again instead of using the link cache | false |
--verbose |
-v |
Show progress | false |
--config <path> |
- | Config file path | - |
| `--no-sa |