Riley-Coyote

Tab Ledger — Data skill for Claude Code

Data community

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                         │
├─