melnicorn

Claude Session Map — Testing skill for Claude Code

Testing community

Your Claude Code session as a subway map: subagents branch off and rejoin, linked sessions run alongside, and commits, PRs and test runs are stops.

How to install Claude Session Map

This entry records only its repository, not the path inside it, so there is no exact command to give. Open melnicorn/claude-session-map and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Session Map does

Your Claude Code session as a subway map: subagents branch off and rejoin, linked sessions run alongside, and commits, PRs and test runs are stops. Scaled to real working time, with model and API-equivalent cost on every line. A Claude Code skill plus a dependency-free Python script.

Alternatives in Testing

README

session-map

A Claude Code skill that draws a session as a subway map.

![A session map of a fictional two-day build, with subagents branching off the main line, a linked session above it, and totals for working time and cost](docs/screenshot.png)

The fictional demo session from demo/generate_demo.py.

The main session is the trunk line. Subagents branch off where they were launched and rejoin where they reported back. Other sessions it started or exchanged messages with run alongside, connected at each exchange. Commits, pull requests, test runs and published artifacts sit on the line where they happened. The horizontal axis is scaled to working time, so an overnight pause takes no more room than a coffee break.

Each line also carries its model and its API-equivalent token cost, so you can see where the time went and where the money went.

What you get

  • Totals: working time for the main session and for all subagents, elapsed time, time spent waiting on you, and API-equivalent cost.
  • The map:
    • Lines: thick where Claude was working, dotted while it waited or a subagent was paused (for example by a rate limit).
    • Stops: your messages are stations on the main line. Model switches are tagged above it.
    • Navigation: drag across the map to zoom into a stretch, ⌘/Ctrl + scroll to zoom, and click a branch to focus on just that line and its connections.
    • Cost rate mode: line width follows spend per minute.
    • Filters: chips show or hide commits, PRs, tests and artifacts.
  • Line directory: one row per line, with model, working time, elapsed time, output tokens, cost, tool calls and milestones.
  • Milestone log: every commit, PR, test run and artifact in time order.

Install

Clone into your Claude Code skills folder:

git clone https://github.com/melnicorn/claude-session-map.git ~/.claude/skills/session-map

Or keep it elsewhere and symlink it:

ln -s "$PWD" ~/.claude/skills