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.

MCP servers

Declared configuration, as published in mcp.json. The directory shows indexed content; it never connects to or executes these servers.

context-dietstdio
{
  "type": "stdio",
  "command": "sh",
  "args": [
    "-c",
    "exec node \"$PLUGIN_ROOT/dist/mcp-server.js\""
  ]
}

What this package declares

The files a client reads when it loads this plugin, exactly as this revision carries them.

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "codex-context-diet",
  "version": "0.8.0",
  "description": "Asks TypeSafe's Jev which bulky tool results the session still needs, and replaces the rest with a bounded head plus a note.",
  "author": {
    "name": "Konstantinos Botonakis",
    "url": "https://github.com/konstantinosbotonakis"
  },
  "homepage": "https://github.com/konstantinosbotonakis/codex-context-diet#readme",
  "repository": "https://github.com/konstantinosbotonakis/codex-context-diet",
  "license": "MIT",
  "keywords": [
    "context",
    "compaction",
    "typesafe",
    "jev",
    "hooks"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Context Diet",
        "shortDescription": "Jev-guided tool-result dieting",
        "longDescription": "Every bulky tool result is judged by Jev the moment it is produced. Results the session no longer needs are replaced by a bounded head and a one-line note, so context is spent on work rather than on logs.",
        "developerName": "Konstantinos Botonakis",
        "category": "Productivity",
        "capabilities": [
          "Read",
          "Write"
        ],
        "defaultPrompt": [
          "Show my Context Diet usage stats",
          "Why is my context filling up?",
          "Tune the Jev keep threshold"
        ]
      },
      "hooks": "./hooks/hooks.json"
    }
  }
}

What else this package ships

These files come with the package and this site does not publish them. They are listed so you know what is there before you install it.

  • LICENSE
View on GitHub

Client extensions

Data this package carries for particular clients. The directory lists the clients named and never reads what is addressed to them.

  • com.openai