github.comOpen source — MIT License

PRISM

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

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+TextualRichTyperCLI
Key Features
  • Health scores across 5 dimensions with letter grades A–F
  • Detects token waste, retry loops, and CLAUDE.md violations
  • Interactive Textual TUI dashboard + CLI commands
  • Concrete CLAUDE.md diff recommendations
  • Runs entirely locally — no API key needed
  • Commands: prism / prism analyze / prism advise / prism watch / prism replay

© 2025 Werner's Works. All rights reserved.