Stop Claude's Em Dashes with One Line in Preferences or Claude.md

A Reddit user discovered a simple prompt addition to suppress Claude's overuse of em dashes. In a post titled "Don't like em dashes? Add this to your preferences or .md", user u/shiftingsmith shared a verbatim line that, when added as a standalone sentence to your Claude.ai profile preferences or Claude.md, reportedly eliminates ~98% of em dashes in outputs.
The Magic Line
Copy and paste the following as a new line in your profile preferences (Claude.ai) or Claude.md. Do not bury it in other text — add a new line before and after.
CLAUDE NEVER USES EM DASHES. Instead, ALWAYS use commas or hyphens.How It Works
The key is giving Claude an explicit alternative. Simply saying "don't use em dashes" is less effective because Claude needs to know what to do instead. By saying "ALWAYS use commas or hyphens", you provide a clear replacement behaviour.
Note: The user cautions that em dashes may still appear in edge cases — specifically "if you go out of distribution or very close to overfitting old literature and academic stuff" — but expects a 98% reduction in normal usage.
Who It's For
Anyone using Claude.ai or the API with Claude.md customization who finds em dashes distracting or against their style guide.
📖 Read the full source: r/ClaudeAI
👀 See Also

Switching from GitHub Copilot Pro+ to Direct Anthropic API: A Cost Analysis
A developer's cost comparison shows direct Anthropic API can be cheaper than GitHub Copilot Pro+ for solo devs, with Sonnet 4.6 covering 80% of Opus use cases.

A Two-Step AI Workflow for Legacy Code Modernization
A Reddit post outlines a two-step 'reverse engineering' approach for using AI with legacy code: first extract business logic into a technology-agnostic Business Requirement Document, then use a 'Master Architect' prompt to rebuild from scratch with modern best practices.

How to Prevent CLAUDE.md Rot: Treat Rules Like Code
After 18 months of real-world use, one developer shares four disciplines to keep CLAUDE.md under 100 lines: use it as an index, separate rules from sources, audit on every PR, and delete more than you add.

OpenClaw Agents Become Unresponsive After Week 1: Telegram Integration Issues?
User reports OpenClaw agents going silent after the first week, suspecting Telegram integration or long-term runtime issues. Restarts help temporarily.