lr00rl

Ccli — Development skill for Claude Code

Development community

Terminal view of every Claude Code session across all your accounts: tokens, list-price cost, subagent trees, rate limits, and copying sessions between accounts.

How to install Ccli

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

What Ccli does

Terminal view of every Claude Code session across all your accounts: tokens, list-price cost, subagent trees, rate limits, and copying sessions between accounts.

Alternatives in Development

  • Claude Swap — Switch between multiple Claude Code accounts, with automatic rate-limit rotation, usage dashboard, and paralle 2k ★
  • Dao Code — Open-source TypeScript terminal coding agent for DeepSeek-V4 — builds on DeepSeek's strong price-performance a 1.3k ★
  • Claude Dashboard — Comprehensive status line plugin for Claude Code with context usage, API rate limits, and cost tracking 258 ★

README

ccli

A terminal tool for every Claude Code session on your machine, across all of your accounts. It shows what each session used and what that would cost at API list price, turn by turn: every prompt you typed, what the model did with it, which subagents and workflow runs it started and what they cost. It also shows where your subscription limits stand, and it moves a session from one account to another and back without mixing up whose usage is whose.

![ccli stats: totals, daily usage, projects, models, accounts, active hours, session shape and skills](docs/images/stats.png)

An account is one Claude Code config dir: `~/.claude` (shown as `default`) or `~/.claude-` (shown as ``), the dir you select with `CLAUDE_CONFIG_DIR`. If you keep a personal and a work login side by side, ccli sees both and keeps their usage apart.

The [tutorial](docs/tutorial.md) walks through the common jobs step by step: reviewing your prompts, following agents, switching accounts and watching your limits.

Install

Requires Go 1.26 or later.

go install github.com/lr00rl/ccli@latest

Or from a checkout: `go build -o ~/.local/bin/ccli .`

The first command indexes every transcript. That takes about 10 seconds for 4 GB on an M-series Mac. Later commands read only what was added since and return in well under a second.

Quick start

ccli stats                    # where your usage went in the last 30 days
ccli prompts --sort cost      # the prompts that cost the most
ccli log                  # one session, turn by turn
ccli view                     # browse everything interactively

To try it on made-up data first, see [demo data](#screenshots-and-demo-data).

What it shows

Accounts

ccli accounts

![ccli accounts](docs/images/accounts.png)

Each account with its signed-in email, session count, usage over the last 30 days, and the Claude Code processes running in it right now.

Sessions

ccli sessions