Feature Request: Add timestamp to CLI input prompt

Resolved 💬 3 comments Opened Apr 24, 2026 by icktharus Closed Jul 6, 2026

Feature Request

Add an option to include a timestamp in the Claude Code CLI input prompt.

Current Behavior

The CLI prompt is currently just >

Requested Behavior

Allow customization of the prompt to include a timestamp, for example: MM/DD HH:MI:SS>

Use Case

The timestamp would provide a visual indication of how long ago each prompt was presented, which is helpful for:

  • Tracking session duration
  • Understanding timing of interactions
  • Reviewing conversation history with time context

Example

Instead of:

> my question here

Show:

04/24 14:32:15> my question here

The timestamp wouldn't need to update dynamically - it would just show when the prompt was first displayed, giving users a temporal reference for their interaction history.

Configuration

This could be added as a setting in settings.json:

{
  "promptFormat": "MM/DD HH:MI:SS> "
}

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗