For AI agents: the complete documentation index is available at https://docs.gage.io/llms.txt, the full documentation bundle is available at https://docs.gage.io/llms-full.txt, and this page is available as Markdown at https://docs.gage.io/scanners.md.

Scanners

A scanner is a small program that reports issues it finds in your sessions or project config.

See Scanners for a list of available scanners.

Scanners are written in the Rune programming language. They’re run in a sandbox virtual machine to limit what they can do on your system.

Scanner source code is available for review at any time.

You can inspect installed scanners on your system in ~/.gage/lib/scanners/.

Scanner locations

Gage loads scanners from three places. A scanner in a more specific place shadows one with the same name in a less specific place.

  1. .gage/scanners/ in the current project directory or any directory above it
  2. ~/.gage/local/scanners/, for scanners you write for yourself
  3. ~/.gage/lib/scanners/, the scanners that ship with Gage

A scanner is a directory holding a scanner.rn file, or a single .rn file. gage scan --list-scanners shows every scanner Gage finds and where it came from. To run a scanner that is not installed, pass its path to gage scan -s.

Groups

A scanner declares the groups it belongs to. gage scan with no scanner selection runs the default group. gage scan -g NAME runs a group by name.