timeline

timeline is a command for Claude Code from xiaolai/echo-sleuth-for-claude. It costs 0 tokens per session (392 once invoked), scanned A, original, ISC.

A chronological view of project work that combines Claude Code session history with Git history when the project uses Git, a system for tracking code changes.

In plain words
What is it for?
Building project timelines, highlighting milestones, and reviewing recent work with optional limits or start dates.
Why use it?
It makes it easier to see when work, discussions, failed attempts, and shipped changes happened in relation to one another.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code.

Part of the echo-sleuth plugin — 4 skills, 8 commands, 5 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/xiaolai/echo-sleuth-for-claude/timeline
Clone the repo
git clone --depth 1 https://github.com/xiaolai/echo-sleuth-for-claude

Made for: Claude Code.

Or install echo-sleuth, the plugin that ships this one along with the rest of its 4 skills, 8 commands, 5 agents.

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 timeline

README.md
[![agentmods](https://agentmods.dev/badge/commands/xiaolai/echo-sleuth-for-claude/timeline.svg)](https://agentmods.dev/commands/xiaolai/echo-sleuth-for-claude/timeline)
Your own site
<a href="https://agentmods.dev/commands/xiaolai/echo-sleuth-for-claude/timeline"><img src="https://agentmods.dev/badge/commands/xiaolai/echo-sleuth-for-claude/timeline.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 392 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00000 $0.00392
Opus 5 $0.00000 $0.00196
Sonnet 5 $0.00000 $0.00078
Haiku 4.5 $0.00000 $0.00039

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

Security

Grade A, and why

timeline 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 6d 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/timeline.md · 39 lines

What it actually says

Show a chronological timeline of work on the current project, combining Claude Code session history with git history.

Optional arguments: $ARGUMENTS

Launch the recall agent via the Task tool with the following context:

  • Focus: timeline / project history
  • Task: Build a chronological timeline of all work on the current project
  • Combine: Claude Code sessions (what was discussed, tried, failed) + git commits (what shipped)
  • Default limit: 50 sessions, 30 days of git history
  • Parse any flags: --limit N, --since YYYY-MM-DD from: $ARGUMENTS

The agent should:

  1. List all sessions for the current project
  2. Check if this is a git repo (git rev-parse --is-inside-work-tree). If yes, get git history. If not, skip git data and build the timeline from session data only.
  3. Merge both timelines chronologically, correlating by timestamp (session-only if not a git repo)
  4. Enrich key sessions (high message count, error-heavy, or milestones) with stats
  5. Present as a timeline with clear markers for milestones
  6. If not a git repo, note at the top: "No git repository detected — timeline is based on session data only."

Output format:

# Project Timeline: [project name]
Branch: [current branch]
Period: [earliest] → [latest]
Total: [N sessions, M git commits]

### [YYYY-MM-DD] — [Session summary]
  Branch: [branch] | Messages: [N] | Files: [N]
  [1-2 sentence description]
  Git: [commit hash] [commit message]
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. 6d ago First seen · 39 lines · 0 tokens per session scan A dbbabc4b7165

Subscribe to this mod's changes

timeline is a command published in the GitHub repository xiaolai/echo-sleuth-for-claude (9 stars, last pushed 12d ago), licensed ISC. It costs nothing until one of its globs matches a file; then it loads 392 tokens. 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-31.