timestamps

timestamps is a command for Claude Code from s-a-s-k-i-a/claude-code-timestamps. It costs 9 tokens per session (625 once invoked), scanned A, original, MIT.

A command that shows the current coding-agent conversation as a timeline with timestamps.

In plain words
What is it for?
Displaying recent session events, optionally with seconds, tool details, or a chosen number of entries.
Why use it?
It makes it easier to review when messages and actions occurred in a session.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the chat-timestamps plugin — 1 command, 2 hooks shipped together

Good fit Displaying recent session events, optionally with seconds, tool details, or a chosen number of entries.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add s-a-s-k-i-a/claude-code-timestamps
Claude Code
/plugin install chat-timestamps

Made for: Claude Code.

Or install chat-timestamps, the plugin that ships this one along with the rest of its 1 command, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for timestamps

README.md
[![agentmods](https://agentmods.dev/badge/commands/s-a-s-k-i-a/claude-code-timestamps/timestamps/github.svg)](https://agentmods.dev/commands/s-a-s-k-i-a/claude-code-timestamps/timestamps)
Your own site
<a href="https://agentmods.dev/commands/s-a-s-k-i-a/claude-code-timestamps/timestamps"><img src="https://agentmods.dev/badge/commands/s-a-s-k-i-a/claude-code-timestamps/timestamps/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for timestamps

Your own site · 80×15
<a href="https://agentmods.dev/commands/s-a-s-k-i-a/claude-code-timestamps/timestamps"><img src="https://agentmods.dev/badge/commands/s-a-s-k-i-a/claude-code-timestamps/timestamps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 625 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00009 $0.00625
Opus 5 $0.00005 $0.00313
Sonnet 5 $0.00002 $0.00125
Haiku 4.5 $0.00001 $0.00063

Measured 11d ago against content hash 5d6058cb6f96, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

timestamps scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/timestamps.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Context

  • Current working directory: !pwd
  • Arguments: $ARGUMENTS

Task

Show a timestamped timeline of the current Claude Code session. The parser locates the session transcript itself (by matching the recorded working directory), so you do not need to find or pass any transcript path.

Step 0: Inline-timestamp toggle (only if the first argument is inline)

If $ARGUMENTS begins with the word inline, this is a toggle for the experimental inline-timestamp feature (a dim [HH:MM:SS] shown live on each assistant message). Run the toggle script with the rest of the arguments (on, off, toggle, or nothing/status), show its output, and stop — do not render the timeline:

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/inline-toggle.py" on

(Use the same Python launcher fallback as Step 2.) Otherwise continue below.

Step 1: Interpret arguments

Parse $ARGUMENTS into options for the parser:

  • count — the first whole number, if any (e.g. 50). Otherwise omit it (defaults to 20). Never pass a non-numeric value as the count.
  • --seconds — add this flag if the arguments contain seconds or sec (shows HH:MM:SS).
  • --tools — add this flag if the arguments contain tools or tool (includes tool-call lines, which are hidden by default).

Step 2: Run the parser

Run the parser, passing --cwd "$PWD" plus the options from Step 1. Example for /timestamps 50 seconds:

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/parse-transcript.py" 50 --seconds --cwd "$PWD"

Python launcher fallback (important for cross-platform use): run the command with python3. If that fails — on Windows python3 is often a non-functional Microsoft Store stub that prints an install message and exits non-zero — retry the identical command with py -3, and if that also fails, with python. Use the first launcher that prints a timeline.

Step 3: Present output

Show the parser's output verbatim inside a code block so the columns line up. Do not add commentary beyond the timeline.

Read the full file on GitHub · 60 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 60 lines · 0 tokens per session scan A 5d6058cb6f96

Subscribe to this mod's changes

timestamps is a command published in the GitHub repository s-a-s-k-i-a/claude-code-timestamps (11 stars, last pushed 2mo ago), licensed MIT. It adds 9 tokens to every session and 625 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.