agentleFS
2389-research2389-research/hindsight/CLAUDE.md

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…

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
  1. Very specific:

    All code files start with a two-line ABOUTME: comment explaining what the file does.

    line 12
  2. Distinctive:

    No mock implementations. Always use real session data via ccvault.

    line 13

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.