Claude Code hook
Claude Code Message Timestamps
Show local time on every Claude Code message, and let Claude know when each prompt was sent. Zero-config plugin, cross-OS, graceful degradation.
Install
/plugin marketplace add zoharbabin/claude-code-message-timestampsFound in the project README. Check it for setup steps after installing.
git clone https://github.com/zoharbabin/claude-code-message-timestamps.gitFrom the README
⏱ Message Timestamps for Claude Code See the time on every message in Claude Code — and let Claude know it too. Illustration of the plugin in action — each reply is prefixed with the local time, and Claude can reason about elapsed time. Claude Code doesn't show *when* anything happened. Long sessions blur together: you can't tell how long a build took, when you asked something, or point a teammate to "the part around 09:15." This plugin fixes that in two ways, and installs in 15 seconds. Why this exists Timestamps are one of the most-requested missing features in Claude Code. At least 11 issues ask for some form of it: 2441 · #60711 · #44763 · #30745 · #21051 · #63488 · #61672 · #52944 · #56855 · #49084 · #60492 This plugin is a working solution today, while we wait to see if it ships natively. Why you want this (the 10-second version) No tracking, no telemetry, no account, no network calls. It just reads your computer's clock. Runs in a few milliseconds per message. Install (copy, paste, done) In Claude Code, run these two lines: Restart Claude Code. That's it — timestamps now appear on every message, in every project. ✅ Prefer the terminal? claude plugin marketplace add zoharbabin/claude-code-message-timestamps then claude plugin install message-timestamps@zoharbabin-claude-tools. To remove it: /plugin uninstall message-timestamps@zoharbabin-claude-tools. Requirements - Claude Code 2.1.152 or newer — that version added the MessageDisplay hook used for the on-screen timestamps. (Older versions still get the "Claude knows the time" half.) - jq on your PATH: - macOS: brew install jq - Linux: sudo apt-get install jq / sudo dnf install jq - Windows: winget install jqlang.jq or choco install jq - Windows only: the hooks are bash scripts, so you…
How hooks work
- Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
- They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
- A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Details
- Repository
- zoharbabin/claude-code-message-timestamps
- Type
- Hooks
- Language
- Shell
- License
- MIT
- Last updated
- 8 July 2026
- Topics
- anthropicclaudeclaude-codedeveloper-toolshooksplugintimestamps
FAQ
What is Claude Code Message Timestamps?
Show local time on every Claude Code message, and let Claude know when each prompt was sent. Zero-config plugin, cross-OS, graceful degradation. It is a hook for Claude Code, from zoharbabin/claude-code-message-timestamps on GitHub.
How do I install Claude Code Message Timestamps?
Run /plugin marketplace add zoharbabin/claude-code-message-timestamps inside Claude Code, then follow the setup in the README.
Is Claude Code Message Timestamps popular?
zoharbabin/claude-code-message-timestamps has 77 GitHub stars and 10 forks. It was last updated on 8 July 2026.
More hooks
Deepsafe Scan
77XiaoYiWeio/deepsafe-scan
Universal preflight security scanner for AI coding agents — Detects hooks injection, credential exfiltration & backdoors in .cursorrules, CLAUDE.md, AGENTS.md and more.
Claude Code Setup
64tomascortereal/claude-code-setup
My full Claude Code configuration — agents, skills, hooks, plugins, and global instructions
Claude Code Blueprint
73faizkhairi/claude-code-blueprint
A battle-tested, framework-agnostic reference architecture for Claude Code. Beginner-friendly with graduated adoption (minimal / standard / core / full presets). 12 agents, 19 skills, 15 hooks, 6 rules, with reasoning behind every decision.
Claude Code Plugin Template
68ivan-magda/claude-code-plugin-template
GitHub template for creating Claude Code plugin marketplaces. Includes plugin scaffolding, validation commands, hooks, skills, agents, and CI/CD workflows. Ready-to-use toolkit for teams distributing Claude Code plugins.
Post Compact Reminder
55Dicklesworthstone/post_compact_reminder
Claude Code hook that detects context compaction and injects a reminder to re-read AGENTS.md, preventing post-compaction rule amnesia in long sessions
Agent Security
78mintmcp/agent-security
Hooks for Claude Code and Cursor for secrets scanning
Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.