### Install and Initialize SquirrelScan CLI Source: https://context7.com/squirrelscan/skills/llms.txt Instructions for downloading, verifying, and initializing a SquirrelScan project. This involves running the squirrel executable with version check and init commands. ```bash # Download from squirrelscan.com/download # Then verify installation squirrel --version # Initialize a project configuration squirrel init -n my-project # Or overwrite existing config squirrel init -n my-project --force ``` -------------------------------- ### AI Agent Skills Installation (Bash) Source: https://context7.com/squirrelscan/skills/llms.txt Instructions for installing squirrelscan skills for AI coding assistants using different methods, including Claude Code, npx, manual git clone, and the squirrel CLI. ```bash # Using Claude Code / Cowork /plugin install squirrelscan/skills # Using npx npx skills add squirrelscan/skills # Manual installation git clone https://github.com/squirrelscan/skills.git ~/.skills/squirrelscan # Install via squirrel CLI squirrel skills install # Update skills squirrel skills update ``` -------------------------------- ### Verify squirrel CLI Installation Source: https://github.com/squirrelscan/skills/blob/main/audit-website/SKILL.md This command verifies if the squirrel CLI is installed and accessible in the system's PATH. It's a prerequisite for using the website audit skill. ```bash squirrel --version ``` -------------------------------- ### Squirrel Audit Command Examples Source: https://github.com/squirrelscan/skills/blob/main/audit-website/SKILL.md Demonstrates how to use the 'squirrel audit' command with different options to control the crawl process, such as setting maximum pages, forcing a fresh crawl, resuming interrupted crawls, and enabling verbose output. ```bash squirrel audit https://example.com --max-pages 200 ``` ```bash squirrel audit https://example.com --refresh ``` ```bash squirrel audit https://example.com --resume ``` ```bash squirrel audit https://example.com --verbose ``` -------------------------------- ### Squirrel Other Commands Source: https://github.com/squirrelscan/skills/blob/main/audit-website/SKILL.md Provides examples for miscellaneous Squirrelscan commands, including sending feedback and managing the Claude Code skill. ```bash squirrel feedback ``` ```bash squirrel skills install ``` ```bash squirrel skills update ``` -------------------------------- ### LLM Format: Site Information Example (XML) Source: https://github.com/squirrelscan/skills/blob/main/audit-website/references/OUTPUT-FORMAT.md The site information section provides metadata about the audited website, including its URL, the number of pages crawled, and the date of the crawl. ```xml ``` -------------------------------- ### LLM Format: Items Format Example (Text) Source: https://github.com/squirrelscan/skills/blob/main/audit-website/references/OUTPUT-FORMAT.md The item format provides detailed context for issues, including URLs, optional labels, metadata in square brackets, and source pages. ```text Items (3): - https://example.com/missing-title (title: "") - https://example.com/duplicate-title (title: "Home Page") (from: https://example.com/other) - /broken-link [status: 404, type: internal] (from: https://example.com/contact) ``` -------------------------------- ### Squirrel Audit with Coverage and Format Options Source: https://github.com/squirrelscan/skills/blob/main/audit-website/SKILL.md Examples of using the 'squirrel audit' command with specific coverage modes ('quick', 'surface', 'full') and output formats ('llm'). This allows for tailored audits based on speed and detail requirements. ```bash # Quick health check (25 pages, no link discovery) squirrel audit https://example.com -C quick --format llm ``` ```bash # Default surface audit (100 pages, pattern sampling) squirrel audit https://example.com --format llm ``` ```bash # Full comprehensive audit (500 pages) squirrel audit https://example.com -C full --format llm ``` ```bash # Override page limit for any mode squirrel audit https://example.com -C surface -m 200 --format llm ``` -------------------------------- ### LLM Format: Diff Output Changed Issues Example (XML) Source: https://github.com/squirrelscan/skills/blob/main/audit-website/references/OUTPUT-FORMAT.md This section details changes in issues between the baseline and current audit, categorizing them as regressions or improvements. ```xml warn→fail: Broken link count increased Before: ... After: ... ``` -------------------------------- ### LLM Format: Summary Example (XML) Source: https://github.com/squirrelscan/skills/blob/main/audit-website/references/OUTPUT-FORMAT.md The summary section provides a quick overview of the audit results, indicating the number of passed checks, warnings, and failed checks. ```xml ``` -------------------------------- ### LLM Format: Diff Output Added Issues Example (XML) Source: https://github.com/squirrelscan/skills/blob/main/audit-website/references/OUTPUT-FORMAT.md This section of the diff output details issues that were added in the current audit compared to the baseline. ```xml Missing page title Target: page /about ``` -------------------------------- ### LLM Output Format Structure (XML) Source: https://context7.com/squirrelscan/skills/llms.txt The LLM format is a compact XML/text hybrid optimized for AI consumption, offering significant token reduction compared to verbose XML. This example shows the structure of an audit report. ```xml Missing meta title on 2 pages Desc: Every page should have a unique meta title Fix: Add descriptive tags to each page Pages (2): https://example.com/about, https://example.com/contact Items (2): - https://example.com/about - https://example.com/contact </rule> </category> </issues> </audit> ``` -------------------------------- ### LLM Format: Diff Output Header Example (XML) Source: https://github.com/squirrelscan/skills/blob/main/audit-website/references/OUTPUT-FORMAT.md The diff output header for the LLM format includes baseline and current audit information, along with a summary of changes. ```xml <?xml version="1.0" encoding="UTF-8"?> <diff version="0.0.24"> <baseline id="a7b3c2d1" url="https://example.com" date="2026-01-17T10:30:00Z" pages="42" score="87" grade="B"/> <current id="b9c4e1f2" url="https://example.com" date="2026-01-18T10:30:00Z" pages="44" score="84" grade="B"/> <summary added="3" removed="1" changed="2" regressions="1" improvements="1"/> ``` -------------------------------- ### LLM Format: Document Header Example (XML) Source: https://github.com/squirrelscan/skills/blob/main/audit-website/references/OUTPUT-FORMAT.md The document header for the LLM format begins with the standard XML declaration and the root audit element, specifying the schema version. ```xml <?xml version="1.0" encoding="UTF-8"?> <audit version="0.0.24"> ``` -------------------------------- ### Usage Examples for Squirrelscan Audit and Report Commands Source: https://github.com/squirrelscan/skills/blob/main/audit-website/references/OUTPUT-FORMAT.md These bash commands demonstrate how to use the squirrelscan tool to generate audit reports in the LLM format. It covers both direct LLM output and a two-step workflow involving an audit ID, as well as piping output to an AI agent. ```bash # Direct LLM output (single step) squirrel audit https://example.com --format llm # Or two-step workflow squirrel audit https://example.com squirrel report <audit-id> --format llm # Pipe directly to AI agent squirrel audit https://example.com --format llm | claude ``` -------------------------------- ### Squirrel CLI Self Management Commands (Bash) Source: https://context7.com/squirrelscan/skills/llms.txt Commands for managing the squirrel CLI installation, such as updating the CLI, running health checks, viewing version information, generating shell completions, managing settings, and uninstalling the CLI. ```bash # Check and apply updates squirrel self update # Run health checks squirrel self doctor # Show version information squirrel self version # Generate shell completions squirrel self completion # Manage CLI settings squirrel self settings # Remove squirrel from system squirrel self uninstall ``` -------------------------------- ### LLM Format: Issues Section Example (XML) Source: https://github.com/squirrelscan/skills/blob/main/audit-website/references/OUTPUT-FORMAT.md The issues section details specific problems found during the audit, grouped by category. Each rule includes severity, status, a message, description, fix, and affected pages. ```xml <issues> <category name="Core SEO" errors="2" warnings="3"> <rule id="core/meta-title" severity="error" status="fail"> Missing or empty meta title tags Desc: Every page should have a unique meta title Fix: Add descriptive <title> tags to each page Pages (2): https://example.com/about, https://example.com/contact Items (2): - https://example.com/about - https://example.com/contact </rule> <rule id="core/meta-description" severity="warning" status="warn"> Desc: Pages should have meta descriptions Fix: Add <meta name="description"> tags Pages (5): https://example.com/page1, https://example.com/page2, ... </rule> </category> <category name="Performance" errors="0" warnings="1"> ... </category> </issues> ``` -------------------------------- ### LLM Format: Health Score Example (XML) Source: https://github.com/squirrelscan/skills/blob/main/audit-website/references/OUTPUT-FORMAT.md The health score section presents an overall score and grade for the website's audit, along with scores for specific categories like Core SEO and Technical SEO. ```xml <score overall="85" grade="B"> <cat name="Core SEO" score="92"/> <cat name="Technical SEO" score="88"/> <cat name="Content Quality" score="76"/> </score> ``` -------------------------------- ### Initialize squirrel Configuration Source: https://github.com/squirrelscan/skills/blob/main/audit-website/SKILL.md This command initializes the squirrel CLI by creating a configuration file named 'squirrel.toml' in the current directory. You can specify a project name during initialization. The '--force' flag can be used to overwrite an existing configuration. ```bash squirrel init -n my-project squirrel init -n my-project --force ``` -------------------------------- ### Perform Basic Website Audit with LLM Output Source: https://context7.com/squirrelscan/skills/llms.txt Runs a complete website audit using the 'audit' command with the 'llm' format, optimized for AI agent consumption. This provides a health score, category breakdowns, issue details, and fix recommendations. ```bash # Basic audit with LLM output (recommended for AI agents) squirrel audit https://example.com --format llm # Output includes: # - Overall health score (0-100) with grade # - Category breakdowns (Core SEO, Technical SEO, Content, Security) # - Specific issues with affected URLs # - Broken link detection # - Actionable fix recommendations ``` -------------------------------- ### Basic Audit Workflow Steps Source: https://github.com/squirrelscan/skills/blob/main/audit-website/SKILL.md Demonstrates the two-step process for running an audit and exporting the report. The first step runs the audit and saves results to the database, displaying console output. The second step exports the report in a specified format using the audit ID. ```bash # Step 1: Run audit (default: console output) squirrel audit https://example.com # Step 2: Export as LLM format squirrel report <audit-id> --format llm ``` -------------------------------- ### Configure SquirrelScan Audit Coverage Modes Source: https://context7.com/squirrelscan/skills/llms.txt Demonstrates how to adjust the depth of website audits using coverage modes: 'quick' for CI checks, 'surface' (default) for general audits, and 'full' for comprehensive analysis. Page limits can also be overridden. ```bash # Quick health check (25 pages, no link discovery) - ideal for CI squirrel audit https://example.com -C quick --format llm # Surface audit (100 pages, pattern sampling) - default mode squirrel audit https://example.com --format llm # Full comprehensive audit (500 pages) squirrel audit https://example.com -C full --format llm # Override page limit for any mode squirrel audit https://example.com -C surface -m 200 --format llm ``` -------------------------------- ### Squirrel CLI Configuration Management (Bash) Source: https://context7.com/squirrelscan/skills/llms.txt Commands to manage the squirrel CLI configuration, including showing the current configuration, setting values, retrieving the config file path, and validating the configuration. ```bash # Show current config squirrel config show # Set config value squirrel config set <key> <value> # Show config file path squirrel config path # Validate config file squirrel config validate ``` -------------------------------- ### Run Full Audit Command Source: https://github.com/squirrelscan/skills/blob/main/audit-website/SKILL.md Executes a full audit of a given URL, including crawling, analysis, and reporting, with the output formatted for LLM consumption. This is the recommended format for exhaustive and compact output. ```bash squirrel audit https://example.com --format llm ``` -------------------------------- ### Two-Step Workflow: Audit then Report in LLM Format Source: https://github.com/squirrelscan/skills/blob/main/audit-website/SKILL.md Demonstrates a two-step process where an initial audit is performed, and then a report in LLM format is generated using the audit ID. This allows for reusing audit data and exporting it in different formats later. ```bash # First run an audit squirrel audit https://example.com # Note the audit ID from output (e.g., "a1b2c3d4") # Later, export in different format squirrel report a1b2c3d4 --format llm ``` -------------------------------- ### Correct URL Format for Audit Source: https://github.com/squirrelscan/skills/blob/main/audit-website/SKILL.md Illustrates the correct way to specify a URL for the audit command, emphasizing the inclusion of the protocol (http:// or https://). Incorrect URL formats can lead to errors. ```bash # ✗ Wrong squirrel audit example.com # ✓ Correct squirrel audit https://example.com ``` -------------------------------- ### SquirrelScan Output Formats Source: https://context7.com/squirrelscan/skills/llms.txt Lists and demonstrates various output formats available for SquirrelScan audits, including LLM, console, JSON, Markdown, HTML, and plain text, catering to different use cases from AI processing to human readability. ```bash # LLM format - token-optimized for AI agents (40% smaller than XML) squirrel audit https://example.com --format llm # Console output - colored, human-readable (default) squirrel audit https://example.com --format console # JSON - for programmatic processing squirrel audit https://example.com --format json # Markdown - for documentation squirrel audit https://example.com --format markdown # HTML - for web reports squirrel audit https://example.com --format html # Plain text - for piping and grep squirrel audit https://example.com --format text # Pipe directly to AI agent squirrel audit https://example.com --format llm | claude ``` -------------------------------- ### Two-Step SquirrelScan Workflow: Audit and Report Source: https://context7.com/squirrelscan/skills/llms.txt Explains the two-step process for SquirrelScan audits: first running the 'audit' command to save data, then using the 'report' command to generate output in various formats. Includes listing audits and filtering reports. ```bash # Step 1: Run audit (saves to database) squirrel audit https://example.com # Note the audit ID from output (e.g., "a1b2c3d4") # Step 2: Export as LLM format squirrel report a1b2c3d4 --format llm # List recent audits squirrel report --list # Filter by severity squirrel report a1b2c3d4 --severity error --format llm # Filter by categories (comma-separated) squirrel report a1b2c3d4 --category "Core SEO,Performance" --format llm # Export to file squirrel report a1b2c3d4 --format llm --output ./audit-report.xml ``` -------------------------------- ### Squirrel Config Subcommands Source: https://github.com/squirrelscan/skills/blob/main/audit-website/SKILL.md Illustrates the usage of subcommands for managing Squirrelscan's configuration. These commands allow users to view, set, locate, and validate configuration settings. ```bash squirrel config show ``` ```bash squirrel config set <key> <value> ``` ```bash squirrel config path ``` ```bash squirrel config validate ``` -------------------------------- ### Perform Quick Site Audit with LLM Output Source: https://github.com/squirrelscan/skills/blob/main/audit-website/SKILL.md Initiates a quick SEO audit for a given website URL and requests the output in the LLM-optimized format. This is suitable for initial checks and obtaining a concise summary of issues. ```bash # User asks: "Check squirrelscan.com for SEO issues" squirrel audit https://squirrelscan.com --format llm ``` -------------------------------- ### Squirrelscan Audit Categories Overview (Bash) Source: https://context7.com/squirrelscan/skills/llms.txt An overview of the audit categories covered by squirrelscan, including SEO, performance, security, accessibility, and more. It also provides a link format for rule documentation. ```bash # Categories audited: # - Core SEO: Meta tags, titles, descriptions, canonical URLs, Open Graph # - Technical SEO: Broken links, redirect chains, page speed, mobile-friendliness # - Performance: Page load time, resource usage, caching # - Content Quality: Heading structure, image alt text, content analysis # - Security: Leaked secrets (96 patterns), HTTPS, security headers, mixed content # - Accessibility: Alt text, color contrast, keyboard navigation # - Links: Internal and external broken link detection # - E-E-A-T: Expertise, Experience, Authority, Trustworthiness # - Mobile: Mobile-friendliness, responsive design, touch-friendly elements # - Crawlability: robots.txt, sitemap.xml validation # - Schema: Schema.org markup, structured data, rich snippets # - Legal: Privacy policies, terms of service compliance # - Social: Open Graph, Twitter cards validation # - URL Structure: Length, hyphens, keywords # - Images: Alt text, image size, format optimization # - Local SEO: NAP consistency, geo metadata # - Video: VideoObject schema, accessibility # Look up documentation for any rule: # https://docs.squirrelscan.com/rules/{rule_category}/{rule_id} # Example: https://docs.squirrelscan.com/rules/links/external-links ``` -------------------------------- ### Generate SquirrelScan Regression and Diff Reports Source: https://context7.com/squirrelscan/skills/llms.txt Details how to use SquirrelScan's 'report' command to compare audits and identify regressions. This includes comparing against a baseline audit ID or the latest domain report. ```bash # Compare current report against a baseline audit ID squirrel report --diff a1b2c3d4 --format llm # Compare latest domain report against a baseline domain squirrel report --regression-since example.com --format llm # Diff output shows: # - Added issues (new problems) # - Removed issues (fixed problems) # - Changed issues (regressions/improvements) ``` -------------------------------- ### Advanced SquirrelScan Audit Options Source: https://context7.com/squirrelscan/skills/llms.txt Details advanced command-line options for the SquirrelScan audit command, including setting maximum pages, forcing a fresh crawl, resuming interrupted crawls, and enabling verbose or debug logging. ```bash # Audit with more pages squirrel audit https://example.com --max-pages 200 --format llm # Force fresh crawl (ignore cache) squirrel audit https://example.com --refresh --format llm # Resume interrupted crawl squirrel audit https://example.com --resume --format llm # Verbose output for debugging squirrel audit https://example.com --verbose --format llm # Debug logging squirrel audit https://example.com --debug --format llm ``` -------------------------------- ### Fresh Audit Ignoring Cache with LLM Output Source: https://github.com/squirrelscan/skills/blob/main/audit-website/SKILL.md Performs a site audit, forcing a refresh by ignoring cached results, and provides the output in LLM format. This ensures the audit reflects the most current state of the website. ```bash # User asks: "Re-audit the site and ignore cached results" squirrel audit https://example.com --refresh --format llm ``` -------------------------------- ### Deep Audit for Large Site with LLM Output Source: https://github.com/squirrelscan/skills/blob/main/audit-website/SKILL.md Conducts a thorough audit of a large website, limiting the crawl to a specified number of pages, and outputs the results in LLM format. This is useful for comprehensive analysis of extensive sites. ```bash # User asks: "Do a thorough audit of my blog with up to 500 pages" squirrel audit https://myblog.com --max-pages 500 --format llm ``` -------------------------------- ### Verbose Audit for Large Sites Source: https://github.com/squirrelscan/skills/blob/main/audit-website/SKILL.md Executes a site audit with verbose logging enabled, showing progress during the crawl and analysis. This is helpful for monitoring the audit process on very large websites. ```bash squirrel audit https://example.com --format llm --verbose ``` -------------------------------- ### Detect Regression Diffs Between Audits Source: https://github.com/squirrelscan/skills/blob/main/audit-website/SKILL.md Shows how to use the diff mode in the report command to detect regressions between audits. This includes comparing a current report against a baseline audit ID or the latest domain report against a baseline domain. Diff mode supports various formats but excludes HTML and XML. ```bash # Compare current report against a baseline audit ID squirrel report --diff <audit-id> --format llm # Compare latest domain report against a baseline domain squirrel report --regression-since example.com --format llm ``` -------------------------------- ### Generate LLM Report for Audit ID Source: https://github.com/squirrelscan/skills/blob/main/audit-website/SKILL.md This command generates an LLM-optimized report for a specific audit ID. It's useful for programmatic analysis of audit results, offering a compact XML/text hybrid format. ```bash squirrel report <audit-id> --format llm ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.