{"full_name":"mksglu/context-mode","owner":"mksglu","name":"context-mode","shard":"1","url":"https://github.com/mksglu/context-mode","description":"Free, local plugin that keeps tool output out of your coding agent's context window. Sandbox and SQLite FTS5 search, 99% fewer bytes in context. Works with Claude Code, Codex, Pi, OMP, OpenCode, Gemini CLI, Copilot CLI and 4 more agents. Zero telemetry.","homepage":"https://contextmode.ai","topics":["claude","claude-code","claude-code-plugins","mcp","skills","codex","copilot","opencode","antigravity","kiro","openclaw","claude-code-hooks","claude-code-skill","codex-cli","cursor-plugin"],"tag_pages":["antigravity","claude","claude-code","claude-code-plugins","claude-code-skill","codex","codex-cli","copilot","kiro","mcp","openclaw","opencode","skills"],"language":"JavaScript","license":"NOASSERTION","avatar":"https://avatars.githubusercontent.com/u/6067714?u=eb2d5c7700217af31cf0d5729586981c91e14e19&v=4","created_at":"2026-02-23T05:56:28Z","pushed_at":"2026-11-15T13:38:48Z","metrics":{"stars":34136,"forks":2346,"watchers":109,"issues":677,"prs":0,"releases":242,"issues_open":11,"issues_closed":666,"prs_open":0,"prs_closed":0,"prs_merged":0,"discussions":0},"growth":{"day":{"stars":50,"forks":4,"base_day":"2026-11-15"},"week":{"stars":772,"forks":48,"base_day":"2026-11-04"},"month":{"stars":7019,"forks":408,"base_day":"2026-10-17"}},"history":{"dates":["2026-09-18","2026-09-19","2026-09-20","2026-09-21","2026-09-22","2026-09-23","2026-09-24","2026-09-25","2026-09-26","2026-09-27","2026-09-28","2026-09-29","2026-09-30","2026-10-01","2026-10-02","2026-10-03","2026-10-04","2026-10-05","2026-10-06","2026-10-07","2026-10-08","2026-10-09","2026-10-10","2026-10-11","2026-10-12","2026-10-13","2026-10-14","2026-10-15","2026-10-16","2026-10-17","2026-10-18","2026-10-19","2026-10-20","2026-10-21","2026-10-22","2026-10-23","2026-10-24","2026-10-25","2026-10-26","2026-10-27","2026-10-28","2026-10-29","2026-10-30","2026-10-31","2026-11-01","2026-11-02","2026-11-03","2026-11-04","2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[20765,21323,21682,21965,22172,22332,22818,23044,23208,23367,23509,23647,23863,23948,23987,24023,24059,24086,24173,24223,24727,24983,25213,25464,25538,25610,25706,25927,26204,27117,28048,28961,29714,30137,30477,31024,31314,31616,31812,31961,32112,32405,32541,32678,32825,32931,33261,33364,33772,33871,33954,34011,34065,34086,34136],"forks":[1516,1542,1557,1581,1598,1609,1650,1662,1675,1682,1694,1706,1721,1725,1730,1733,1733,1739,1742,1749,1781,1796,1805,1827,1833,1843,1856,1873,1885,1938,1987,2033,2072,2124,2186,2312,2318,2179,2193,2202,2219,2239,2253,2261,2268,2276,2295,2298,2312,2323,2327,2333,2340,2342,2346],"watchers":[93,93,94,93,94,95,97,98,99,99,99,98,98,99,99,99,99,100,99,101,98,100,99,99,100,100,100,102,103,105,105,106,109,111,111,111,110,111,112,113,111,111,111,111,110,110,110,110,null,108,108,108,109,108,109],"issues_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,28,5,7,9,4,11],"prs_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0,0,0,0,0,0]},"boards":{"monthly":81,"monthly_rate":128},"same_owner":[],"issues":[{"number":1385,"title":"ctx_doctor opencode: D5 hook round trip FAIL — linkSync EACCES on Android/f2fs (hard links denied)","comments":2,"created_at":"2026-11-15T11:56:37Z"},{"number":1383,"title":"doctor reports FAIL for legacy data directory that setup does not remove","comments":2,"created_at":"2026-11-15T10:26:11Z"},{"number":1372,"title":"Feature request: per-tool opt-out for output replacement","comments":2,"created_at":"2026-11-12T09:57:34Z"},{"number":1336,"title":"A setting to turn off the WebFetch hint/deny","comments":2,"created_at":"2026-11-08T00:32:26Z"},{"number":1334,"title":"Feature request: stateless shared daemon mode (one process per machine, Streamable HTTP) so RAM stops scaling with session count","comments":2,"created_at":"2026-11-07T08:10:58Z"},{"number":1325,"title":"Feature request: return a stored source in full (`ctx_get`)","comments":2,"created_at":"2026-11-06T08:07:39Z"},{"number":1387,"title":"setup FAIL: opencode (34e0d4ae2981)","comments":1,"created_at":"2026-11-15T19:24:24Z"},{"number":1386,"title":"setup FAIL: opencode (34e0d4ae2981)","comments":1,"created_at":"2026-11-15T19:22:22Z"}],"discussions":[],"latest_release":{"name":"v2.2.0","tag":"v2.2.0","published_at":"2026-11-14T15:54:28Z","body":"### Features\n- feat: OMP (oh-my-pi) is the 11th supported agent (ADR-0026, #1332)\n- feat: ADR-0023 omp row, PRD and TECH-SPEC 11 agents, 01-contracts and 12-plugins name OMP, intake reads OMP (OMP M8)\n- feat: docs/install/omp.md with OMP's own verbs, omp in NATIVE_HOSTS, 11 agents in install docs and README (OMP M8)\n- feat: ci.yml OMP 18.20.0 from its own install script on 3 OS, omp --version gate, OMP e2e cases step (OMP M7c)\n- feat: omp row decodes the Pi payload with agent omp, rows say omp (OMP M7a)\n- feat: ctx_upgrade on OMP prints omp plugin upgrade, writes no host config, one plugin root per package (OMP M6b)\n- feat: doctor names OMP, reads the OMP plugin store, prints OMP verbs and host-limit info (OMP M6a)\n- feat: setup merges and uninstall drops context-mode in OMP disabledServers when OMP imports it (OMP M5)\n- feat: issue forms, intake, CI step name and windows-hosts list omp as the 11th agent (OMP M4b)\n- feat: package.json omp key and omp/index.js wrapper (OMP M4b)\n- feat: omp is the 11th AgentId with a Pi-shaped table row (OMP M4a)\n- feat: all 9 ctx_* tools register with loadMode essential (OMP M3)\n- feat: OMP reads contextMode.excludeTools from api.pi.settings per call (OMP M2c)\n- feat: turn once per prompt, OMP registers tools at load (OMP M2b)\n- feat: shared Pi factory takes the agent id from its entry, env never selects OMP (OMP M2a)\n- feat: array systemPrompt keeps every OMP block, payload last, once (OMP M1)\n\n### Fixes\n- fix(ci): the OMP fire block runs in its own test file so the VS Code setup check keeps its 10 s MCP timer (D-OMP-CI-3, #1332)\n- fix(ci): OMP CI on main, windows-hosts installs OMP; GP3 omp driver uses stdin (D-OMP-CI-2, #1332)\n- fix(ci): windows-hosts job installs OMP with its own script; GP3 omp driver reads steps on stdin (D-OMP-CI-2)\n- fix: safeFetch sends user-agent and accept on every request, a refused fetch names the host (#1380)\n- fix: readme-stats writes the README counts line from stats.json (D-README-COUNTS-1)\n- fix: readme-stats job rebases before its push, so README counts update daily (D-README-STATS-PUSH-1)\n- fix: gemini doctor checks an installed extension from disk when the list fails (#1378)\n- fix: doctor names the gemini list error for an installed extension (#1378)\n- fix: doctor names a missing pinned codex hook or server path (#1376)\n- fix: setup uses the codex plugin route when it runs from the plugin cache (#1376)\n- fix: runProcess reads the pipes once more before an exit-drain cut (D-R59-D5-DRAIN-1)\n- fix: a tools: mcp__<server>__* or mcp__<server> entry grants that server's ctx tools, so the subagent gets case A (#1374)\n- fix: copilot-cli and vscode hook command starts with bare node on Windows so pwsh -Command parses it (#1375)\n- fix(e2e): hook runner builds the child env from an allowlist, not the runner's process.env (D-E2E-HOST-ENV-1)\n- fix(sandbox): a PATH candidate stat cannot read is skipped, lookup failures are named, D11 names a language it cannot resolve (#1373)\n\n### Performance\n- perf: doctor reads the omp plugin list once (OMP P5)\n\n### Who gets this\n\nOne version on both channels: the release commit on main (GitHub) and npm.\n\n| Agent | Channel | Update with |\n|---|---|---|\n| Claude Code | GitHub | `claude plugin update context-mode@context-mode` |\n| Codex | GitHub, npm for the one-time hook trust step | `codex plugin marketplace upgrade context-mode` |\n| Gemini CLI | GitHub | `gemini extensions update context-mode` |\n| Qwen Code | GitHub | `qwen extensions update context-mode` |\n| Copilot CLI | npm | `context-mode upgrade` |\n| VS Code (Copilot) | npm | `context-mode upgrade` |\n| Kiro | npm | `context-mode upgrade` |\n| ZCode | GitHub | `zcode plugins update context-mode@context-mode` |\n| Pi | npm | `pi update --extensions` |\n| OpenCode | npm | `opencode plugin update` |\n| OMP | npm | `omp plugin upgrade context-mode` |","is_prerelease":false},"readme":true,"readme_zh":false,"news":[{"title":"Context Mode – An Open-Source MCP Server That Reduces AI Coding Context Usage","url":"https://github.com/mksglu/context-mode","hn":"https://news.ycombinator.com/item?id=50324789","source":"Hacker News","lang":"en","date":"2026-11-01","points":1,"comments":0},{"title":"I looked at a context optimization tool with 28k GitHub stars and actually counted my own 'learning files'","url":"https://note.com/aishacho_jp/n/n09b6da5b7617?hl=en","source":"note","lang":"en","date":"2026-10-13"},{"title":"context-mode, which reduces Claude Code costs by 98%. A summary of how it differs from headroom","url":"https://note.com/hacklog_stealth/n/n272011d68d48?hl=en","source":"note","lang":"en","date":"2026-06-11"},{"title":"context - mode：为AI编程减负，降成本98%、提记忆力至3小时，GitHub获超1.5万Star！","url":"https://blog.csdn.net/weixin_39787242/article/details/161836151","source":"blog.csdn","lang":"zh","date":"2026-06-09"},{"title":"登顶GitHub Hacker News，这个开源项目让AI编程成本降低 98%｜涌现新项目","url":"https://news.qq.com/rain/a/20260609A06BU300","source":"腾讯网","lang":"zh","date":"2026-06-09"},{"title":"Open-Source Project context-mode Tops GitHub Trending: Slashes AI Coding Costs by 98%, Token Anxiety May Finally End","url":"https://finance.biggo.com/news/MUh9q54BrAZSr0oS5ID7","source":"finance.biggo","lang":"en","date":"2026-06-08"},{"title":"「컨텍스트를 98% 줄인다」고 주장하는 MCP 서버, context-mode 읽기 — Cloudflare의 Code Mode를 출력 측으로 뒤집는 아이디어","url":"https://note.com/overseas_digest/n/n7bd58daf61dc?hl=ko","source":"note","lang":"en","date":"2026-04-24"},{"title":"Context Mode, PPT Master, Karpathy Skills + Copilot Review Billing | DevDrop Daily 10 Oct World Cup Tickets (voWIdWPUX7)","url":"https://news.google.com/rss/articles/CBMiZkFVX3lxTE5SU09oTFg0aU4yYmswM3M3YV9KUWZKdDVXUHFDcFA5TzhKb1A0cDF3TTVwUDFpREE2S1VYWTBSOE1wVHVXb3VfT1VBcGpzOVFqc0FaX1d6ZTFnLWxnNkszTmZhWFRMUQ?oc=5","source":"Unisba Media","lang":"en","date":"2026-11-05"},{"title":"Headroom vs Caveman: Compress Input or Cut Output","url":"https://news.google.com/rss/articles/CBMikgFBVV95cUxPSkVOakFYWnJQMjBPWngybnNZZWN4YkFwZDU5NjV4YUdsX3BIckQxQldBUTN5M0hOMFRjdnN0Q0E3UHFRVVNuclpXMUNuZkxMYzJCSVRaai1URmQ0aXJTNS13U3JmMHFaOTZDUUVSMjI2RXRwdnh0V25RREJKTTNzdWNLcExadGtGOUJFdl83N21EZw?oc=5","source":"Pasquale Pillitteri","lang":"en","date":"2026-06-20"},{"title":"Headroom: The Context Compression Layer Your AI Agent Desperately Needs","url":"https://news.google.com/rss/articles/CBMif0FVX3lxTE1xNDdKZGJsQ3BueFBMYzVjMXZYaEdQOFdKRy1XN0laQTk4dUE1dDNhRlZsZjJ3ZENZQ2dKMFhCTmVFWEI4bWtWT2VWR0NubmtMZU9SYXpuTld3ZmZXenlMU2o5cVh0akx6ckJHUl9rbV9rT1Zra2pmZG5mUVlEV0U?oc=5","source":"Alpha Match Technology","lang":"en","date":"2026-06-12"},{"title":"Top GitHub & Hacker News: Open-Source Project Slashes AI Programming Costs by 98% - Emergent Project","url":"https://news.google.com/rss/articles/CBMiU0FVX3lxTE9yTFBjYldlZ19ETkRtSVJhTjkweklGMmcyVDk1THdyVHpyNkZvdks5YzR3M3g1bWNqSnFZNHpYZXJYazhKUFBBTjZobkhPV3lYOG9n?oc=5","source":"eu.36kr.com","lang":"en","date":"2026-06-09"},{"title":"警惕GitHub“虚假繁荣”：实测两款热门AI辅助开发工具名不副实","url":"https://news.google.com/rss/articles/CBMiY0FVX3lxTE5EMm9HMi1ZLUdYakxqT1RVbEVMaUExTGlNVFFoVlVDakgtUHQwZWtKdU5pVEFtMDFERXA4LWNiQV9jR2JMZWVuOU5ZTDZMa3puTGdSSFkzczgwaXVxc3FEdy1sRQ?oc=5","source":"www.80aj.com","lang":"zh","date":"2026-05-24"},{"title":"For Whom the Tokens Toll","url":"https://news.google.com/rss/articles/CBMieEFVX3lxTE5wdnNLMnVrSVVJUk81TkVVdlhiY243bGlTdXA3Y3dXbkdyUE5DbTI5bkRHaFJBcWJ5MFVmb1dpTUN3OTNvLW41VHZkYzJkMXExb1RNbEhsRURFdnRBVW1rUnYxMHAyM2tCTW04N2hwTFc0c25zdU50aA?oc=5","source":"Medium","lang":"en","date":"2026-05-11"},{"title":"OpenAI developed 'Symphony,' an automated Codex agent management tool, recognizing that 'humans are the bottleneck in AI,' and has seen a five-fold increase in pull requests within the company.","url":"https://news.google.com/rss/articles/CBMiakFVX3lxTE5xUXZ6QUhOM3hHbmdjc0lvTFdvNWQ3ZE1VYzlYZldHM3A2UE9HUjctX0VDWWw2bUs0SENzMG5nLXNOa1dMQ09BNVpSS3NmQWk5QVgxSmgySkpzSkRHRXVmWVhWSEw4eXQ0Nnc?oc=5","source":"GIGAZINE","lang":"en","date":"2026-04-28"},{"title":"主打隐私优先的MCP新工具：Context-mode，为AI构建上下文虚拟化层","url":"https://news.google.com/rss/articles/CBMiaEFVX3lxTFBxNXNhSE5hZVlsX0huY0JKNFlIb1RzM2ZlM0VmN250V1JqVjNQRkY0bGJQR29FUlRFZ2VlQUlRVVhqNWllTW81elllU1lhSE9xVXFDOTY2OWZ4QTZDNUhmaThfWWZySlJW?oc=5","source":"www.80aj.com","lang":"zh","date":"2026-03-18"}],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}