Hamel Husain highlights random-string diversity seed as a standout prompt trick

HamelHusain · x · 2026-09-05

Hamel Husain calls out the best trick from a recent article with Lenny and Anshu: a "diversity seed" in large design prompts — generate a long random alphanumeric string via a shell script and drop it into the prompt. He was amazed it works and says it's the most actionable advice he's seen, a technique rarely covered elsewhere. The idea: randomness breaks the model's tendency to converge on the same output each run.

Original post →

More from coding & agent

coding & agent channel →