context-doctor - Visualize and diagnose OpenClaw context window usage.
Generates a terminal breakdown and PNG export to diagnose OpenClaw workspace files, skills inventory, and bootstrap token budget allocation.
Tags
Updated: 2026-09-11Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Diagnose context window budget allocation
- Visualize bootstrap file token usage
- Export context health PNG images
Inputs
- Workspace path or OPENCLAW_WORKSPACE environment variable
- Optional PNG output file path
Outputs
- Terminal-rendered diagnostic report
- PNG diagnostic image file
Requirements
- Python 3
- OpenClaw CLI
- rich Python package
- rsvg-convert or cairosvg
