Skip to content

konstantinosbotonakis/codex-context-diet

v0.8.0MIT

Asks TypeSafe's Jev which bulky tool results the session still needs, and replaces the rest with a bounded head plus a note.

context-diet

Understand, tune, or debug Codex Context Diet, the plugin that asks TypeSafe's Jev which bulky tool results to replace with a bounded head and a note. Use when a session feels bloated with tool output, when the user asks why context is filling up, or when the keep threshold, token floor, or recorded decisions need review.

doctor

Diagnose why Context Diet is not acting on a session. Use when the user says the plugin is not working, Jev is never used, results are not being replaced, the stats are empty, or asks for a health check of the install.

eval

Run the Context Diet decision corpus and report false drops, replacement rate, compression and cost. Use when the user asks whether Context Diet decisions are safe, wants evaluation numbers, or has changed a diet threshold, a prompt or a capsule rule.

jev

Use the configured System One provider (TypeSafe's Jev by default, or a local checkpoint) for calibrated judgements instead of a reasoning model. Trigger when a task needs a yes/no probability, a pick from named options, a score along ordered levels, or several such judgements over one bounded piece of text.

stats

Show Context Diet usage statistics for this machine. Use when the user asks how much Context Diet saved, how many results were replaced, whether Jev is being used, or for plugin usage numbers for today, the last 7 days, or the last 30 days.

update

Update the Context Diet plugin to the latest published version. Use when the user asks to update or upgrade Context Diet, to check whether a newer version exists, or when a fix or setting is missing from their installed copy.