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

How I Prompt AI Models in 2026 vs a Year Ago: 3 Key Changes
A developer shares three concrete changes: switch from prompt templates to reusable skills, write goals instead of step-by-step instructions, and use /loop commands for long-running projects in Claude Code and Codex.

Using Light-Context Cron Jobs for Daily OpenClaw Tips
A user shares their setup of a daily cron job that posts OpenClaw tips to a Nextcloud Talk channel, highlighting the --light-context flag to reduce bootstrap overhead for isolated tasks.

6 Loop Types Found in Production AI Agents: A Week-Long Log Analysis
Analysis of 670 events from 5 production agents over a week reveals 6 high-severity loop patterns including decision oscillation, retry loops, ping pong loops, recall-write loops, reflection loops, and tool non-determinism.
5 Claude Code Terminal Commands You Might Be Missing
A senior dev shares five hidden Claude Code commands for the terminal: custom statusline, shell commands, file mentions, multi-repo context, and side conversations.