U3 · github.com · Open source — MIT License

PRISM

Session intelligence for Claude Code — find why your sessions fail and fix them.

PRISM demo
github.comView Repository →
Project overview

PRISM reads Claude Code's session files and produces health scores across 5 dimensions: Token Efficiency, Tool Health, Context Hygiene, CLAUDE.md Adherence, and Session Continuity. It detects token waste, retry loops, CLAUDE.md rule violations, and compaction losses — then outputs concrete CLAUDE.md diff recommendations. Runs entirely locally, no API key needed.

Tech stack
  • Python 3.11+
  • Textual
  • Rich
  • Typer
  • CLI
Key features
  • Health scores across 5 dimensions with letter grades A–FF1
  • Detects token waste, retry loops, and CLAUDE.md violationsF2
  • Interactive Textual TUI dashboard + CLI commandsF3
  • Concrete CLAUDE.md diff recommendationsF4
  • Runs entirely locally — no API key neededF5
  • Commands: prism / prism analyze / prism advise / prism watch / prism replayF6

Next on the board · mcp-sentinel

Next project →
Output pin · contact

Want one like this?

Tell me what you have in mind. We'll talk it through and agree a scope before anything gets built.