/squirrelscan:structured-data-auditfrom squirrelscan
Validates JSON-LD structured data using squirrelscan audit rules, checking schema validity, type fit, and site-wide entity consistency. Fixes duplicate Organization entities for Yoast, Next.js, Shopify, and Webflow.
Ships in squirrelscan. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Check a site's JSON-LD: is it valid, is it the right type for the page, and does the site describe each entity (the organization, the website, the authors, the products) once, with a stable identity, instead of redeclaring it differently on every page.
Valid markup does not guarantee rich results. Search engines decide eligibility, and markup must describe what is visible on the page.
Run squirrel --version. If it fails, install the CLI from squirrelscan.com/download (the squirrelscan skill has references/install.md). Then run squirrel auth status:
--offline: the audit runs on this machine, is free, and nothing is published.squirrel credits) and get a yes. Offer --offline or --no-publish. For a site the user does not own, add --ephemeral: nothing is added to the dashboard, scheduled or published.Every flag below is checked against the squirrel CLI docs (https://docs.squirrelscan.com/cli/audit). Rule docs: https://docs.squirrelscan.com/rules/{category}/{rule_id}.
squirrel audit https://example.com --level surface --rule-include schema --format json -o schema.json
squirrel entities # the site-wide entity graph from the latest audit
squirrel entities --problem no-id,conflict,split-identity,dangling
--rule-include schema runs the per-page and site-wide structured data rules (schema/json-ld-valid, schema/expected-type, schema/entity-* and the type rules such as schema/product, schema/article, schema/breadcrumb, schema/faq, schema/local-business, schema/organization).Organization blocks with no @id are sixty organizations to a search engine. Entity problems are no-id, conflict, dangling, single-page and split-identity. The squirrelscan skill's references/entity-map.md and references/entity-map-fixes.md have the shape that works and the exact change per stack. Read them when an entity-* finding appears.--level full when the entity map matters: it is built from the pages crawled.schema/json-ld-valid (a block that does not parse is ignored entirely).@id (for example https://example.com/#organization), declare it fully once, and reference it by @id elsewhere. Rules: schema/entity-id-format, schema/entity-organization-missing, schema/entity-website-missing, schema/entity-split-identity, schema/entity-conflicts, schema/entity-dangling, schema/entity-orphan, schema/entity-publisher-mismatch.schema/expected-type, schema/coverage-outlier (a page type missing the markup its siblings have).schema/product, schema/article, schema/organization, schema/local-business, schema/video, schema/review, schema/rating-scope, schema/faq, schema/breadcrumb.| Stack | Look here |
|---|---|
| WordPress with Yoast SEO | Yoast outputs one schema graph with @ids. Duplicates come from the theme or another plugin also printing JSON-LD: disable one source. Organization details are in Yoast's site representation settings |
| Next.js | one <script type="application/ld+json"> in the root layout for the Organization and WebSite (with @id), page-level scripts that reference those ids |
| Shopify | the theme's product JSON-LD (often duplicated by an app), and theme.liquid for Organization |
| Webflow | Site settings or page custom code (head) |
| Static and docs | the layout template's head, generated from site config so every page agrees |
Validate in the user's tools of choice once the audit is clean (for example Google's Rich Results Test); squirrelscan does not claim rich-result eligibility.
Re-audit, then squirrel entities --diff. An entity that gains an @id changes key, so read the gainedId section (and its coverage: proven or partial, and notCrawled should be empty) rather than the added and removed lists.
Stop when schema/json-ld-valid is clean, no entity-conflicts, entity-split-identity or entity-dangling remain on a full crawl, each page type has the markup its siblings have or a reason it does not, and every finding about markup the page does not back up is resolved by fixing the page or the markup.
Titles, canonicals, content: seo-audit. The wider loop: audit-website.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub squirrelscan/skills --plugin squirrelscan13 skills in this plugin
/accessibility-auditAudit a site with squirrelscan's accessibility audit rules via the squirrel CLI or hosted squirrelscan MCP server in Claude Code, GitHub Copilot, Codex, Cursor, and other coding agents, checking accessible names, labels, ARIA, headings, landmarks, contrast, language, zoom, and target sizes. It supports an optional WCAG level filter and checklist, fixes issues by component and template, and says plainly that automated checks cover only part of WCAG and what a person must still check. Use when asked "check my site's accessibility" or "run a WCAG audit"./agent-experience-auditEvaluate your site's agent experience with squirrelscan audit rules via the squirrel CLI or hosted squirrelscan MCP server in Claude Code, GitHub Copilot, Codex, Cursor, and other coding agents, checking robots.txt bot access, content present without JavaScript, llms.txt, AGENTS.md, markdown responses, API discovery, and machine-readable policies. It leaves allow or block bot decisions to the site owner and focuses on how AI agents and crawlers read the site rather than visibility in AI answers. Use when asked "how well does my site work for AI agents" or "audit my llms.txt"./audit-websiteAudit a website with the squirrelscan CLI or the hosted squirrelscan MCP server and fix the findings in code. Runs SEO, performance, security, technical, content, accessibility, and 16 other rule categories (350+ rules), returns an LLM-optimized report, then drives an iterative fix loop, mapping findings to source files, applying fixes, and re-auditing until the site scores well. Use to discover and assess website or webapp issues and drive them to fixed.Other plugins' skills for the same job