seyedehsanhadi/sloptrim

148 stars · Last commit 2026-08-17

A local detector for AI-writing patterns. Scores every prose file your agent saves. Python standard library only, no network, no model.

README preview

<div align="center">

<h1>
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="assets/sloptrim-logo-dark.svg">
    <img src="assets/sloptrim-logo.svg" width="358" alt="sloptrim">
  </picture>
</h1>

**A local detector for AI-writing patterns. It scores every prose file your agent
saves and asks for the flagged spans to be fixed.**
Python standard library only, no network, no model. Prose only, never code.

[![test](https://github.com/seyedehsanhadi/sloptrim/actions/workflows/test.yml/badge.svg)](https://github.com/seyedehsanhadi/sloptrim/actions/workflows/test.yml)
[![Version](https://img.shields.io/badge/version-0.9.1-blue)](CHANGELOG.md)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue)](LICENSE.txt)
[![Dependencies](https://img.shields.io/badge/dependencies-none-blue)](scripts/detect.py)
[![Tests](https://img.shields.io/badge/tests-166-blue)](tests/)
[![Python](https://img.shields.io/badge/python-3.9%2B-blue)](scripts/detect.py)

View full repository on GitHub →