scan, fix, ci, and hook, aislop ships several supporting commands for project setup, toolchain verification, rule exploration, badge generation, score tracking, and version management. This page covers each one with its key flags and usage examples.
aislop init
Creates.aislop/config.yml (your policy file) and optionally .aislop/rules.yml and a CI workflow file. Run this once when you add aislop to a project to get a sensible starting configuration without writing YAML by hand.
- Set your
failBelowthreshold - Enable or disable specific engines
- Generate a GitHub Actions workflow at
.github/workflows/aislop.yml
—strict
Generate an enterprise-grade configuration: all engines enabled, typecheck turned on,failBelow set to 85, and the CI workflow included automatically.
aislop doctor
Checks which analysis engines can run in the current project and reports coverage. Run this after installing aislop on a new machine or in a new environment to confirm the full toolchain is available.aislop doctor does not run a scan. It only checks engine availability and project coverage. No score is produced.aislop rules
Lists all 50+ rules with their IDs, severity levels, fixability, and descriptions. Use this command to understand what each rule catches before you override or suppress it.—search
Open an interactive, searchable rule explorer in your terminal. Type to filter by rule ID, description, or engine.- The rule ID (e.g.
ai-slop/narrative-comment) - The default severity (
errororwarning) - Whether the rule is auto-fixable
- A short description of what it catches
.aislop/config.yml:
aislop badge
Generates the badge URL and README markdown for your repository’s aislop score. Scores are hosted atbadges.scanaislop.com and link through to your project’s page on scanaislop.com.
Flags
| Flag | Description |
|---|---|
--owner <owner> | GitHub owner (auto-detected from git remote if omitted) |
--repo <repo> | GitHub repo name (auto-detected from git remote if omitted) |
--json | Emit machine-readable JSON instead of rendered markdown |
Example output
aislop trend
Reads.aislop/history.jsonl and prints a table of recent scores alongside an ASCII sparkline, so you can see how your score has moved over time.
—limit
Control how many recent runs to display:How score history works
A full-project interactive scan automatically appends a compact record to.aislop/history.jsonl. Each record includes:
- Timestamp
- Score
- Error and warning counts
- File count
- CLI version
History is a local side effect only. aislop never writes to
.aislop/history.jsonl when:- Running with
--jsonor--sarif - Running
aislop ci - The environment variable
AISLOP_NO_HISTORY=1is set
aislop trend only reflects local interactive runs.aislop update / aislop upgrade
Checks npm for the latest published version of aislop and compares it to the installed version.upgrade is an alias for update—they do the same thing.
aislop version
Prints the installed CLI version to stdout.aislop commands
Prints the full command reference—every public command and its major flags—directly in your terminal.aislop <command> --help for detailed help on a single command: