← Back to Skills Marketplace
aiwithabidi

Openrouter Toolkit

by aiwithabidi · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
533
Downloads
1
Stars
5
Active Installs
1
Versions
Install in OpenClaw
/install openrouter-toolkit
Description
The definitive OpenRouter skill — intelligent model routing by task type, cost tracking with budget alerts, automatic fallback chains, side-by-side model com...
Usage Guidance
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.
Capability Analysis
Type: OpenClaw Skill Name: openrouter-toolkit Version: 1.0.0 The OpenRouter Toolkit is a legitimate utility designed for managing LLM interactions via the OpenRouter API. It provides features like model routing, cost tracking, and fallback chains, using a local SQLite database (openrouter_costs.db) to store usage data. The code in scripts/openrouter_toolkit.py is well-structured, lacks any obfuscation, and interacts only with the official OpenRouter API (openrouter.ai) using the provided environment variable.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openrouter-toolkit
  3. After installation, invoke the skill by name or use /openrouter-toolkit
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
openrouter-toolkit 1.0.0 - Initial release of the definitive OpenRouter skill for OpenClaw agents. - Supports intelligent model routing by task (code, reasoning, creative, fast, cheap). - Includes cost tracking, budget alerts, and automatic fallback chains. - Enables side-by-side model comparison and provides savings recommendations. - Fetches live pricing and capabilities from the OpenRouter API. - Requires Python 3.10+ and an OpenRouter API key.
Metadata
Slug openrouter-toolkit
Version 1.0.0
License
All-time Installs 5
Active Installs 5
Total Versions 1
Frequently Asked Questions

What is Openrouter Toolkit?

The definitive OpenRouter skill — intelligent model routing by task type, cost tracking with budget alerts, automatic fallback chains, side-by-side model com... It is an AI Agent Skill for Claude Code / OpenClaw, with 533 downloads so far.

How do I install Openrouter Toolkit?

Run "/install openrouter-toolkit" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Openrouter Toolkit free?

Yes, Openrouter Toolkit is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Openrouter Toolkit support?

Openrouter Toolkit is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Openrouter Toolkit?

It is built and maintained by aiwithabidi (@aiwithabidi); the current version is v1.0.0.

💬 Comments