report
View and query stored audit reports
The report command lets you view and query audit reports from the local database.
Usage
squirrel report [id] [options]Arguments
| Argument | Description |
|---|---|
id | Audit ID (UUID) or domain name (optional, defaults to latest) |
Options
| Option | Alias | Description | Default |
|---|---|---|---|
--list | -l | List recent audits | false |
--format | -f | Output format: console, text, json, html, markdown, xml, llm | console |
--output | -o | Output file path | auto |
--input | -i | Load from JSON file (fallback mode) | - |
--severity | Filter by severity: error, warning, all | all | |
--category | Filter by categories (comma-separated) | all | |
--group | Filter by rule groups: seo, performance, security, ai (comma-separated). Combines with --category: an issue must match both | all | |
--diff | Compare current report against baseline (audit ID or domain) | - | |
--regression-since | Compare against baseline and show regressions | - | |
--allow-cross-site | Allow diff across different base URLs | false | |
--publish | -p | Publish the report | false |
--visibility | Visibility: public, unlisted, private | unlisted | |
--summary | Print only the score, category breakdown, and issue counts — no per-issue detail. Console format only | false | |
--include-passed | Also list the rules that passed, with how many pages each passed on. See List what passed | false | |
--wcag-checklist | Print only the accessibility checklist (what the rules found for each WCAG 2.2 A and AA criterion) instead of the report: markdown (the default for a bare flag) or csv. Not a conformance claim. See Accessibility checklist | ||
--include-info | Also list info checks (notes that are not findings) in the llm format. The json format always has them under infoChecks. See Info checks Not available with --input: a JSON file does not carry them back, so the flag prints a note and lists nothing | false | |
--full-report | Build the whole report body for a very large crawl instead of a sampled one. See Large crawls | false | |
--include-pages | JSON only: list every crawled page with its HTTP status and how many rules reported on it. See Pages list | false |
Publishing
Share reports online by publishing them to your org’s address on squirrel.report. See Report address.
Visibility levels
| Level | Description |
|---|---|
public | Listed and searchable (default) |
unlisted | Accessible via link only, not listed |
private | Only visible to you when logged in |
Publish report
squirrel report --publishOn success the command prints the published report URL (and nothing else, so it pipes cleanly):
https://acme.squirrel.report/XVv4NO7aPrWhen the site is on a recurring schedule the command also says so, and where one click turns it off. That line goes to standard error, so the pipe above still receives the URL and nothing else.
Manage published reports in the dashboard.
What a published report holds
A published report is a summary, at most 1 MB however many pages you audit. Each issue lists a sample of its affected pages and items with the true counts, and the score still counts every check the audit ran. The full per-page detail stays in the local project, and squirrel report --format json exports all of it.
Publish an audit from its project, with squirrel report <audit-id> --publish. A JSON file loaded with --input publishes only when it is a full report that still lists its crawled pages: the --format json export and a published report do not, so --publish refuses them rather than publish a score built from the failures alone.
Publish with visibility
squirrel report --publish --visibility unlistedPublish specific audit
squirrel report a7b3c2d1 --publish --visibility privateExamples
View latest audit
squirrel reportList all audits
squirrel report --listOutput:
Recent Audits:
==========================================================================================
ID Date Pages Status Published
------------------------------------------------------------------------------------------
985ac861 11/17/2026, 10:32:20 AM25 analyzed -
https://nutshop.squirrelscan.com
a85d0a3b 11/17/2026, 10:32:08 AM25 analyzed -
https://nutshop.squirrelscan.com
Total: 2 audits
Use "squirrel report <audit-id>" to view a specific audit.View specific audit by ID
squirrel report a7b3c2d1View latest audit for domain
squirrel report nutshop.squirrelscan.comor with full URL:
squirrel report https://nutshop.squirrelscan.comExport as JSON
squirrel report -f json -o report.jsonExport as HTML
squirrel report -f html -o report.html
open report.htmlExport as Markdown
squirrel report -f markdown -o report.mdFilter by severity
Show only errors:
squirrel report --severity errorShow only warnings:
squirrel report --severity warningFilter by group
squirrel report --group security
squirrel report --group security,performance
squirrel report --group seo --category a11yAn unknown group exits with an error that lists the valid groups. --group applies before --wcag-checklist, so squirrel report --group performance --wcag-checklist reads every criterion whose rules sit outside the group as Rules did not run. Accessibility rules are in the seo group.
Filter by category
Show only core SEO issues:
squirrel report --category coreShow multiple categories:
squirrel report --category core,links,imagesList what passed
A report lists issues and counts the checks that passed. Add --include-passed to also list the rules that passed:
squirrel report --include-passedThe list comes after the issues. In the HTML report it is one closed line under the findings that opens to a row per rule.
A rule is listed when it has at least one passing check and no warnings or errors. Each rule shows how many pages it passed on, or site-wide for a rule that checks the website once. A page rule whose passes carry no page shows pages not recorded. It works with every --format. Combined with --publish, --diff, --regression-since or --list the command exits with an error, since none of them renders the report. In json the list is passedRules, and each entry has ruleId, name, category, scope (page or site) and pages.
A report loaded with --input lists none, because passing checks are not read back from a JSON file. The command says so on stderr and renders the rest of the report as usual.
Pages list
--include-pages adds pages to a JSON report: one { "url", "finalUrl", "status", "outcome", "ruleCount" } entry for each page the audit crawled, read from the stored audit, followed by an entry with an outcome of error or skipped and a reason for each URL the crawl requested but stored no page for.
squirrel report -f json --include-pagesThe list is cut at 2,000 pages, with pagesTotal and pagesTruncated saying so. It is JSON only; other formats ignore the flag and the command says so on stderr. A report loaded with --input has no pages to list, because the page list is not read back from a JSON file, and the command says so on stderr. The fields are described under squirrel audit --include-pages.
Diff reports
Compare the latest report against a baseline audit:
squirrel report --diff a7b3c2d1 --format jsonCompare the latest report for a domain against a baseline audit:
squirrel report --regression-since nutshop.squirrelscan.com --format llmWhat counts as fixed
--diff reports an issue as removed (fixed) only when its rule ran in both audits over the same scope and the current report no longer has the finding. A finding is not fixed just because it is missing: the rule may not have run, may have timed out, or the page may not have been crawled this time. Those are listed apart under Not compared and are never counted in removed.
“Same scope” is judged per finding, not by comparing the scope.pages counts of the two reports: the audits must be of the same site (origin), and the page or pages the finding names must have been examined by the rule in the current audit (crawled, and not skipped by the rule there). The page counts in each report’s per-rule scope are for reading, and two audits of different sizes are still compared on the pages they share.
An issue that is gone from the current report is not compared when:
| Reason | Meaning |
|---|---|
different-scope | The two reports audit different sites |
rule-not-run | The rule has no result in the current report (it was off, or did not run) |
rule-skipped | Every check of the rule was skipped in the current report, or the issue’s own check (or the check it moves to, for a link between broken-links and broken-links-sitewide) has a coverage gap with no page: external links past their cap or out of time, internal link targets not fetched. The coded skip reason is in detail, for example targeted-run for an audit given --target-url |
rule-timed-out | The rule ran past its time budget in the current audit |
rule-not-run-in-baseline | The rule judged nothing in the baseline either: the finding there was only carried from an older audit |
page-not-crawled | The issue’s page (or one of an item’s source pages) is not among the pages the current audit crawled. detail is the page |
targeted-run | The current audit was a targeted audit and the issue names no page, so no listed page speaks for it (a header a full audit read from the home page, for example). crawl/robots-txt findings are still compared, because every audit fetches the file |
rule-skipped-on-page | The rule skipped the issue’s page in the current audit, for example a noindex page. detail is the page |
sampled-report | The current report was rebuilt from a slim JSON export (squirrel report --input), which keeps a sample of each check’s pages and no passing rows. A finding is fixed only when the export’s rules list says the rule ran and the check’s page list is complete; an older export without rules, or a check whose pages were cut (affectedPagesHasMore), is never read as fixed |
items-capped | The rule capped its own item list in the current audit (details.additional is above zero), so an item missing from the list may still be failing past the cap |
not-evaluated | The rule answered with a check its metadata declares as “not checked” and no clean check that supersedes the problem |
A clean check that supersedes the problem check is the evidence of a fix: on a rule that declares its check names (the Check names by outcome table on its rule page), security/leaked-secrets reporting leaked-secrets where it reported leaked-secrets-critical is a fix. An issue stored under a retired check name is judged by the checks that replaced it: fixed when they all passed, and not compared when one was not checked. The statuses come from the per-rule status of each report.
The text, markdown and llm formats print a Not compared section after Changed with the reason for each issue, and the JSON diff has a notCompared list of { issue, reason, detail? } (and summary.notCompared, the count, when there are any). Neither removed nor summary.removed includes them. A diff with nothing not compared has none of these.
LLM-optimized format
Export in format optimized for LLM consumption:
squirrel report -f llm -o report.txtOr pipe directly to Claude:
squirrel report -f llm | claude "analyze this SEO report"Output formats
console (default)
Human-readable colored output for terminal:
──────────────────────────────────────────────────
SQUIRRELSCAN REPORT
https://nutshop.squirrelscan.com • 25 pages • 94/100 (A)
──────────────────────────────────────────────────
...
ISSUES
┌ Security (1 warning)
│
│ security/csp Content Security Policy (warning)
│ ⚠ csp-unsafe-scripts: CSP allows 'unsafe-inline'
│ → /
│
└────────────────────────────────────────────────text
Plain text without colors (for piping):
squirrel report -f text > report.txtjson
Machine-readable JSON for CI/CD and programmatic use:
squirrel report -f json -o report.json{
"baseUrl": "https://example.com",
"crawledAt": "2025-01-17T00:00:00Z",
"pages": [...],
"checks": [...],
"stats": {
"pagesTotal": 42,
"issuesCount": { "high": 12, "medium": 18, "low": 23 }
}
}markdown
Markdown format for documentation:
squirrel report -f markdown -o report.mdllm
Optimized format for LLM analysis:
squirrel report -f llm | claude "what are the top 3 issues?"html
Visual HTML report:
squirrel report -f html -o report.htmlOpens in browser with interactive filtering and sorting.
Valid categories
Filter reports by these categories:
core- Core SEO elementscontent- Content qualitylinks- Link analysisimages- Image optimizationschema- Structured datasecurity- Security headersa11y- Accessibilityi18n- Internationalizationperf- Performancereliability- Reliability (broken links, resources and forms)social- Social mediacrawl- Crawlabilityurl- URL structuremobile- Mobile optimizationlegal- Legal compliancelocal- Local SEOvideo- Video optimizationanalytics- Analyticseeat- E-E-A-T signalsblocking- Ad-blocker & privacy-filter impact (adblockstill accepted)
Retired audits
An audit whose data was reclaimed can no longer be opened. That happens two
ways: automatically, when a successful audit retires everything older than
[storage] keep_audits (the last 3 by default), or
explicitly with squirrel self disk --prune. --list still
shows it either way, marked retired with the date its data went, so the
history does not silently shrink:
06148d76 8 Sep 2026, 10:49 1 retired -
https://example.com
data reclaimed on 2026-09-08; this audit can no longer be openedOpening it, using it with --diff, or naming it as a --regression-since
baseline all refuse:
Audit data was reclaimed on 2026-09-08: 06148d76-6c48-465a-bc16-deb44144350dThe refusal is the point. The crawl row and some of its pages survive being retired, so without it the report would rebuild from those and show an audit with no findings at all, which reads as a clean result rather than a missing one.
If you keep an older audit as a reference baseline, raise keep_audits before it
falls out of the window.
Exit codes
| Code | Meaning |
|---|---|
0 | Success |
1 | Error (no audit found, invalid format, etc.) |
Related
- auth - Authentication for publishing
- audit - Run new audit
- analyze - Re-analyze crawl
- Dashboard - Manage published reports
- Configuration - Config file options
Large crawls
A crawl with more than 250,000 stored checks (about 1,200 pages) gets a sampled report body, so the report phase does not hold every check of the crawl in memory at once. The score, the passed, warning and failed totals, and every issue class are the same as the full body. What is left out is stated in the JSON report under reportBody (mode, totalChecks, keptChecks, rulesFolded, pageChecksOmitted, reason): per-page check lists are empty, and a rule with more than 500 checks keeps one folded entry per issue class with its page count. A crawl under the limit, and any smart audit, is unchanged. Pass --full-report to build the whole body whatever its size, at the cost of memory.