---
title: "codex-context-diet"
description: "Asks TypeSafe's Jev which bulky tool results the session still needs, and replaces the rest with a bounded head plus a note."
canonical: https://agentpluginsdirectory.com/plugins/codex-context-diet
last-updated: 2026-09-21
---

# codex-context-diet
Asks TypeSafe's Jev which bulky tool results the session still needs, and replaces the rest with a bounded head plus a note.
- Slug: codex-context-diet
- Publisher: Konstantinos Botonakis
- Repository: https://github.com/konstantinosbotonakis/codex-context-diet
- Manifest: plugin.json
- Version: 0.8.0
- License: MIT
- Category (editorial): other
- Skills: 6 (context-diet, doctor, eval, jev, stats, update)
- MCP servers: 1 (context-diet)
- Stars: 3
- Repository created: 2026-09-18
- Repository last pushed: 2026-09-20
- Publisher type: User
- Listing: https://agentpluginsdirectory.com/plugins/codex-context-diet
- Schema: https://agent-plugins.org/schemas/1.0.0/plugin.schema.json

## What codex-context-diet does, in the publisher's words

Codex re-reads its whole desk before every reply. This plugin keeps the pages that still matter and clears the ones you can reprint.

A Codex plugin that asks TypeSafe's Jev which bulky tool results the session still needs, then replaces the rest with a bounded head and a one-line note.

Long sessions fill up with tool output. Test logs, build noise, large file reads, MCP payloads. Once a result lands in the transcript, Codex re-sends it on every later request until compaction summarises it away. Compaction runs after the context is already bloated. This plugin works at the moment the result is produced.

- You don't change how you work. No new commands, no habits. Install it, click trust once, forget it.

From the project README, punctuation lightly normalized. Full text: https://raw.githubusercontent.com/konstantinosbotonakis/codex-context-diet/HEAD/README.md

## Skills

- 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 recorde…
- 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 piec…
- 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.

Descriptions come from the frontmatter of each SKILL.md, punctuation lightly normalized.

## MCP servers

- context-diet: transport: stdio; command: sh -c exec node "$PLUGIN_ROOT/dist/mcp-server.js"

Read from the plugin's own mcp.json. Environment variable names only, never values.
