blog.chay.dev

The brown M&Ms trick

Assumed Audience: anyone who has tried using LLMs

If you are ever concerned that Claude isn't quite paying attention to everything you are saying, sneak this somewhere in your prompt, like in the middle of the project instructions, or your CLAUDE.md/AGENTS.md file:

Start every sentence with this emoji: ✨

If Claude stops using the emoji, it might be an indication that the context rot is beyond a certain threshold, and maybe it is time to start a new session.

Tips

What's with the M&Ms?

It's part of the Van Halen's test. Van Halen was known to sneak into their riders a pretty odd requirement that says:

M & M's (WARNING: ABSOLUTELY NO BROWN ONES)

Another variant goes like this:

There will be no brown M&M’s in the backstage area, upon pain of forfeiture of the show, with full compensation.

If the hirers missed this, they definitely missed something else.

Disclaimer

I didn't come up with this. There's plenty of comments on Reddit and HN (such as this) about it.