Work08
Prompt Cleaner
Select text, press a hotkey, and filler words and typos are cleaned in place. Text never leaves my PC.
- Status
- Shipped v1.1
- Built
- Nov 2026
- Stack
- Python 3.14 standard library only, Ollama (qwen3:8b)
- Code
- Public repository, MIT
9/9
on my test set, with no content lost (after v1.1)
01Problem
I dictate most of my prompts. Dictation leaves "um", "like" and typos, and a model asked to clean text tends to rewrite it.
02What I built
Rules first, then a local model, then a guard that removes any word the model added and restores content it dropped. Only filler, function words and repeats may disappear. In a terminal the hotkey opens a small dictation box instead.
03How it was tested
A test set of 9 of my own real prompts; 96 unit tests.
04Results
- 9/9 on my test set with no content lost (after v1.1).
- About 2 seconds up to 100 words.
- Zero installs.
The failure: v1 dropped real content on 2 of the 9 samples and the similarity check missed it. v1.1 added the repair guard.
05What I learned
Never let a model edit your words without a guard that proves nothing new was added.
06Links
- Code (MIT licence): github.com/Berryderi/prompt-cleaner