hindsight
CLAUDE.md0 starsChanged 4 months agoMITView on GitHub
A Claude Code plugin that analyzes session logs through configurable lenses. See README.md for full user-facing docs and AGENTS.md for project structure and internals. Interactive: /hindsight <date-range> <lens-name> Headless: claude -p "use hindsight for <date-range> with the <lens-name> lens" Changes to layers 1-2 (session summary schema, extraction prompt) affect every lens. Test against multiple lenses before modifying. See AGENTS.md for the full layer breakdown and modification guide. New default lenses have a high bar: differentiation proof, evaluation cycle with 7+/10…
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- lens-writingSkill
- hindsightSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
All code files start with a two-line ABOUTME: comment explaining what the file does.
- Distinctive: line 13
No mock implementations. Always use real session data via ccvault.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Hindsight
A Claude Code plugin that analyzes session logs through configurable lenses. See README.md for full user-facing docs and AGENTS.md for project structure and internals.
Usage
Interactive: /hindsight <date-range> <lens-name>
Headless: claude -p "use hindsight for <date-range> with the <lens-name> lens"
Dev Conventions
- All code files start with a two-line
ABOUTME:comment explaining what the file does. - No mock implementations. Always use real session data via ccvault.
- Match the style of surrounding code. Consistency within a file over external standards.
- Design docs:
docs/plans/YYYY-MM-DD-<topic>-design.md - Implementation plans:
docs/plans/YYYY-MM-DD-<topic>-implementation.md - Deferred work:
docs/backlog.md
Layer System
Changes to layers 1-2 (session summary schema, extraction prompt) affect every lens. Test against multiple lenses before modifying. See AGENTS.md for the full layer breakdown and modification guide.
Lens Contributions
New default lenses have a high bar: differentiation proof, evaluation cycle with 7+/10 panel score, and real output samples. See README.md contributing guidelines for full requirements.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

