Library
10000 documents
Categories
Tags
marketplace.json
.agents/plugins/marketplace.json
marketplace.json
.claude-plugin/marketplace.json
plugin.json
.claude-plugin/plugin.json
hooks.json
.codex-plugin/hooks.json
mcp.json
.codex-plugin/mcp.json
plugin.json
.codex-plugin/plugin.json
plugin.json
.cursor-plugin/plugin.json
context-mode
> Save 98% of your context window. Sandboxed code execution in 11 languages, FTS5 knowledge base with BM25 ranking, and native Cursor v1.7+ hook routing for context protection.
FUNDING.yml
.github/FUNDING.yml
bug_report.yml
.github/ISSUE_TEMPLATE/bug_report.yml
config.yml
.github/ISSUE_TEMPLATE/config.yml
feature_request.yml
.github/ISSUE_TEMPLATE/feature_request.yml
PULL REQUEST TEMPLATE
<!-- Brief: what changed, why, and implementation approach. Link issue: Fixes #000 -->
bundle.yml
.github/workflows/bundle.yml
ci.yml
.github/workflows/ci.yml
openclaw-e2e.yml
.github/workflows/openclaw-e2e.yml
tier2-e2e-smoke.yml
.github/workflows/tier2-e2e-smoke.yml
update-stats.yml
.github/workflows/update-stats.yml
index.ts
.openclaw-plugin/index.ts
openclaw.plugin.json
.openclaw-plugin/openclaw.plugin.json
package.json
.openclaw-plugin/package.json
Context Mode — Benchmark Results
> Benchmarked against real outputs from popular Claude Code MCP servers, Skills, and dev tools.
statusline.mjs
bin/statusline.mjs
context-mode — MANDATORY routing rules
context-mode MCP tools available. Rules protect context window from flooding. One unrouted command dumps 56 KB into context.
cli.bundle.mjs
cli.bundle.mjs
hooks.json
configs/antigravity-cli/hooks.json
hooks.json
configs/antigravity-cli/hooks/hooks.json
mcp_config.json
configs/antigravity-cli/mcp_config.json
plugin.json
configs/antigravity-cli/plugin.json
context-mode routing for Antigravity CLI
configs/antigravity-cli/rules/context-mode.md
context-mode for Antigravity CLI
configs/antigravity-cli/skills/context-mode/SKILL.md
context-mode — MANDATORY routing rules
context-mode MCP tools available. Rules protect context window from flooding. One unrouted command dumps 56 KB into context. Antigravity has NO hooks — these instructions are ONLY enforcement. Follow strictly.
mcp_config.json
configs/antigravity/mcp_config.json
context-mode — MANDATORY routing rules
context-mode MCP tools available. Rules protect context window from flooding. One unrouted command dumps 56 KB into context.
context-mode — MANDATORY routing rules
context-mode MCP tools available. Rules protect context window from flooding. One unrouted command dumps 56 KB into context. Codex CLI hooks provide runtime enforcement when features.hooks = true; these instructions remain mandatory model-side enforcement. Follow strictly.
hooks.json
configs/codex/hooks.json
plugin.json
configs/copilot-cli/.github/plugin/plugin.json
.mcp.json
configs/copilot-cli/.mcp.json
hooks.json
configs/copilot-cli/hooks.json
context-mode — GitHub Copilot CLI plugin
configs/copilot-cli/README.md
context-mode — MANDATORY routing rules
configs/copilot-cli/skills/context-mode/SKILL.md
hooks.json
configs/cursor/hooks.json
mcp.json
configs/cursor/mcp.json
context-mode — MANDATORY routing rules
context-mode MCP tools available. Rules protect context window from flooding. One unrouted command dumps 56 KB into context.
mcp.json
configs/gemini-cli/mcp.json
settings.json
configs/gemini-cli/settings.json
context-mode — MANDATORY routing rules
context-mode MCP tools available. Rules protect context window from flooding. One unrouted command dumps 56 KB into context.
hooks.json
configs/jetbrains-copilot/hooks.json
mcp.json
configs/jetbrains-copilot/mcp.json
context-mode — MANDATORY routing rules
context-mode MCP tools available. Rules protect context window from flooding. One unrouted command dumps 56 KB into context.
kilo.json
configs/kilo/kilo.json
hooks.json
configs/kimi/hooks.json
agent.json
configs/kiro/agent.json
context-mode — MANDATORY routing rules
context-mode MCP tools available. Rules protect context window from flooding. One unrouted command dumps 56 KB into context.
mcp.json
configs/kiro/mcp.json
mcp.json
configs/omp/mcp.json
context-mode — MANDATORY routing rules
configs/omp/SYSTEM.md
context-mode — MANDATORY routing rules
context-mode MCP tools available. Rules protect context window from flooding. One unrouted command dumps 56 KB into context.
openclaw.json
configs/openclaw/openclaw.json
context-mode — MANDATORY routing rules
context-mode MCP tools available. Rules protect context window from flooding. One unrouted command dumps 56 KB into context.
opencode.json
configs/opencode/opencode.json
context-mode is active
configs/pi/AGENTS.md
context-mode — MANDATORY routing rules
context-mode MCP tools available. Rules protect context window from flooding. One unrouted command dumps 56 KB into context.
context-mode — MANDATORY routing rules
context-mode MCP tools available. Rules protect context window from flooding. One unrouted command dumps 56 KB into context.
hooks.json
configs/vscode-copilot/hooks.json
mcp.json
configs/vscode-copilot/mcp.json
context-mode — MANDATORY routing rules
context-mode MCP tools available. Rules protect context window from flooding. One unrouted command dumps 56 KB into context. Zed has NO hooks — these instructions are ONLY enforcement. Follow strictly.
Contributing to context-mode
This project is licensed under the Elastic License 2.0 ELv2 and moves forward with your support. Every issue, every PR, every idea matters.
Kimi Code CLI Setup
Setup guide for using context-mode with Kimi Code CLIhttps://moonshotai.github.io/kimi-code/en/customization/hooks.html.
OpenClaw Adapter
context-mode plugin for the OpenClawhttps://github.com/openclaw gateway, targeting Pi Agent sessions.
ADR 0001 — SessionDB is multi-writer-safe
docs/adr/0001-sessiondb-multi-writer.md
ADR-0002 — Tool description voice and structure
docs/adr/0002-tool-description-style.md
ADR-0003 — Routing deny reasons: redirect ≠ restriction
docs/adr/0003-routing-deny-reasons.md
ADR-0004 — Stats display uses strict-compression formula
docs/adr/0004-stats-strict-compression-formula.md
JetBrains Copilot Setup
Setup guide for using context-mode with JetBrains IDEs IntelliJ IDEA, WebStorm, PyCharm, etc. via the GitHub Copilot plugin.
Platform Support Matrix
This document provides a comprehensive comparison of all platforms supported by context-mode, including their hook paradigms, capabilities, configuration, and known limitations.
Upstream Skill Credits
docs/UPSTREAM-CREDITS.md
payload.mjs
hooks/antigravity-cli/payload.mjs
posttooluse.mjs
hooks/antigravity-cli/posttooluse.mjs
pretooluse.mjs
hooks/antigravity-cli/pretooluse.mjs
stop.mjs
hooks/antigravity-cli/stop.mjs
auto-injection.mjs
hooks/auto-injection.mjs
cache-heal-utils.mjs
hooks/cache-heal-utils.mjs
platform.mjs
hooks/codex/platform.mjs
posttooluse.mjs
hooks/codex/posttooluse.mjs
precompact.mjs
hooks/codex/precompact.mjs
pretooluse.mjs
hooks/codex/pretooluse.mjs
sessionstart.mjs
hooks/codex/sessionstart.mjs
stop.mjs
hooks/codex/stop.mjs
userpromptsubmit.mjs
hooks/codex/userpromptsubmit.mjs
posttooluse.mjs
hooks/copilot-cli/posttooluse.mjs
precompact.mjs
hooks/copilot-cli/precompact.mjs
pretooluse.mjs
hooks/copilot-cli/pretooluse.mjs
sessionstart.mjs
hooks/copilot-cli/sessionstart.mjs
stop.mjs
hooks/copilot-cli/stop.mjs
userpromptsubmit.mjs
hooks/copilot-cli/userpromptsubmit.mjs
codex-caps.mjs
hooks/core/codex-caps.mjs
formatters.mjs
hooks/core/formatters.mjs
mcp-ready.mjs
hooks/core/mcp-ready.mjs
platform-detect.mjs
hooks/core/platform-detect.mjs