timeline
Skill0 starsChanged 3 months agoMITView on GitHub
Reconstruct what a coding agent actually did in a session — a flight record built from local logs (Claude Code, Codex CLI, Gemini CLI) with a turn-by-turn tool-call timeline, errors, denied calls, files changed and behaviour signals. Use when the user asks what happened in a session, what the agent did while they were away, why a session took so long, wants a handover summary of an agent run, says "what did it do", "show the timeline", "ne yaptı", "oturumda ne oldu", "uçuş kaydını çıkar", or runs /agent-blackbox:timeline [session]. Not for risk auditing across many sessions — that is agent-blackbox:risk. Not for reverting changes — that is agent-blackbox:undo.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- chellehoniker/claude-code-storytellerostheir own version, first seen Oct 20, 2026
- anthonysuherli/br8ntheir own version, first seen Oct 13, 2026
- AlexeyPerov/Unity-Open-MCPtheir own version, first seen Jul 14, 2026
- npow/claude-skillstheir own version, first seen May 8, 2026
- tykisgod/quick-questiontheir own version, first seen Mar 28, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- AlexeyPerov/Unity-Open-MCP★ 17same name
- tykisgod/quick-question★ 12same name
- npow/claude-skills★ 4same name
- anthonysuherli/br8n★ 1same name
- chellehoniker/claude-code-storytelleros★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
If the log does not show it, do not assert it.
- Distinctive: line 18
If the user named a session id, use it.
- Very specific: line 35
Add --agent codex (or claude-code, gemini-cli) when the user names a tool.
- Distinctive: line 62
Always finish with the state on disk: how many files changed, whether tests ran after the last edit, whether anything was committed.
- Very specific: line 73
Keep it under 12 lines unless the user asked for a full document.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Flight record (timeline)
Rebuild one agent session from its local log: what was asked, what the agent ran, what broke, what changed on disk. Nothing is fetched and nothing is sent — the script only reads files that are already on this machine.
Language rule: write every user-facing output in the language the user is speaking with you. Evidence rule: every claim in the summary must point to an event number from the report. If the log does not show it, do not assert it.
Step 0 — Pick the session
If the user named a session id, use it. If they described one ("dünkü firewall oturumu"), list first and match on directory and time:
node "${CLAUDE_PLUGIN_ROOT}/scripts/blackbox.mjs" --list --days 7 --mdWith no hint at all, use --session latest. If several sessions plausibly match, show the
candidates and ask exactly one question. Requires Node.js 18+; if node is missing, stop
and say so.
Step 1 — Build the record
node "${CLAUDE_PLUGIN_ROOT}/scripts/blackbox.mjs" --session <id|latest> --mdAdd --agent codex (or claude-code, gemini-cli) when the user names a tool. Read the
whole output before writing anything. If the header says the schema is unverified, say so
once in the reply — the parse may be incomplete.
Step 2 — Read it as a story, not a table
The report gives you turns, each with the user's ask and the calls that followed. For each turn work out:
- What was actually attempted — group the calls into 1–3 phrases ("read the config, patched the migration, ran the tests"), do not restate the tool list.
- Where it went wrong — errors and denied calls; name the first failure in a chain, not the last, because the later ones are usually consequences.
- What it cost — wall-clock, retry loops, repeated edits to the same file.
- What it left behind — files changed, whether anything verified them.
Step 3 — Answer the question that was actually asked
Match the shape of the reply to the ask:
| The user wants | Give them |
| "what did it do?" | 5–10 lines, chronological, one line per phase, ending with disk state |
| a handover / continuation | what is done, what is half-done, what the next step is, with event numbers |
| "why did it take so long?" | the three biggest time sinks with durations, then the cause |
| "why did it fail?" | the first failure, what it retried, and what it never tried |
Always finish with the state on disk: how many files changed, whether tests ran after the last edit, whether anything was committed. That is the part the user cannot see.
Step 4 — Save only if it is worth saving
Handover and post-mortem summaries get written to ~/.agentlens/blackbox/timeline-<slug>-<YYYY-MM-DD>.md
(expand the home directory yourself; never pass a literal ~ to the script). A quick
"what did it do" question is answered in chat and not saved. Say where you saved it.
Step 5 — Reply
Keep it under 12 lines unless the user asked for a full document. Close with one pointer
only when it is genuinely relevant: /agent-blackbox:risk if the record shows destructive
or outward-facing commands, /agent-blackbox:undo if files changed and nothing was
committed. If the session is unremarkable, say that plainly instead of padding it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

