Three Ways to Use squirrelscan
CLI for Humans
Run audits directly from your terminal with human-readable output.
Pipe to Agent
Pipe audit reports to Claude or other AI assistants using
squirrel report --format llm.Skill Integration
Install the squirrelscan skill so agents can run audits autonomously.
Install the Skill
The squirrelscan skill enables AI agents to run audits, analyze results, and implement fixes without manual intervention.Installation
audit-website skill for:
- Claude Code - Desktop and CLI
- Cursor - AI-first code editor
- Any agent supporting Claude Code skills
For best results, use the skill in plan mode if your agent supports it. This lets the agent analyze all issues and create a comprehensive implementation plan before making changes to your codebase.
Verify Installation
After installing, verify the skill is available:audit-website in the output.
Using with Claude Code
Basic Audit Workflow
The easiest way to run an audit is with a slash command:- Run the audit using squirrelscan CLI
- Parse the results
- Summarize issues by severity
- Suggest next steps
Example Prompts
Audit and summarize issues:Plan Mode for Comprehensive Fixes
For larger fix efforts, use Claude’s plan mode to create an implementation strategy:Review the plan
Claude will:
- Run the audit
- Analyze all issues
- Group fixes by category
- Create an ordered implementation plan
- Identify dependencies between fixes
Using Subagents for Parallel Fixes
For complex sites with many issues, prompt Claude to use subagents:Piping to Claude (Alternative Method)
If you prefer not to use skills, pipe audit output directly to Claude:Using Report Formats
Pipe audit results directly to Claude in LLM-optimized format:- Compact structured XML/text hybrid (40% smaller than verbose XML)
- Token-optimized for API costs and context limits
- Includes actionable fix suggestions
- Works with any LLM (Claude, GPT, etc.)
Example Workflows
Regression Diffs for Agents
Use diff reports to let agents focus on regressions and improvements:Diff mode supports
console, text, json, llm, and markdown. html and xml are not supported in diff mode.Other Formats for AI
| Format | Flag | Best For |
|---|---|---|
llm | --format llm | Compact structured XML for AI agents (40% smaller, token-optimized) |
text | --format text | Plain text output for simple piping |
json | --format json | Custom AI processing scripts |
markdown | --format markdown | AI agents that prefer markdown |
xml | --format xml | Verbose structured XML for enterprise integration |
xml work with both squirrel audit --format and squirrel report --format.
Using with Other AI Coding Assistants
Cursor
Cursor supports Claude Code skills natively:-
Install the skill:
-
Run with slash command:
-
Or use composer mode for multi-file fixes:
Windsurf / Aider / Other Agents
For agents without skill support, use piping:Advanced Agent Patterns
Pre-Deploy Audits
In your deployment workflow:Automated Regression Detection
After making changes:Configuration for Agents
Project-Scoped Config
Createsquirrel.toml in your project so agents use consistent settings:
squirrel.toml
Limiting Crawl Scope
For large sites, configure agents to audit specific sections:squirrel.toml
Skill vs Piping: Which to Use?
Use the skill when:- Working in Claude Code, Cursor, or skill-compatible editors
- You want agents to discover and use squirrelscan autonomously
- Building multi-step workflows where the agent decides when to audit
- The agent needs to run audits as part of a larger task
- Working with agents that don’t support skills
- You want explicit control over when audits run
- Integrating into shell scripts or automation
- Using squirrelscan with non-coding LLMs
Troubleshooting
Skill not found
Verify installation:Agent can’t run audits
Ensure squirrelscan CLI is installed:Piping produces no output
Check the export format:report command with --format llm for LLM-optimized output.