/ash:unslop-codefrom ash
Removes surface-level AI tells (emoji, chat artifacts, placeholder comments, swallowed errors, generic names) and flags structural issues (boilerplate, hallucinated APIs, over-engineering, code that ignores the codebase). Grounded in analysis of 11K+ Reddit posts. Use when code looks AI-generated, reads like a tutorial, or needs de-slopping.
Ships in ash. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Read this first, because the most common misunderstanding sinks the whole thing.
This skill does not write good code for you, and it has no house style. It does two narrow things. It removes the specific surface cues that make code read as machine-generated, and it points you at the deeper tells (the ones that ship bugs) that no scanner can catch. Whether the code is correct, well-factored, and right for the problem is still your call. A guardrail is not an engineer.
The surface tells are the cheap part. You can strip every emoji, delete every // rest of your code stub, and fix every bare except, and still ship a file that is tutorial-shaped, calls a
made-up API, over-engineers a simple task, and ignores how the rest of the repo works. Those
are the loudest tells in the data, and a clean lint hides them. The verified ranking is blunt
about it: boilerplate (18.6%), hallucinated APIs (11.2%), and over-engineering (7.8%) tower
over the cosmetic stuff (emoji 3.9%, verbose names 0.4%). So removing surface tells is the easy
40% of the job, not the job. Do not mistake a clean scan for clean code.
Sort every tell by one question before any other: is the code wrong, or does it just look machine-made?
// rest of your code stub means the file is
unfinished. These are not style. Fix them because the code is broken, the same way you would
fix any bug, whether or not anyone ever suspected AI.unslop-text covers them.The scanner reports both, tagged with the class; the catalog tags every tell the same way. The point of the split: do not spend an audit polishing cosmetics while a swallowed error or a made-up call ships. (There is a third class, substance: tutorial shape, over-engineering, and repo mismatch. It is wrong for the job rather than locally broken, and needs a human reading the diff. See references/tells.md.)
Told to "write clean code" or "make this not look AI," a model does not become restrained; it over-corrects. It adds defensive checks for cases that cannot happen, a type annotation on every local, a comment on every block, an abstraction for a thing with one caller. It is trying to look senior, and trying-to-look-senior is itself a tell. The fix is not more polish; it is the same anchor as everything else here: match the level the surrounding code actually operates at. Do not add a check, a type, a comment, or a layer the neighboring code would not have.
A linter enforces style and catches a fixed set of bugs; a formatter makes everything uniform, which is itself one of the tells. This skill is different. It finds the specific, cited tells that developers actually use to spot AI code, ranked by how often they name them, and it is explicit that the highest-ranked ones are structural and need a human or a compiler. Run your linter, run this, and then read the diff for the things neither tool can see.
Most "looks AI-written" outcomes are a specification problem, not a style problem. An unspecified prompt gets the average of public code, and the average is the tutorial. So before generating, establish the brief. Either pull it from the user, or state what you are assuming and why, then proceed. Do not generate against a blank slate.
Establish, concretely:
references/tells.md is the full ranked catalog. references/fitting-the-codebase.md is the method for making the code fit the project instead of the model's average, written as a process rather than a prescription, so it does not become the next default.
When reviewing or cleaning existing code, or when the user says "does this look AI-written" or "de-slop this," work in this order. The order matters: the scanner is a regex and is blind to the bug-class tells, so it is the second pass, not the first.
1. Run what only code allows. Unlike prose or a design, code can be executed, and that is your strongest tool. This step catches the bug-class structural tells, hallucinated APIs above all, which no regex can see. Build it, type-check it, lint it, and resolve its imports and calls against real docs:
python -m py_compile <files>, ruff check or pyflakes, mypy, and actually
import the module so a missing dependency fails loudly.tsc --noEmit, eslint, node --check, with a real install so a made-up package errors.go build ./..., go vet ./....cargo check, cargo clippy.If the code will not build, or a call resolves to nothing, you have found the loudest tell in the data before reading a line. Fix that first.
2. Run the scanner for the mechanical surface tells.
python3 scripts/unslop_code_scan.py <path> # full report + slop score
python3 scripts/unslop_code_scan.py <path> --severity high # only the strongest signals
python3 scripts/unslop_code_scan.py <path> --json # machine-readable, for CI
It scans Python, JS/TS, Java, Go, Rust, Ruby, PHP, C/C++, C#, and more; reports each finding with file, line, the matched text, the severity, the class (bug or cosmetic), the data share it carries, and the fix; and gives a slop score. The exit code is the high-severity count, so CI can gate on it. Severity is how loudly a finding reads as AI; class is whether it is broken. Fix every bug-class finding regardless of severity.
3. Read the diff for what neither step can see: tutorial shape, over-engineering, and whether the code matches the repo. These are the substance tells in references/tells.md, and they are the loudest in the data.
Respecting intentional choices. A line containing unslop-ignore is skipped. Use it when a
flagged construct is a real decision (a broad catch at a boundary, an emoji in a CLI banner), so
the audit stays trustworthy.
Fixing well: the anchor is correct, and fits this codebase. Do not "fix" process_data()
by renaming it processDataFunction(), which is just a different tell. Name it for what it does,
the way the rest of the repo names things. Code has far less aesthetic latitude than prose or a
UI: there is rarely a "tasteful choice" to make here, only "is it correct, and does it match
what is already in this project." A fix that swaps the model's default for your own invented
default is not a fix; a fix that makes the line look like the code around it is.
Grounded in the data, not vibes. Three popular complaints did not survive verification, so the scanner leaves them alone: left-in debug logging (rejected outright, precision ~0%, the tagged comments were all workflow opinions), reinventing the wheel (mostly misattributed), and over-defensive validation (half the complaints were about the opposite, code with no validation at all). Over-flagging trains people to ignore the tool, so the scanner stays narrow and ranks by verified share.
Lead with the verdict and the single highest-impact change. Then findings by priority with file:line and the fix. Close with the slop score and the top three changes, and a reminder that the structural tells (boilerplate, hallucinated APIs, repo fit) still need eyes. Plain and specific. The goal is code that looks like it belongs in this project, which is the one thing the scanner cannot check for you.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ai-generated-code, code-review, vibe-coding, code-quality, anti-patterns
npx claudepluginhub randommonicle/claude-skills --plugin ash60 skills in this plugin
/ai-surface-disciplineApply input minimisation, output discipline, and a human-in-the-loop gate to every surface that sends data to an LLM. Triggers when building or editing any send-to-LLM path: an Edge Function calling a model, a draft-commentary or summary generator, an auto-resolver, a cash-allocation suggestion, a classification call, or any new AI-assist feature, and when changing the model or the prompt behind one, especially in a RICS or UK GDPR regulated context./blast-radius-grepThe unit of change is the action or the fact, never the list of places someone handed you. Load BEFORE editing when a change reaches code or text it does not name: deleting, moving or renaming anything; rewording a message or label; changing what a status, total or column means; narrowing a grant; adding a constraint, gate or new kind; a lookup on an email, reference or name; fixing one instance of a bug; working from a spec's list of affected places; correcting a duplicated fact; or concluding from a sweep that errored or was truncated. Grep the whole repo and fix every occurrence in one pass. Not for citations in prose (verified-citations)./checkpoint-logKeep a live, committed checkpoint log during any work unit expected to span multiple commits or sessions. Each commit ships with a short note in the log, what the commit did, the key decision and why, any deviation from plan; closing the unit requires an explicit walk of the checklist including the wiring steps. Triggers when starting multi-commit work, when resuming a unit after a crash or a gap, and when declaring a multi-commit work unit done. Does not fire on single-commit fixes, where the commit message carries the note./commission-the-rosterBefore spawning a fleet of agents, publish a roster for the operator's approval - role, model tier, token budget, scope and single artifact per agent - and brief each agent with pre-verified facts instead of questions. Triggers when appointing a lead agent, delegating a multi-agent wave, planning a commission whose shape is not yet known, choosing which model tier does which job, or when a usage window emptied faster than the work justified. Does not fire on spawning one agent for one bounded task, and does not price the result (price-the-spend reports the burn afterwards)./committee-reviewRun a three-lens committee review of a whole project or major subsystem: positive, adversarial, and neutral-chair reviewers over one shared evidence base, with attribution-stripped consolidation and item-by-item voting. Use when the user asks for a committee review, a multi-perspective audit, a "three Fable review", or wants findings that survive adversarial challenge before becoming a work programme. Not for single-file reviews or quick checks; this is a large, deliberate, token-expensive process that needs explicit user opt-in./confirm-before-pushAlways ask explicitly before pushing to a remote or fast-forwarding a protected branch. Per-action authorisation, not standing approval. Triggers on any git push, merge, or branch fast-forward operation, regardless of whether previous pushes in the same session were approved.Other plugins' skills for the same job