slop-detector
Detects AI-generated writing patterns in prose. Use when reviewing docs for slop, vague language, or identity leaks before publishing.
от athola★ 358 звёзд на GitHub
Установить slop-detector в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
AI Slop Detection
Slop is a density problem, not a word problem.
A single "delve" is fine. Five "delves" near a "tapestry" and an "embark" is generated text. This skill scores density per 100 words, marker clustering, and whether the overall register fits the document type. It does not ban words. It flags concentrations.
When NOT To Use
- Writing the replacement prose (use
scribe:doc-generator) - Drift against a specific voice profile (use
scribe:voice-review)
Execution Workflow
Start by locating the findings, then read them.
uv run --with pyyaml python scripts/slop_score.py --audit <files>
One command over files or directories, one line per finding
with a file and a line number, exit 0. It loads every category
in data/languages/en.yaml, including the ones the merge gate
declines to score: negative_definition,
temporal_residue, contrastive_scaffold, over_explanation,
the softer anthropomorphism verbs, and the per-document
negation-density reading. Those print as (low) or (medium).
Step 9's anti-goals apply to them: surface, never auto-apply.
A .py path is read as its comments and docstrings, with the
code blanked and the line numbers kept. --python extends that
to a directory sweep. A .rs, .kt, .kts, .ts, .tsx,
.js, .jsx, .java, .go or .swift path named directly is
read as its // and /* */ comments the same way, so a doc
comment that narrates removed code surfaces as temporal_residue.
The classification below already names
code comments as a target; until the collector reached them,
every category here was checked against markdown alone.
The steps below say what each category means and how to rewrite it. Run the script first so the steps have locations to work from, rather than rereading the document once per pattern.
Then identify target files and classify them as technical docs, narrative prose, or code comments. Classification feeds context-aware scoring: tier-1 markers in marketing copy score lower than the same markers in API reference.
Language Detection
- Auto-detect language from text content using function word frequency
- Override with
scripts/slop_score.py --lang(en, de, fr, es, pt, it, or auto); the score is scaled by the language's calibration - Load language-specific patterns from
data/languages/{lang}.yaml - Fall back to English if detection confidence is low
- See
modules/language-handling.mdfor cultural calibration and concrete pattern sets
Spelling Normalization (British to American)
Convert British spellings to American by default, in any scanned
document, unless the document opts out via .slop-config.yaml
(spelling: british) or a per-word allowlist. This is a consistency
pass, separate from slop scoring. Use the tested scribe.spelling
functions (find_british_spellings, to_american); both preserve
case and skip code, inline code, and URLs.
Load: @modules/spelling-normalization.md
Vocabulary and Phrase Detection
Load: @modules/vocabulary-patterns.md
Markers fall into three confidence tiers. Tier 1 words ("delve", "multifaceted", "leverage") appear far more often in AI text than human text. Tier 2 covers context-dependent transitions ("moreover", "subsequently"). Tier 3 covers vapid phrases ("In today's fast-paced world", "cannot be overstated").
| Word | Context | Human Alternative |
|---|---|---|
| delve | "delve into" | explore, examine, look at |
| tapestry | "rich tapestry" | mix, combination, variety |
| realm | "in the realm of" | in, within, regarding |
| embark | "embark on a journey" | start, begin |
| beacon | "a beacon of" | example, model |
| spearheaded | formal attribution | led, started |
| multifaceted | describing complexity | complex, varied |
| comprehensive | describing scope | thorough, complete |
| pivotal | importance marker | key, important |
| nuanced | sophistication signal | subtle, detailed |
| meticulous/meticulously | care marker | careful, detailed |
| intricate | complexity marker | detailed, complex |
| showcasing | display verb | showing, displaying |
| leveraging | business jargon | using |
| streamline | optimization verb | simplify, improve |
Tier 2: Medium-Confidence Markers (Score: 2 each)
Common but context-dependent:
| Category | Words |
|---|---|
| Transition overuse | moreover, furthermore, indeed, notably, subsequently |
| Intensity clustering | significantly, substantially, fundamentally, profoundly |
| Hedging stacks | potentially, typically, often, might, perhaps |
| Action inflation | revolutionize, transform, unlock, unleash, elevate |
| Empty emphasis | crucial, vital, essential, paramount |
Tier 3: Phrase Patterns (Score: 2-4 each)
| Phrase | Score | Issue |
|---|---|---|
| "In today's fast-paced world" | 4 | Vapid opener |
| "It's worth noting that" | 3 | Filler |
| "At its core" | 2 | Positional crutch |
| "Cannot be overstated" | 3 | Empty emphas |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- modules/anti-goals.md
- modules/audience-targeting.md
- modules/ci-integration.md
- modules/cleanup-workflow.md
- modules/config-file.md
- modules/document-economy.md
- modules/empirical-baseline.md
- modules/evidence-backed-claims.md
- modules/external-skills.md
- modules/fiction-patterns.md
- modules/hallucination-detection.md
- modules/identity-and-voice-leaks.md
- modules/language-handling.md
- modules/remediation-strategies.md
- modules/report-format.md
- modules/reporting.md
- modules/spelling-normalization.md
- modules/structural-patterns.md
- modules/structured-finding-output.md
- modules/stub-and-deferral.md
- modules/vocabulary-patterns.md
FAQ
Что делает скилл slop-detector?
Detects AI-generated writing patterns in prose. Use when reviewing docs for slop, vague language, or identity leaks before publishing.
Как установить скилл slop-detector?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл slop-detector запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…