Session Index

Volltextsuche, Analysen und Synthese über alle Ihre vergangenen Claude Code sessions hinweg

von lee-fuhr · lee-fuhr/claude-session-index

Getestet · Funktioniert ★ 9.6/10

Session Index — Volltextsuche, Analysen und Synthese über alle Ihre vergangenen Claude Code sessions hinweg

Was es kann

Builds a local SQLite FTS5 index over every Claude Code session so you can ask 'what did I try last time?', find old conversations, oder get per-project time analytics with claude --resume links back to each source session. Wird ausgelöst, wenn der user asks about past sessions, previous conversations, oder how much time they spent on something.

Testbericht

Führte es live against a real machine aus: first command auto-indexed 1126 sessions with zero errors, then FTS search for 'skill test protocol' returned five ranked sessions with dates, projects, exchange counts, durations, matching excerpts und copy-paste claude --resume links. 'analytics --week' broke 275 sessions down by project with total hours; a no-skill baseline would be reduced to manually grepping raw ~/.claude/projects jsonl with no ranking, resume links oder time rollups. Docs claims (SQLite+FTS5, first-run auto-index, resume links) all matched exactly; only the cross-session synthesis feature was left unmeasured because it needs an ANTHROPIC_API_KEY, but every search/recent/analytics path worked.

Getestet am: 2026-07-20 · Claude Code 2.x (agent harness)

Installation

git clone https://github.com/lee-fuhr/claude-session-index.git
mkdir -p ~/.claude/skills
cd claude-session-index && cp -r skills/session-index ~/.claude/skills/session-index
pip install claude-session-index

Befehle & Beispiel-Prompts

  • /session-indexVolltextsuche, Analysen und Synthese über alle Ihre vergangenen Claude Code sessions hinweg

Skills reagieren auf normale Anfragen — keine Slash-Befehle nötig. Nach der Installation aktivieren Prompts wie diese den Skill (auf Englisch):

  • What did I try last time I worked on this authentication bug?
  • Search all my past Claude Code sessions for that database migration
  • How much time did I spend on this project across all past sessions?