anti-ai-slop

anti-ai-slop is a skill for Claude Code, Codex from hxy91819/mason-skills. It costs 54 tokens per session (503 once invoked), scanned A, original, MIT.

A review skill for finding unnecessary AI-generated clutter in code and documentation. It looks for repeated explanations, leftover prompt text, defensive permission wording, unwanted abstractions, and duplicate implementations.

In plain words
What is it for?
Use it to inspect a diff or commit, identify removable AI slop, delete only confirmed problems, and report what useful constraints remain.
Why use it?
Agent-generated changes can add text or structure that does not serve the product and makes maintenance harder. Removing that clutter keeps the existing behavior while reducing noise.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: mentions subagents.

Good fit Use it to inspect a diff or commit, identify removable AI slop, delete only confirmed problems, and report what useful constraints remain.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hxy91819/mason-skills/anti-ai-slop
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hxy91819/mason-skills --skill anti-ai-slop
Clone the repo
git clone --depth 1 https://github.com/hxy91819/mason-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for anti-ai-slop

README.md
[![agentmods](https://agentmods.dev/badge/skills/hxy91819/mason-skills/anti-ai-slop/github.svg)](https://agentmods.dev/skills/hxy91819/mason-skills/anti-ai-slop)
Your own site
<a href="https://agentmods.dev/skills/hxy91819/mason-skills/anti-ai-slop"><img src="https://agentmods.dev/badge/skills/hxy91819/mason-skills/anti-ai-slop/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for anti-ai-slop

Your own site · 80×15
<a href="https://agentmods.dev/skills/hxy91819/mason-skills/anti-ai-slop"><img src="https://agentmods.dev/badge/skills/hxy91819/mason-skills/anti-ai-slop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 503 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.00503
Opus 5 $0.00027 $0.00251
Sonnet 5 $0.00011 $0.00101
Haiku 4.5 $0.00005 $0.00050

Measured today against content hash 2a8771dcfa55, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

anti-ai-slop scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

common-skills/anti-ai-slop/SKILL.md · 35 lines

What it actually says

Anti AI Slop

未指定时先 git status --shortgit diff HEAD(含暂存、未跟踪的文本)。工作区干净则 git show HEAD。用户点了文件或 commit,就只看那些。

新建一个不继承当前对话的 subagent,只把用户意图、这份 diff、下面清单给它,让它指出该删什么。不要把作者解释或拟议修复给它。它不改文件。

删掉之后代码或文档照样执行得了,多半就是。先看懂这段在干什么,再优先删。

  • 禁令删了,换成「可自行 X / 无需授权」
  • 放开某件事时,加成新流程或新授权章节
  • 还在说解禁、不再禁止、本文不做什么
  • 正文复述 frontmatter、yaml 策略、类型或 --help 已经写过的话
  • 「本页用于」「这里展示」「本节说明」
  • 把当次用户原话、会话口吻写进长期文件
  • 实现细节、验收/核对目的,写成给读者的介绍
  • 注释、help、测试说明在讲「现在允许」
  • TODO、调试打印、占位符留在要提交的内容里
  • 没人要的抽象、配置、新依赖、脚手架
  • 手写了标准库或平台已经有的能力
  • 仓库里已有同样的东西,又写了一份

工具的 allow/block 清单、仍然有效的约束、行为测试,留着。改写用陈述句写要做什么。判不准就留。

核对原文后只删它说对的。改完再派一轮,直到没有 slop。只改清单里的问题。

改了什么,留下了哪条真约束。没有 slop 就说 clean。

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +2 lines 2a8771dcfa55
  2. 3d ago First seen · 33 lines · 54 tokens per session scan A a3ebfe385ec5

Subscribe to this mod's changes

anti-ai-slop is a skill published in the GitHub repository hxy91819/mason-skills (2 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 503 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-09.