Agent skill

OmniRoute Budget Controls

by diegosouzapw in diegosouzapw/OmniRoute

Sets per-key or account-wide caps on spend and request rate for OmniRoute, and reports how much of each cap has been used.

MITAuto-check passedBackend & APIs

Install OmniRoute Budget Controls

skills CLI
$ npx skills add diegosouzapw/OmniRoute --skill omni-budget -a claude-code

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

GitHub CLI
$ gh skill install diegosouzapw/OmniRoute omni-budget --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/omni-budget .claude/skills/omni-budget && 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
omni-budget
GitHub stars
74k
Token cost
~297 tokens
SKILL.md length
74 words
Files
1
Skills in repo
50
Repo updated
First seen
Licence
MIT

At a glance

Sets per-key or account-wide caps on spend and request rate for OmniRoute, and reports how much of each cap has been used.

  • Setting a spending or token quota for a specific API key
  • SKILL.md covers Overview, Authentication, Endpoints and Payloads
  • Calls curl; needs REQUIRE_API_KEY and OMNIROUTE_TOKEN
  • Checking current consumption against configured limits

What it does

Rate-limit and budget configuration is read and updated through a small REST surface, GET and POST against /api/rate-limit, authenticated with a bearer token obtained from /api/auth/login or disabled for local development with REQUIRE_API_KEY=false. The full request and response shapes are documented in the service's own OpenAPI specification rather than restated here.

When your agent uses it

  • Setting a spending or token quota for a specific API key
  • Checking current consumption against configured limits
  • Enforcing cost controls across multiple model providers

Example prompts

  • “Set a $50 monthly spending limit on this API key.”
  • “Show the current rate-limit configuration as JSON.”
  • “Update the global token quota for this account.”

Requirements

  • A bearer token or session cookie for the OmniRoute API

What it can do on your machine

Read from SKILL.md and the folder at commit 4ea24a2. 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:

    • curl

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

  • Network

    No URLs in SKILL.md. Its commands use curl, 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 these keys or tokens, usually read from environment variables:

    • REQUIRE_API_KEY
    • OMNIROUTE_TOKEN

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

Context cost

OmniRoute Budget Controls loads about 297 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 74 words of instructions outside code blocks.

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

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 4ea24a2, republished under its MIT licence (© diegosouzapw). 74 words, ~297 tokens.

Download SKILL.mdSave it as .claude/skills/omni-budget/SKILL.md (or your agent's skills folder).
name
omni-budget
description
Configure spending limits, token quotas, and rate-limit policies per API key or globally. Inspect current consumption and enforce cost controls across providers.
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

Overview

Configure spending limits, token quotas, and rate-limit policies per API key or globally. Inspect current consumption and enforce cost controls across providers.

Authentication

All requests require a valid Bearer token or session cookie. Obtain a token via POST /api/auth/login or configure REQUIRE_API_KEY=false for local development.

Endpoints

GET /api/rate-limit

Get rate limit configuration

bash
curl https://localhost:20128/api/rate-limit \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"
POST /api/rate-limit

Update rate limit configuration

bash
curl -X POST https://localhost:20128/api/rate-limit \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'

Payloads

See the full OpenAPI specification at GET /api/openapi/spec or docs/openapi.yaml for detailed request/response schemas.

© 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/omni-budget of diegosouzapw/OmniRoute.

Open the folder on GitHubat commit 4ea24a2

Compare with similar skills

OmniRoute Budget Controls 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 Budget Controls compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
OmniRoute Budget Controls this skilldiegosouzapw/OmniRoute74k—~297Automated safety check: PassMIT
Canva Rate Limitsjeremylongshore/tons-of-skills-marketplace2.8k—~1kAutomated safety check: PassMIT
Mindtickle Rate Limitsjeremylongshore/tons-of-skills-marketplace2.8k—~964Automated safety check: PassMIT
Use Circle CLIcirclefin/skills155—~3.2kAutomated safety check: PassApache-2.0
Yahoo Financegauss314/skills247—~2.7kAutomated safety check: PassMIT
Add Hosted Keysimstudioai/sim30k—~3.4kAutomated safety check: PassApache-2.0

Similar skills

  • Canva Rate Limits

    jeremylongshore/tons-of-skills-marketplace

    Implement endpoint- and user-scoped Canva throttling with bounded backoff and reconciliation.

    2.8k GitHub stars~1k tokensUpdated today
    Backend & APIsAuto-check passed
  • Mindtickle Rate Limits

    jeremylongshore/tons-of-skills-marketplace

    Discover and enforce a Mindtickle tenant's documented capacity, retry, pagination, and concurrency contract.

    2.8k GitHub stars~964 tokensUpdated today
    Backend & APIsAuto-check passed
  • Use Circle CLI

    circlefin/skills

    A skill your agent uses when the user wants to do anything onchain with stablecoins, USDC, or Circle through a CLI — paying for APIs, sending USDC, bridging, checking balances, or managing spending.

    155 GitHub stars~3.2k tokensUpdated 23 days ago
    Backend & APIsAuto-check passed
  • Yahoo Finance

    gauss314/skills

    API no oficial de Yahoo Finance: precios, históricos, fundamentales, opciones, noticias en JSON puro sin wrappers.

    247 GitHub stars~2.7k tokensUpdated 3 mo ago
    Backend & APIsAuto-check passed
  • Add Hosted Key

    simstudioai/sim

    Add hosted API key support to a tool so Sim provides the key (metered and billed to the workspace) when a user has not brought their own.

    30k GitHub stars~3.4k tokensUpdated today
    Backend & APIsAuto-check passed
  • Upstash Ratelimit TS

    upstash/ratelimit-js

    Official

    Lightweight guidance for using the Redis Rate Limit TypeScript SDK, including setup steps, basic usage, and pointers to advanced algorithm, features, pricing, and traffic‑protection docs.

    2k GitHub stars~313 tokensUpdated 14 days ago
    Backend & APIsAuto-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 yesterday
    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 yesterday
    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 yesterday
    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 stars~3.6k tokensUpdated yesterday
    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 stars~395 tokensUpdated yesterday
    Auto-check passed
  • OmniRoute Batch CLI

    diegosouzapw/OmniRoute

    Submit and monitor batch inference jobs from the CLI. Upload and manage files for batch processing, retrieve results, and integrate batch pipelines with CI/CD…

    74k GitHub stars~565 tokensUpdated yesterday
    Auto-check passed

Questions about OmniRoute Budget Controls

What does OmniRoute Budget Controls do?

Sets per-key or account-wide caps on spend and request rate for OmniRoute, and reports how much of each cap has been used. Rate-limit and budget configuration is read and updated through a small REST surface, GET and POST against /api/rate-limit, authenticated with a bearer token obtained from /api/auth/login or disabled for local development with REQUIRE_API_KEY=false. The full request and response shapes are documented in the service's own OpenAPI specification rather than restated here.

When should I use OmniRoute Budget Controls?

OmniRoute Budget Controls fits situations like: setting a spending or token quota for a specific API key; checking current consumption against configured limits; enforcing cost controls across multiple model providers.

How do I install OmniRoute Budget Controls in Claude Code?

Run `npx skills add diegosouzapw/OmniRoute --skill omni-budget -a claude-code`. Or copy the skill folder (skills/omni-budget in diegosouzapw/OmniRoute) into .claude/skills/omni-budget in your project. Claude Code loads it when a task matches its description.

How do I install OmniRoute Budget Controls in Codex?

Run `npx skills add diegosouzapw/OmniRoute --skill omni-budget -a codex`. Or copy the skill folder (skills/omni-budget in diegosouzapw/OmniRoute) into .agents/skills/omni-budget in your project. Codex loads it when a task matches its description.

Can I use OmniRoute Budget Controls 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 omni-budget -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/omni-budget, .gemini/skills/omni-budget, .github/skills/omni-budget and .opencode/skills/omni-budget in your project.

What does OmniRoute Budget Controls need to run?

Going by SKILL.md and its folder, OmniRoute Budget Controls needs the command-line tools its instructions call (curl) and credentials named REQUIRE_API_KEY and OMNIROUTE_TOKEN. Our summary lists: A bearer token or session cookie for the OmniRoute API.

Does OmniRoute Budget Controls access the network?

SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is OmniRoute Budget Controls 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 Budget Controls use?

OmniRoute Budget Controls 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 Budget Controls use?

About 297 tokens (SKILL.md is roughly 1.2k 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 Budget Controls?

Skills that share tags, products or a category with OmniRoute Budget Controls: Canva Rate Limits (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Mindtickle Rate Limits (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Use Circle CLI (circlefin/skills, 155 stars) and Yahoo Finance (gauss314/skills, 247 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains OmniRoute Budget Controls?

diegosouzapw (a GitHub user) maintains it in diegosouzapw/OmniRoute, which has 74,424 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on October 8, 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.