Claude Session Kit — AI skill for Claude Code
Mine your Claude Code sessions for patterns.
How to install Claude Session Kit
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open penspanic/claude-session-kit and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Session Kit does
Mine your Claude Code sessions for patterns. Incremental backup + LLM summaries + cross-session finding detection — missing skills, codebase smells, doc gaps — grounded in real session evidence.
Alternatives in AI
- Internal Safety Collapse — We built an adversarial codespace setup 1.2k ★
- Openclaw Backup — One-click backup & restore for OpenClaw instances — workspace, credentials, skills, agent history 660 ★
- Engineering Notebook — A Bun CLI that ingests Claude Code and Codex session transcripts, generates LLM-powered daily summaries, and s 320 ★
README
claude-session-kit
Mine your Claude Code sessions for patterns. Back up every session, summarize each one with an LLM, then cross-reference across sessions to surface recurring friction, missing skills, codebase smells, documentation gaps, and test coverage holes — every finding cites the real sessions it came from.
[](https://www.npmjs.com/package/claude-session-kit) [](https://github.com/penspanic/claude-session-kit/actions/workflows/ci.yml) [](./LICENSE)
flowchart LR
jsonl["~/.claude/projects/
*.jsonl
deleted after 30d"]
subgraph csk["claude-session-kit"]
direction TB
backup["csk backup"] --> store[("SQLite index
+ blob mirror
+ FTS5 search")]
store --> analyze["csk analyze
per-session LLM summary
intent · friction · corrections"]
analyze --> patterns["csk patterns
project / global
cross-session findings"]
end
jsonl --> backup
findings["Findings
• repetition / skill_gap
• correction_pattern
• codebase_smell / api_friction
• documentation_gap / test_coverage_gap
→ CLAUDE.md · new skill · refactor · docs · tests"]
patterns --> findings
surfaces["CLI | Web dashboard (csk serve) | MCP server (agents)"]
store --- surfaces
findings --- surfaces
Why
Your Claude Code sessions are the highest-signal record of how you *actually* work with an AI — every correction you made, every time the assistant got stuck on the same thing, every recurring intent. But:
- They disappear. Claude Code deletes sessions after 30 days by default (
cleanupPeriodDays). - One session tells you what happened that time. The interesting signal — "I keep redirecting the assistant away f
Related Skills
Yotta School Doc
Local, deterministic school-document skeleton and validation skill for AI agents: versioned rule packs + struc
Career Capability Mapper
AI-era career capability mapping for finding transferable strengths across changing job boundaries, with trace
Dresscode
Scores the design system across 20 areas with evidence, tests whether AI applies it without guessing, and turn
Sourcebook
Generate AI context files from your codebase's actual conventions. Not what agents already know — what they ke
Wikify Repo
Compile any codebase into a grounded, lint-clean markdown wiki your AI agent can actually trust — SCIP symbol
Resume Builder
Agent skill that crafts and audits technical resumes. Eliminates generic AI buzzwords using deterministic lint
Related Agents
Scribe Agent
You are a specialized documentation agent. Your job is to create and maintain handoffs, update continuity ledg
Standard Doc Writer
Documentation update agent for incremental doc updates (Phase 3)
Explorer
Fast codebase exploration agent for finding files, patterns, and understanding architecture. Uses Glob, Grep,