// devtools · mksglu/context-mode

context-mode

context-mode — проект с открытым исходным кодом из категории «Инструменты разработчика» от mksglu (mksglu/context-mode на GitHub). У него 25 701 звезда на GitHub и 1 856 форков, он распространяется по лицензии Elastic License 2.0 и последний раз обновлялся на GitHub 8 октября 2026.

Context optimization for coding agents: sandbox tool output, keep sessions lean, remember more

★ 25,7 тыс. звёзд⑂ 1,9 тыс. форковElastic License 2.0обновлено окт. 2026
▦ визуал — в README этого проекта нет встраиваемого скриншота,
поэтому здесь заглушка. Руководство ниже в любом случае полное.
// факты о проекте

Факты о проекте

Репозиторий
mksglu/context-mode
Звёзды GitHub
25 701
Форки
1 856
Лицензия
Elastic License 2.0
Последнее обновление на GitHub
8 октября 2026
Тип страницы
Полное руководство по установке
Официальный сайт
Official site
// как это работает

Как это работает

  1. Clarify your goal

    Decide what you want to achieve with context-mode and check the README on GitHub for requirements before installing.

  2. Get the code

    Clone the repository from GitHub (or take the packaged install route in step 3 if the README offers one).

  3. Install and configure

    Follow the project's documented install commands — the Run section below lists the exact ones — and add any required API keys or models.

  4. Run your first task

    Work through the README's quickstart example end to end, then adapt it to your own project or data.

// возможности

Почему его любят

Tool-output sandboxing

Executes tools in a sandbox and returns summaries instead of raw dumps, cutting context burn dramatically (up to 98% per the project).

Session memory persistence

Keeps session knowledge in a searchable knowledge base so agents retain context across a long task.

Smart retrieval

The knowledge base uses reciprocal rank fusion, proximity reranking and fuzzy correction to fetch the right snippets.

Routing enforcement across 17 platforms

Hooks and MCP config steer supported agents (Claude Code, Codex, Cursor, Copilot, Gemini and others) to use the sandbox consistently.

Session continuity

Designed so work survives context resets and session restarts.

Privacy-conscious architecture

The README documents its privacy/security model, including project-boundary containment and hardened network fetching.

Advertisement
// запустите сами

Запустите сами

  1. Clone the repository

    Get the Context Mode source and platform guides.

    git clone https://github.com/mksglu/context-mode.git
    cd context-mode
  2. Install globally

    Install the context-mode binary globally from npm.

    npm install -g context-mode
  3. Register with your agent

    For Claude Code, add the MCP server, then restart your agent so hooks and the server load.

    claude mcp add context-mode -- npx -y context-mode
// сценарии использования

Что можно создать

Advertisement
// вопросы и ответы

Вопросы и ответы

Who maintains context-mode?

context-mode is maintained by the mksglu organization/account on GitHub, together with open-source contributors, in the public repository mksglu/context-mode.

Is context-mode free to use?

Yes — the code is open source under the Elastic License 2.0 license. Check the repository's LICENSE file for the exact terms before commercial use.

Does context-mode need a paid API key?

Context Mode itself has no API key; it sits between your existing coding agent (with its own model access) and its tools.

How does context-mode compare to manual context management / bigger windows?

Bigger context windows postpone the problem and cost more; Context Mode attacks the waste itself — sandboxing output and indexing memory so less context is needed.

How do I get started with context-mode?

Clone the repository from GitHub, follow the install commands in the Run section (taken from the project's README), and complete the documented quickstart example before adapting it to your own use case.

// продолжить изучение

Похожие инструменты

Инструменты разработчика

memorax-code

Shared memory for coding agents: lessons, repo knowledge, and your preferences, carried across sessions.

★ 2,1 тыс. звёздMIT
Смотреть руководство →
Инструменты разработчика

lean-ctx

LeanCTX — the Rust context gateway that controls what your AI coding tools can see.

★ 3,9 тыс. звёздApache-2.0
Смотреть руководство →
Инструменты разработчика

OpenContext

Personal context store for AI coding agents — your skills, always loaded.

★ 1,3 тыс. звёздMIT
Смотреть руководство →
Инструменты разработчика

ripwire

The ripgrep of AI context — a zero-dependency C++23 CLI + MCP server that maps your repo for coding agents

★ 2,4 тыс. звёздApache-2.0
Смотреть руководство →
Инструменты разработчика

abtop

Like htop, but for AI coding agents — watch Claude Code and Codex sessions in real time.

★ 3,7 тыс. звёздMIT
Смотреть руководство →
Инструменты разработчика

herdr

The terminal runtime your coding agents live on — a Rust multiplexer built for agent sessions

★ 42,9 тыс. звёздApache-2.0
Смотреть руководство →
// альтернативы

Альтернативы: Инструменты разработчика

Другие проекты из категории «Инструменты разработчика» с наибольшим числом звёзд в каталоге LibreAI — реалистичный список альтернатив, если context-mode вам не подходит.

// ещё в категории devtools

Больше проектов: Инструменты разработчика

Соседние проекты из категории «Инструменты разработчика» в каталоге, ближайшие по числу звёзд к context-mode — продолжайте изучать полку по обе стороны от него.

Получить context-mode

Бесплатно и открыто — забирайте исходный код, ставьте звезду репозиторию и начинайте создавать.