prompt-time

Reviewed at commit 0e4c0dd New version, not yet reviewed

Draws the time under each of your messages and each text block of the model's replies, also for a resumed session whose transcript is 4 MiB or smaller…

Made by
Kerem Gok
What we checked

Draws a dim time stamp under each of your messages and each text block of Claude's replies. For a resumed session it reads the send times from the session transcript file (if 4 MB or smaller). It changes only how messages are drawn, sends nothing to the model, makes no network calls and stores nothing on disk.

Review details

Static review of the source at the pinned commit; not run. Registers classic.SessionStart, prompt.submit, turn.start, turn.complete and two ui.render handlers (UserMessage, AssistantMessage). Runtime calls: $.fs.exists, $.fs.stat and $.fs.read on the session's own transcript_path (only on startup, resume or fork, skipped above 4 MiB), $.clock.now, $.ui.resolve, $.ui.invalidate and $.ui.log. It keeps a map of message ids to timestamps in memory and compares prompt and reply text with the last prompt or final answer to match a drawn row to its time; the text is not stored or sent anywhere. prompt.submit only records the time and the trimmed prompt text and passes the event on unchanged; the render handlers wrap the engine's drawing in a Box with an extra dim Text line. Failure to read the transcript is logged and ignored. No network access, no process execution, no environment variables. npm dependencies are dev-only (eslint, typescript) and not used at runtime. The two files left out of the bundle (eslint.config.js, Makefile) are not loaded by the hook module.

What it uses
  • Reads your prompts: yes
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: yes
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: no
  • Shows something on screen: yes
Hooked events

Draws the time under each of your messages and each text block of the model's replies, also for a resumed session whose transcript is 4 MiB or smaller. Display only: nothing reaches the model.

Made this mod? Add a badge to your README

modsforClaude badge for prompt-time

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/prompt-time.svg)](https://modsforclaude.com/mods/prompt-time/)

← All mods