Where Did My Tokens Go?
Cost and tokens per project, per machine and per pull request. Sessions are linked to the pull requests they open, so you can see what a feature really cost.
laptop$612.30desktop$498.75build-server$173.45For Claude Code and Codex Users
ShellTime records every Claude Code and Codex session, the commands you ran and your editor time, across all your machines. See cost per project and per pull request, replay any prompt, and get a ping the moment your quota resets.
curl -sSL https://shelltime.xyz/i | bashFree forever with 30 days of history. Pro is $8 a month. 14-day Pro trial, no card needed.
Cost by project
api-server$512.40web-app$398.10cli$221.75infra$152.25Pull requests opened by agents
Why ShellTime
ShellTime answers them from the data your tools already write, with no dashboards to wire up.
Cost and tokens per project, per machine and per pull request. Sessions are linked to the pull requests they open, so you can see what a feature really cost.
laptop$612.30desktop$498.75build-server$173.45Replay any session: every prompt, tool call and file edit, with model and cost. Search every prompt you have ever sent, across Claude Code and Codex.
upload/client.go+38 −6go test ./...A live statusline in Claude Code shows cost, quota and context as you work. Your phone gets a widget and a push the minute your limit resets.
Resets at 2:00 PM. We'll ping your phone.
In Your Terminal
See what this session has cost, how much quota is left and how full the context is, right where you type. Free on every plan.
Install the ShellTime mod for Claude Code
claude plugin marketplace add shelltime/claude-code-modsclaude plugin install shelltime-statusline@shelltime> add retries with backoff to the upload client and cover it with tests Read upload/client.go Edit upload/client.go +38 −6 Bash go test ./upload/... ok
Also Included
The same install tracks the rest of your day, so agent work sits next to everything else you did.
Every command from bash, zsh and fish, searchable across all your machines.
Time by project and language in VS Code, Neovim and JetBrains.
Home screen widgets, real-time sync and quota reset pushes.
Ask Claude about your own stats, right inside your agent.
A weekly email, monthly AI reports and a yearly Wrapped to share.
Keep zsh, fish, git, nvim and ssh configs in step across machines.
Quick Setup
ShellTime can upload your past Claude Code and Codex sessions from their local transcripts, so the dashboard is full on day one.
curl -sSL https://shelltime.xyz/i | bashshelltime initSigns you in and sets up shell hooks, the daemon, Claude Code and Codex.
shelltime cc backfillThey show up with their cost, project and pull request, and new ones stream in as you work. For Codex, run shelltime codex backfill.
Privacy First
A tool that sees your shell and your prompts has to earn trust. Here is how ShellTime does it.
The CLI is MIT licensed. Read every line of the CLI and daemon on GitHub to see exactly what they collect and send.
JSON Web Tokens are masked before upload, and exclude patterns keep any command you choose off ShellTime.
Turn on encryption and the daemon encrypts your shell commands before they leave your machine. Data is encrypted at rest in Singapore.
You generate it, you own it. Take it with you or wipe it from settings.
Pricing
Every new account starts with a 14-day Pro trial. No card needed.
Record everything, explore the last 30 days
$0forever
Your full history, AI insight, alerts and automation
$8a month, or save $24 yearly
Need self-hosting or AI cost accounting across a team? Talk to us about Enterprise
No. With the daemon running, each command adds under 8ms, and uploads happen in the background.
Claude Code and Codex for agents, bash, zsh and fish for your shell, and VS Code, Neovim and JetBrains for editor time.
Yes. shelltime cc backfill and shelltime codex backfill upload your past Claude Code and Codex sessions from their local transcripts.
Local tools see one machine and one tool. ShellTime joins every machine, links sessions to the commands and pull requests around them, keeps the history, and alerts you on your phone.
One line to install. Your past sessions show up in minutes.