Claude Code forgets things in long sessions, and it burns tokens on big tool outputs. In this video I test a free plugin called Context Mode on Windows: same test, without and with the plugin, and you can see the real numbers.
In my test, Context Mode kept 284 KB of data out of Claude's context window. Only 605 bytes went in (its stats say 99.8% saved). My test file is small, so be honest with yourself: it helps most with big logs, big web pages and big projects.
⏱️ Chapters
0:00 Claude Code is using up its memory
0:32 Why Claude forgets things
1:05 How big are tool outputs?
1:29 What Context Mode does
2:19 Test without the plugin
2:50 Install Context Mode
3:12 Test with Context Mode
3:31 The result: 284 KB down to 605 B
3:43 The honest part
4:04 Wrap-up
🔧 Install commands (inside Claude Code)
/plugin marketplace add mksglu/context-mode
/plugin install context-mode@context-mode
Check it works:
/context-mode:ctx-doctor
See how much it saved:
/context-mode:ctx-stats
Other tools (Gemini CLI, VS Code Copilot, Codex...): steps are on the project page.
🧪 Test script (save as make_log.py, run: python make_log.py)
import random
random.seed(7)
ips = [f"10.0.{random.randint(0, 9)}.{random.randint(2, 254)}" for _ in range(40)]
paths = ["/api/users", "/api/orders", "/api/login", "/api/products", "/api/cart"]
with open("access.log", "w") as f:
for i in range(1, 5001):
code = 500 if i % 100 == 0 else random.choice([200, 200, 200, 201, 204, 301, 404])
f.write(f"2026-10-29T10:{i // 60 % 60:02d}:{i % 60:02d}Z {random.choice(ips)} "
f"GET {random.choice(paths)} {code} {random.randint(5, 900)}ms\n")
print("access.log created: 5000 lines")
Prompt without the plugin:
read access.log, find all the 500 errors and tell me the IP addresses
Prompt with the plugin:
use context mode to index access.log, find the 500 errors and tell me the IP addresses
💬 Try it on the biggest log file you have and write your number in the comments. Let's see who saves the most!
🔗 Links
Context Mode (by Mert Koseoglu): https://github.com/mksglu/context-mode
Idea inspired by Better Stack: https://www.youtube.com/watch?v=QUHrntlfPo4
The 56 KB / 59 KB numbers and "30 minutes to 3 hours" are the makers' own figures from the project page. I did not test those myself.
🎬 Credits
B-roll from Pixabay (free license): Danil_Shostak, Coverr-Free-Footage, cipnt, GreenCardShow, Im_kamma, viarami, conte_public.
GIFs via GIPHY:
Shame Facepalm GIF by MOODMAN - https://giphy.com/gifs/moodman-TJawtKM6OCKkvwCIqX
Money Flying GIF by AOK Niedersachsen - https://giphy.com/gifs/AOK-Niedersachsen-niedersachsen-aok-aoknds-28MIZA9guogE8LZaJP
Barack Obama Mic Drop GIF - https://giphy.com/gifs/obama-mic-drop-out-3o7qDSOvfaCO9b3MlO
Music: original.
#ClaudeCode #ContextMode #AITools