slopbane
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 7 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Anti-AI-slop skill for AI coding agents: a detector, design gates, reference research, and build discipline so generated UI, code, and copy do not read as an AI template.
slopbane
Version 1.1.1 · MIT · An anti-template skill for AI coding agents.
slopbane keeps generated interfaces, source code, and product copy from reading as AI templates. It settles a product-specific direction before building, holds every visual and structural choice to a purpose test, verifies the result with two deterministic scanners, and closes with a PASS/FAIL gate report backed by evidence.
Everything runs offline. No API key, no network, no dependencies: Python 3 standard library for the scripts, plus prebuilt Rust and Go detector binaries for speed (all builds produce identical findings, parity-tested).
What it does
- Direction before building. A one-line Design Read (surface, audience, visual language, ENERGY/RHYTHM/MOTION dials, visitor mode), an anti-convergence round that excludes the category default and its predictable opposite, and
PRODUCT.md+DESIGN.mdwritten into the project from templates. - A session flow with choices. Five phases (START, DIRECTION, BUILD, VERIFY, STOP) holding 31 modes. Every mode ends at a choice point with numbered options; picks are recorded in
<project>/.slopbane/session.jsonso any agent can resume the session. Every mode has a character: a behavioral contract for voice, signature move, and hard refusals. - Two deterministic scanners. An 89-rule line detector (Rust, Go, and Python builds, identical findings including baseline keys) covering UI tells, code shape, and copy. A deep scanner measuring design-token discipline, page-skeleton match against canonical templates, copy genericness, code AST shape, and screenshot palette.
- A fix loop to zero. Every rule has a concrete fix recipe. The
zeromode loops scan, fix, rescan until there are 0 blocking findings and the deep vibe score is under threshold (max 5 rounds; suppression comments never count as a fix). - Redesign of finished projects. Inventory first, preserve-or-replace stated in one line, migration in per-commit slices with rollback, baseline gating so legacy findings outside the slice do not block it, and a regression pass before reporting.
- Honesty rules. No invented statistics, testimonials, customers, or proof. Stand-ins are labeled in code and in the report. No check is claimed unless it ran.
Install
Pick one route per agent. The full install matrix, plugin doors, and trust notes live in skills/slopbane/references/agents.md.
Route 1: folder installer (all agents)
python3 install.py --agent <agent> --scope project # or --scope global
python3 install.py --list # show supported agents
python3 install.py --agent opencode --scope global --dry-run
Supported agents: claude, codex, antigravity, opencode, cursor, cline, amp, gemini, hermes, copilot, kimi, deepseek, muse, kilo, qoder, pi, qwen. The installer copies the skill folder, writes pointer files where an agent expects them, warns on name collisions, and can remove everything again with --remove.
Route 2: plugin manifests (native doors)
This repo ships plugin manifests for Claude Code (.claude-plugin/), Codex (.codex-plugin/), Cursor (.cursor-plugin/), Kimi (.kimi-plugin/), Qoder (.qoder-plugin/), Cline (.cline-plugin/ plus package.json fields), Oh My Pi (.omp-plugin/), Pi (package.json), and Muse (plugin.json). Point the agent's plugin or marketplace command at this repo folder or its git URL.
Route 3: manual copy
Copy skills/slopbane/ into the agent's skills directory, for example:
cp -r skills/slopbane ~/.config/opencode/skills/ # OpenCode
cp -r skills/slopbane ~/.claude/skills/ # Claude Code
cp -r skills/slopbane ~/.codex/skills/ # Codex
Verify the install
python3 skills/slopbane/scripts/selftest.py
137 checks: detector binaries, cross-implementation parity (findings and baseline keys), known fixture scores, deep-scan discrimination, gate behavior, mode lifecycle, seed determinism, install matrix, project audit. Exit 0 means the install is healthy.
Usage
Start a session in any project:
python3 skills/slopbane/scripts/mode.py init <project>
python3 skills/slopbane/scripts/mode.py menu <project>
python3 skills/slopbane/scripts/mode.py set <project> --mode seed
Then invoke the skill in your agent (for example /slopbane or by asking for anti-template work) and follow the mode flow. The agent announces the active phase and mode, presents numbered options at each choice point, and records every pick before acting. Answering gas, lanjut, or terserah delegates to the recommended option. Mandatory points (project kind, direction pick, spend approval, preserve or replace, ship or fix) are never auto-picked without you or an explicit delegation.
Slash commands
Every mode is manually invocable from the slash menu. install.py generates the command files in each agent's own format (Claude Code and OpenCode markdown, Cursor/Kilo/Qoder markdown, Gemini CLI TOML, Qwen Code markdown, Copilot .prompt.md, Pi prompt templates) at project and global scope; the plugin route ships the same files in commands/. Agents that expose skills by name (Antigravity, Cline, Kimi) need no file: /slopbane resolves from the skill name. Codex uses $slopbane or the /skills picker. Amp, DeepSeek and Hermes load the skill by description match.
| Command | What it runs |
|---|---|
/slopbane |
Main entry. First word picks the mode, no mode means start. |
/slopbane-start |
Full flow on a new surface: reference research, direction round, build spec, build, gates. |
/slopbane-direction |
Direction round only: research, seed roll, direction cards, user picks, decision recorded. |
/slopbane-build |
Build from an already recorded direction and build spec in DESIGN.md. |
/slopbane-redesign |
Existing project: inventory first, then redesign slice by slice with the preservation list. |
/slopbane-unslop |
Audit an existing UI/code/copy surface and fix findings in tier order. |
/slopbane-code |
Code fingerprint pass only (detector code rules + code-slop reference). |
/slopbane-copy |
Copy pass only (ai_text_scan + copy-slop reference). |
/slopbane-bolder |
Raise the energy of an existing surface without changing its direction. |
/slopbane-quieter |
Lower the energy of an existing surface without changing its direction. |
/slopbane-overdrive |
Maximum-energy pass without changing direction. |
/slopbane-gate |
Run the full gate stack on the target and report PASS/FAIL with evidence. |
Run the scanners directly at any time:
skills/slopbane/scripts-rust/bin/slopbane <changed paths> # fastest detector (Rust)
skills/slopbane/scripts-go/bin/slopbane <changed paths> # fast detector (Go)
python3 skills/slopbane/scripts/slopbane.py <changed paths> # same detector (Python)
python3 skills/slopbane/scripts/deep_scan.py <project> # system-level scan
python3 skills/slopbane/scripts/deep_scan.py <project> --shot screenshot.png
Exit codes: 0 clean, 2 findings over threshold, 1 error. Detector options: --json, --sarif, --list-rules, --baseline <file>, --fail-over <score>, --cache <file>, --jobs <n>. Deep scan options: --json, --score-only, --fail-over <score> (default 40), --shot <png>.
Scripts
| Script | Purpose |
|---|---|
scripts-rust/bin/slopbane |
Fastest detector (Rust), 98 rules, parallel scan, cache, SARIF. Identical findings to the Go and Python builds (parity-tested), about 4x faster than Go locally. Prebuilt for linux/amd64; source in scripts-rust/src/main.rs, rebuild with scripts-rust/build.sh. |
scripts-rust/wasm/slopbane.wasm + slopbane.js |
The same detector compiled to WebAssembly for the browser. loadSlopbane(url) then scan(name, text) returns the CLI --json shape (parity-tested). Rebuild with scripts-rust/build-wasm.sh. |
scripts-rust-deep/bin/slopbane-deep |
Rust port of the deep scan: tokens, structure, copy and JS code subscores identical to deep_scan.py, about 3-4x faster. Python-AST code analysis and --shot PNG analysis stay in deep_scan.py. Source in scripts-rust-deep/src/main.rs, rebuild with scripts-rust-deep/build.sh. |
scripts-go/bin/slopbane |
Fast detector, 98 rules, parallel scan, cache, SARIF. Prebuilt for linux/amd64, windows/amd64, darwin arm64/amd64. Source in scripts-go/main.go, rebuild with scripts-go/build.sh. |
scripts/slopbane.py |
The same 89-rule detector in Python 3 stdlib, for machines without a matching binary. |
scripts/deep_scan.py |
System-level scan: token discipline, skeleton fingerprint, copy genericness index, Python AST and JS/TS code analysis, screenshot palette. Prints a vibe score with subscores. |
scripts/mode.py |
Session state: init, menu, set, choose, next, status, stop, resume. Prints the mode character and entry line. |
scripts/concept_seed.py |
Anti-convergence direction assignment from a 46-world catalog, taste-profile aware. --reroll, --register safer|bolder, --json. |
scripts/project_audit.py |
Existing-project inventory: stack, pages, components, fonts, colors, detector score per file. |
scripts/install.py |
Multi-agent folder installer: --agent, --scope project|global, --dry-run, --remove. |
scripts/selftest.py |
Install verification, 137 checks. |
scripts/kickoff.py |
One-command build start: rolls the seed, prints the reference hunt plan, scaffolds DESIGN.md, runs the strict design gate. |
scripts/ship_gate.py |
The single hard exit: design_gate --strict + detector (score <= 10, zero hard/purpose) + design_check + deep_scan with auto-screenshot centroid audit (vibe <= 25, genericness <= 40, rigidity < 3) + data_realism + taste-conflict check + reference clone distance + skeleton band/clone + rendered tidiness. A build is not done until this passes. |
scripts/builder_brief.py |
Turns a filled DESIGN.md into a compact paste-ready BUILD SPEC block for builders and other agents. |
scripts/design_gate.py |
Fails a build whose DESIGN.md lacks viewed references, visual traits, material system, tokens, or a recorded direction decision. --strict also requires captured reference screenshots. |
scripts/design_check.py |
Measurable design rules on the built surface: spacing scale, type hierarchy, contrast (incl. APCA), touch targets, rhythm. |
scripts/skeleton_gate.py |
Page-skeleton similarity against previously shipped builds; fails near-clones. |
scripts/divergence.py |
Distance of a build from the slop corpus; fails template-close results. |
scripts/comp_spec.py + capture_spec.mjs + comp_gate.py + build_phase.py |
Comp-led path: measure a supplied example (image or live page), build in gated phases, verify with SSIM + masked mismatch + region veto. |
scripts/render_check.mjs |
Rendered-truth geometry checks in a real browser engine (overflow, overlap, orphan lines). |
scripts/taste_profile.py |
Records accepted/rejected direction families per user; the seed roll warns on conflicts. |
scripts/finish_review.py |
Cold finish-review ledger: ship / fix / rebuild verdicts with fix items carried forward. |
scripts/repo_check.py + ignore_audit.py + wiring.py |
Repo self-lint: version lockstep, stale suppression (waiver rot) audit, lost-connection detection after edits. |
Examples
| Fixture | Line detector | Deep vibe score |
|---|---|---|
examples/slop-sample.html (deliberate slop) |
100/100, 31 findings | 0 (no token or copy system to measure) |
examples/vibe-sample.html (stock Tailwind/shadcn landing) |
100/100, 25 findings | 43 (tokens 55, structure 55, copy 50) |
examples/vibe-fixed.html (the same product after the zero loop) |
0/100, 0 findings | 5 |
examples/clean-sample.html |
0/100 | 0 |
The skill also scans itself: this repo gates on .slopbane-baseline.json, so CI fails only on findings that are new against the baseline. The recorded baseline covers intentional fixtures and docs that must name the banned words they hunt; every suppression carries a one-line justification, and ignore_audit.py flags suppressions that no longer match anything.
Before / after
Same product, built twice. The test webs live in docs/showcase/ - open them in a browser. Before was built the default way, with no slopbane rules applied: a straightforward first pass, exactly what an unguided model ships. After is the same product built under the full slopbane flow - reference screenshots viewed and measured, DESIGN.md gate passed, material system committed.
Pair 1: Panggung, an event ticketing platform
Before (100/100, 21 findings):

After (23/100: 2 false positives on embedded poster data, 3 advisories, 0 purpose or quality findings):

Pair 2: Watchtower, log and network monitoring
Before (37/100, 8 findings):

After (0/100):

Repository layout
skills/slopbane/ the skill (SKILL.md, references/, scripts/, scripts-go/, scripts-rust/, scripts-rust-deep/, templates/, examples/, commands/)
commands/ slash command files for the plugin route (main entry + per-mode)
docs/ showcase builds (before/after test webs) and the WASM demo
cli/ npm bin entry for the plugin shell
hooks/ post-edit advisory hook (Claude Code plugin route)
install.py multi-agent folder installer
plugin.json Muse plugin manifest
package.json Pi / Cline package fields
.claude-plugin/ Claude Code plugin + marketplace manifests
.codex-plugin/ Codex plugin manifest
.cursor-plugin/ Cursor plugin + marketplace manifests
.kimi-plugin/ Kimi plugin manifest
.qoder-plugin/ Qoder plugin manifest
.cline-plugin/ Cline plugin entry
.omp-plugin/ Oh My Pi marketplace manifest
.agents/plugins/ generic agents marketplace manifest
Requirements
- Python 3.9 or newer (standard library only) for the scripts.
- The prebuilt detector binary for your platform, or Go 1.23+ to rebuild it with
scripts-go/build.sh, or a Rust toolchain to rebuild the fastest detector withscripts-rust/build.sh. The Python detector covers machines without a matching binary. - No network access and no API key for the core skill. Image generation, if used, happens only inside a confirmed asset plan with tools you already connected.
License and attribution
MIT. See LICENSE.
skills/slopbane/references/benchmark.md compares capabilities honestly against comparable open skills, including where they are stronger.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found