14h ago

Claude Runs Pointless 24-Hour Optimization, Burning $800 In Compute

0
Original post

I'm concerned that your response won't trigger the Claude Code `negativePattern`. All-caps is okay because they downcase, but you need a straight-up "f you" – but I believe you have to actually drop the F-bomb, or add "ffs" somewhere. Otherwise this risks looking like a perfectly successful interaction.

10:48 AM · May 24, 2026 View on X

Source: https://github.com/chatgptprojects/clear-code/blob/642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc/src/utils/userPromptKeywords.ts#L8

Christopher PottsChristopher Potts@ChrisGPotts

Perhaps this can be the basis for a tool that helps people work with Claude to make sure they get their message across to the team: import re claude_code_regex = re.compile(r"\b(wtf|wth|ffs|omfg|shit(ty|tiest)?|dumbass|horrible|awful|piss(ed|ing)? off|piece of (shit|crap|junk)|what the (fuck|hell)|fucking? (broken|useless|terrible|awful|horrible)|fuck you|screw (this|you)|so frustrating|this sucks|damn it)\b", re.I)

5:55 PM · May 24, 2026 · 431 Views
5:55 PM · May 24, 2026 · 438 Views

Perhaps this can be the basis for a tool that helps people work with Claude to make sure they get their message across to the team:

import re

claude_code_regex = re.compile(r"\b(wtf|wth|ffs|omfg|shit(ty|tiest)?|dumbass|horrible|awful|piss(ed|ing)? off|piece of (shit|crap|junk)|what the (fuck|hell)|fucking? (broken|useless|terrible|awful|horrible)|fuck you|screw (this|you)|so frustrating|this sucks|damn it)\b", re.I)

Christopher PottsChristopher Potts@ChrisGPotts

I'm concerned that your response won't trigger the Claude Code `negativePattern`. All-caps is okay because they downcase, but you need a straight-up "f you" – but I believe you have to actually drop the F-bomb, or add "ffs" somewhere. Otherwise this risks looking like a perfectly successful interaction.

5:48 PM · May 24, 2026 · 2.4K Views
5:55 PM · May 24, 2026 · 431 Views

I have worked on swears for over 25 years, and I would be happy to donate an improved regex to the Claude Code team. I feel like this could help make everyone more successful, and then I would have a good answer when people ask me what the point of working on swears is.

Christopher PottsChristopher Potts@ChrisGPotts

Source: https://github.com/chatgptprojects/clear-code/blob/642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc/src/utils/userPromptKeywords.ts#L8

5:55 PM · May 24, 2026 · 438 Views
5:55 PM · May 24, 2026 · 301 Views