AI coding agents ship at speed. They also systematically produce the same failure modes: skipped tests, dead code branches, flat retry loops, silent exception swallows, UI copy that reads like internal notes, and code structures that look correct but drift from the original intent. Anti-Slop Engineering is a multi-layer guard system that intercepts those patterns across your diff, your codebase, and your agent's decision loop — with zero dependencies on external services or proprietary APIs.
It runs as a zero-install CLI, a native Rust/Go microservice pair, an Antigravity Agentic Plugin with 15 native MCP tools and 7 specialized subagents, and a portable agent skill across 15 AI coding environments. It enforces Google SRE principles (KISS, DRY, YAGNI, Fix Issues at Scale) through static analysis, not style preference.
Install
Zero-install — run directly on any diff:
bunx anti-slop-engineering --base HEAD
bunx anti-slop-engineering sre --base HEAD --strict
Agent skill — wires into Claude Code, Gemini CLI, Codex, and others:
npx skills add imMamdouhaboammar/anti-slop-engineering
npm / Bun (package installation, followed by optional setup):
bun add anti-slop-engineering
# or
npm install anti-slop-engineering
# Interactive terminal setup (core required, plugins optional)
bunx anti-slop-engineering setup
# Reproducible non-interactive installation
bunx anti-slop-engineering install --agent=codex --skills=core --scope=project --json
Universal multi-agent installer:
curl -fsSL https://raw.githubusercontent.com/imMamdouhaboammar/anti-slop-engineering/main/install.sh | bash
# When using a local checkout, explicitly select optional skills:
bash install.sh --skills=decision-guard,root-fix-gate
Piped Bash installation interactively prompts for plugin selection when a terminal (/dev/tty) is present and Node.js is installed, or defaults cleanly to core in headless/CI environments. Running the local Bash installer from a terminal uses the same plugin catalog and selection prompt when Node.js is available; its historical agent destinations and CLI links stay intact. To change agent targets or project/global scope interactively, use bunx anti-slop-engineering setup. Without Node.js, Bash installs the bundled core and requires Node.js to select optional modules.
Installers running from a Git checkout copy tracked files from the working tree. Local agent settings, credentials and audit notes stay in the checkout.
Hook previews (--codex-hooks, --claude-hooks, --gemini-hooks) require a durable POSIX checkout of this repository: the preview runs the hook adapters from the checkout, so an npm/Bun package install cannot preview hooks. From a package install, the skills install normally — add --enforcement=skills-only to install them without hooks — or clone the repository and run the same command from the checkout. Hook previews are not supported on Windows (the adapters are POSIX-only).
Python CLI (pipx / uv):