← 返回 Skills 市场
Openrouter Toolkit
作者
aiwithabidi
· GitHub ↗
· v1.0.0
533
总下载
1
收藏
5
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openrouter-toolkit - 安装完成后,直接呼叫该 Skill 的名称或使用
/openrouter-toolkit触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 533 次。
如何安装 Openrouter Toolkit?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openrouter-toolkit」即可一键安装,无需额外配置。
Openrouter Toolkit 是免费的吗?
是的,Openrouter Toolkit 完全免费(开源免费),可自由下载、安装和使用。
Openrouter Toolkit 支持哪些平台?
Openrouter Toolkit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Openrouter Toolkit?
由 aiwithabidi(@aiwithabidi)开发并维护,当前版本 v1.0.0。
推荐 Skills