Optimize Claude Code context window usage. Identify what to keep in context vs fetch on-demand. Use when context is bloated, responses are slow, hitting token limits, or want to slim down context.
Install
npx skills add jamesjlundin/full-stack-web-and-mobile-template --skill context-dietnpx skills add jamesjlundin/full-stack-web-and-mobile-template --skill context-diet -a claude-code -gnpx skills add jamesjlundin/full-stack-web-and-mobile-template --skill context-diet -a codex -ggemini skills install https://github.com/jamesjlundin/full-stack-web-and-mobile-template.git --path .claude/skills/context-dietgh skill install jamesjlundin/full-stack-web-and-mobile-template context-dietgit clone --depth 1 https://github.com/jamesjlundin/full-stack-web-and-mobile-template /tmp/jamesjlundin__full-stack-web-and-mobile-template
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/jamesjlundin__full-stack-web-and-mobile-template/.claude/skills/context-diet ~/.claude/skills/context-diet # Claude Code
cp -R /tmp/jamesjlundin__full-stack-web-and-mobile-template/.claude/skills/context-diet ~/.agents/skills/context-diet # Codex, Cursor, Gemini CLI, Copilot, OpenCode