Back to browse
GitHub Repository

Mine your Claude Code session history into a oneshot prompt library and CLAUDE.md preferences. The prompt you'd write if you knew then what you know now.

1 starsTypeScript

Cc-hindsight – turn your Claude history into a reusable prompt library

by dramebaaz·Jul 15, 2026·3 points·4 comments

AI Analysis

●●SolidSolve My ProblemCozy

Turns past session failures into better first prompts, solving the t=0 context gap.

Strengths
  • Parses local JSONL history to extract implicit preferences you forgot to state initially.
  • Generates ready-to-use CLAUDE.md blocks to align future sessions without re-typing rules.
  • Local-only processing ensures sensitive session data never leaves your machine.
Weaknesses
  • Tied exclusively to Claude Code; useless if you switch to Cursor, Windsurf, or other agents.
  • Relies on users manually reviewing and curating generated prompts rather than auto-applying them.
Target Audience

Developers using Claude Code who want to reduce repetitive context setting

Similar To

Claude Code · Cursor · Windsurf

Post Description

I built this because I wanted to learn from my past session and align with Claude Code better right from the first prompt. I was spending a bunch of my session steering, restating the same preferences, answering questions that I felt I've answered before. By the end of a session I can now have a prompt library entry for that kind of work. I might try to help turn these into skills quickly as well.

Similar Projects

Developer Tools●●Solid

Desktop OSD that reads Claude Code's rate limit headers

Live token stream badge and cache suggestions beat Anthropic's web dashboard for daily driving.

Niche GemSolve My Problem
bozdemir
102mo ago