unslop
Skill12 starsChanged 57 days agoMITView on GitHub
Removes accidental complexity, duplication, dead code, abstraction leakage, naming debt, and generated cruft in small behavior-preserving batches. Use when a working repository is hard to change or contains messy AI-generated code.
197 other projects use a version of this.
Adopted by
Most recently taken up by
- alastairlundy/skillstheir own version, first seen Nov 8, 2026
- sanjaibalajee/skillstheir own version, first seen Nov 8, 2026
- ku5ic/claude-kittheir own version, first seen Nov 8, 2026
- augchan42/inkstonetheir own version, first seen Nov 8, 2026
- caidanw/skillstheir own version, first seen Nov 8, 2026
- runkids/my-skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use principle-never-block-on-the-human, greploop-apps and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
jaydubya818Skillprinciple-never-block-on-the-human
Apply when safe reversible implementation details can proceed inside scope.
Also in 45 projects that use this
jaydubya818Skillgreploop-apps
Run greploop through @greptile-apps when the normal trigger rejects a large PR. Use only with the companion greploop skill.
Also in 5 projects that use this
ianclearySkillprinciple-explain-the-number
Apply before you trust, report, or act on a number you measured: a speedup, a regression, a throughput, a latency, or an eval result. Find what limits it, and rule out that it measured something other than the work you think.
Also in 30 projects that use this
bnemaSkillsetup-pstack
Configure which Pi models pstack uses per role. Detects available provider/model specs and writes pstack's user configuration. Use for /setup-pstack, "configure pstack models", or changing pstack model choices.
Also in 26 projects that use this
ianclearySkillpoteto-help
Guides users through pstack setup, /poteto-mode, and picking the skill, playbook, or principle for a task. Type /poteto-help with a question.
Also in 15 projects that use this
- +7 more from jaydubya818
Other versions197 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 197
- tester-army/e2e★ 13ksame name
- heydamir/unslop★ 12ksame name
- jaredpalmer/kev★ 9.8ksame name
- backnotprop/pstack★ 3.8ksame name
- michaelshimeles/rstack★ 1.4ksame name
- michaelshimeles/skills★ 1.4ksame name
- VladSez/easy-invoice-pdf★ 1.1ksame name
- Silo-Server/silo-server★ 899same name
- moeru-ai/xsai★ 667same name
- nodetool-ai/nodetool★ 615same name
187 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- backendSkill
- blueprintSkill
- clearedSkill
- conciergeSkill
- distillSkill
- dittoSkill
- findableSkill
- frictionSkill
- frontpageSkill
- frugalSkill
- handsfreeSkill
- hardenSkill
- headroomSkill
- hotpathSkill
- hotseatSkill
- janitorSkill
- masterplanSkill
- pilotSkill
- polishSkill
- proofSkill
- recallSkill
- refereeSkill
- roadtestSkill
- runwaySkill
- scoutSkill
- sleuthSkill
- spelunkSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 16 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 193 edited versions we read keep these.
16
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 58
No tests but runnable: first capture the minimum behavior-preservation evidence appropriate to the code being changed.
- Distinctive: line 67
Run the test suite, build, and the app's critical flows (browser where relevant).
- Distinctive: line 83
Don't list style preferences.
- Very specific: line 108
after each batch: affected checks → diff review (referee discipline) → relevant browser check when available → a recoverable checkpoint.
- Distinctive: line 115
Use this change order unless repository evidence makes another order safer:
- Distinctive: line 117
Delete a proven unreachable artifact or remove a proven unused dependency.
- Distinctive: line 124
Do not combine the steps merely because they touch nearby files.
- Distinctive: line 144
If a check fails, stop the batch.
- Distinctive: line 151
If the baseline was already failing, distinguish pre-existing failures from regressions with the smallest comparison possible.
- Distinctive: line 160
Unused dependencies: remove only when nothing imports them (verified by search + build, not memory).
- Distinctive: line 168
Keep error semantics intact.
- Distinctive: line 171
Prefer rename-only moves before semantic reshaping when the seam is unclear.
- Distinctive: line 177
Every finding has file:line evidence.
- Distinctive: line 178
Every batch: affected behavior evidenced + diff-reviewed + applicable UI observations before dependent work.
- Distinctive: line 186
Every structural batch has a stated invariant and a verification that could falsify it.
- Distinctive: line 214
Read references/research.md when a decision depends on an external standard, a numerical claim, or a fast-moving practice.
- Distinctive: line 217
Read references/slop-catalog.md while classifying findings.
“Common” is measured: kept by at least 6 in 10 of the 193 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
unslop: rescue the three-week vibe-coded mess
The user is scared to touch their own project. Your job is to make it safe to touch again: baseline what currently works, remove what's accidental, verify every batch. Never "clean up" by rewriting, that's how the last ounce of working behavior dies.
When to use
- "I vibe coded this for three weeks and I'm scared to touch it"
- "there's so much duplicated garbage in this codebase"
- "audit the mess first, don't delete anything yet"
When NOT to use
- One specific bug →
sleuth. Slow →hotpath. Missing tests by design →proof. - The repo is fine and someone just wants activity: say so. No-ops are allowed; performative cleanup is slop too.
Prerequisites
A runnable baseline or the means to build one. Behavior-preservation claims are only as good as the signal behind them.
Authority and operating modes
This skill improves internal structure while holding the observed contract constant. It may make small, reversible source and dependency changes after a baseline exists. It must ask before changing a public API, persistence schema, wire format, security policy, product behavior, generated source, or an unowned deployment artifact. A request to "make it cleaner" is not approval for any of those changes.
Choose one mode before editing:
| Mode | Use when | Deliverable |
| Assess | Scope or safety is unclear | ranked inventory and proposed batches; no edits |
| Detox | Baseline is trustworthy | one or more behavior-preserving, reviewable batches |
| Stabilize | No suitable baseline exists | the smallest reliable signal, then return to assessment |
| Hand off | Finding changes behavior or crosses an owner boundary | evidence packet for the owning skill or team |
Record the chosen mode, baseline command or flow, protected behavior, and excluded areas. Read the cleanup decision record in references/cleanup-protocol.md before a batch with more than one structural change.
Tool selection/fallback
- Project test runner + build → baseline signal; every batch re-verified the same way.
- No tests but runnable: first capture the minimum behavior-preservation evidence appropriate to the code being changed.
- Nothing runnable → fix that first (via
sleuthif broken); no cleanup batch ships without a signal: "it still runs" is not one.
Workflow
1. Establish the behavior baseline
Run the test suite, build, and the app's critical flows (browser where relevant). Record what works today, including known quirks that are load-bearing by accident. Without tests, establish the cheapest trustworthy signal before touching structure. "It still runs" is not enough evidence.
Inspect repository instructions, package manifests, CI commands, generated-file markers, recent changes around the target, and the narrow dependency path before deciding what is dead. Search definitions, imports, dynamic loading, templates, configuration, build entries, tests, and documentation that names the candidate. Search absence is evidence only after these paths are relevantly covered; it is never proof by itself in reflection-heavy or plugin systems.
2. Map the mess
Walk the slop catalog (references/slop-catalog.md) with evidence,
every finding carries file:line and one line of why it's a problem.
Don't list style preferences; list what costs actual time, tokens or
correctness.
3. Rank
| Rank | Meaning |
| Critical | Breaks behavior or hides bugs (swallowed errors, duplicated schemas drifting apart, dead auth paths) |
| High leverage | Removing it makes every future change faster (mega-components, duplicated logic, premature abstractions) |
| Medium | Real friction, contained blast radius (unused deps, stale comments, scattered config) |
| Cosmetic | Naming, ordering: do last, maybe never |
Rank by evidence, expected recurrence, blast radius, and reversibility. Favor a small, high-confidence removal over a broad "cleanup" that cannot be explained or rolled back. Deliberate duplication is acceptable when it isolates a public boundary, versioned migration, performance path, or independent deployment. Mark it kept rather than merging it on principle.
4. Fix in batches
Small batches, each independently verifiable and revertable:
- one category or one module per batch: never "the whole cleanup";
- behavior-preserving only: no feature changes, no "while I'm here" improvements smuggled in (note them, do them as their own batch);
- after each batch: affected checks → diff review (
refereediscipline) → relevant browser check when available → a recoverable checkpoint; commit only when authorized and stage only this batch's changes, preserving the user's pre-existing index and worktree edits; - report line delta without making it a gate. A safe extraction or new characterization can add lines while reducing change risk.
Use this change order unless repository evidence makes another order safer:
- Delete a proven unreachable artifact or remove a proven unused dependency.
- Extract one repeated, stable behavior into its existing natural home.
- Collapse a one-use wrapper only after all callers and error behavior are understood.
- Split a large unit along an existing responsibility seam, preserving public imports and lifecycle order.
Do not combine the steps merely because they touch nearby files. A batch should have one falsifiable claim, such as "the deprecated parser has no reachable callers and its supported replacement passes the same fixtures." Read references/cleanup-protocol.md for the candidate matrix, dynamic-reachability checks, and safe transformation recipes.
5. Track and report honestly
Count what changed where it's measurable: dead dependencies removed, duplication merged (lines), files under size thresholds crossed, tests preserved through every batch, net lines. Metrics describe the work; they never become the objective (deleting useful code to improve the number is the same slop in a clean outfit). Report: what was removed, what was kept with a reason (intentional duplication, performance- motivated ugliness, compatibility hacks, legacy constraints, load-bearing weirdness: the catalog's keep-list), what's ranked but untouched.
6. Recover without hiding evidence
If a check fails, stop the batch. Capture the failing command, relevant diff, and the changed assumption. Revert only the batch under examination, or repair it if the user has authorized behavior changes; do not weaken a test, suppress an error, or broaden the cleanup to make the symptom disappear. Re-classify the candidate as uncertain or load-bearing and report it. A failed cleanup is a useful result when it prevents a later outage.
If the baseline was already failing, distinguish pre-existing failures from regressions with the smallest comparison possible. Do not call a batch verified when that distinction cannot be made.
Rules
- Protect the observed baseline. Stop on a new failure and isolate this batch. An already-failing unrelated suite does not forbid a bounded cleanup when unchanged failures and the affected behavior are evidenced separately. If attribution is impossible, defer. Characterization may be a contract fixture or reproducible flow; a formal suite is useful, not the only possible signal.
- Generated-looking UI slop (banned patterns, decorative junk) →
route to
polish; structural code slop is yours. - Unused dependencies: remove only when nothing imports them (verified by search + build, not memory); lockfile updated; install still works.
- Dead code: deleted, not commented out. Git remembers.
- Commented-out blocks, debug leftovers, empty files,
TODO: fix this: mass grave cleanup is allowed in one cosmetic batch, clearly labeled. - Preserve source provenance: do not hand-edit generated, vendored, lockfile, or migration-history artifacts unless their owning workflow requires it.
- Keep error semantics intact. Consolidating duplicate code must preserve validation order, retry behavior, logging, cancellation, and caller-visible error shape unless an approved behavior change says otherwise.
- Prefer rename-only moves before semantic reshaping when the seam is unclear. A clearer map is a valid intermediate result; forcing the final design is not.
Quality gates
- Baseline captured (test/build/flow evidence) before batch 1.
- Every finding has file:line evidence; no vibes-based "this smells".
- Every batch: affected behavior evidenced + diff-reviewed + applicable UI observations before dependent work; distinguish unchanged baseline failures and unavailable browser checks from new regressions.
- Net line delta and per-batch diffs available in the report.
- Zero behavior changes: if any happened accidentally, disclosed and reverted.
- Candidate evidence covers plausible indirect use, or the report names the unresolved reachability risk and leaves the candidate untouched.
- Every structural batch has a stated invariant and a verification that could falsify it; formatting and line-count reductions alone do not qualify.
Stop conditions
- Critical + high-leverage ranks cleared → report, offer to continue into medium/cosmetic, stop.
- Baseline can't be established (app won't run) → fixing that becomes
the first mission, possibly via
sleuth; no cleanup before a signal exists. - A finding turns out to be load-bearing behavior → keep it, document why in the report.
- The next change would require a product, compatibility, or ownership choice → stop with alternatives and seek the appropriate decision.
- The remaining inventory is cosmetic or lower confidence than its expected benefit → stop; an explicit no-change conclusion is a successful assessment.
Output contract
Chat: findings table (rank · location · problem · status), batch log
(each: what changed, verification evidence), net line delta, what was
deliberately kept. On request: docs/reports/detox-<slug>.md with
provenance header. Each changed batch includes: protected invariant, candidate
evidence, change summary, verification outcome, residual risk, and a clear
verdict of shipped, reverted, deferred, or handed off.
Research basis
Read references/research.md when a decision depends on an external standard, a numerical claim, or a fast-moving practice. The ledger records what the source supports, what it does not support, and when to reverify. Read references/slop-catalog.md while classifying findings. Read references/cleanup-protocol.md for non-trivial reachability analysis, batch design, or a failed verification.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

