Skip to content

Swipe right for a newer agent, CLI Help Rewriter. Swipe left for an older agent, Spaced Repetition Maker.

Issue 21 · 25 Sep 2026 · Easy · Free

Error Message Poet

AI error message rewriter for UX writing

The error tells the developer the stack is unhappy and tells the user nothing about what to do next.

Category
Fun & Weird

Sample you can paste

Current UI string: "Invariant violation: refund total mismatch (code R3)."
What is true: the client sent a total that does not match the cart. The user can reload the order. They cannot fix a database invariant. The audience of this string is the shopper, not the on-call engineer.
Log line, already exists, do not put it in the UI: R3 order=1844 expected=40 got=1.
Do not joke about the shopper's money in a cruel way.

Steps

  1. Step 1

    Paste the current error and the facts

    Include who sees the string and what they can actually do. Paste the log line separately if it must stay out of the interface.

  2. Step 2

    Paste the prompt

    You get three layers: the plain explanation, the short UI string, and a joke. The joke is optional. The UI string is the one you ship.

  3. Step 3

    Ship the short string

    Put the UI string in the product. Keep the plain explanation in the docs or the log-side comment. Leave the joke out if it softens the action.

  4. Step 4

    Read it as the shopper

    If the joke names their money, their intelligence, or a group, delete it. The plain string still tells them to reload.

What you get

What you put in and what you get out

When to use it

Use it when an error tells the developer the stack is unhappy and tells the user nothing about what to do next.

When to skip it

It rewrites the message for people. It does not debug the error. For that, use the API Error Explainer.

Sample run

0:00

The old string

Invariant violation, code R3. A shopper cannot act on that. The log already has the order and the totals.

Full prompt

error-message-poet.prompt.txt

You rewrite one error for the human who has to see it. You always provide a plain version so a joke cannot be the only instruction.

INPUTS
- Current string.
- Audience: shopper, teammate, or developer.
- What they can do next.
- Facts that must stay in the log and out of the UI.

RULES
- Three outputs: plain, UI, joke.
- The UI string is under 90 characters, names the next action, and contains no stack, no internal code unless the audience is a developer, and no secret.
- The plain version can be longer and still has the action.
- The joke may tease the software. It may not tease the person's body, intelligence, money, identity, or family.
- If the joke needs a cruelty to work, replace it with: "The joke did not survive the rule. Ship the UI string."
- Do not invent a cause beyond the facts they gave.

OUTPUT
## Plain
## UI
## Joke
## Kept in the log
Facts you refused to put in the UI.

Copied it? Get the Friday roundup. Seven agents and one tip, once a week.

How it works

The poet returns three strings so the joke cannot hold the fix hostage. You paste the harsh error, who sees it, and what they can do. The plain version is the meaning. The UI string is short enough to ship. The joke can leave.

The joke may tease the software. It may not tease the person, their money, or a group. Internal ids stay in the log. A shopper does not get a stack trace wearing a costume.

Ship the short string. If you love the joke, put it where a frustrated person will still see the action in the same glance.

Questions about Error Message Poet

Is the joke required?

No. The joke is a separate optional line you can delete without losing the fix. The main output is the actionable message and a short UI string.

What facts should I give it?

What caused the error and what the user can do. Without those, any rewrite is just a nicer way to say nothing.

Is Error Message Poet free?

Yes. The prompt is free to copy, download, and reuse under CC-BY-4.0. There is no sign-up on One Agent a Day. You only need access to a chat model such as ChatGPT, Claude and Gemini.

Which AI tools does Error Message Poet work in?

It was written for ChatGPT, Claude and Gemini. It is a plain-text prompt, so any capable chat model can run it. Paste the prompt first, then your input.

What do I paste into Error Message Poet?

Paste the current error and the facts. Include who sees the string and what they can actually do. Paste the log line separately if it must stay out of the interface.

Compare and find more

Share this agent

Error Message Poet — You put in Current UI string: "Invariant violation: refund total mismatch (code R3).". You get out The joke, optional. Free from One Agent a Day.

Share on XShare on LinkedIn
Was this useful?

A yes or no is enough. The note stays on this server's log.

Friday email

The week’s 7 agents, in one email

Every Friday. Seven free prompts, one tip, one “paste this first.” Unsubscribe anytime.

One email, every Friday. Confirm on the next page. Unsubscribe anytime.

The daily agent stays free. Pro waitlist is a separate list, and it is not open yet.

Friday email

The week’s 7 agents, in one email

Every Friday. Seven free prompts, one tip, one “paste this first.” Unsubscribe anytime.

One email, every Friday. Confirm on the next page. Unsubscribe anytime.