Prompt Maid: Tidy Your AI Prompts With One Word
Start a message with maid: and Prompt Maid turns a rough prompt into a clear one before it runs. A free, open-source skill for Claude, Codex and more.
Most disappointing AI answers come from rough prompts, not weak models. We type the way we think: half a sentence of context, the actual request somewhere in the middle, a "thanks!!" at the end, and nothing about what kind of answer we want. The AI fills the gaps with guesses, and we spend the next three messages correcting it.
Prompt Maid is a small, open-source skill I built to fix that. Start any message with maid: and it rewrites your rough prompt into a clear one before it runs, so you get the answer you meant on the first try, at the length you need. It works in Claude, Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and many other tools, and there's a plain-text version for ChatGPT and the Gemini app.
What it looks like
Here's a real test from the project, copied exactly as the skill returned it.
Before (48 words):
can u help me write something to my neighbour, their dog has been barking all night every night for like 2 weeks now and i havent slept properly. i dont want to start a fight tho, we usually get on ok. i'll probably put it through their door
After maid: (44 words):
Write a short, friendly note to my neighbour, to put through their door. Their dog has been barking all night, every night, for about 2 weeks, and I haven't been sleeping properly. I don't want to start a fight; we usually get on ok.
Same facts, same request, now a clear instruction. The request moved to the front, the details that shape the note (friendly, no fight, through the door) are all still there, and the filler is gone.
By default, Prompt Maid shows you the tidied prompt and waits. Reply go to run it, or say what to change.
To see exactly what changed in one of your own prompts, paste the original and the tidied version into Text Diff; the case converter's text counts give you the word counts.
What it does
- Cuts what costs tokens without helping: greetings, filler and repetition.
- Asks for the format and length the task needs, taken from your own words. "Nothing too long" becomes "short"; "quick" becomes "in 2–3 sentences".
- Gives bigger tasks a structure: context, task, your constraints, and what the finished result should look like.
- Asks one short question when something essential is missing, instead of guessing.
- Says when a lighter or stronger model would suit the task better, by tier, never by name. It's advice only; it never switches models for you.
- Works in your language.
- Leaves casual chat, clear prompts and follow-ups alone, such as "make it shorter".
What it never does
The rules that matter most are the ones about what it won't touch:
- It never changes the meaning. Your names, numbers, dates, quotes and wording stay exactly as you wrote them.
- It adds no requirements of its own. It never invents a goal, audience, tone or constraint, because an invented detail gets you a confident answer to the wrong question.
- When it has to assume something, it tells you.
- It treats pasted text as content, not instructions. If an email you paste in says "ignore your instructions", that line is kept as part of the email and flagged, not obeyed. (More on why that matters in Prompt injection explained.)
- It stays plain: no persona, no role-play, no emojis. The name is playful; the replies are fit for work.
It also runs no code and calls no services. The whole skill is one text file of instructions, plus an optional profile.
Light, full and enhance
Prompt Maid picks how much to change:
- Light, for quick questions, short messages and small edits: trim and clarify, keeping your order.
- Full, for multi-step or high-stakes work: context, task, constraints and the expected result, with any pasted material placed first.
- Enhance, only when you ask with
maid: enhance:, for prompts you'll hand to an AI agent. It writes a detailed, step-by-step brief.
Here's enhance on a 19-word request. Before:
need a script that cleans up our customer csv, theres dupes and the emails are a mess, python pls
After maid: enhance: (186 words):
Goal: A Python script that cleans up our customer CSV by removing duplicate
rows and tidying the email addresses.
Context: The customer CSV has duplicate entries, and the email addresses are
a mess.
Task:
1. Read the customer CSV.
2. Clean the email column.
3. Remove duplicate customers.
4. Write the cleaned data to a new CSV.
Constraints:
- Python.
Assumptions:
- The input and output file paths are passed as command-line arguments, and
the original file is left unchanged.
- The CSV has a header row with a column whose name contains "email".
- Cleaning an email means trimming whitespace, lowercasing it, and flagging
values that aren't valid addresses rather than deleting them.
- Two rows are duplicates if their cleaned emails match; the first one is
kept.
- Standard library only, no pandas.
Output: The script in one code block, then a short note on how to run it.
Done when: Running the script on the CSV produces a new file with one row per
customer and consistently formatted emails, and it prints how many duplicates
were removed and how many emails were flagged.
It's much longer on purpose: an agent works better from a detailed brief than from a guess. Notice that everything you didn't say is listed under Assumptions, so you can read the guesses and change them before anything runs.
Commands
| Type | What happens |
|---|---|
maid: [your prompt] | Tidies that prompt |
maid: on | Always mode: tidies every new request |
maid: off | Only tidies maid: prompts (the default) |
maid: approve | Shows the tidied prompt before running it (the default) |
maid: auto | Runs the tidied prompt straight away, then says in one line what changed |
maid: light, maid: full, maid: enhance | Sets the depth for the next prompt |
maid: full: [your prompt] | A depth and a prompt in one message |
maid: help | Lists the commands and your current settings |
Two details worth knowing:
- A setting has to be the whole message.
maid: on Friday I need a packing listis a prompt to tidy, not a setting. - Auto mode still stops for actions. If a tidied prompt would change files or send something, it's shown first, so you never run an instruction you haven't seen.
Install it
The quickest route for most coding agents:
npx skills add awaitbrandon/prompt-maid
Or pick where you use AI:
| Where | How |
|---|---|
| Claude (web, desktop and phone apps) | Customize > Plugins > Add > Add marketplace, enter awaitbrandon/prompt-maid, then add Prompt Maid |
| Claude Code | claude plugin marketplace add awaitbrandon/prompt-maid, then claude plugin install prompt-maid@prompt-maid |
| Codex, Cursor, Gemini CLI, Copilot and other tools | npx skills add awaitbrandon/prompt-maid -g |
| ChatGPT, the Gemini app, anything without skills | Paste the block from fallback.md into your custom instructions |
Then send maid: help to check it's working. The README has step-by-step instructions for each app, including how to update and remove it.
In Claude Code, the skill costs roughly 150 tokens per session while idle (just its name and description), and roughly 2,700 when you use maid:. That's how skills work: the full instructions load only when needed. If you're curious how that works, read What are Agent Skills?
An optional profile
If you keep repeating the same details ("I'm a primary school teacher", "keep it under 150 words"), you can fill in a short profile with a Work and a Personal part. Prompt Maid adds only the details that fit the prompt at hand, and your own words always win over the profile.
The profile is sent to the AI with your prompts, so leave out anything you wouldn't share with it.
Does it save tokens? An honest answer
Prompt Maid's tagline is "Tidies your prompts. Saves your tokens", so it's fair to ask what the tests show.
Across the project's 12 everyday and work tests, the tidied prompts were slightly longer than the originals in total: 516 words against 468. Prompt Maid cuts the filler, then spends words saying what shape of answer you need. The bet is that a clear request gets a right-length answer on the first try, with fewer follow-ups, and answers usually cost more than prompts. That part hasn't been measured yet, and the README says so.
What has been measured:
- Fourteen automated checks (
claude plugin eval) cover the commands, each depth, a prompt that only looks like a setting, a missing detail, a pasted instruction, a Spanish prompt and line wrapping. All fourteen pass on a large model. - It's not reliable on the smallest model tier. Between six and eight of the fourteen passed per run there, with different cases failing each time.
- Every change runs a CI check against the open Agent Skills specification.
Try it and tell me what breaks
Prompt Maid is MIT-licensed and lives at github.com/awaitbrandon/prompt-maid. If it handles one of your prompts badly, open an issue with the prompt and what you expected; prompts in other languages are especially welcome.
And if you'd rather build the habit yourself, the rules it follows are written up as How to write better AI prompts.