CLI Routing
Agent Buildingcli-routingCLI Routing is an Agent Skill for agent building published in the diegosouzapw/OmniRoute repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Create, list, update, and delete routing combos from the CLI. Test routing strategies, inspect combo metrics, and configure fallback chains interactively.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/diegosouzapw/OmniRoute/blob/HEAD/skills/cli-routing/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cli-routing, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Overview
Create, list, update, and delete routing combos from the CLI. Test routing strategies, inspect combo metrics, and configure fallback chains interactively.
Quick install
npm install -g omniroute # or: npx omniroute
omniroute --version
Subcommands
suggest
Flags:
--max-cost <usd>--max-latency-ms <ms>--weights <json>--top <n>--explain--switch
Example:
omniroute suggest
combo combo
Example:
omniroute combo combo
combo list
List configured routing combos
Flags:
--json
Example:
omniroute combo list
combo switch <name>
Activate a routing combo
Example:
omniroute combo switch <name>
combo create <name>
Create a new routing combo
Example:
omniroute combo create <name>
combo delete <name>
Delete a routing combo
Flags:
--yes
Example:
omniroute combo delete <name>