---
title: "Context Diet: a Claude Code mod that keeps huge tool outputs from flooding the context"
url: "https://claudemods.dev/en/builds/context-diet-a-claude-code-mod-that-keeps-huge-tool-outputs--4a74d5"
source: "https://github.com/drkokorev/context-diet"
source_type: "github"
repo: "https://github.com/drkokorev/context-diet"
author: "drkokorev"
author_handle: "drkokorev"
stars: 1
category: "Memory & context"
categories: ["memory"]
tags: ["context-management", "hooks", "optimization", "token-usage", "tool-output"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add drkokorev/context-diet\nclaude plugin install context-diet@context-diet"
added: "2026-10-10T05:59:10.572Z"
updated: "2026-10-10T05:59:10.572Z"
locale: "en"
content_locale: "en"
---

# Context Diet: a Claude Code mod that keeps huge tool outputs from flooding the context

A Reddit submission introducing "Context Diet", a Claude Code mod intended to prevent large tool outputs from flooding the context window. The post text only contains submission metadata (author, subreddit, link/comments placeholders) with no repository link, installation steps or demo media, so the mod cannot be verified from the source alone.

## Install

```
claude plugin marketplace add drkokorev/context-diet
claude plugin install context-diet@context-diet
```

## Original README

submitted by   /u/drkokorev   to   r/BuildWithClaude [link]   [comments]
