Tab Ledger — Data skill for Claude Code
Local-first analytics & knowledge base for Claude Code sessions — pip install tab-ledger.
How to install Tab Ledger
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Riley-Coyote/tab-ledger and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Tab Ledger does
Local-first analytics & knowledge base for Claude Code sessions — pip install tab-ledger.
Alternatives in Data
- 12 Services Layer — Prompt 12: Wire Up Services Layer (Analytics, Policy, Settings, Sessions) 2.3k ★
- Agentsview — Local-first session intelligence and analytics for coding agents, supporting Claude Code, Codex, and 14 other 824 ★
- Memex — Open-source, local-first AI journal app for iOS and Android 697 ★
README
Tab Ledger
**Nothing lost. Everything findable.**
A local-first analytics and knowledge base system that continuously indexes your browser tabs and Claude Code sessions into a searchable, AI-summarized knowledge graph. Built for developers who use AI coding tools extensively and want persistent memory across sessions.
Tab Ledger runs entirely on your machine. Two SQLite databases, a handful of Python scripts, and a pair of launchd agents that keep everything current while you work.
What It Does
Tab Ledger solves a specific problem: when you run hundreds of AI coding sessions across multiple projects, the context and decisions from those sessions disappear. Tab Ledger captures everything and makes it queryable — by you, by your AI tools, and by autonomous agents.
**Two-layer architecture:**
| Layer | Database | Size | Purpose |
|---|---|---|---|
| Ledger | ledger.db |
~6 MB | Live operational data — tab snapshots + session metadata |
| Knowledge Base | knowledge_base.db |
~58 MB | Enriched analytical layer — FTS search, AI summaries, cross-session connections |
**What gets captured:**
- Browser tabs — Point-in-time snapshots of every open tab (URL, title, domain), auto-categorized across 20 categories, with stale tab detection
- Claude Code sessions — Every session parsed from JSONL: token counts, costs, tools used, models, durations, first prompt, summary
- Messages — 50K+ individual messages indexed at the message level
- AI summaries — Structured summaries with next steps, blockers, decisions, and phase classification
- Cross-session connections — 1,300+ links between related sessions detected by temporal proximity, git branches, slugs, and parent-child relationships
- Auxiliary data — CLI commands, plan files, todo lists, team configs
Architecture
┌─────────────────────────────────────────────────────────────┐
│ DATA SOURCES │
├─
Related Skills
Mojo
Local-first knowledge pipeline that distills Claude Code sessions into durable CLAUDE.md context — automatical
Code Insights
8 Local-first CLI and dashboard for analyzing AI coding sessions from Claude Code, Cursor, Codex CLI, Copilot
Tokonto
本地 AI 用量账本:只读会话文件或数据库,汇总 token 用量并按模型、日期和时段估算费用。支持仪表盘、CLI 与脚本插件。Local AI usage ledger: read-only session files
Dsh Agent Token Stats
Cross-agent token usage dashboard for DeepSeek Harness: aggregates local logs of Claude Code, OpenCode, Cursor
XFactorForHermes
XFactor - Autonomous X Growth Engine for Hermes Agent. Research-first posting, auto-engagement (likes/follows/
Session Shelf
Keep your Claude Code sessions in colored groups that survive closing the tab. Reopen any conversation from it
Related Agents
Local Brain Search
Local vector search and connection discovery for the Brain. Use for semantic search, finding connections betwe
Kb Reader
Read and summarize relevant Claude Code engineering pattern files from the local knowledge base. Keeps raw fil
Cycling Coach
Cycling TRAINING coach grounded in a local expert knowledge base (video transcripts of the cycling sources the