| title | Command line |
|---|---|
| nav_order | 3 |
| has_children | true |
sessionly watch # pretty-print hook events live, in a second terminal
sessionly status # hooks installed? how many sessions captured?
sessionly list # sessions, newest first, with filters and text search
sessionly summary # totals per user, repo, model, tool or day
sessionly show <session> # one session: cost, prompts, files changed, tools, reviews, subagents
sessionly transcript <session> # tokens and cost per model, straight from a transcript
sessionly sync # bring the ledger up to date (list, summary and show do this too)<session> is a session id or a unique prefix of one. list, summary, show and
transcript take --json. show lists the session's review runs,
summary adds a REVIEWS column when a session in it has one, and list --json has each
session's reviews.
- List, search and summary: finding sessions and adding them up.
- Rewrite rate: how much of what the agent wrote is still there.
- Shell edits: what counts when an agent edits with the shell.
- Past sessions:
sessionly import, for sessions from before the hooks. - Cost and transcripts: where a session's cost comes from.
- Command reference: every command, option and environment variable.
When a turn ends (at most every five minutes; in a cloud sandbox, every time) and when a
session ends, the capture hook starts a background sessionly process and returns immediately. That process brings the ledger up to
date (which includes sessions of Cursor, Grok and Codex that the hooks noticed, and OpenCode
sessions the plugin noticed), re-measures
rewrite rates, and uploads if a server is connected. It prints nothing; each
run adds a line to ~/.sessionly/auto.log, and sessionly status shows when the last one
started.
sessionly settings --auto-sync off # only sync when you run a commandWhat to know:
- One run at a time: a run that finds another going waits for it, two minutes at most, and then leaves it to the next.
- The run after a session's end starts three seconds later, since Claude Code writes its cost total as it exits.
auto.logis kept to about 256 KB: past that it becomesauto.log.oldand a new one is begun.- With auto sync off, the ledger is still brought up to date by
list,summary,showandsync, and uploads happen when you runsessionly upload. - Once a day, a run that uploads asks whether a newer release of sessionly is out. A machine
that is not connected is not asked. The capture hook is not either: it stays offline.
sessionly settings --update-check offstops the question.