Random Words for Claude
September 2, 2026
Anshu Chimala pointed out that LLMs are incapable of randomness. LLMs cannot really choose to do something "random" as each token is soley generated based on the ones preceeding it. This is part of why every LLM-designed website looks the same.
His solution was the following prompt:
I want you to build me a landing page for my productivity app.
Follow this procedure:
- Generate a long, random alphanumeric string using a shell script.
- Define the creative direction (color scheme, layout, typography, etc.) based on the string. Look beyond the surface for subpatterns, special numbers, anything that inspires you.
- Use your judgment to bring this direction to life and make it look great.
- Don't reveal the string in the design. It's only for your inspiration.
I liked this idea, but using a random alphanumeric string seems like it wouldn't give the LLM enough "randomness". I mean, there's a sense in which literally nothing could be more random, but there's another sense in which (almost) every random alphanumeric string looks like an unintelligible sequence of numbers and letters.
To give an LLM fresh ideas, I feel like you want something between total determinism and total randomness. I thought random sentences might work nicely, and of course due to Yap I have millions of random sentences. Use the following command to grab some:
curl -s https://yap.town/grams/english.txt | sort -R | head -32 Here's an example output:
| Gram | Example sentence |
|---|---|
| a favor | Could I ask you a favor? |
| the person who | Show me the person who is in love with you. |
| your answer | Your answer is wrong. |
| he was always | In rain, in wind, in snow, he was always there. |
| the table | Nobody wanted to get up from the table. |
| tore | You tore your pants. |
| have you already finished | Have you already finished your studies? |
| a member of | I accept her as a member of the Demon Slayer Corps. |
| will outlive us all | You will outlive us all. |
| crowded | The bus was very crowded. |
| right-handed | I am right-handed. |
| on and off | Little lights were blinking on and off in the distance. |
| Majesty | By order of His Majesty! |
| creative | Chess is a battle between two creative minds. |
| a loud voice | He has a loud voice. |
| scar | It is an accident scar. |
| tap | My nose is running like a tap. |
| statement | And no official statement is made. |
| this room is | This room is pleasant to work in. |
| comfortably | We were sitting comfortably. |
| this information | Are you sure this information is reliable? |
| I wanted to see | I wanted to see her. |
| I want you to | I want you to stop this immediately. |
| image | When we blow up an image, it usually loses its quality. |
| exiled | He was exiled to Sardinia. |
| the carriage | The carriage sets off, And the platform stays behind. |
| did you score | How many points did you score? |
| do you still | Do you still live at the same address? |
| I may | I may die tomorrow. |
| there was a big | Last night there was a big fire in the neighbourhood. |
| your arms | I feel safe in your arms. |
| nuclear war | We have to avoid the nuclear war by all means. |
Of course, you can also use different languages. Change english to e.g. italian to get Italian words and sentences. Maybe this would be useful if you wanted to give an Italian sense of sprezzatura to your designs, or a French sense of romance, and so on!
Here's the prompt I use if you want to copy and paste: