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
Verify Installation
After installing, verify the skill is available:audit-website in the output.
Using with Claude Code
Basic Audit Workflow
Simply prompt Claude to audit a website:- Run the audit using squirrelscan CLI
- Parse the results
- Summarize issues by severity
- Suggest next steps
Example Prompts
Audit and summarize issues
Audit and summarize issues
Audit with specific focus
Audit with specific focus
Audit and fix all issues
Audit and fix all issues
Audit local development site
Audit local development site
Plan Mode for Comprehensive Fixes
For larger fix efforts, use Claude’s plan mode to create an implementation strategy:1
Trigger plan mode
Ask Claude to enter plan mode before starting work:
2
Review the plan
Claude will:
- Run the audit
- Analyze all issues
- Group fixes by category
- Create an ordered implementation plan
- Identify dependencies between fixes
3
Execute the plan
Once approved, Claude will implement fixes systematically, checking off completed items.
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
After running an audit, export results in LLM-optimized formats:- 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
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 |
squirrel report <audit-id> --format <format>, not the audit command directly.
Using with Other AI Coding Assistants
Cursor
Cursor supports Claude Code skills natively:-
Install the skill:
-
Use in Cursor chat:
-
Or use composer mode for multi-file fixes:
Windsurf / Aider / Other Agents
For agents without skill support, use piping:Advanced Agent Patterns
Continuous Monitoring
Set up Claude to run periodic audits:Pre-Deploy Audits
In your deployment workflow:Automated Regression Detection
After making changes:Configuration for Agents
Project-Scoped Config
Create.squirrel/config.json in your project so agents use consistent settings:
Limiting Crawl Scope
For large sites, configure agents to audit specific sections:Skill vs Piping: Which to Use?
Use the skill when...
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
Use piping when...
Use piping when...
- 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
Skill not found
Verify installation:Reinstall if missing:
Agent can't run audits
Agent can't run audits
Ensure squirrelscan CLI is installed:The skill requires the CLI to be in PATH.
Piping produces no output
Piping produces no output
Check the export format:Ensure you’re using the
report command with --format llm for LLM-optimized output.