unslop-code

unslop-code is a skill for Claude Code, Codex from Erlemar/dswok. It costs 47 tokens per session (2,008 once invoked), scanned A, original, CC-BY-4.0.

A code-review skill for finding AI-generated code that is repetitive, hard to read, unnecessarily complex, or poorly tested. Code slop means avoidable code or comments that make future changes harder.

In plain words
What is it for?
Use it to inspect implementations, comments, tests, and abstractions for needless complexity and readability problems.
Why use it?
It helps expose maintenance problems hidden behind extra abstractions, redundant code, weak tests, or unhelpful comments.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/erlemar/dswok/unslop-code
Any agent
npx skills add Erlemar/dswok --skill unslop-code
Clone the repo
git clone --depth 1 https://github.com/Erlemar/dswok

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 unslop-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/erlemar/dswok/unslop-code.svg)](https://agentmods.dev/skills/erlemar/dswok/unslop-code)
Your own site
<a href="https://agentmods.dev/skills/erlemar/dswok/unslop-code"><img src="https://agentmods.dev/badge/skills/erlemar/dswok/unslop-code.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,008 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00047 $0.02008
Opus 5 $0.00023 $0.01004
Sonnet 5 $0.00009 $0.00402
Haiku 4.5 $0.00005 $0.00201

Measured 4d ago against content hash 5212593a1927, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

unslop-code 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 4d ago.

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.

.claude/skills/unslop-code/SKILL.md · 292 lines

The source is not reproduced here

Licensed CC-BY-4.0

The repository is licensed CC-BY-4.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 4d ago First seen · 292 lines · 47 tokens per session scan A 5212593a1927

Subscribe to this mod's changes

unslop-code is a skill published in the GitHub repository Erlemar/dswok (33 stars, last pushed 1mo ago), licensed CC-BY-4.0. It adds 47 tokens to every session and 2,008 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

perforatedai

Expert in PerforatedAI library for adding artificial dendrites to PyTorch neural networks. Triggers: 'Perforate my model' (start interactive setup), 'debug my perforated model' (debug/optimize existing integration), 'load my perforated model for inference' (deploy trained models). Also use when: debugging dendrite…

PerforatedAI/PerforatedAI · 115 tokens

perforatedai-analyze

Analyze PerforatedAI training results and provide optimization recommendations. Trigger: 'Analyze my perforated results' (after training completes). Reviews CSV outputs, identifies performance patterns, recommends configuration improvements. For initial setup or debugging, use the perforatedai skill instead.

PerforatedAI/PerforatedAI · 59 tokens

perforatedai-distributed

Multi-GPU setup for PerforatedAI with DataParallel or DistributedDataParallel (DDP). Invoked automatically by the perforatedai skill when multi-GPU training is detected. Handles initialization workflow, checkpoint loading, rank 0 handling, and shell script generation for DDP.

PerforatedAI/PerforatedAI · 64 tokens

perforatedai-libraries-transformers

HuggingFace Transformers integration for PerforatedAI. Handles the Trainer-specific differences: usingperforatedai=True, GPA.metric, evalstrategy. Use when the user's script uses HuggingFace Trainer.

PerforatedAI/PerforatedAI · 51 tokens

perforatedai-complex-methods

Solutions for non-trivial PerforatedAI integration scenarios. Use when standard integration hits edge cases such as AMP (Automatic Mixed Precision) / GradScaler crashes in p mode, or other advanced setups not covered by the main perforatedai skill.

PerforatedAI/PerforatedAI · 58 tokens

perforatedai-wandb

WandB-specific PerforatedAI integration guardrail skill. Use when users want WandB sweeps/logging with PerforatedAI, or when fixing repeated WandB integration mistakes. Enforces strict adherence to the canonical PerforatedAI WandB API doc (api/wandb.md) and includes expandable correction sections.

PerforatedAI/PerforatedAI · 74 tokens