Permanent memory to your AI agent
Context-mode is a TypeScript library that provides context window optimization for AI coding agents. It reduces data size by 98% by isolating tool outputs, preserves session memory, and routes to 17 different platforms via the Model Context Protocol.
Updates
- September 8, 2026: Stars 21,109 → 21,116, latest release v1.0.169 (June 29, 2026).
What you get
- Clears the context window by reducing data size by 98%
- Ensures session continuity by tracking file edits and tasks in an SQLite database
- Increases the model's processing capacity with a structure that writes code instead of processing data
Installation
/plugin marketplace add mksglu/context-mode/plugin install context-mode@context-modeRunning it
/context-mode:ctx-doctorIf you don't write code
My AI agent, from now on, instead of performing data processing tasks directly, I want you to write and execute the code that will analyze this data. Use context-mode tools to minimize data size, keep my session history in SQLite, and report only the necessary results to me. Avoid unnecessary explanations and focus solely on code generation and efficient context management.
Related dictionary terms
Links
TreScout did not build this tool · we found it in GitHub trends and wrote it up. This page describes the repository as of 2026-09-08: The star count and our text belong to that day, the repository may have changed since. Check the repository link for the current state. This page was machine-translated from the Turkish original · the Turkish version prevails.