WTF meter


In 2008 Thom Holwerda drew the definitive code quality metric for OSNews: two doors marked CODE REVIEW, and the only number that matters is how many WTFs per minute come out from behind them. Robert C. Martin opened Clean Code with it.
The code review is a chat with Claude now, and the WTFs are typed. So this is a Claude Code mod that counts them, live, per message: in English, German, Polish, Russian and Ukrainian.
What you get
- Every message where you swore gets stamped:
[WTF +3 · бля]
- A strip above the prompt tracks the heat, one bar per message
- The status line keeps score:
🔴 Meltdown · 9 WTFs ▲
- A toast pops when the session changes level
/wtf prints the tally
- Or switch to swear jar mode and let the team see who is paying in
- Or Bluey mode: each stronger swear gets a child-friendly swap, so you can practice before the kids hear it
Works in the Claude Code terminal and the Code tab of the Claude desktop app. Nothing leaves your machine unless you turn on Slack posting, and even then your words don't.
See it
In the Claude desktop app (mockup of the Code tab: Claude's windows can't be screen-captured, so this is drawn from the mod's real output):
In the terminal (real session, captured from claude and rendered as-is):
The four stages of a Claude Code session

The level is the average score of your last 4 messages, so one truly bad message can skip a stage.
stateDiagram-v2
direction LR
[*] --> Calm
Calm --> Grumbling: avg ≥ 0.6
Grumbling --> Heated: avg ≥ 1.5
Heated --> Meltdown: avg ≥ 2.5
Meltdown --> Heated: avg < 2.5
Heated --> Grumbling: avg < 1.5
Grumbling --> Calm: avg < 0.6
Swear jar mode
Inspired by Bud Light's "Swear Jar" ad: the office jar that paid for beer, until everyone started swearing on purpose. Switch mode to jar and every swear drops coins in, 25¢ per point (damn 25¢, wtf 50¢, kurwa 75¢). The jar never empties and carries over between sessions. Every $20 is a beer run.
Jar mode in the terminal (real session)
Post to a team Slack channel
If Slack is connected in Claude (the Slack connector or the Slack plugin), the jar can post to a team channel as you:
Your words never reach Slack. A post is built only from the amount and one topic picked from a fixed list (a flaky test, a deploy, CI, a merge conflict, the AI itself, …; see hooks/jar.ts). A small model picks the topic, and any answer that is not exactly on the list becomes something. File names, project names, numbers and your actual message can't get into a post, whatever the model says.
Not every swear posts. Coins drop on each one, but a post is queued only when the session gets Heated (roughly two strong swears in your last four messages), and it covers the whole blow-up since you were last calm: the total and up to two topics. After that, nothing new posts until you've calmed down and blown up again.