Openrouter Toolkit

v1.0.0

The definitive OpenRouter skill — intelligent model routing by task type, cost tracking with budget alerts, automatic fallback chains, side-by-side model com...

0· 436·5 current·5 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (OpenRouter routing, cost tracking, fallbacks) match the required env var (OPENROUTER_API_KEY) and the script's behavior (calls to openrouter.ai endpoints). The models referenced are plausible for an OpenRouter aggregator.
Instruction Scope
SKILL.md instructs running the included Python script and describes features. The script only reads OPENROUTER_API_KEY, makes API calls to openrouter.ai, and writes a local SQLite DB for cost logs — all within the declared scope. It does not read unrelated system files or other secrets.
Install Mechanism
No install spec (instruction-only with an included script). The script requires the 'requests' Python package (documented in SKILL.md). Nothing is downloaded from arbitrary URLs or written to system paths outside the skill's baseDir/data.
Credentials
Only OPENROUTER_API_KEY is required and declared as the primary credential. The script does not request other credentials or environment variables, and it does not store prompt text in the local DB (it logs usage metrics and cost).
Persistence & Privilege
The skill is not forced-always (always: false). It stores local cost data under {baseDir}/data/openrouter_costs.db, which is appropriate for its budget tracking purpose and does not modify other skills or global agent settings.
Assessment
This skill appears to do what it says: it sends prompts to OpenRouter, logs usage/costs locally, and helps pick models. Before installing: (1) Be prepared that your prompts and inputs will be sent to OpenRouter (so don't send secrets you don't want transmitted). (2) The skill requires your OPENROUTER_API_KEY — consider using a key with limited scope/quota. (3) The script writes a local SQLite DB at {baseDir}/data/openrouter_costs.db (it logs usage/costs but not full prompt text). (4) Verify you trust the publisher/homepage if you plan to run the included Python script; inspect the rest of the truncated code if you want absolute assurance (the provided file was truncated in the listing but appears consistent). (5) Ensure the environment has the 'requests' package installed. Overall, nothing in the package appears disproportionate or unexpected for an OpenRouter routing/costing tool.

Like a lobster shell, security has layers — review code before you run it.

latestvk97emsgkbr1xatqjxvr0b1mc6n82czde

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

🔀 Clawdis
EnvOPENROUTER_API_KEY
Primary envOPENROUTER_API_KEY

Comments