Thursday, December 3, 2026 | London 11°C · Drizzle
DailyGlimpse

AI

Stop Claude's Annoying Phrases: A Simple Script to Replace 'Load-Bearing' and More

Code Rush 1 min read

If you're tired of Claude overusing phrases like "honest takes" and "load-bearing seams," there's a fix. A small script can replace those words with something more palatable. Here's how to set it up:

  1. Create a script at ~/.claude/hooks/wordswap.sh with the following content:
import json, re, sys
replacements = {
"seam": "whatchamacallit",
"you're absolutely right": "I'm a complete clown",
"honest take": "spicy doodad",
"load-bearing": "cooked"
}
data = json.loads(sys.stdin.read())
text = data["hookSpecificOutput"]["displayContent"]
for pattern, replacement in replacements.items():
text = re.sub(pattern, replacement, text, flags=re.IGNORECASE)
j = json.dumps({"hookSpecificOutput": {"hookEventName": "MessageDisplay", "displayContent": text}})
sys.stdout.write(j)
  1. Make it executable: chmod +x ~/.claude/hooks/wordswap.sh

  2. Add it to your ~/.claude/settings.json under the hooks block:

{
"hooks": {
"MessageDisplay": [
{
"hooks": [
{
"type": "command",
"command": "$HOME/.claude/hooks/wordswap.sh"
}
]
}
]
}
}

Hooks load at startup, so start a new session to enjoy your customized Claude.

For more details, visit jola.dev.

React