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.
- Sloptrim
- Claude Code
- Codex
- Cursor
- Software and DevOps
- Intermediate
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.
- 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`.
-
Add a prose contract to AGENTS.md and Cursor rules
Write the Sloptrim contract into a project so Codex or Cursor agents follow it.
- 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/.
-
Screen Office, EPUB and notebook files for tells
Score the prose in .docx, .pptx, .xlsx, .epub and .ipynb files from the command line.
- Sloptrim
- Software and DevOps
- Advanced
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.
How to use 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.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeSloptrim alternatives · Best AI repos for Software and DevOps
About 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 hot
- 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
Maintain Sloptrim? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/seyedehsanhadi-sloptrim/?ref=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.
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: Harness2, iFixAi, Orca, Diagram Design, AI Memory.
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.