theonly1me/claude-code-mods/tree/main/plugins/unslop

theonly1me/claude-code-mods/tree/main/plugins/unslop

Unslop は Claude の変更から AI らしい冗長表現を見つけ、削除するよう伝えます。Edit、Write、NotebookEdit のたびに追加行だけを読み、ダッシュ、長いコメントブロック、コードを繰り返すコメント、何も検証しないテスト、つなぎの表現、絵文字を調べます。指摘はツール結果で返され、任意の小型モデル検査(既定 haiku)がルールで判断できない問題を補います。未解決の指摘は現在のターンに加えるか /unslop fix を待ちます。状態行に件数を表示し、操作ペインから修正、消去、一時停止、再開ができます。claude plugin marketplace add theonly1me/claude-code-mods と claude plugin install unslop@claude-code-mods で導入します。Claude Code 2.1.289 以降が必要で、ビルドや実行時依存はありません。
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add theonly1me/claude-code-mods claude plugin install unslop
Unslop finds AI slop in the changes Claude makes and tells Claude to remove it. It also keeps Claude's chat replies short and plain, and it shows you what was unslopped.

claude plugin marketplace add theonly1me/claude-code-mods
claude plugin install unslop@claude-code-mods
Register the marketplace once. Run /reload-plugins in an open session after installing. Requires Claude Code 2.1.289 or later; no build step or runtime dependencies.
Slop is what AI writes often, people rarely write, and that is not better than leaving it out. After each Edit, Write, or NotebookEdit, Unslop reads only the lines Claude added and looks for:
// Return the result over return result)expect(true).toBe(true)), or only check that a value existsUnslop never edits a file. It tells Claude, and Claude removes the slop:
haiku by default) then looks at the same lines for slop that rules cannot judge, such as a test that only tests a mock. If Claude is still working, the findings go into the running turn. If the turn already ended, they wait for you: the status line counts them, and /unslop fix sends them to Claude.It skips node_modules, vendored and generated folders, lockfiles, minified files, and binary files.
Unslop also adds one short rule to Claude's system prompt: write chat replies in ASD-STE100 Simplified Technical English at about 80% strictness, with no em or en dashes, no filler, and no flattery. The rule is for chat only, not for code.
The status line shows the count: unslop: 4 removed, 1 open /unslop.
/unslop: open the Unslop pane with every finding, grouped by file./unslop fix: ask Claude to remove every open finding. Use it when the status line says some are waiting./unslop clear: remove the findings that are already fixed from the list./unslop off and /unslop on: pause or resume the checks and the chat rule. The choice stays for the next session./unslop opens the pane with the keyboard in it:
✂ UNSLOP 3 removed 1 open
f fix open ones c clear removed Tab moves Enter presses Esc back to the prompt
Fix open ones Clear removed
src/cart.ts
✓ removed comment block line 12 /**
● open slop test line 30 expect(true).toBe(true)
This assertion is always true. Assert real behavior, or remove it.
f to send the open findings to Claude, or c to clear the removed ones.Removed findings show in green with a check. Open findings show in yellow, with what to do under them.
Change these in /plugin:
chatStyle (on): add the plain chat rule to Claude's system prompt.modelPass (on): run the model check after each edit.detectModel (haiku): the model for the model check.commentBlockLines (4): flag a run of added comment lines this long or longer.The rule checks cost nothing. The model check is one small call per edit; turn off modelPass to stop it.
See the marketplace README for configuration, privacy, updates, and removal.