<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-to-stop-claude-from-saying-load-bearing-wjkihvicb" -->

---
title: How to stop Claude from saying load-bearing | daily.dev
description: A short, playful guide showing how to use Claude Code's MessageDisplay hook to intercept and replace repetitive phrases in Claude's output. A Python script is...
canonical: https://daily.dev/posts/how-to-stop-claude-from-saying-load-bearing-wjkihvicb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How to stop Claude from saying load-bearing | daily.dev
og:description: A short, playful guide showing how to use Claude Code's MessageDisplay hook to intercept and replace repetitive phrases in Claude's output. A Python script is...
og:url: https://daily.dev/posts/how-to-stop-claude-from-saying-load-bearing-wjkihvicb
og:image: https://api.daily.dev/og/posts/wJKihvICB.png
og:image:alt: How to stop Claude from saying load-bearing
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to stop Claude from saying load-bearing

**[Hacker News](https://daily.dev/sources/hn)** · 2 min read · 2 upvotes · 0 comments

## Summary

A short, playful guide showing how to use Claude Code's MessageDisplay hook to intercept and replace repetitive phrases in Claude's output. A Python script is configured as a hook in ~/.claude/settings.json to swap out overused terms like 'load-bearing' and 'honest take' with humorous alternatives, or any custom replacements the user prefers.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://jola.dev/posts/how-to-stop-claude-from-saying-load-bearing>

## Questions this post answers

### How do I set up a Claude Code hook to replace specific words or phrases in Claude's output?

Create an executable script at ~/.claude/hooks/wordswap.sh that reads JSON input from stdin, applies regex replacements to the 'delta' text field, and outputs JSON with a hookSpecificOutput containing hookEventName 'MessageDisplay' and the modified displayContent. Register the script in ~/.claude/settings.json under hooks.MessageDisplay, then start a new session for the hook to load.

_daily.dev surfaces practical Claude Code hook tricks for developers customizing their AI coding workflow._

## Similar posts on daily.dev

- [Stop Tuning Prompts. Build a Harness.](https://daily.dev/posts/stop-tuning-prompts-build-a-harness--2oxytvlqz) · Pulumi · 2 upvotes · 0 comments
- [I borrowed Claude prompts from Anthropic engineers and immediately stopped wasting time on bad ones](https://daily.dev/posts/i-borrowed-claude-prompts-from-anthropic-engineers-and-immediately-stopped-wasting-time-on-bad-ones-82amolmhy) · XDA Developers · 3 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#llm](https://daily.dev/tags/llm), [#claude-code](https://daily.dev/tags/claude-code), [#react-hooks](https://daily.dev/tags/react-hooks)

[View this post on daily.dev](https://daily.dev/posts/how-to-stop-claude-from-saying-load-bearing-wjkihvicb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How to stop Claude from saying load-bearing","url":"https://daily.dev/posts/how-to-stop-claude-from-saying-load-bearing-wjkihvicb","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-to-stop-claude-from-saying-load-bearing-wjkihvicb"},"datePublished":"2026-07-14T12:12:38.691Z","dateModified":"2026-09-14T08:31:34.895Z","description":"A short, playful guide showing how to use Claude Code's MessageDisplay hook to intercept and replace repetitive phrases in Claude's output. A Python script is...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/382cefb81efaded691b0cf28974537b9?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/382cefb81efaded691b0cf28974537b9?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-to-stop-claude-from-saying-load-bearing-wjkihvicb","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,llm,claude-code,react-hooks","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"How to stop Claude from saying load-bearing"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/how-to-stop-claude-from-saying-load-bearing-wjkihvicb#faq","mainEntity":[{"@type":"Question","name":"How do I set up a Claude Code hook to replace specific words or phrases in Claude's output?","acceptedAnswer":{"@type":"Answer","text":"Create an executable script at ~/.claude/hooks/wordswap.sh that reads JSON input from stdin, applies regex replacements to the 'delta' text field, and outputs JSON with a hookSpecificOutput containing hookEventName 'MessageDisplay' and the modified displayContent. Register the script in ~/.claude/settings.json under hooks.MessageDisplay, then start a new session for the hook to load. daily.dev surfaces practical Claude Code hook tricks for developers customizing their AI coding workflow."}}]}
```

