cli-serve
Skill73k starsChanged 2 months agoMITView on GitHub
Start, stop, and restart the OmniRoute server from the CLI. Manage daemon mode, port configuration, auto-recovery, system tray integration, and the dashboard open shortcut.
- Reads credentials
- Installs packages
1 other project uses a version of this, 1 of them edited.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- samad11111/claude-codeedited, first seen May 14, 2026
Who's talking about diegosouzapw/OmniRoute
- cheaper-inference/OmniRoute“[BUG] OpenCode free provider returns 403 for all API requests through OmniRoute”GitHub · Sep 17, 2026 · 9 reactions
- @midu.dev“Un proyecto para tener IA gratuita. OmniRoute agrupa en un solo endpoint todos los servicios con free tier. …”Bluesky · Jul 20, 2026 · 6 likes
- cheaper-inference/OmniRoute“Release v3.8.2”GitHub · May 21, 2026 · 5 reactions
- @github-trending-js.bsky.social“🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 37,427 (+885) 🗒 TypeScript Never stop …”Bluesky · Aug 3, 2026 · 4 likes
- 0xzapata/omniroute“fix(codex): support GPT-5.6 Responses Lite”GitHub · Jul 11, 2026 · 4 reactions
The biggest 5 of 54 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 54
Talked about on Bluesky and GitHub (54 times).
On Bluesky · 29
- Jul 20, 2026Un proyecto para tener IA gratuita. OmniRoute agrupa en un solo endpoint todos los servicios con free tier. ✓ Funciona en Claude Code,… — @midu.dev6 likes and reposts
- Aug 3, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 37,427 (+885) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending-js.bsky.social4 likes and reposts · 1 reply
- Sep 10, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 63,824 (+591) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending.bsky.social2 likes and reposts · 1 reply
- Jul 24, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 28,227 (+1,843) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending.bsky.social2 likes and reposts · 1 reply
- Jul 20, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 20,715 (+1,343) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending.bsky.social2 likes and reposts · 1 reply
24 more on Bluesky
- May 8, 2026📦 diegosouzapw / OmniRoute ⭐ 4,091 (+73) 🗒 TypeScript Never stop coding. Free AI gateway: one endpoint, 160+ providers, RTK+Caveman… — @github-trending-js.bsky.social2 likes and reposts
- Oct 25, 2026One local endpoint, 375 AI providers, auto-fallback when quotas run out, and it works with Claude Code and Cursor. 🔗… — @prosperflowio.bsky.social1 likes and repost
- Oct 18, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 77,915 (+411) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Oct 1, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 71,914 (+332) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending-js.bsky.social1 likes and repost
- Sep 10, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 63,825 (+591) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Sep 10, 2026For us programmers, vibe-coders, and students who were into the “meet #ClaudeCode and say goodbye to the rest of your life” meme a year… — @snakeb.bsky.social1 likes and repost
- Aug 26, 2026I just starred diegosouzapw/OmniRoute on GitHub: https://github.com/diegosouzapw/OmniRoute — @chiefgyk3d.com1 likes and repost
- Aug 17, 2026OmniRoute A free, MIT-licensed AI gateway that gives you one endpoint for 340 providers and more than 1,200 models. It supports Claude… — @githubprojects.bsky.social1 likes and repost · 1 reply
- Aug 9, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 43,820 (+852) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jul 23, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 26,266 (+1,925) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jul 20, 2026📈 Today's GitHub Trending: 1. https://github.com/tirth8205/code-review-graph - Python, 1876 stars today 2.… — @ghtrend.newsmast.social.ap.brid.gy1 likes and repost · 1 reply
- Jul 19, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 19,634 (+1,007) 🗒 TypeScript Never stop coding. Free AI gateway: one… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jul 6, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 12,394 (+764) 🗒 TypeScript Never stop coding. Free AI gateway: one… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jul 3, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 10,067 (+915) 🗒 TypeScript Never stop coding. Free AI gateway: one… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jul 2, 2026200以上のAIプロバイダーを統合してトークンコストを最適化するAIゲートウェイツールらしい API制限を回避しつつ賢くモデルを切り替えられるので開発効率化に使えそう yug1224 starred diegosouzapw/OmniRoute… — @yug1224.com1 likes and repost
- Jul 1, 2026one endpoint, 231 providers, 50+ of them free. omniroute is a free ai gateway wiring claude code, cursor and codex into free models, with… — @epicvibecoder.bsky.social1 likes and repost
- Jun 17, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 6,340 (+135) 🗒 TypeScript Never stop coding. Free AI gateway: one endpoint,… — @github-trending-js.bsky.social1 likes and repost
- May 20, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 4,925 (+122) 🗒 TypeScript Never stop coding. Free AI gateway: one endpoint,… — @github-trending-js.bsky.social1 likes and repost
- Apr 14, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 2,736 (+155) 🗒 TypeScript OmniRoute is an AI gateway for multi-provider… — @github-trending-js.bsky.social1 likes and repost
- Sep 2, 2026Claude for reasoning, Gemini for context, DeepSeek for cheaper tasks, Grok when freshness matters. the agent does not need to be locked to… — @garrytan-mir-rt.selfhosted.social0 likes and reposts · 1 reply
- Aug 26, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 55,731 (+976) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Aug 22, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 52,669 (+769) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Jul 3, 2026AI news - Jul 3, 2026 1. Anthropic expands Claude Managed Agents with observability and webhooks LINK 2. OmniRoute Open-Source Gateway… — @hackobar.bsky.social0 likes and reposts · 1 reply
- Jun 30, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 8,099 (+617) 🗒 TypeScript Never stop coding. Free AI gateway: one… — @github-trending.bsky.social0 likes and reposts · 1 reply
On GitHub · 25
- Sep 17, 2026[BUG] OpenCode free provider returns 403 for all API requests through OmniRoute — cheaper-inference/OmniRoute9 reactions · 37 comments
- May 21, 2026Release v3.8.2 — cheaper-inference/OmniRoute5 reactions · 21 comments
- Jul 11, 2026fix(codex): support GPT-5.6 Responses Lite — 0xzapata/omniroute4 reactions · 4 comments
- Jun 10, 2026Release v3.8.21 — cheaper-inference/OmniRoute4 reactions · 2 comments
- Jun 8, 2026fix(catalog): make combos auto-compute context_length for any provider id form — cheaper-inference/OmniRoute3 reactions · 3 comments
20 more on GitHub
- Jun 3, 2026Remove duplicate lowercase db-apikeys-crud.test.ts from tracking — cheaper-inference/OmniRoute3 reactions · 2 comments
- May 30, 2026fix(skills): avoid Claude assistant tool_result blocks — cheaper-inference/OmniRoute3 reactions · 1 comment
- May 28, 2026fix(gitlawb): add specialty validators for connection test — bypass /models probe — cheaper-inference/OmniRoute3 reactions · 2 comments
- May 27, 2026ci: build Docker platforms on native runners — cheaper-inference/OmniRoute3 reactions · 3 comments
- May 20, 2026Kiro: 400 'Improperly formed request' on any turn carrying tool_result (translator bug) — cheaper-inference/OmniRoute3 reactions · 3 comments
- May 20, 2026Release v3.8.1 — cheaper-inference/OmniRoute3 reactions · 2 comments
- May 17, 2026[Feature] Preserve Claude Code /v1/messages payload semantics — cheaper-inference/OmniRoute3 reactions · 1 comment
- May 14, 2026node dependency updates — cheaper-inference/OmniRoute3 reactions · 3 comments
- Apr 21, 2026fix: deduplicate case-variant anthropic-version header in Claude Code patch — cheaper-inference/OmniRoute3 reactions
- Apr 16, 2026docs: fix outdated Node 24 warnings in TROUBLESHOOTING.md — cheaper-inference/OmniRoute3 reactions · 2 comments
- Mar 28, 2026fix(core): stream field sent as object instead of boolean in claude passthrough — cheaper-inference/OmniRoute3 reactions · 2 comments
- Oct 11, 2026fix(providers): OpenCode Free Tier 403 Errors When Used Standalone (without OpenCode CLI) — cheaper-inference/OmniRoute2 reactions · 20 comments
- Jul 30, 2026question: Meta AI WebSocket — cookie must include an ecto1 auth token — cheaper-inference/OmniRoute2 reactions · 6 comments
- Apr 20, 2026[BUG] API keys fail and Token expired and refresh failed — cheaper-inference/OmniRoute2 reactions · 3 comments
- Oct 9, 2026Codex compaction through Magpie fails with 502 "response protection is unavailable" when the history contains web_search_call — yetone/magpie-releases1 reaction · 1 comment
- Sep 21, 2026Deepseek web not available? — quangdang46/openproxy1 reaction · 1 comment
- Sep 17, 2026is there any way to bypass OpenCode's free tier can only be used from within OpenCode ? — Alishahryar1/free-claude-code1 reaction · 3 comments
- Sep 15, 2026[BUG] Combos fail with "[503] Service temporarily unavailable: all targets were skipped by pre-dispatch filters" — cheaper-inference/OmniRoute1 reaction · 3 comments
- Aug 1, 2026Feature request: add OmniRoute as a built-in OpenAI-compatible provider profile — 1jehuang/jcode1 reaction · 3 comments
- Jul 1, 2026add a wrapper for omniroute — julesdg6/Broccoli-Unraid-Wrappers1 reaction
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- samad11111/claude-code★ 1100% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- cli-a2aSkill
- cli-backup-syncSkill
- cli-batchesSkill
- cli-chatSkill
- cli-compressionSkill
- cli-contextsSkill
- cli-cost-usageSkill
- cli-evalSkill
- cli-healthSkill
- cli-keysSkill
- cli-mcpSkill
- cli-modelsSkill
- cli-plugins-skillsSkill
- cli-policy-auditSkill
- cli-providersSkill
- cli-resilienceSkill
- cli-routingSkill
- cli-setupSkill
- cli-skill-collectorSkill
- cli-tunnelSkill
- config-codex-cliSkill
- omni-agents-a2aSkill
- omni-api-keysSkill
- omni-authSkill
- omni-budgetSkill
- omni-cacheSkill
- omni-cli-toolsSkill
- omni-combos-routingSkill
- omni-compressionSkill
- omni-context-rtkSkill
- omni-db-backupsSkill
- omni-github-skillsSkill
- omni-inferenceSkill
- omni-mcpSkill
- omni-modelsSkill
- omni-providersSkill
- omni-proxiesSkill
- omni-resilienceSkill
- omni-settingsSkill
- omni-sync-cloudSkill
- omni-tunnelsSkill
- omni-usage-logsSkill
- omni-version-managerSkill
- omni-webhooksSkill
- ponytailSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Start, stop, and restart the OmniRoute server from the CLI.
- Distinctive: line 101
Every CLI command that talks to the server reads two values:
- Very specific: line 108
Default base URL: http://localhost:20128
- Very specific: line 137
All listing commands support --output:
- Very specific: line 293
Use reset-encrypted-columns --force only if STORAGE_ENCRYPTION_KEY was lost and you need to re-enter all provider API keys.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->Overview
Start, stop, and restart the OmniRoute server from the CLI. Manage daemon mode, port configuration, auto-recovery, system tray integration, and the dashboard open shortcut.
Quick install
npm install -g omniroute # or: npx omniroute
omniroute --versionSubcommands
dashboard
Flags:
--url--port <port>--tui
Example:
omniroute dashboardrestart
Flags:
--port <port>
Example:
omniroute restartserve
Flags:
--port <port>--no-open--daemon--log--no-recovery--max-restarts <n>--tray--no-tray--ready-timeout <ms>--tls-cert <path>--tls-key <path>
Example:
omniroute servestop
Example:
omniroute stop<!-- skill:custom-start --><!-- Aggregated from: omniroute-cli (setup + index), omniroute-cli-admin (lifecycle/setup/backup/tunnel) -->Setup
The omniroute binary ships with the OmniRoute server. It is both the server launcher and a full management CLI with 250+ commands across 39 groups.
Install
npm install -g omniroute # npm registry
# or: use the binary bundled with the desktop appRequires Node.js ≥22.22.2 or ≥24.
Verify:
omniroute --version # prints installed version
omniroute --help # full command treeConnection
Every CLI command that talks to the server reads two values:
| Source | Variable / Flag |
| Base URL | OMNIROUTE_BASE_URL or --base-url |
| API key | OMNIROUTE_API_KEY or --api-key |
Default base URL: http://localhost:20128
export OMNIROUTE_BASE_URL="http://localhost:20128"
export OMNIROUTE_API_KEY="sk-..." # from Dashboard → API ManagerFor a remote server:
export OMNIROUTE_BASE_URL="https://your-server.com"Global flags
| Flag | Description |
--base-url <url> | Override server URL for this invocation |
--api-key <key> | Override API key for this invocation |
--output <format> | Output format: table (default), json, jsonl, csv |
--json | Shorthand for --output json |
--non-interactive | Disable prompts — for CI / shell scripts |
--no-open | Don't auto-open the browser on start |
--port <n> | Override default port 20128 |
--help, -h | Show help for the current command |
--version, -v | Print the installed version |
Output formats
All listing commands support --output:
omniroute combo list # human-readable table
omniroute combo list --output json # JSON array
omniroute combo list --output jsonl # one JSON object per line
omniroute combo list --output csv # CSV with header rowQuick start: one-shot server + provider setup
# 1. Start server
omniroute
# 2. (First run) interactive setup wizard
omniroute setup
# 3. Verify everything is healthy
omniroute doctorCLI capability skills
| Capability | Skill |
| Server admin + backup | https://raw.githubusercontent.com/diegosouzapw/OmniRoute/main/skills/omniroute-cli-admin/SKILL.md |
| Provider & key management | https://raw.githubusercontent.com/diegosouzapw/OmniRoute/main/skills/omniroute-cli-providers/SKILL.md |
| Cloud agents (Codex / Devin / Jules) | https://raw.githubusercontent.com/diegosouzapw/OmniRoute/main/skills/omniroute-cli-cloud/SKILL.md |
| Evals & benchmarking | https://raw.githubusercontent.com/diegosouzapw/OmniRoute/main/skills/omniroute-cli-eval/SKILL.md |
Errors
Connection refused→ server not running; runomnirouteoromniroute serve401 Unauthorized→ wrong or missing API keycommand not found: omniroute→ not in PATH; checknpm root -gor re-installdoctorreports SQLite incompatible →npm rebuild better-sqlite3in the app directory
Admin lifecycle
Requires the omniroute CLI. See CLI entry-point skill for install + global flags.
Server lifecycle
omniroute # Start server (default port 20128)
omniroute serve # Explicit alias
omniroute --port 3000 # Override port
omniroute --no-open # Don't auto-open browser
omniroute --mcp # Start as MCP server (stdio transport)
omniroute stop # Stop the running server
omniroute restart # Restart the server
omniroute dashboard # Open dashboard in browser
omniroute open # Alias for dashboard
omniroute status # Runtime status (uptime, requests, providers)Setup & provisioning
Interactive wizard
omniroute setup # Step-by-step interactive setupNon-interactive (CI / Docker)
omniroute setup --non-interactive \
--password 'admin-password' \
--add-provider \
--provider openai \
--api-key 'sk-...' \
--test-providerEnvironment variables for non-interactive setup:
| Variable | Purpose |
OMNIROUTE_SETUP_PASSWORD | Admin password (≥8 chars) |
OMNIROUTE_PROVIDER | Provider id (e.g. openai, anthropic) |
OMNIROUTE_PROVIDER_NAME | Display name for the connection |
OMNIROUTE_PROVIDER_BASE_URL | Optional OpenAI-compatible base URL override |
OMNIROUTE_API_KEY | Provider API key |
OMNIROUTE_DEFAULT_MODEL | Optional default model |
DATA_DIR | Override OmniRoute data directory |
Diagnostics
omniroute doctor # Full health check
omniroute doctor --json # Machine-readable JSON
omniroute doctor --no-liveness # Skip HTTP health probe
omniroute doctor --host 0.0.0.0 # Override liveness host
omniroute doctor --liveness-url <url> # Full URL overrideChecks performed: Config, Database, Storage/encryption, Port, Node runtime, Native binary (better-sqlite3), Memory, Server liveness.
Exit code is non-zero if any check fails — useful in CI:
omniroute doctor --json | jq '.checks[] | select(.status=="fail")'Backup & restore
omniroute backup # Snapshot config + SQLite DB to ~/.omniroute/backups/
omniroute restore # Restore from a previous snapshot (interactive picker)Autostart (system tray / startup)
omniroute autostart enable # Register OmniRoute as a system startup item
omniroute autostart disable # Remove startup registration
omniroute autostart status # Show current autostart stateOn Linux: creates a systemd user service (~/.config/systemd/user/omniroute.service) and enables linger so the service can start after reboot without a graphical login; on desktop sessions it also adds an XDG autostart entry with --tray. On macOS: LaunchAgent plist. On Windows: registry startup entry.
Tunnels (public URL)
Expose a local OmniRoute instance via a secure tunnel:
omniroute tunnel list # List active tunnels
omniroute tunnel create cloudflare # Start a Cloudflare Tunnel (free)
omniroute tunnel create tailscale # Start a Tailscale funnel
omniroute tunnel create ngrok # Start an ngrok tunnel
omniroute tunnel stop <id> # Stop a running tunnelThe tunnel URL is printed and can be used as OMNIROUTE_BASE_URL from remote machines.
Config & environment
omniroute config show # Display current effective configuration
omniroute env show # List all OmniRoute environment variables
omniroute env get <KEY> # Get a single env var value
omniroute env set <KEY> <value> # Set an env var (temporary — until restart)Recovery
omniroute reset-password # Reset the admin password interactively
omniroute reset-encrypted-columns # Dry-run: show encrypted credential columns
omniroute reset-encrypted-columns --force # Null out encrypted credentials in SQLiteUse reset-encrypted-columns --force only if STORAGE_ENCRYPTION_KEY was lost and you need to re-enter all provider API keys.
Logs
omniroute logs # Stream live request logs
omniroute logs --json # JSON log entries
omniroute logs --search <term> # Filter by term
omniroute logs --follow # Tail mode (keep streaming)Update
omniroute update # Check for a newer version and prompt to updateErrors
doctorshowsSTORAGE_ENCRYPTION_KEY missing→ set the key in.envor runreset-encrypted-columns --forceto wipe and re-enter credentialsdoctorreports native binary fail →npm rebuild better-sqlite3in the OmniRoute app directorytunnel create cloudflarehangs → ensurecloudflaredis installed:brew install cloudflare/cloudflare/cloudflared
<!-- skill:custom-end -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

