Estimated context audit for the /context-doctor command.
Get the glyph set for the current charset mode.
Estimate tokens using the same four-characters-per-token rule as whip.
Approximate the memory fragment after middleware strips HTML comments.
Format skills locations matching SkillsMiddleware display.
Approximate the progressive-disclosure skill index sent to the model.
Build a fresh-session audit and reconcile it with live usage when available.
Render a plain-text report.