squirrelscan
GitHub

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

ArgumentDescription
idAudit ID (UUID) or domain name (optional, defaults to latest)

Options

OptionAliasDescriptionDefault
--list-lList recent auditsfalse
--format-fOutput format: console, text, json, html, markdown, xml, llmconsole
--output-oOutput file pathauto
--input-iLoad from JSON file (fallback mode)-
--severityFilter by severity: error, warning, allall
--categoryFilter by categories (comma-separated)all
--groupFilter by rule groups: seo, performance, security, ai (comma-separated). Combines with --category: an issue must match bothall
--diffCompare current report against baseline (audit ID or domain)-
--regression-sinceCompare against baseline and show regressions-
--allow-cross-siteAllow diff across different base URLsfalse
--publish-pPublish the reportfalse
--visibilityVisibility: public, unlisted, privateunlisted
--summaryPrint only the score, category breakdown, and issue counts — no per-issue detail. Console format onlyfalse
--include-passedAlso list the rules that passed, with how many pages each passed on. See List what passedfalse
--wcag-checklistPrint 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-infoAlso 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 nothingfalse
--full-reportBuild the whole report body for a very large crawl instead of a sampled one. See Large crawlsfalse
--include-pagesJSON only: list every crawled page with its HTTP status and how many rules reported on it. See Pages listfalse

Publishing

Share reports online by publishing them to your org’s address on squirrel.report. See Report address.

Visibility levels

LevelDescription
publicListed and searchable (default)
unlistedAccessible via link only, not listed
privateOnly visible to you when logged in

Publish report

squirrel report --publish

On success the command prints the published report URL (and nothing else, so it pipes cleanly):

https://acme.squirrel.report/XVv4NO7aPr

When 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 unlisted

Publish specific audit

squirrel report a7b3c2d1 --publish --visibility private

Examples

View latest audit

squirrel report

List all audits

squirrel report --list

Output:

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 a7b3c2d1

View latest audit for domain

squirrel report nutshop.squirrelscan.com

or with full URL:

squirrel report https://nutshop.squirrelscan.com

Export as JSON

squirrel report -f json -o report.json

Export as HTML

squirrel report -f html -o report.html
open report.html

Export as Markdown

squirrel report -f markdown -o report.md

Filter by severity

Show only errors:

squirrel report --severity error

Show only warnings:

squirrel report --severity warning

Filter by group

squirrel report --group security
squirrel report --group security,performance
squirrel report --group seo --category a11y

An 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 core

Show multiple categories:

squirrel report --category core,links,images

List 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-passed

The 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-pages

The 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 json

Compare the latest report for a domain against a baseline audit:

squirrel report --regression-since nutshop.squirrelscan.com --format llm

What 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:

ReasonMeaning
different-scopeThe two reports audit different sites
rule-not-runThe rule has no result in the current report (it was off, or did not run)
rule-skippedEvery 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-outThe rule ran past its time budget in the current audit
rule-not-run-in-baselineThe rule judged nothing in the baseline either: the finding there was only carried from an older audit
page-not-crawledThe 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-runThe 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-pageThe rule skipped the issue’s page in the current audit, for example a noindex page. detail is the page
sampled-reportThe 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-cappedThe 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-evaluatedThe 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.txt

Or 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.txt

json

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.md

llm

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.html

Opens in browser with interactive filtering and sorting.

Valid categories

Filter reports by these categories:

  • core - Core SEO elements
  • content - Content quality
  • links - Link analysis
  • images - Image optimization
  • schema - Structured data
  • security - Security headers
  • a11y - Accessibility
  • i18n - Internationalization
  • perf - Performance
  • reliability - Reliability (broken links, resources and forms)
  • social - Social media
  • crawl - Crawlability
  • url - URL structure
  • mobile - Mobile optimization
  • legal - Legal compliance
  • local - Local SEO
  • video - Video optimization
  • analytics - Analytics
  • eeat - E-E-A-T signals
  • blocking - Ad-blocker & privacy-filter impact (adblock still 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 opened

Opening 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-deb44144350d

The 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

CodeMeaning
0Success
1Error (no audit found, invalid format, etc.)

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.

Type to search…

↑↓ navigate↵ openesc close