by KIvanow
Lab-neutral, local-first ledger for Claude Code, Codex, Cursor and Grok sessions: what they did, what it cost, what survived.
# Add to your Claude Code skills
git clone https://github.com/KIvanow/sessionlysessionly is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by KIvanow. Lab-neutral, local-first ledger for Claude Code, Codex, Cursor and Grok sessions: what they did, what it cost, what survived. It has 189 GitHub stars.
sessionly's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/KIvanow/sessionly" and add it to your Claude Code skills directory (see the Installation section above).
sessionly is primarily written in TypeScript. It is open-source under KIvanow on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh sessionly against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
https://github.com/user-attachments/assets/2ff085fc-7731-4bae-9d10-5ec33f0f5eea
Sessionly keeps a ledger of your Claude Code, Codex, Cursor, Grok and OpenCode sessions, on your own machine: which tools ran, which files changed and what it cost. Then it counts how many of the agent's lines are still in the file later, and still in the pull request after review.
You decide whether anything is shared. Nothing leaves your machine until you connect it to a server, and source code never does.
The demo is Sessionly's own repository, built with the agents it measures. Sign in with Google or GitHub to open it; it is read-only. As of 25 Nov 2026:
| Agent | Sessions | Cost | Lines still there |
|---|---|---|---|
| Claude Code | 21 | $1,207.32 | 72% |
| Grok | 13 | $53.23 | 17% |
| Codex | 3 | $0.25 | 89% |
| Cursor | 2 | no cost | 100% |
| Total | 39 | $1,260.80 | 63% |
39 sessions, 66h 2m active, 928 files changed. 9 of the 39 costs are estimates, Codex's from its tokens, and 3 sessions have no cost figure: the two Cursor sessions and one Grok session reported none. One repository and one developer over thirteen days: a record of this work, not a benchmark of the agents. The demo is brought up to date every day, so its figures have moved on since.
Each release has a binary for Linux and macOS.
Unpack it and put sessionly on your PATH, or install it from crates.io with Rust 1.89 or
later:
cargo install sessionly
Then:
sessionly install # adds the capture hooks for Claude Code, Codex, Cursor, Grok and OpenCode
sessionly status # hooks installed? how many sessions captured?
sessionly import # bring in sessions from before the hooks were installed
sessionly update moves to a newer release. More: Install.
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, subagents
$ sessionly list
ID TOOL STARTED (UTC) ACTIVE COST FILES LINES REWRITTEN REPO PROMPT
2b02c8f5 Claude Code 2026-11-13 18:29 14s $0.17 2 +24 -0 1/2 e2e2 Do these steps in order, one tool call each: 1. Write a …
6c6a61b0 Claude Code 2026-11-13 18:10 15s $0.29 1 +1 -0 0/1 e2e2 Do these steps in order, one tool call each, and keep go…
More: Command line, the rewrite rate, and what is known of each agent's sessions.
A small local program does the work. A server is optional.
~/.sessionly:
prompts, tool calls, files, subagents, cost.Claude Code, Codex ──hooks────────┐
Cursor, Grok ──────their files────┼──▶ sessionly (local Rust binary) ──▶ ~/.sessionly/ledger.db
OpenCode ──────────its database───┤
cloud agents ──────repo hooks─────┘ │
└── upload, if connected ──▶ Sessionly server ──▶ team dashboard
The ledger is derived data: delete it and sessionly sync --force rebuilds it.
Claude Code's cloud sessions, Cursor's cloud agents and Codex's cloud tasks are captured through hooks the repository carries:
sessionly install --repo # in the repository's root
git add .sessionly .claude/settings.json .cursor/hooks.json AGENTS.md
git commit -m "Capture cloud agent sessions"
More: Cloud sessions.
A GitHub Action reports each pull request to the server, which works out how much of it coding agents wrote, with which models, and how those lines fared in review. Both sides send hashes, never source code. More: Pull requests.
The server receives uploads and serves the team dashboard. Use the hosted one at app.sessionly.dev (free during early access), or run your own:
docker compose up -d
# open http://127.0.0.1:8080, make a token on the Connect page, then:
sessionly connect http://127.0.0.1:8080 --token sly_…
sessionly upload
A server of your own has no sign-in: whoever can reach it is its admin, so keep it on a network you trust. Signing in with Google or GitHub, with people who see only their own sessions, is the hosted service's.
Owners can export everything as JSONL or delete the organisation at any time. More: Server, Uploading, Data and privacy and the API reference.
Everything is at docs.sessionly.dev, built from
docs-site/, where each page also reads well on GitHub:
Install ·
Command line ·
Commands ·
Agents ·
Cloud sessions ·
Data and privacy ·
Uploading ·
Server ·
Configuration ·
API ·
Pull requests ·
Editions
Everything outside ee/ is Apache-2.0 (LICENSE): the sessionly binary, the server
and the dashboard. It never needs a license key. ee/ (LICENSE-EE) holds the
Business and Enterprise features, and what runs Sessionly as a service for many organisations
(signing up, signing in with Google or GitHub). More: Editions and license.
Issues and pull requests are welcome. Contributions use DCO sign-off (git commit -s); see
CONTRIBUTING.md.
cargo test
cargo clippy --all-targets
pnpm typecheck && pnpm test # the TypeScript side and the GitHub Action
scripts/dummy-session.sh # runs a short real Claude Code session that exercises most hooks
The website (sessionly.dev) is the static pages in website/,
with no build step and one analytics script; python3 -m http.server -d website previews it. The docs are
the Jekyll site in docs-site/; its README says how to
preview them.