Context Doctor
jzOcb/context-doctor
Visualize and diagnose OpenClaw context window usage. An agent skill from jzOcb/context-doctor.
“Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.”
$ npx skills add diegosouzapw/OmniRoute --skill cli-contexts -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install diegosouzapw/OmniRoute cli-contexts --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/diegosouzapw/OmniRoute.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cli-contexts .claude/skills/cli-contexts && 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 "cli-contexts" agent skill from https://github.com/diegosouzapw/OmniRoute/tree/release%2Fv3.8.52/skills/cli-contexts into .claude/skills/cli-contexts/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cli-contexts", 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/diegosouzapw/OmniRoute/tree/release%2Fv3.8.52/skills/cli-contextsType 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 diegosouzapw/OmniRoute --skill cli-contexts -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install diegosouzapw/OmniRoute cli-contexts --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/OmniRoute.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/cli-contexts .agents/skills/cli-contexts && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cli-contexts" agent skill from https://github.com/diegosouzapw/OmniRoute/tree/release%2Fv3.8.52/skills/cli-contexts into .agents/skills/cli-contexts/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cli-contexts", 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 diegosouzapw/OmniRoute --skill cli-contexts -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install diegosouzapw/OmniRoute cli-contexts --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/OmniRoute.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/cli-contexts .cursor/skills/cli-contexts && 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 "cli-contexts" agent skill from https://github.com/diegosouzapw/OmniRoute/tree/release%2Fv3.8.52/skills/cli-contexts into .cursor/skills/cli-contexts/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cli-contexts", 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/diegosouzapw/OmniRoute.git --path skills/cli-contexts--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 diegosouzapw/OmniRoute --skill cli-contexts -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install diegosouzapw/OmniRoute cli-contexts --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/OmniRoute.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/cli-contexts .gemini/skills/cli-contexts && 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 "cli-contexts" agent skill from https://github.com/diegosouzapw/OmniRoute/tree/release%2Fv3.8.52/skills/cli-contexts into .gemini/skills/cli-contexts/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cli-contexts", 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 diegosouzapw/OmniRoute cli-contextsInstalls 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 diegosouzapw/OmniRoute --skill cli-contexts -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/diegosouzapw/OmniRoute.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/cli-contexts .github/skills/cli-contexts && 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 "cli-contexts" agent skill from https://github.com/diegosouzapw/OmniRoute/tree/release%2Fv3.8.52/skills/cli-contexts into .github/skills/cli-contexts/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cli-contexts", 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 diegosouzapw/OmniRoute --skill cli-contexts -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install diegosouzapw/OmniRoute cli-contexts --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/OmniRoute.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/cli-contexts .opencode/skills/cli-contexts && 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 "cli-contexts" agent skill from https://github.com/diegosouzapw/OmniRoute/tree/release%2Fv3.8.52/skills/cli-contexts into .opencode/skills/cli-contexts/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cli-contexts", 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.
cli-contextsOmniRoute Context CLI is a skill in diegosouzapw/OmniRoute (74k stars). Its SKILL.md is about 1.2k tokens. Licence: MIT.
Read from SKILL.md and the folder at commit 8ad6b1c. 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:
npmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.
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.
OmniRoute Context CLI loads about 1.2k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 258 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.
The full file from diegosouzapw/OmniRoute at commit 8ad6b1c, republished under its MIT licence (© diegosouzapw). 258 words, ~1,167 tokens.
.claude/skills/cli-contexts/SKILL.md (or your agent's skills folder).<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->
Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.
npm install -g omniroute # or: npx omniroute
omniroute --versioncontext-engExample:
omniroute context-engcontext-eng analyticsFlags:
--period <p>Example:
omniroute context-eng analyticscontext-eng cavemanExample:
omniroute context-eng cavemancontext-eng configExample:
omniroute context-eng configcontext-eng showExample:
omniroute context-eng showcontext-eng setFlags:
--aggressiveness <n>--max-shrink-pct <n>--preserve-tags <list>Example:
omniroute context-eng setcontext-eng rtkExample:
omniroute context-eng rtkcontext-eng configExample:
omniroute context-eng configcontext-eng showExample:
omniroute context-eng showcontext-eng setFlags:
--token-budget <n>--reserve-pct <n>Example:
omniroute context-eng setcontext-eng filtersExample:
omniroute context-eng filterscontext-eng listExample:
omniroute context-eng listcontext-eng addFlags:
--pattern <p>--priority <n>--action <a>Example:
omniroute context-eng addcontext-eng remove <id>Flags:
--yesExample:
omniroute context-eng remove <id>context-eng testFlags:
--file <path>Example:
omniroute context-eng testcontext-eng raw-output <id>Example:
omniroute context-eng raw-output <id>context-eng combosExample:
omniroute context-eng comboscontext-eng listExample:
omniroute context-eng listcontext-eng get <id>Example:
omniroute context-eng get <id>context-eng assignments <id>Example:
omniroute context-eng assignments <id>contextsExample:
omniroute contextscontexts listList all contexts
Example:
omniroute contexts listcontexts add <name>Add a new context
Flags:
--url <u>--api-key <k>--api-key-stdin--access-token <t>--access-token-stdin--scope <s>--description <d>Example:
omniroute contexts add <name>contexts use <name>Switch active context
Example:
omniroute contexts use <name>contexts currentShow the active context (server, auth, scope)
Flags:
--name-onlyExample:
omniroute contexts currentcontexts show <name>Show context details
Example:
omniroute contexts show <name>contexts remove <name>Remove a context
Flags:
--yesExample:
omniroute contexts remove <name>contexts rename <old> <new>Rename a context
Example:
omniroute contexts rename <old> <new>contexts exportExport contexts to JSON
Flags:
--out <path>--no-secrets--include-secretsExample:
omniroute contexts exportcontexts import <file>Import contexts from a JSON file
Flags:
--mergeExample:
omniroute contexts import <file>contexts migrateMove legacy plaintext context credentials to the OS keychain
Flags:
--yesExample:
omniroute contexts migratesessionsExample:
omniroute sessionssessions listFlags:
--user <u>--kind <k>--active--limit <n>Example:
omniroute sessions listsessions show <sessionId>Example:
omniroute sessions show <sessionId>sessions expire <sessionId>Flags:
--yesExample:
omniroute sessions expire <sessionId>sessions expire-allFlags:
--user <u>--yesExample:
omniroute sessions expire-allsessions currentExample:
omniroute sessions current© diegosouzapw, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/cli-contexts of diegosouzapw/OmniRoute.
Open the folder on GitHubat commit 8ad6b1c
OmniRoute Context CLI 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 |
|---|---|---|---|---|---|---|
| OmniRoute Context CLI this skilldiegosouzapw/OmniRoute | 74k | — | ~1.2k | Automated safety check: Pass | MIT | |
| Context DoctorjzOcb/context-doctor | 119 | — | ~642 | Automated safety check: Pass | MIT | |
| Caveman Learn Token FixesJuliusBrussee/caveman | 110k | — | ~2.8k | Automated safety check: Pass | Apache-2.0 | |
| Subagent Brief DisciplineLichAmnesia/lich-skills | 234 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Compact Guidejh941213/my-cc-harness | 126 | — | ~621 | Automated safety check: Pass | None | |
| Omh Context Budget Reviewrlaope/oh-my-hermes | 3.2k | — | ~2k | Automated safety check: Pass | MIT |
jzOcb/context-doctor
Visualize and diagnose OpenClaw context window usage. An agent skill from jzOcb/context-doctor.
JuliusBrussee/caveman
Acts on a Caveman learn report: reviews ranked token sinks, applies cost-lowering edits one at a time with your consent, and reports what each fix returned.
LichAmnesia/lich-skills
Checks every subagent prompt before spawning, swapping pasted files and context for paths and short summaries and trimming the brief, to avoid multiplied token cost.
jh941213/my-cc-harness
Context window management and token optimization guide. An agent skill from jh941213/my-cc-harness.
rlaope/oh-my-hermes
[omh] Context window or token budget at risk: plan compact context, token/cost budgets, summarization checkpoints, and overflow recovery before long agent work.
borghei/Claude-Skills
Context management engine for AI coding agents. An agent skill from borghei/Claude-Skills.
diegosouzapw/OmniRoute
Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.
diegosouzapw/OmniRoute
Read and update global application settings: system prompts, thinking budget, IP filters, payload rules, combo defaults, and require-login configuration.
diegosouzapw/OmniRoute
Runs a scoped, read-only quality scan on a repository candidate and reports exact evidence, failures and frozen debt, without treating a static scan as release acceptance.
diegosouzapw/OmniRoute
Trigger system backups, restore from backup files, and manage the SQLite database lifecycle. Supports export, import, and incremental snapshot strategies.
diegosouzapw/OmniRoute
Manages AI provider connections, API keys, OAuth flows and connection tests through OmniRoute's REST API across its 327-provider catalog.
diegosouzapw/OmniRoute
Documents OmniRoute's cache endpoints for reading cache statistics and clearing entries, statistics or the reasoning cache, with notes on TTL and similarity settings.
Categories
Run `npx skills add diegosouzapw/OmniRoute --skill cli-contexts -a claude-code`. Or copy the skill folder (skills/cli-contexts in diegosouzapw/OmniRoute) into .claude/skills/cli-contexts in your project. Claude Code loads it when a task matches its description.
Run `npx skills add diegosouzapw/OmniRoute --skill cli-contexts -a codex`. Or copy the skill folder (skills/cli-contexts in diegosouzapw/OmniRoute) into .agents/skills/cli-contexts 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 diegosouzapw/OmniRoute --skill cli-contexts -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cli-contexts, .gemini/skills/cli-contexts, .github/skills/cli-contexts and .opencode/skills/cli-contexts in your project.
Going by SKILL.md and its folder, OmniRoute Context CLI needs the command-line tools its instructions call (npm).
SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. 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.
OmniRoute Context CLI is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.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 OmniRoute Context CLI: Context Doctor (jzOcb/context-doctor, 119 stars), Caveman Learn Token Fixes (JuliusBrussee/caveman, 110k stars), Subagent Brief Discipline (LichAmnesia/lich-skills, 234 stars) and Compact Guide (jh941213/my-cc-harness, 126 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
diegosouzapw (a GitHub user) maintains it in diegosouzapw/OmniRoute, which has 73,701 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on October 6, 2026.
Source: diegosouzapw/OmniRoute on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.