context-doctor
Visualize and diagnose context window token usage
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install context-doctor?โผ
Run `npx skills add jzOcb/context-doctor --all -g -y` in your terminal to install it globally.
How to check what is eating my context window tokens?โผ
Run `python3 scripts/context-doctor.py` to see a visual breakdown of workspace files, skills, and system prompt overhead with token estimates for each.
Why did my agent suddenly get dumber?โผ
Bloated or truncated bootstrap files often cause quality drops. Context-doctor flags truncated and missing files so you can fix them quickly.
Can I share the context report as an image?โผ
Yes. Run the script with `--png /tmp/output.png` to generate a shareable image, or use `--json` to pipe structured data into other tools.
Does context-doctor work with custom context sizes?โผ
Yes. Use `--ctx-size N` to match your model's context window and `--workspace PATH` to scan a custom workspace directory.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core