csesh

csesh
The missing session manager
for Claude Code.

Lost a session? Never again. Search, resume, and track every conversation.

View on GitHub
v4.2.1
0 deps
233 tests
Apache-2.0

You've been there

300 sessions. All named with UUIDs. That refactor from last week? Good luck finding it.

Before
Terminal
~/.claude/projects/acta-saas/
4a7f2b1c-9d3e-4f8a-b2c1-8e7f6d5a4b3c.jsonl
8b2e4d6f-1a3c-5e7g-9h2i-4j6k8l0m2n4p.jsonl
c3d5f7a9-2b4e-6g8i-0k2m-4o6q8s0u2w4y.jsonl
1e3g5i7k-9m2o-4q6s-8u0w-2y4a6c8e0g2i.jsonl
f7a9c2e4-6g8i-0k2m-4o6q-8s0u2w4y6a8c.jsonl
... 47 more files
$ cat 4a7f2b1c*.jsonl | head -1
{"type":"human","message":{"id":"msg_01X...
With csesh
csesh
$ csesh list --project acta-saas
DATE TITLE TIER COST
------ ------------------------ ---- -----
Mar 07 refactor auth middleware ★★★★ $0.42
Mar 06 fix payment webhooks ★★★★ $0.38
Mar 05 add stripe connect flow ★★★☆ $0.27
Mar 04 setup ci pipeline ★★★★ $0.19
Mar 03 debug rate limiter ★★★☆ $0.15
... 42 more sessions

One command. Done.

Search, analyze, resume, clean up. Everything from your terminal.

~ — csesh web
$
csesh v4.2.1
Dashboard running at http://localhost:3456
Press Ctrl+C to stop
Scanned 247 sessions across 12 projects
Cache hit ratio: 94%

Everything in one place

Sessions, costs, activity. A full dashboard running locally on your machine.

localhost:3456
Sessions
Total cost
This month
Avg/session
Projects
Activity (90 days)
Cost over time
Recent sessions
refactor auth middleware★★★★$0.42Mar 07
fix payment webhook handler★★★★$0.38Mar 06
add stripe connect flow★★★☆$0.27Mar 05
setup ci pipeline★★★★$0.19Mar 04
debug rate limiter★★★☆$0.15Mar 03

Never lose a session again

Find it, open it, understand it, clean it up. csesh does what Claude Code doesn't.

Find any session, instantly

That auth refactor from two weeks ago? Found in milliseconds. Full-text search across every session, every project.

Resume where you left off

Pick any session and jump right back in. csesh opens Claude Code directly on it. No more hunting for UUIDs.

Know your actual spend

$147 this month or $47? Stop guessing. Per-session, per-project, per-day cost breakdown.

Auto-classify everything

Every session gets a quality tier automatically. Quick exploration or deep refactor — csesh knows the difference.

Understand what happened

Tool usage, thinking time, turn count, auto-tags. Get the full picture of every conversation.

Clean up safely

Delete old sessions without fear. Everything goes to a manifest-tracked trash. Restore anytime.

Zero dependencies

No node_modules bloat. No supply chain risk. Every line is hand-written.

npm ls
$ npm ls --all
@arthurpcd/csesh@4.2.1
└── (empty)
0 dependencies. 0 vulnerabilities.
npm package
Size
Replaced by
LOC
chalk
72 KB + 7 deps
lib/colors.js
55 lines
cli-table3
68 KB + 5 deps
lib/table.js
120 lines
commander
220 KB
lib/cli.js
270 lines
0
supply chain vectors
<0s
npx cold start
0
passing tests

Your data stays on your machine

No cloud. No accounts. No tracking. Sessions are yours and yours alone.

127.0.0.1 only

Dashboard binds to localhost. CORS restricted. 1 MB body limit. Nothing exposed to the network.

Zero telemetry

No tracking, no analytics, no CDN, no external requests. Vendor libs bundled locally, non-minified.

Trusted Publishing

npm provenance via GitHub Actions OIDC. No stored tokens. Verify every release on npm.

Trusted by developers

npm downloads this month
GitHub stars
0
passing tests
0
npm dependencies

Try it now

No signup. No config. Just run it.

Run instantly without installing
$ npx @arthurpcd/csesh web