context-mode

A free, local plugin that keeps tool output out of your coding agent's context window, using a sandbox and local search.

  • Plugin
  • Claude Code
  • Codex
  • Gemini CLI
  • GitHub Copilot
  • OpenCode
  • Kiro

Install

  • Add the marketplace (Claude Code)
    claude plugin marketplace add mksglu/context-mode

  • Install the plugin (Claude Code)
    claude plugin install context-mode@context-mode

Checked against the repository on November 25, 2026.

About this skill

A plugin that keeps long tool output, such as command results, out of your agent's context window. It works with 11 coding agents.

What it does

  • Handles tool output in a local sandbox and searches it, bringing only the needed parts into context
  • Keeps all usage data on your machine

Notes

  • Licensed under Elastic License 2.0: free to use, but you may not offer it to others as a hosted service.
  • A separate paid service (Context Mode Gateway) also exists.

Included skills 4

Names and descriptions come straight from each SKILL.md.

  • ctx-doctor

    Check that context-mode is installed and working, as a table.

  • ctx-stats

    Show how much context context-mode saved, as a detailed report.

  • ctx-upgrade

    Update context-mode to the latest release.

  • release

    Release context-mode v2 from the v2 branch. Runs the checks and the live test, shows the next version and notes, then starts the release workflow and watches it.

  • agentmemory

    Persistent memory across coding sessions and agents, for Claude Code, Copilot CLI, Cursor, Codex, Gemini CLI and any MCP client.

    30,570 GitHub stars

    • Tool
    • Claude Code
    • Codex
    • Cursor
    • +6
  • Claude-Mem

    Keeps memory across sessions: a second agent takes notes and hands the next session what matters.

    119,562 GitHub stars

    • Plugin
    • Claude Code
    • Codex
    • Cursor
    • +1
  • claude-plugins-official

    Anthropic's own plugins for Claude and the official claude-plugins-official marketplace for Claude Code.

    48,125 GitHub stars

    • Plugin
    • Claude Code
  • CLI-Anything

    Makes any software agent-native by generating CLIs for it, with a hub to browse and install community-built CLIs.

    64,783 GitHub stars

    • Tool
    • Claude Code
    • Codex
    • Cursor
    • +4

Found a mistake? Let us know through the contact page.