Claude Code Karma: Local Observability Dashboard for Claude Code Sessions

What Claude Code Karma Does
Claude Code Karma is a local observability dashboard built specifically for monitoring Claude Code sessions. The tool parses the JSONL files stored in ~/.claude/ and provides a web-based interface for analyzing how Claude Code interacts with custom MCP tools.
Key Features
- Visualizes Claude Code session data through a local web UI
- Provides visibility into plugin usage patterns
- Shows full session timelines including subagents, skills, and tool calls
- Tracks tool, agent, and skills usage across multiple sessions
- Catches silent failures in custom tools
- Allows searching old sessions by prompt, name, or project
- Includes live session tracking via hooks
- Supports tracking across multiple projects and repositories
Technical Stack and Setup
The dashboard is built with FastAPI, Svelte-Kit 2, Svelte 5, and SQLite. All data stays local, and setup takes under 2 minutes according to the developers.
Unexpected Benefits
The developers reported several unexpected benefits from using the dashboard:
- They stopped needing to scan terminal outputs manually
- Gained understanding of their plugin/skills usage patterns, which helped them engineer context better
- Improved prompting skills by reviewing old session timelines
- Caught custom tools failing silently across dozens of sessions
Current Limitations and Call for Contributions
The project has basic cost estimation based on token consumption, but the developers note that "the math is wrong." The per-session and per-project cost numbers in the analytics are currently unreliable. The developers are seeking help from anyone who understands Anthropic's pricing model or has experience with token cost calculation to fix the analytics. Specifically, session-level and project-level cost breakdowns and overall cost analysis are inaccurate.
📖 Read the full source: r/ClaudeAI
👀 See Also

Two New Open Source Tools for AI Agent Security and Optimization
Two open source tools are available for AI agent developers: AI Agent Defense Kit provides runtime security skills, and AgentGuard (in development) offers cost tracking, security scanning, and activity monitoring.

Doc Harness: A Claude Code Skill for Maintaining Project State Across Sessions
Doc Harness is a Claude Code skill that creates a lightweight documentation system with five structured files to help AI agents maintain project context across sessions. It addresses issues like context resets, forgotten rules, and the need to re-explain projects to new agents.

Zot: A Lightweight Terminal Coding Agent Now Supports Claude Opus 4.8
Zot is a minimal terminal coding agent distributed as a single static Go binary with no runtime or Docker dependencies. It now supports Claude Opus 4.8 along with dozens of other models.

js-notepad: A Scriptable Notepad with Built-in MCP Server for Claude Code
js-notepad is a free, open-source scriptable notepad application built with Claude Code assistance. It features a built-in MCP server, allowing Claude Code to directly interact with the app for reading/writing pages, executing scripts, creating todos, and pushing results.