HUMOR: 35%
By Matthew Hunter
| Mar 27, 2026
| claude-code, humor
In Interstellar, TARS has a configurable humor setting. Cooper runs it at 75%. It’s played for laughs, but it’s also one of the more honest things in the film: personality as a dial, mood as a parameter.
I gave Claude Code the same feature.
My AI coding assistant runs with a UserPromptSubmit hook — a small script that fires
on every prompt and injects context into the conversation. It was already injecting the
current date and time. I decided to also inject a humor percentage, dynamically computed
from the hour of day:

