What do you want to do?
4 use cases
-
Score a prose draft for AI-writing tells
Run a local 0-100 score on a .docx, .md or other prose file before you publish it.
View prompt
Using the sloptrim repo at <repo path>, run `python scripts/detect.py <draft file>` on <draft file> and report the 0-100 score, the band and the named patterns. Verify that the output is valid JSON and includes a score between 0 and 100.
-
Guard prose an agent saves in Claude Code
Install the plugin so each prose file the agent saves is scored and flagged for rewrite.
- REPO
seyedehsanhadi/sloptrim - Claude Code
- Software and DevOps
- Intermediate
View prompt
Install the sloptrim plugin from https://github.com/seyedehsanhadi/sloptrim, then run `/sloptrim doctor` and report whether it prints four [OK] lines. Save one prose file and verify that it appears in `/sloptrim show`.
- REPO
-
Add a prose contract to AGENTS.md and Cursor rules
Write the Sloptrim contract into a project so Codex or Cursor agents follow it.
- REPO
seyedehsanhadi/sloptrim - Codex
- Cursor
- Software and DevOps
- Intermediate
View prompt
In the project at <project path>, run `/sloptrim init` and report which files were written. Verify that AGENTS.md exists and that a Cursor rule exists under .cursor/rules/.
- REPO
-
Screen Office, EPUB and notebook files for tells
Score the prose in .docx, .pptx, .xlsx, .epub and .ipynb files from the command line.
View prompt
Using the sloptrim repo at <repo path>, run `python scripts/detect.py <file>` on each of <file list> and report the score and the skipped areas for each. Verify that no output was redirected over an Office, EPUB or notebook file.
Quick start with Sloptrim
- Check you have what it needs: Python 3.9 or newer for the detector; Node for the Claude Code hooks; Git, to clone the repository.
- Open seyedehsanhadi/sloptrim on GitHub and read the README and license.
- Clone the repository with
git clone https://github.com/seyedehsanhadi/sloptrim.git ~/.claude/skills/sloptrim - Change into the cloned folder, for example
cd ~/.claude/skills/sloptrim(inferred, check the README) - Run
python scripts/detect.py draft.docxon your file, replacing draft.docx with its path - Read the score and band in the JSON, then check the listed patterns and metrics
These steps come from our top use case, Score a prose draft for AI-writing tells, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for seyedehsanhadi/sloptrim
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forWriters, editors and developers who use Claude Code, Codex or Cursor and want a local check on prose their agent saves or on drafts they write.
- Why it is hot420 stars, launched 88 days ago
- LanguagePython
- Sourcegithub.com/seyedehsanhadi/sloptrim · Back to Hot repos
Requirements
- Python 3.9 or newer for the detector
- Node for the Claude Code hooks
- Git, to clone the repository
- A coding agent such as Claude Code, Codex or Cursor, if you want the on-save guard or the contract
Add this badge to your README
Maintain Sloptrim? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/seyedehsanhadi-sloptrim/?utm_source=github&utm_medium=badge&utm_campaign=seyedehsanhadi-sloptrim)
HTML
<a href="https://dedupedai.com/use-cases/seyedehsanhadi-sloptrim/?utm_source=github&utm_medium=badge&utm_campaign=seyedehsanhadi-sloptrim"><img src="https://dedupedai.com/badge/seyedehsanhadi/sloptrim.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Sloptrim
What is Sloptrim?
Sloptrim is a local command-line tool and agent plugin that scores prose files for AI-writing patterns, using only the Python standard library with no network and no model. It is an open-source project on GitHub: https://github.com/seyedehsanhadi/sloptrim.
How do I use Sloptrim?
Clone the repository with git clone https://github.com/seyedehsanhadi/sloptrim.git ~/.claude/skills/sloptrim; then Change into the cloned folder, for example cd ~/.claude/skills/sloptrim; run python scripts/detect.py draft.docx on your file, replacing draft.docx with its path. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Sloptrim for?
Writers, editors and developers who use Claude Code, Codex or Cursor and want a local check on prose their agent saves or on drafts they write.
What can I do with Sloptrim?
4 use cases so far, for example: Score a prose draft for AI-writing tells; Guard prose an agent saves in Claude Code; Add a prose contract to AGENTS.md and Cursor rules. Each has steps and a copy-paste agent prompt.
What do I need to run Sloptrim?
Python 3.9 or newer for the detector; Node for the Claude Code hooks; Git, to clone the repository; A coding agent such as Claude Code, Codex or Cursor, if you want the on-save guard or the contract.
What are alternatives to Sloptrim?
Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.
Is Sloptrim safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.