Agent skill

OmniRoute Context CLI

by diegosouzapw in diegosouzapw/OmniRoute

“Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.”

— description from SKILL.md by diegosouzapw
MITAuto-check passedAgent Workflows

Install OmniRoute Context CLI

skills CLI
$ npx skills add diegosouzapw/OmniRoute --skill cli-contexts -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install diegosouzapw/OmniRoute cli-contexts --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ 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-src

Use ~/.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/

Facts

Skill name
cli-contexts
GitHub stars
74k
Token cost
~1.2k tokens
SKILL.md length
258 words
Files
1
Skills in repo
50
Repo updated
First seen
Licence
MIT

At a glance

  • SKILL.md covers Overview, Quick install and Subcommands
  • Calls npm

About this skill

OmniRoute Context CLI is a skill in diegosouzapw/OmniRoute (74k stars). Its SKILL.md is about 1.2k tokens. Licence: MIT.

What it can do on your machine

Read from SKILL.md and the folder at commit 8ad6b1c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    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.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

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.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from diegosouzapw/OmniRoute at commit 8ad6b1c, republished under its MIT licence (© diegosouzapw). 258 words, ~1,167 tokens.

Download SKILL.mdSave it as .claude/skills/cli-contexts/SKILL.md (or your agent's skills folder).
name
cli-contexts
description
Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

Overview

Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.

Quick install

bash
npm install -g omniroute   # or: npx omniroute
omniroute --version

Subcommands

context-eng

Example:

bash
omniroute context-eng
context-eng analytics

Flags:

  • --period <p>

Example:

bash
omniroute context-eng analytics
context-eng caveman

Example:

bash
omniroute context-eng caveman
context-eng config

Example:

bash
omniroute context-eng config
context-eng show

Example:

bash
omniroute context-eng show
context-eng set

Flags:

  • --aggressiveness <n>
  • --max-shrink-pct <n>
  • --preserve-tags <list>

Example:

bash
omniroute context-eng set
context-eng rtk

Example:

bash
omniroute context-eng rtk
context-eng config

Example:

bash
omniroute context-eng config
context-eng show

Example:

bash
omniroute context-eng show
context-eng set

Flags:

  • --token-budget <n>
  • --reserve-pct <n>

Example:

bash
omniroute context-eng set
context-eng filters

Example:

bash
omniroute context-eng filters
context-eng list

Example:

bash
omniroute context-eng list
context-eng add

Flags:

  • --pattern <p>
  • --priority <n>
  • --action <a>

Example:

bash
omniroute context-eng add
context-eng remove <id>

Flags:

  • --yes

Example:

bash
omniroute context-eng remove <id>
context-eng test

Flags:

  • --file <path>

Example:

bash
omniroute context-eng test
context-eng raw-output <id>

Example:

bash
omniroute context-eng raw-output <id>
context-eng combos

Example:

bash
omniroute context-eng combos
context-eng list

Example:

bash
omniroute context-eng list
context-eng get <id>

Example:

bash
omniroute context-eng get <id>
context-eng assignments <id>

Example:

bash
omniroute context-eng assignments <id>
contexts

Example:

bash
omniroute contexts
contexts list

List all contexts

Example:

bash
omniroute contexts list
contexts 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:

bash
omniroute contexts add <name>
contexts use <name>

Switch active context

Example:

bash
omniroute contexts use <name>
contexts current

Show the active context (server, auth, scope)

Flags:

  • --name-only

Example:

bash
omniroute contexts current
contexts show <name>

Show context details

Example:

bash
omniroute contexts show <name>
contexts remove <name>

Remove a context

Flags:

  • --yes

Example:

bash
omniroute contexts remove <name>
contexts rename <old> <new>

Rename a context

Example:

bash
omniroute contexts rename <old> <new>
contexts export

Export contexts to JSON

Flags:

  • --out <path>
  • --no-secrets
  • --include-secrets

Example:

bash
omniroute contexts export
contexts import <file>

Import contexts from a JSON file

Flags:

  • --merge

Example:

bash
omniroute contexts import <file>
contexts migrate

Move legacy plaintext context credentials to the OS keychain

Flags:

  • --yes

Example:

bash
omniroute contexts migrate
sessions

Example:

bash
omniroute sessions
sessions list

Flags:

  • --user <u>
  • --kind <k>
  • --active
  • --limit <n>

Example:

bash
omniroute sessions list
sessions show <sessionId>

Example:

bash
omniroute sessions show <sessionId>
sessions expire <sessionId>

Flags:

  • --yes

Example:

bash
omniroute sessions expire <sessionId>
sessions expire-all

Flags:

  • --user <u>
  • --yes

Example:

bash
omniroute sessions expire-all
sessions current

Example:

bash
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

Files

Just SKILL.md in skills/cli-contexts of diegosouzapw/OmniRoute.

Open the folder on GitHubat commit 8ad6b1c

Compare with similar skills

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.

OmniRoute Context CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
OmniRoute Context CLI this skilldiegosouzapw/OmniRoute74k—~1.2kAutomated safety check: PassMIT
Context DoctorjzOcb/context-doctor119—~642Automated safety check: PassMIT
Caveman Learn Token FixesJuliusBrussee/caveman110k—~2.8kAutomated safety check: PassApache-2.0
Subagent Brief DisciplineLichAmnesia/lich-skills234—~1.6kAutomated safety check: PassMIT
Compact Guidejh941213/my-cc-harness126—~621Automated safety check: PassNone
Omh Context Budget Reviewrlaope/oh-my-hermes3.2k—~2kAutomated safety check: PassMIT

Similar skills

  • Context Doctor

    jzOcb/context-doctor

    Visualize and diagnose OpenClaw context window usage. An agent skill from jzOcb/context-doctor.

    119 GitHub stars~642 tokensUpdated 6 mo ago
    Agent WorkflowsAuto-check passed
  • Caveman Learn Token Fixes

    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.

    110k GitHub stars~2.8k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Subagent Brief Discipline

    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.

    234 GitHub stars~1.6k tokensUpdated 3 mo ago
    Agent WorkflowsAuto-check passed
  • Compact Guide

    jh941213/my-cc-harness

    Context window management and token optimization guide. An agent skill from jh941213/my-cc-harness.

    126 GitHub stars~621 tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed
  • Omh Context Budget Review

    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.

    3.2k GitHub stars~2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Context Engine

    borghei/Claude-Skills

    Context management engine for AI coding agents. An agent skill from borghei/Claude-Skills.

    874 GitHub stars~2.2k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from diegosouzapw/OmniRoute

All 50 skills in this repo
  • OmniRoute Backup and Sync CLI

    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.

    74k GitHub stars~948 tokensUpdated today
    Auto-check passed
  • OmniRoute Settings API

    diegosouzapw/OmniRoute

    Read and update global application settings: system prompts, thinking budget, IP filters, payload rules, combo defaults, and require-login configuration.

    74k GitHub starsUsed in 1 repo~3.6k tokens
    Auto-check passed
  • Quality Scan

    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.

    74k GitHub stars~748 tokensUpdated today
    Auto-check passed
  • OmniRoute Database Backups

    diegosouzapw/OmniRoute

    Trigger system backups, restore from backup files, and manage the SQLite database lifecycle. Supports export, import, and incremental snapshot strategies.

    74k GitHub starsUsed in 1 repo~395 tokens
    Auto-check passed
  • OmniRoute Provider Management

    diegosouzapw/OmniRoute

    Manages AI provider connections, API keys, OAuth flows and connection tests through OmniRoute's REST API across its 327-provider catalog.

    74k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • OmniRoute LLM Cache

    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.

    74k GitHub starsUsed in 1 repo~529 tokens
    Auto-check passed

Questions about OmniRoute Context CLI

How do I install OmniRoute Context CLI in Claude Code?

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.

How do I install OmniRoute Context CLI in Codex?

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.

Can I use OmniRoute Context CLI in Cursor, Gemini CLI or GitHub Copilot?

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.

What does OmniRoute Context CLI need to run?

Going by SKILL.md and its folder, OmniRoute Context CLI needs the command-line tools its instructions call (npm).

Does OmniRoute Context CLI access the network?

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.

Is OmniRoute Context CLI safe to install?

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.

What licence does OmniRoute Context CLI use?

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.

How many tokens does OmniRoute Context CLI use?

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.

What are the alternatives to OmniRoute Context CLI?

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.

Who maintains OmniRoute Context CLI?

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.