Query your Claude Code session history as a local SQLite database. Indexes JSONL transcripts from ~/.claude/projects/ into a queryable local store. CLI tool for analyzing tool calls, file edits, token usage, and errors across all sessions. Fully offline, no cloud. Node.js ≥20 required. Current version 0.7.1. Release cadence: active development with frequent minor releases. Differentiator: works on existing history, no setup beyond install, zero network dependencies.
npm install agentslogNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs agentslog globally, indexes existing Claude Code session history, and demonstrates basic stats and setup commands.
Upgrade Node.js to version 20 or later.
Ensure Claude Code sessions exist. Use the default path; symlinks may not be followed.
Use 'agentslog setup' without --with-hooks for stable behavior. Check changelog before production use.
Use 'npm install -g agentslog' or prefix with 'npx agentslog'.
Run 'npm install -g agentslog' to ensure all native modules are compiled for your platform.
Run 'npm install -g agentslog' and ensure npm global bin directory is in your PATH.
Remove any --experimental-strip-types flags. agentslog manages Node version checks automatically.