What it catches
AI coding agents (Claude Code, Cursor, Codex, OpenCode, Gemini CLI) often produce code that passes tests and lint, then leaves residue: narrative comments, swallowed exceptions,as any casts, hallucinated imports, dead code, TODO stubs, oversized functions. aislop encodes 50+ of those patterns and weights them so security and high-confidence defects hit harder than mechanical cleanup.
Six engines
Every scan runs six engines in parallel. Architecture is opt-in.Formatting
Biome, ruff, gofmt, cargo fmt, rubocop, php-cs-fixer, dotnet format, clang-format.
Linting
oxlint, ruff, golangci-lint, clippy, expo-doctor, Roslynator / InspectCode, cppcheck / clang-tidy.
Code quality
Function and file size, nesting, unused files and dependencies via knip, unused declarations.
AI slop
Narrative and trivial comments, swallowed exceptions,
as any, unused imports, TODO stubs, generic names.Security
eval, innerHTML, injection patterns, hardcoded secrets, and dependency audits.Architecture
Opt-in import bans, layering rules, and required patterns in
.aislop/rules.yml.10 language targets
Built-in checks still run when optional system tools are missing. If a repository is mostly an unsupported language (Swift, Kotlin, Java), aislop withholds the score and reports
scoreable: false instead of scoring a handful of incidental files.
Why it is safe in CI
- Deterministic. No LLM at runtime. The same tree always produces the same score.
- Fast. Engines run in parallel. Most projects scan in well under a second.
- Zero-config start.
npx aislop@latest scanworks on any supported repo. Add.aislop/config.ymlwhen you want thresholds, rule overrides, or architecture rules. - Repair path.
aislop fixhandles mechanical cleanup.aislop agentruns a local Codex, Claude Code, or OpenCode session with aislop owning scoring and verification.
Give this to your agent
Paste this into Claude Code, Cursor, Codex, or any other coding agent. It installs the aislop skill, hooks, andAGENTS.md standard.
Next
Quickstart
Scan, read the score, repair, and add a CI gate.
Installation
npm, Homebrew, pipx, GitHub Packages, and optional tools.
How it works
Engines, language coverage, and scoring.
For agents
Copy a prompt or URL so the agent installs the skill, hooks, and AGENTS.md.