When Install

When

Every message. With its time.

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.

Each message, stamped. Claude knows too.

Watch a short session. Every message gets its time. Then ask how long a step took.

A short session. You ask Claude to run the test suite and fix what fails. Claude starts replying five seconds later. About four minutes after your first message it says all 212 tests pass. About four minutes after that you ask how long that took, and two seconds later Claude answers: 4 minutes 12 seconds. Every message has its date and time above it.

A drawn example, shown on your own clock. Use the pause button by the window to stop it.

Why When

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.

Three places. One clock.

The time shows on screen. Claude gets it too.

On screen

Your messages.

Each message you send gets its date and time above it, in your local time.

On screen

Claude's replies.

Each reply gets one too. A reply's time is when Claude started writing it.

In the model's view

Claude's own sense of time.

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

Send. Write. Stamped.

When reads the computer's clock. It keeps one time per message on your computer.

  1. 2026-11-21

    You send a message.

  2. 2026-11-21

    Claude starts writing a reply.

  3. 2026-11-21

    Claude starts its next reply: all 212 tests pass.

  4. 2026-11-21

    You ask how long that took.

  5. 2026-11-21

    Claude answers: 4 minutes 12 seconds.

  1. You send a message.

    When notes the time on your computer's clock. It also tells Claude, in a hidden note only the model sees.

  2. Claude starts writing.

    The time of a reply is when Claude started writing it, not when it finished.

  3. The time is drawn above.

    A dim line shows above each message, on screen only. Your transcript is not changed.

Small enough to read

One small file.

No network calls, no telemetry and no account. It reads the computer's clock and keeps one time per message on your computer.

Read the source on GitHub

Files
1 TypeScript file
Size
About 150 lines
Dependencies
None
Network calls
None
Telemetry
None
Account
None
Reads
The computer's clock
Saves
One time per message, on your computer

Good to know.

What When does not do, said up front.

  • Image-only messages get no time.

    A message that is only an image, with no text, gets no time.

  • Older messages get no time.

    Messages from before you installed When get no time.

  • Desktop, terminal and VS Code.

    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.

Install When.

Pick the way you use Claude Code. It is free.

Desktop app

Click + next to the prompt box, then Plugins, then Add marketplace. Enter this:

PiniShv/claude-when

Then click Add plugin.

To remove it
claude plugin uninstall when@claude-when

Messages from before you installed When get no time. See the limits.

Questions before you install.

Does it send data anywhere?

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.

Does it change my chat history?

No. The transcript is not changed. The time line is drawn on screen only.

Which app does it work in?

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.

Why does an image-only message show no time?

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.

How do I remove it?

Run this in your shell: claude plugin uninstall when@claude-when

What does it cost?

Nothing. When is free, under the Apache License 2.0.