Claude Code usage

Claude Doctor

Diagnose your Claude Code sessions

619 stars 48 forksUsage & cost trackers Source

Install

Install
npx claude-doctor

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/millionco/claude-doctor.git

From the README

claude-doctor

Analyzes your ~/.claude/ transcripts for behavioral anti-patterns and generates rules for CLAUDE.md / AGENTS.md from your history.

https://github.com/user-attachments/assets/cdeb6b05-f3e6-441b-8bc2-9fcce623d9fd

Install

Or run directly:

Usage

Signals

Structural

Behavioral

Lexical

AFINN-165 sentiment scoring with custom agent tokens (undo, revert, wrong, broken, etc).

--rules

Generates ready-to-paste rules from your session history:

--save

Writes a model to .claude-doctor/:

- model.json signal baselines and project profiles
- guidance.md agent-readable rules for hooks or CLAUDE.md inclusion

Development

License

MIT
Read the full README on GitHub

Details

Language
TypeScript
Last updated
15 April 2026
Topics
claudecodedoctor

FAQ

What is Claude Doctor?

Diagnose your Claude Code sessions It is a usage for Claude Code, from millionco/claude-doctor on GitHub.

How do I install Claude Doctor?

Run npx claude-doctor, then follow the setup in the README.

Is Claude Doctor popular?

millionco/claude-doctor has 619 GitHub stars and 48 forks, and is included in 1 curated Claude Code list. It was last updated on 15 April 2026.

More usage & cost trackers

Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.