Lemmalog
JordyZomer/lemmalog
Externalize working memory and logical state into the lemmalog Datalog engine (MCP).
Rules for sending data-heavy work through context-mode's sandboxed MCP tools so raw output, web pages and large files stay out of the context window.
$ npx skills add mksglu/context-mode --skill context-mode -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install mksglu/context-mode context-mode --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/mksglu/context-mode.git skills-src && mkdir -p .claude/skills && cp -r skills-src/configs/copilot-cli/skills/context-mode .claude/skills/context-mode && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "context-mode" agent skill from https://github.com/mksglu/context-mode/tree/main/configs/copilot-cli/skills/context-mode into .claude/skills/context-mode/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "context-mode", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/mksglu/context-mode/tree/main/configs/copilot-cli/skills/context-modeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add mksglu/context-mode --skill context-mode -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install mksglu/context-mode context-mode --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mksglu/context-mode.git skills-src && mkdir -p .agents/skills && cp -r skills-src/configs/copilot-cli/skills/context-mode .agents/skills/context-mode && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "context-mode" agent skill from https://github.com/mksglu/context-mode/tree/main/configs/copilot-cli/skills/context-mode into .agents/skills/context-mode/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "context-mode", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mksglu/context-mode --skill context-mode -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install mksglu/context-mode context-mode --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mksglu/context-mode.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/configs/copilot-cli/skills/context-mode .cursor/skills/context-mode && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "context-mode" agent skill from https://github.com/mksglu/context-mode/tree/main/configs/copilot-cli/skills/context-mode into .cursor/skills/context-mode/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "context-mode", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/mksglu/context-mode.git --path configs/copilot-cli/skills/context-mode--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add mksglu/context-mode --skill context-mode -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install mksglu/context-mode context-mode --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mksglu/context-mode.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/configs/copilot-cli/skills/context-mode .gemini/skills/context-mode && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "context-mode" agent skill from https://github.com/mksglu/context-mode/tree/main/configs/copilot-cli/skills/context-mode into .gemini/skills/context-mode/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "context-mode", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install mksglu/context-mode context-modeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add mksglu/context-mode --skill context-mode -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/mksglu/context-mode.git skills-src && mkdir -p .github/skills && cp -r skills-src/configs/copilot-cli/skills/context-mode .github/skills/context-mode && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "context-mode" agent skill from https://github.com/mksglu/context-mode/tree/main/configs/copilot-cli/skills/context-mode into .github/skills/context-mode/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "context-mode", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mksglu/context-mode --skill context-mode -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install mksglu/context-mode context-mode --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mksglu/context-mode.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/configs/copilot-cli/skills/context-mode .opencode/skills/context-mode && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "context-mode" agent skill from https://github.com/mksglu/context-mode/tree/main/configs/copilot-cli/skills/context-mode into .opencode/skills/context-mode/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "context-mode", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
context-modeRules for sending data-heavy work through context-mode's sandboxed MCP tools so raw output, web pages and large files stay out of the context window.
This short rule set is meant for GitHub Copilot CLI with the context-mode MCP tools installed. Its main principle is to write code for any analysis instead of reading data: to count, filter, compare, search, parse or transform, the agent runs a script through ctx_execute and prints only the answer, rather than loading raw data into the conversation.
It blocks curl and wget, inline HTTP calls made from node or python, and reading large files just to analyze them. In their place it names ctx_fetch_and_index followed by ctx_search for web content, ctx_execute_file for files, ctx_batch_execute to run several commands and search them in one call, and ctx_search with all questions batched. Artifacts are written to files and reported as a path with a one-line description.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 2a7a92a. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
nodepythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Context Mode Routing Rules loads about 425 tokens when it runs. Until then it costs about 57 tokens; SKILL.md has 175 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 175 words (~425 tokens).
“context-mode MCP tools are available in GitHub Copilot CLI. These rules protect the context window from flooding — one unrouted command can dump tens of KB into the conversation. Follow them strictly.”
Just SKILL.md in configs/copilot-cli/skills/context-mode of mksglu/context-mode.
Open the folder on GitHubat commit 2a7a92a
Context Mode Routing Rules next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Context Mode Routing Rules this skillmksglu/context-mode | 26k | — | ~425 | Automated safety check: Pass | Custom licence | |
| LemmalogJordyZomer/lemmalog | 329 | — | ~2.8k | Automated safety check: Pass | MIT | |
| Cortex Mem MCPsopaco/cortex-mem | 312 | — | ~2.8k | Automated safety check: Pass | MIT | |
| MCP Code Search Tool SelectionContext-Engine-AI/Context-Engine | 402 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Organizemcpware/cross-code-organizer | 382 | — | ~246 | Automated safety check: Notes | MIT | |
| Entroly Context Controljuyterman1000/entroly | 473 | — | ~501 | Automated safety check: Pass | Apache-2.0 |
JordyZomer/lemmalog
Externalize working memory and logical state into the lemmalog Datalog engine (MCP).
sopaco/cortex-mem
Persistent memory enhancement for AI agents. An agent skill from sopaco/cortex-mem.
Context-Engine-AI/Context-Engine
Rules for choosing Qdrant-Indexer semantic search over grep or file reads when exploring code, debugging or asking where and why questions.
mcpware/cross-code-organizer
Open the Cross-Code Organizer (CCO) dashboard — view and manage all memories, skills, MCP servers, hooks, and configs across scopes
juyterman1000/entroly
Surgically select, compress, and recover codebase context using Entroly's MCP tools.
ohmyjahh/xquads-squads
Routes a request to one of eight specialist agents covering hooks, skills, subagents, MCP integration and context engineering for Claude Code.
mksglu/context-mode
Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.
mksglu/context-mode
Routing rules for using context-mode MCP tools in Antigravity CLI: sandboxed code runs, file analysis, indexed search and web fetches that keep large output out of the conversation.
mksglu/context-mode
Runs maintenance for the context-mode project with parallel subagents: issue triage, PR review, releases, bug fixes, announcements and branch syncing.
mksglu/context-mode
Indexes a local file or project directory into context-mode's FTS5 knowledge base so later searches return focused snippets instead of rereading whole files.
mksglu/context-mode
Permanently deletes a project's or a single session's indexed context-mode knowledge base, after confirming the scope and warning what will be lost.
mksglu/context-mode
Run context-mode diagnostics. Checks runtimes, hooks, FTS5, plugin registration, npm and marketplace versions. Trigger: /context-mode:ctx-doctor
Works with
Categories
Rules for sending data-heavy work through context-mode's sandboxed MCP tools so raw output, web pages and large files stay out of the context window. This short rule set is meant for GitHub Copilot CLI with the context-mode MCP tools installed. Its main principle is to write code for any analysis instead of reading data: to count, filter, compare, search, parse or transform, the agent runs a script through ctx_execute and prints only the answer, rather than loading raw data into the conversation.
Context Mode Routing Rules fits situations like: analyzing a large log, CSV or API response without flooding the context window; fetching and searching a web page while keeping raw HTML out of the conversation; running several data-heavy shell commands in one batched call.
Run `npx skills add mksglu/context-mode --skill context-mode -a claude-code`. Or copy the skill folder (configs/copilot-cli/skills/context-mode in mksglu/context-mode) into .claude/skills/context-mode in your project. Claude Code loads it when a task matches its description.
Run `npx skills add mksglu/context-mode --skill context-mode -a codex`. Or copy the skill folder (configs/copilot-cli/skills/context-mode in mksglu/context-mode) into .agents/skills/context-mode in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mksglu/context-mode --skill context-mode -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/context-mode, .gemini/skills/context-mode, .github/skills/context-mode and .opencode/skills/context-mode in your project.
Going by SKILL.md and its folder, Context Mode Routing Rules needs the command-line tools its instructions call (node and python). Our summary lists: The context-mode MCP server and its ctx tools; GitHub Copilot CLI.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Context Mode Routing Rules has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 425 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Context Mode Routing Rules: Lemmalog (JordyZomer/lemmalog, 329 stars), Cortex Mem MCP (sopaco/cortex-mem, 312 stars), MCP Code Search Tool Selection (Context-Engine-AI/Context-Engine, 402 stars) and Organize (mcpware/cross-code-organizer, 382 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
mksglu (a GitHub user) maintains it in mksglu/context-mode, which has 25,647 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 7, 2026.
Source: mksglu/context-mode on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.