/squirrelscan:performance-auditfrom squirrelscan
Diagnoses slow page loads using squirrelscan audit rules, checking largest image, render-blocking resources, script/image weight, compression, caching, server response, fonts, and layout shift. Applies stack-specific fixes and compares before/after results.
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.
Find what makes a site slow to load and fix it by template: render-blocking resources, the largest image, oversized scripts and images, missing compression and caching, slow server response, font loading and layout shift.
squirrelscan's performance rules read the page's markup, headers and fetched resources. They flag the causes behind Core Web Vitals; they are not real-user measurements. Google's thresholds, judged at the 75th percentile of field data, are: Largest Contentful Paint 2.5 s or less, Interaction to Next Paint 200 ms or less, Cumulative Layout Shift 0.1 or less (https://web.dev/articles/vitals). To confirm a fix moved real users, the user needs field data (the Chrome UX Report or PageSpeed Insights).
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 perf,images --format json -o perf.json
surface covers one page per template, which is what performance work needs. Add --level full for sign-off.perf category score: squirrel report <audit-id> --group performance --format llm.perf/lcp-hints, perf/lcp-fetchpriority, perf/lazy-above-fold, perf/render-blocking, perf/critical-request-chains, perf/preconnect, perf/ttfb.perf/total-byte-weight, perf/js-file-size, perf/css-file-size, perf/duplicate-js, perf/legacy-js, perf/unminified-js, perf/unminified-css, perf/content-in-js-bundle, perf/framework-data-payload, images/image-file-size, images/modern-format, images/responsive-size.perf/compression, perf/asset-compression, perf/cache-headers, perf/bad-caching, perf/http2.perf/cls-hints, images/dimensions, perf/font-loading, perf/font-delivery, perf/inp-hints, perf/dom-size.perf/source-maps, perf/js-libraries, perf/js-redirects, images/lazy-loading, images/offscreen-lazy.Do not lazy-load the main (largest) image: the audit flags that, and it is a common regression. Get each rule's exact fix from its docs page.
| Stack | Look here |
|---|---|
| Next.js | next/image (priority on the hero, sizes), next/font, next/dynamic for heavy client components, third-party <Script strategy>, bundle analyzer for duplicate packages |
| WordPress | one caching plugin (not several), an image optimization plugin or service, removing unused plugins and page-builder widgets, theme scripts loading on every page, a CDN |
| Shopify | theme assets and Liquid, uninstalling apps (each can inject scripts; removing the app may leave code in theme.liquid), image sizes via the image_url filter |
| Webflow | image settings and formats, removing unused interactions and custom code, font loading settings |
| Cloudflare | caching rules and cache TTLs, compression (Brotli), HTTP/2 and HTTP/3, image resizing |
| Vercel / Netlify | headers for Cache-Control on hashed assets (public, max-age=31536000, immutable), edge caching, image optimization |
Re-audit with --refresh after the deploy (cached pages would show the old numbers), then compare with the baseline: squirrel report --diff <baseline-audit-id> --format llm. Report the before and after score and the specific rules that cleared.
Stop when error-severity perf findings are cleared on a --level full re-audit, the remaining warnings are listed with their cost and effort, and the user has been told lab-style checks do not replace field data. To stop it regressing, see website-ci-gate (--fail-on 'score:perf<80' style gates).
Broken assets and links: broken-link-checker. Anything else, and the fix loop: audit-website.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
performance-audit, squirrelscan, web-vitals, page-speed, core-web-vitals
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./broken-link-checkerFind broken internal and external links, broken anchors, redirect chains, orphan pages, broken images, and dead sitemap URLs with squirrelscan audit rules via the squirrel CLI or hosted squirrelscan MCP server in Claude Code, GitHub Copilot, Codex, Cursor, and other coding agents. It recommends whether to fix, redirect, remove, or leave each finding, and warns about credit costs for external link checks when signed in. Use when asked "find broken links on my site", "check for 404s and redirect chains", or "clean up dead sitemap URLs"./launch-checklistRun a pre-launch pass for a new site, redesign, or migration using squirrelscan audit rules via the squirrel CLI or hosted squirrelscan MCP server in Claude Code, GitHub Copilot, Codex, Cursor, and other coding agents. It runs one full baseline audit, then works through security, indexing, link, accessibility, performance, and header checks in launch order, ending with a go or no-go list. Use when asked "is my site ready to launch", "run a pre-launch website check", or "audit my migration before cutover"./security-auditRun squirrelscan's security and integrity audit rules (squirrel CLI or hosted squirrelscan MCP server) in Claude Code, GitHub Copilot, Codex, Cursor and other coding agents to find leaked secrets, exposed files and endpoints, weak headers and cookies, mixed content and signs of compromise. It asks whether you own or may test the site before any aggressive probing, defaults to passive and ephemeral runs otherwise, and orders fixes to limit damage. Not a penetration test. Use when asked "check my site's security" or "find leaked secrets".Other plugins' skills for the same job