← 返回日报
精读 预计 1 分钟

How to stop Claude from saying load-bearing

摘要

文章介绍一个 ~/.claude/hooks/wordswap.sh 脚本,通过替换避免 Claude 说 "honest takes" 和 "load-bearing seams",放到 ~/.claude/hooks/ 目录并加执行权限,再在 ~/.claude/settings.json 的 hooks 块引用;建议用更好替代词,启动新会话生效。

荐读理由

用 Python 脚本替换 Claude 输出里的固定词(seam=whatchamacallit、load-bearing=cooked 等),通过 ~/.claude/hooks/wordswap.sh + settings.json 的 MessageDisplay hook 实现,启动新会话即可生效

原文

How to stop Claude from saying load-bearing

July 14, 2026

2 min read

Absolutely ripping your hair out reading Claude referring to everything as “honest takes” and "load-bearing seams"? You’re not the only one. But what if I tell you there’s a way to take this massive source of frustration and make it so ridiculous you can't but laugh at it? Or just simply fix Claude's vocabulary. I present to you, the MessageDisplay hook.

First you need a little script with some replacements set up:

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.load(sys.stdin)
text = data.get("delta") or ""

for phrase, replacement in replacements.items():
    pattern = r"\b" + re.escape(phrase) + r"\b"
    text = re.sub(pattern, replacement, text, flags=re.IGNORECASE)

print(json.dumps({
    "hookSpecificOutput": {
        "hookEventName": "MessageDisplay",
        "displayContent": text,
    }
}))

put that in ~/.claude/hooks/wordswap.sh and make it executable with chmod +x ~/.claude/hooks/wordswap.sh. Then to hook it up, add it to your ~/.claude/settings.json in the hooks block like:

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

Hooks load at startup, so you just need to start a new session to start your new life.

A screenshot of Claude output showing the effect of the script.

I'm sure you can come up with much better and more productive replacements than me. Have fun!

Written by Johanna Larsson. Thoughts on this post? Find me on Bluesky at @jola.dev .

Let libraries be libraries

July 07, 2026

A gentle rant on the topic of libraries that run as Elixir applications and why that's an anti-pattern for library design.

elixir oss

CI workflows on Tangled for Elixir

July 04, 2026

How to set up CI workflows on Tangled for Elixir, with specific Elixir and Erlang versions, and a PostgreSQL service.

atproto tangled

Automatically syncing your blog to atproto and standard.site

June 29, 2026

Kicking off a little side project for automatically discovering content through blog post feeds and syncing to atproto and standard.site.

blog atproto

Hacker News · 159 赞 · 255 评 讨论 → 阅读原文 →

这条对你有帮助吗?