Install

Working Modes

Strict session mode resolution order, During vs After workflows, audit output format, and global preference persistence.

On first activation in any session, the agent resolves the active mode in strict priority order: an explicit session choice wins first, then your saved global preference, and otherwise the agent stops to ask before any UI work begins.

  1. Explicit session override only applies when you specify During or After for antislop in chat. Requests like "review", "audit", or "do not edit files" do not override saved preferences. The agent announces antislop active: <mode> (session override). once.
  2. Global preference reads only the mode field from %APPDATA%\antislop\settings.json on Windows or ~/.config/antislop/settings.json on macOS/Linux, announcing antislop active: <mode> (global preference). once.
  3. Unresolved or set to ask prompts whether to run Mode 1 or Mode 2 before planning or editing.

Mode 1: During the work

Rules guide spacing, typography, copy, and responsive stacking from the first line generated, preventing slop up front and ending with the Delivery Gate report. Best suited for building new pages, components, or redesigns.

Mode 2: After it is done

Audits finished work without editing any file first. Findings are written to anti-slop/audit-001-YYYY-MM-DD.md (numbers increment on repeat audits), citing rule numbers and severity (Hard Gate = HIGH, Purpose-Gate = MEDIUM, Quality Lock = LOW). Edits start only after you approve specific item numbers.

Always-on requirements

Regardless of which planning workflow or mode leads the session, three steps always run: settle design direction first (R-37), confirm visual assets before creation (R-23), and run the Delivery Gate before handoff.

Saving a default mode

1# Save shared default mode across all agents & projects
2npx antislop-ai --mode during
3npx antislop-ai --mode after
4
5# Restore asking at session start, or inspect current saved setting
6npx antislop-ai --mode ask
7npx antislop-ai --mode