context-diet

Prioritize essential files and define fetch-on-demand lists for CLAUDE Code context.

32|7|Updated Dec 10, 2025
One-click install
npx skills add https://github.com/jamesjlundin/full-stack-web-and-mobile-template --skill context-diet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-diet
Source: https://github.com/jamesjlundin/full-stack-web-and-mobile-template/tree/main/.claude/skills/context-diet
Command: npx skills add https://github.com/jamesjlundin/full-stack-web-and-mobile-template --skill context-diet

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill optimizes CLAUDE Code's context window by identifying what to keep in context versus what to fetch on-demand, reducing token usage and improving response times.

Core Features & Use Cases

  • Context Budgeting: Prioritize CLAUDE.md, active file, and minimal references to keep in context.
  • Fetch-on-Demand: Define which files to fetch only when needed.
  • Context Shortlist: Produce a minimal list of essential files for the current task.

Quick Start

Start a session by listing the active file and a minimal fetch-on-demand list for your current task.