squirrelscan
GitHub

skills

Install squirrelscan skills for coding agents

The skills command installs squirrelscan capabilities into coding agents that support the Agent Skills standard.

What are agent skills?

Agent Skills are folders of instructions, scripts, and resources that coding agents can discover and use to perform tasks more accurately. Skills give agents access to procedural knowledge they can load on demand.

The Agent Skills format is an open standard supported by many coding agents including:

  • Claude Code - Anthropic’s CLI coding agent
  • Cursor - AI-first code editor
  • VS Code - With GitHub Copilot
  • Gemini CLI - Google’s coding agent
  • OpenAI Codex - OpenAI’s coding agent
  • Goose - Block’s open source agent
  • Amp - Sourcegraph’s coding agent
  • Roo Code - coding agent

For the full list of supported agents, see agentskills.io.

The squirrelscan skills

squirrelscan ships these skills from the squirrelscan/skills repository, the one source for every install path below. The repository holds more skills than these two (task skills for security, accessibility, SEO and more). squirrel skills list shows all of them, and a skill added there needs no CLI update. The two below are the default set:

SkillWhat it does
squirrelscanOperate the CLI: install, login, run audits, publish reports, credits, API keys, the entity map, MCP setup, configuration, troubleshooting
audit-websiteThe fix loop: audit a site, map findings to code, fix in batches, re-audit until it scores well

Usage

squirrel skills                         # same as squirrel skills status
squirrel skills list [--json]
squirrel skills status [--json]
squirrel skills install [skill...] [--all] [--agent <name>...] [--project] [--dry-run]
squirrel skills update  [skill...] [--all] [--check] [--force] [--dry-run] [--json]
squirrel skills uninstall [skill...] [--agent <name>...] [--project]

skill... on install defaults to the two default skills (squirrelscan and audit-website), which are built into the CLI and install even when the catalog can’t be read. Name any other skill from squirrel skills list to install it, or pass --all to install every skill in the catalog. On update, skill... defaults to every installed skill.

--agent picks where the skills go, and can be repeated:

AgentFolderRead by
claude~/.claude/skills ($CLAUDE_CONFIG_DIR/skills when set)Claude Code
agents~/.agents/skillsCodex, Cursor, Gemini CLI and other Agent Skills tools
allboth

The default is both. --project uses the current repo’s .claude/skills and .agents/skills instead of the ones in your home directory. The repo is the nearest folder up from where you run it that holds a .git, or the current folder when there is none.

squirrel downloads the skills itself: no Node, no npx, no other tool. It reads the published catalog.json in squirrelscan/skills (the name, version, description, default flag and files of every skill, with each file’s sha256 and size), falling back to manifest.json, which lists only the default skills, when the catalog can’t be read. It downloads the files it needs, checks each one against its sha256, and only then writes. The skills are real copies, so this works the same on macOS, Linux and Windows. A download that fails or doesn’t match its hash writes nothing, so the previous install stays exactly as it was.


list

Show every skill in the catalog: its latest version, a one-line description, whether it is a default skill, and where it is installed (global or project, claude or agents).

$ squirrel skills list
squirrelscan skills  (github.com/squirrelscan/skills @ e23765f)

squirrelscan   1.4.1  default; installed 1.4.1 (global claude, global agents)
  Operate the squirrelscan CLI
seo-audit      1.0    not installed
  Audit a website for SEO issues

Install one with `squirrel skills install <name>`, or all with `squirrel skills install --all`.

Offline, it lists the installed skills and says the catalog is unavailable. --json gives the same as JSON.


status

Show which skills are installed, where, and whether a newer version is published.

$ squirrel skills
squirrelscan skills  (github.com/squirrelscan/skills @ e23765f)

  skill           installed   latest   where
  squirrelscan    1.4.1       1.4.1    ~/.claude/skills, ~/.agents/skills
  audit-website   2.1         2.2 ↑    ~/.claude/skills, ~/.agents/skills

1 update available: run `squirrel skills update`.
Auto-update is on: skills update with the CLI.

It shows the default skills and every other skill you have installed, with the installed and latest version of each. It also lists files you have edited, skills that npx skills still manages, folders that belong to something else, and any install an update can’t write to (a link or a folder where a file should be). Offline, it shows what is installed and says the latest version is unknown. --json gives the same as JSON.


install

$ squirrel skills install
✓ squirrelscan 1.4.1   → ~/.claude/skills, ~/.agents/skills
✓ audit-website 2.2    → ~/.claude/skills, ~/.agents/skills
Adopted 2 skills installed by `npx skills` (removed them from its lock file, backup at ~/.agents/.skill-lock.json.bak).
Restart your agent to load them.

Skills you installed earlier with npx skills add are taken over: squirrel updates them in place, replaces the symlinks npx skills made with copies, and removes them from its lock file (after copying the lock to .skill-lock.json.bak), so the two tools stop updating the same folders. A file that differs from the published version with no record of who wrote it is backed up first.

squirrel leaves alone a skill folder that links somewhere else (such as your own checkout) and a folder holding another author’s skill of the same name.

squirrel skills install seo-audit security-headers   # by name
squirrel skills install --all                        # every skill in the catalog

An unknown name stops the command with the list of valid names and writes nothing. --agent, --project and --dry-run work the same with --all.

--dry-run shows what would change without writing anything. squirrel setup runs the same install as part of the first run.

Once installed, invoke them in your coding agent:

/audit-website
/squirrelscan

update

$ squirrel skills update
✓ audit-website 2.1 → 2.2  (~/.claude/skills, ~/.agents/skills)
! audit-website/SKILL.md in ~/.claude/skills was edited locally, kept it.
  Use --force to replace it (your copy is backed up first).
✓ squirrelscan 1.4.1 is current

update changes only what is already installed (task skills included), and downloads only the files that changed. It never installs a skill or a location you don’t have, unless you pass --all: that also installs the catalog skills you don’t have yet, at the locations you already use. It updates the skills in your home directory and, run inside a repo, that repo’s --project copies; other repos’ copies are updated from inside those repos.

squirrel records the hash of every file it writes (in ~/.squirrel/skills.json; ~/.squirrel is %LOCALAPPDATA%\squirrel on Windows), so it knows when you have edited one, and it never overwrites an edit silently. An edited file is kept and reported; --force replaces it too, after backing your copy up to ~/.squirrel/skills/backups/<timestamp>/, one folder per location (global-claude, project-agents and so on). Files of your own in a skill folder always stay.

OptionWhat it does
--checkOnly report. Exits 1 when an update is available and 0 when everything is current, for scripts and agents. Exits 2 when the check itself fails or an install can’t be updated
--forceAlso replace locally edited files, after backing them up
--allAlso install catalog skills that are not installed yet
--dry-runShow what would change without writing anything
--jsonOutput JSON

Automatic updates

You rarely need to run it. From v0.0.99, when squirrel auto-updates itself, the first run on the new version updates the installed skills in the background: no prompts, a 60 second limit, once per new version, edits kept, and no network at all when no skills are installed. It only updates what is installed and never installs a new skill. It leaves project installs (--project) to you. It follows auto_update; turn off just the skills with:

squirrel self settings set skills_auto_update false

It never holds up the command you ran, and is off in CI and with SQUIRREL_NO_UPDATE set.


uninstall

squirrel skills uninstall
squirrel skills uninstall audit-website --agent claude

Removes only the files squirrel wrote and you haven’t changed. Files you edited, and files of your own, stay where they are, and the command lists what it kept. A folder left behind that way is yours: updates leave it alone, and squirrel skills install takes it back.


Claude Code plugin

Claude Code users can install everything (all skills plus the hosted MCP server) as a plugin instead:

/plugin marketplace add squirrelscan/skills
/plugin install squirrelscan@squirrelscan

Every commit to the skills repository is a new plugin version. Claude Code doesn’t auto-update third-party marketplaces unless you turn it on in /plugin, so pick up new versions with /plugin marketplace update squirrelscan and /plugin update squirrelscan@squirrelscan.

Added the older squirrelscan/squirrelscan marketplace before? It now points the plugin at squirrelscan/skills, so it keeps working: run those same two update commands to move over. To switch marketplaces instead, remove the old one first. Claude Code won’t add a second marketplace named squirrelscan, and removing it uninstalls the plugin, so reinstall:

/plugin marketplace remove squirrelscan
/plugin marketplace add squirrelscan/skills
/plugin install squirrelscan@squirrelscan

The audit-website skill

The audit-website skill gives your coding agent the ability to run comprehensive website audits using squirrelscan and drive the findings to fixed code. When invoked, the agent will:

  1. Run squirrel audit on the target URL
  2. Analyze the results and map issues to your code
  3. Propose and apply fixes, then re-audit

Invoking the skill

In Claude Code or other compatible agents:

/audit-website https://nutshop.squirrelscan.com

The agent will handle running the audit and interpreting results for you.

The squirrelscan skill

The squirrelscan skill teaches your agent the CLI itself: installation, authentication, publishing reports, cloud credits, API keys, MCP setup, and configuration. Agents load it whenever a task touches squirrelscan beyond a basic audit, for example “publish this report” or “connect squirrelscan over MCP”.

Test hook: a local skills source

SQUIRREL_SKILLS_TEST_SOURCE exists so the install tests can run squirrel skills install against a local fixture server without the network. It is a test hook, not a mirror setting, and it is not a way to install skills from anywhere else.

SQUIRREL_SKILLS_TEST_SOURCE=http://127.0.0.1:8123 squirrel skills install

The server serves manifest.json, catalog.json and skills/<skill>/<file> under that URL. The value is read from the process environment only, never from squirrel.toml, a URL or a manifest. The variable has to be in the real environment (your shell, or your CI’s secrets): squirrel does not read a .env file or a bunfig.toml from the directory you run it in. Whenever the override is honoured, squirrel prints a note on stderr naming the source. It is honoured only for a literal loopback address (127.x.x.x or [::1], no credentials, no host name to resolve). Any other value is ignored with a warning and the skills come from squirrelscan/skills on GitHub as usual. Redirects from the local server are refused, and every file is still checked against its sha256 in the manifest, which from the same local server is an integrity check, not proof of who wrote the files. Requests go through HTTP_PROXY if one is set, so add 127.0.0.1 to NO_PROXY when a proxy is configured.


Type to search…

↑↓ navigate↵ openesc close