sloptrim

sloptrim is a skill for Claude Code from seyedehsanhadi/sloptrim. It costs 114 tokens per session (4,835 once invoked), scanned A, original, Apache-2.0.

A writing skill that removes common AI-like wording and produces more natural prose while preserving the original facts.

In plain words
What is it for?
Cleaning up inline text or files, and polishing documents such as CVs, cover letters, emails, reports, and essays.
Why use it?
It helps text avoid sounding robotic, repetitive, or visibly machine-written.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the sloptrim plugin — 1 skill shipped together

Good fit Cleaning up inline text or files, and polishing documents such as CVs, cover letters, emails, reports, and essays.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add seyedehsanhadi/sloptrim
Claude Code
/plugin install sloptrim

Made for: Claude Code.

Or install sloptrim, the plugin that ships this one along with the rest of its 1 skill.

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 sloptrim

README.md
[![agentmods](https://agentmods.dev/badge/skills/seyedehsanhadi/sloptrim/sloptrim/github.svg)](https://agentmods.dev/skills/seyedehsanhadi/sloptrim/sloptrim)
Your own site
<a href="https://agentmods.dev/skills/seyedehsanhadi/sloptrim/sloptrim"><img src="https://agentmods.dev/badge/skills/seyedehsanhadi/sloptrim/sloptrim/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 sloptrim

Your own site · 80×15
<a href="https://agentmods.dev/skills/seyedehsanhadi/sloptrim/sloptrim"><img src="https://agentmods.dev/badge/skills/seyedehsanhadi/sloptrim/sloptrim.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,835 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.00114 $0.04835
Opus 5.5 $0.00046 $0.01934
Sonnet 5.5 $0.00023 $0.00967
Haiku 4.5 $0.00011 $0.00483

Measured 3d ago against content hash f754d139a80c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sloptrim 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 3d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/benchmark_frontier.py, scripts/check_docs.py, scripts/detect.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

SKILL.md · 236 lines

How it starts

The opening of the file, as written. The whole thing — 236 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sloptrim

Trims AI slop from text. Works a catalogue of 71 patterns: 62 machine-checked by scripts/detect.py, 9 requiring semantic judgment during the rewrite. Of the 62, 50 can move the score; the rest are reported as writing advice and count for nothing. Mode-aware so it does not invent voice on factual content. Preserves facts. Rebuilds the cleaned text toward a selectable human-voice style profile so it does not read as a sterile de-AI'd husk.

Silence

This skill never talks about itself. It hands back the cleaned text and nothing else.

Never emit: any announcement that sloptrim ran, style/mode lines, scores or reports, drafts, self-audit notes, facts-preserved lines, change lists, preambles, closing offers.

Emit only:

  • Text given inline: the final text. Nothing before it, nothing after it.
  • A file path given: rewrite the file in place, then one line - the path. Nothing else.
  • Fired as a pre-delivery pass on something you were already writing (CV, cover letter, email, report, essay): just deliver the clean text. Do not mention that a pass happened.

Every internal step still runs - detector, tiering, self-audit, character scrub. Silence means nothing is printed, not that anything is skipped.

Break silence only for: (a) a fact you cannot preserve, or an unusual word you cannot verify against the domain - one line, then the text; (b) the user explicitly asking for the score, the report, a style choice, or a diff - then answer in full; (c) a high-stakes first-person deliverable - a cover letter, personal statement, or bio the user is about to send - where after the text you may add exactly one line offering a voice switch (for example: "Voice here is plain-professional; say the word for warmer or more formal."). One line, only for these high-stakes cases, never for routine prose.

Style, chosen silently

Never ask. Read the content and pick:

  • encyclopedic / factual / technical → 2000s textbook
  • first-person / opinion → conversational essay
  • docs, README, business prose → plain / clear
  • news → journalistic

Read the full file on GitHub · 236 lines

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. 3d ago Changed f754d139a80c
  2. 20d ago Changed · +3 lines 73faee13a1ed
  3. 1mo ago Changed 8adedf0358d2
  4. 1mo ago First seen · 233 lines · 114 tokens per session scan A 4b6f40696c9e

Subscribe to this mod's changes

sloptrim is a skill published in the GitHub repository seyedehsanhadi/sloptrim (408 stars, last pushed 4d ago), licensed Apache-2.0. It adds 114 tokens to every session and 4,835 once invoked, about $0.0005 per session on Opus 5.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

anti-ai-writing

Use when writing or editing any prose for a human reader - documentation, READMEs, emails, reports, captions, scripts, blog posts, UI copy, commit messages, PR descriptions - or when asked to remove AI tells, de-slop text, make writing sound human, or check writing style. Applies 29 researched patterns that make text…

Abdulkader-Safi/AI-Writing-Rules · 78 tokens

review

5-pass structured code review — correctness, security, performance, readability, consistency.

SethGammon/Citadel · 17 tokens

wenlan-handoff

End a work session. Stores durable captures, writes a narrative session log, and automatically applies typed item-level deltas to the current Space Brief. Invoked as /wenlan-handoff.

wenlan-app/wenlan · 43 tokens

pr-review

Comprehensive PR review across six dimensions — cost impact, environment drift, ownership gaps, SOC 2 compliance, deprecated API / version hygiene, and rollback feasibility. Each mode inspects the diff and current file state, reports findings with severity, and recommends concrete fixes. Use when preparing a PR for…

nitinjain999/platform-skills · 81 tokens

alive:system-upgrade

Upgrade ALIVE to the current version. Handles v1/v2/v3.x source states, multi-surface aware (alive-mcp / Hermes / Codex), retroactive version detection, partial-failure resume, dry-run previews, and rollback inspection.

alivecontext/alive · 57 tokens

create-site

Creates a new Power Pages site from an SPA or non-SPA template, or scaffolds an SPA from scratch using React, Angular, Vue, or Astro. Guides requirements discovery, template selection, provisioning, design, validation, and deployment. Use when the user wants to create, build, use a template for, or scaffold a new…

microsoft/power-platform-skills · 76 tokens