On screen
Your messages.
Each message you send gets its date and time above it, in your local time.
When
The date and time on every Claude Code message. A dim line above each message you send and each reply from Claude.
Free and open source. One small file. No network calls.
Watch a short session. Every message gets its time. Then ask how long a step took.
A drawn example, shown on your own clock. Use the pause button by the window to stop it.
Claude Code shows no time on its messages. So in a long session, you cannot tell when you asked something, or how long a step took. When puts the date and time on every message. It also tells Claude when each prompt was sent, so Claude can answer from real times.
The time shows on screen. Claude gets it too.
On screen
Each message you send gets its date and time above it, in your local time.
On screen
Each reply gets one too. A reply's time is when Claude started writing it.
In the model's view
When tells Claude when each prompt was sent. Ask how long a step took and Claude answers from real times.
A hidden note only Claude sees
When reads the computer's clock. It keeps one time per message on your computer.
You send a message.
Claude starts writing a reply.
Claude starts its next reply: all 212 tests pass.
You ask how long that took.
Claude answers: 4 minutes 12 seconds.
When notes the time on your computer's clock. It also tells Claude, in a hidden note only the model sees.
The time of a reply is when Claude started writing it, not when it finished.
A dim line shows above each message, on screen only. Your transcript is not changed.
Small enough to read
No network calls, no telemetry and no account. It reads the computer's clock and keeps one time per message on your computer.
What When does not do, said up front.
A message that is only an image, with no text, gets no time.
Messages from before you installed When get no time.
It is verified in the Claude Code desktop app, in the terminal and in the VS Code panel. You need a Claude Code version that supports mods.
Pick the way you use Claude Code. It is free.
Click + next to the prompt box, then Plugins, then Add marketplace. Enter this:
PiniShv/claude-when
Then click Add plugin.
/plugin install when --marketplace PiniShv/claude-when
Type it in a Claude Code session.
claude plugin install when --marketplace PiniShv/claude-when
Run it in your shell.
claude plugin uninstall when@claude-when
Messages from before you installed When get no time. See the limits.
No. When has no network calls, no telemetry and no account. It reads the computer's clock and keeps one time per message on your computer. Nothing leaves it.
No. The transcript is not changed. The time line is drawn on screen only.
It works in the Claude Code desktop app, in the terminal and in the VS Code panel, and all three are verified. On the Claude mobile app you do not see the time line, but Claude still gets the send time of each message you type there. You need a Claude Code version that supports mods.
When puts the time on messages that have text. A message that is only an image, with no text, gets no time. Messages from before you installed When get no time either.
Run this in your shell: claude plugin uninstall when@claude-when
Nothing. When is free, under the Apache License 2.0.