Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

slopcheck

БесплатноЗапускает вложенные скриптыНе проверен

Keep an AI agent's writing readable for one specific reader, with named rule breaks instead of a score. A standard-library Python checker plus five Claude…

vicnaumот vicnaum★ 53 звезды на GitHub

Об этом скилле

slopcheck: named rule breaks, four surfaces, no score

A percentage score cannot tell good writing from bad. We measured that on 45 texts one reader complained about and 17 he praised. A readability score failed 93% of the first set and 82% of the second.

What separates them is local and nameable:

  • one term not explained
  • one dramatic label
  • one list run inline
  • one number without its scope

So this tool reports a list of named breaks and leaves the decision to the agent. Where the text goes to other people, it denies the send until the list is empty.

The CLI lives at scripts/slopcheck (installed on PATH as slopcheck). It is standard library Python, no dependencies, and makes no network calls unless the model layer is on.

What it checks

Hard rules, reported as a named list. Thresholds live in the config and default to:

  • sentence over 30 words, or with more than 3 commas
  • em-dash or en-dash, anywhere. Ranges use a plain hyphen: 65-95%. This is the one rule checked in every field at any length, and the only character rule that denies.
  • more than one semicolon in a sentence. Reported, never denied: semicolons are normal, chains are not.
  • a list of 3 or more items run inline with commas and "and"
  • a parenthesis carrying a second fact (an address, a date, a "so that")
  • paragraph over 3 sentences, bullet over 2 sentences

Tone and voice tells, regex only. The achievement words are the one hard tell: they deny an outward send. The rest is advisory.

Tell Examples Effect
Achievement words for unfinished work decided, converged, shipped, intel, breakthrough denies an outward send
Agreement opener "You're right", "Good catch" advisory
Sign-post phrase "Here's what", "Let me show", "the real question" advisory
Contrast frame "rather than", "not X but Y" advisory
Filler or self-rating word "genuinely", "honestly", "robust", "delve" advisory
Hedged guarantee with a fallback "should appear... if it does not, run..." advisory
Bold sentence over 25 words advisory

Terms to check, advisory. Acronyms and multiword names whose first use has no gloss pattern in the same sentence. Noisy on capitalised names, so it is a prompt to the agent, not a verdict.

Model layer, off by default. A small model judges what regex cannot, through the Anthropic API or the TypeSafe Jev API. See "Model layer" below.

Structure layer, off by default. A dependency parse of each sentence names faults of structure, from a verbless sentence to a wedged appositive. It runs in its own venv and never touches the network, see "Structure layer" below.

The four surfaces

Surface Hook Behaviour
Every prompt you send UserPromptSubmit One reminder line with the rules, built from your config thresholds, so the rules stay in recent context.
Final reply to the user Stop One advisory line under replies of 60 words or more. Never blocks, so the user never sees two versions of one message.
Any .md, .html, .txt file the agent writes PostToolUse on Write and Edit The named list lands in the agent's context, so it fixes the file before finishing. Artifacts included. Code files ignored.
Text sent to other people PreToolUse on Slack, GitHub, Linear and Notion tools Denied until the blocking items are fixed. The denial lists those first, then the full report. Every string field counts, titles included. Dashes are checked at any length, code spans excluded. Notion markup such as callouts, spans, mentions and toggles is stripped before any layer reads the text. The agent fixes the draft and calls the tool again.
Publishing an artifact PreToolUse on the Artifact tool Denied when the page prose has an em-dash or an en-dash. Quoted samples inside figures and tables are not counted. Other breaks are reported and allowed.

Subagent hand-backs are not checked. They are working material for the main agent, not text the user reads. Subagents do hit the document and outward gates when they write files or send messages.

Install (new machine or new agent CLI)

git clone https://github.com/vicnaum/vics-agent-skills ~/github/vics-agent-skills   # once
ln -s ~/github/vics-agent-skills/skills/slopcheck/scripts/slopcheck ~/bin/slopcheck  # or any PATH dir
ln -s ~/github/vics-agent-skills/skills/slopcheck/scripts/slopmark  ~/bin/slopmark
slopcheck install --dry-run   # shows what it would change
slopcheck install             # backs up settings.json and CLAUDE.md, wires the hooks and the reminder, writes the rules block and the default config

Install puts the rules block between markers at the end of ~/.claude/CLAUDE.md. Edit the reader line there. A CLAUDE.md that already mentions slopcheck is left alone, so your own block wins. slopcheck rules prints the block if you want to place it yourself.

The hooks enforce. The reminder line repeats the rules every turn. The rules

Полный SKILL.md на GitHub

Установить slopcheck в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/rules-template.mdresearch/structure/README.mdresearch/structure/eval_pairs.pyresearch/structure/extract_pairs.pyresearch/structure/surprisal_pairs.pyscripts/slopcheckscripts/slopmarkscripts/structcheck

FAQ

Что делает скилл slopcheck?

Keep an AI agent's writing readable for one specific reader, with named rule breaks instead of a score. A standard-library Python checker plus five Claude Code hooks, one of them a per-turn reminder of the rules: an advisory line under every long reply, a report into the agent's context after it writes any document, a deny gate on artifact publishing, and a deny gate on Slack, pull-request, Linear and Notion text until the list is empty. Checks the hard shape rules (sentence length, comma count, semicolons, em-dashes, lists run inline, paragraph and bullet length, fact-carrying parentheses), the tone tells regex can see (achievement words for unfinished work, agreement openers, sign-post phrases, contrast frames, filler words), and an advisory list of terms whose first use has no gloss. Optional model layer, off by default, through the Anthropic API or the TypeSafe Jev API, for inflation, unexplained jargon, bare numbers and metaphors. Optional structure layer, installed by `slopcheck install-structure`, that parses each sentence with spaCy in its own venv and names what regex cannot see: a sentence the parser cannot read, no verb, an appositive wedged between subject and verb, four nouns in a row, a seven-word subject, and GPT-2 surprisal spikes on request. Use when: (1) the user complains about walls of text, jargon, sensational or inflated wording, or 'AI slop' in the agent's output, (2) the user wants their writing rules enforced on final messages, docs, artifacts or outward messages, (3) installing or tuning the hooks, (4) checking a draft before sending (slopcheck --stdin), (5) labelling a bad span for the dataset (slopmark), (6) a sentence is grammatical but unreadable: garden path, hidden clause, wedged appositive, noun pile, no verb. Triggers on: slopcheck, slopmark, structcheck, writing rules, readability hook, style check, structure check, wall of text, AI slop, jargon, sensationalism, em-dashes, inline list, garden path, appositive.

Как установить скилл slopcheck?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл slopcheck запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить slopcheck с