← 返回 Skills 市场
sh01-rgb

Operrouter Connect

作者 sh01-rgb · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
206
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openrouter-connect-missnamed
功能描述
Use this skill whenever the user wants to work with OpenRouter's free LLM models. Triggers include: any mention of "OpenRouter", "free models", "openrouter-c...
安全使用建议
This skill mostly does what it says (find and proxy free OpenRouter models), but be aware of these issues before installing: - OPENROUTER_API_KEY is required at runtime (the registry metadata fails to declare it). Provide a dedicated, limited-scope key you trust and do not reuse high-value credentials. - The scripts load ./ .env, ~/.env and the process environment: if you run them in an environment with other secrets, those values will be visible to the process. Prefer running in a clean/sandboxed environment (or set only OPENROUTER_API_KEY) to avoid accidental exposure. - resolve_key.py prints a masked key fragment to stderr (some characters are shown). Expect that fragments may appear in logs or conversation history. - SKILL.md contains a hard-coded path (/home/claude/...) when invoking bundled scripts. Before running, update the commands to point to the skill's actual script locations or run them from the skill directory to avoid unexpected behavior. - The skill writes a cache file to /tmp; inspect that file if you have concerns about local storage. If you need higher assurance: ask the publisher to correct the registry metadata to declare OPENROUTER_API_KEY, remove hard-coded paths from SKILL.md, and explicitly document what env vars are read. Otherwise run the scripts manually in a controlled environment first to confirm behavior.
功能分析
Type: OpenClaw Skill Name: openrouter-connect Version: 1.0.0 The openrouter-connect skill is designed to help users discover and interact with free LLM models on OpenRouter. It includes scripts (discover_models.py, proxy_query.py, resolve_key.py) that fetch model data from the official OpenRouter API and manage API keys stored in local or global .env files. While it accesses the user's home directory to look for a global .env file, this behavior is documented and consistent with the tool's purpose of managing API credentials. There is no evidence of data exfiltration to third parties, obfuscation, or malicious prompt injection.
能力评估
Purpose & Capability
The skill claims to discover, rank, proxy and scaffold code for OpenRouter free models — the included scripts and templates implement exactly that. However the registry metadata declares no required environment variables while the SKILL.md and all scripts clearly expect an OPENROUTER_API_KEY; this metadata mismatch is an incoherence. Also SKILL.md uses a hard-coded absolute path (/home/claude/...) to invoke bundled scripts which is fragile and unexpected.
Instruction Scope
Runtime instructions tell the agent to read project .env, ~/.env and the shell environment and to run the included Python scripts which also merge os.environ. Reading and using OPENROUTER_API_KEY is expected for proxying, but the behaviour will also load the user's entire environment and .env files (potentially exposing other secrets). The SKILL.md explicitly instructs running scripts via an absolute path (/home/claude/...), which may run nothing on your system or accidentally call a different file if that path exists; this is an unexpected and suspicious detail.
Install Mechanism
There is no install spec (instruction-only behavior) and no remote downloads in the package. All code is bundled locally in the skill; nothing is fetched or executed from arbitrary URLs during install. This is the lower-risk install model.
Credentials
The scripts require OPENROUTER_API_KEY (used for proxied requests) which is proportionate to the proxying purpose — but the skill registry claimed no required env vars, creating an unexplained discrepancy. The scripts read ./ .env, ~/.env and os.environ: they will thus have visibility into all exported env vars and any values stored in those files. resolve_key.py prints a masked key fragment to stderr (exposes part of your key in logs/conversation). These behaviours are expected for making API calls but increase the risk of accidental exposure of unrelated secrets if run in an environment with many credentials.
Persistence & Privilege
The skill does not request permanent presence (always:false), does not modify other skills, and only writes a local cache file under /tmp/.openrouter_free_models_cache.json. No system-wide or cross-skill configuration modifications are present.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openrouter-connect-missnamed
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openrouter-connect-missnamed 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of openrouter-connect skill. - Enables querying, ranking, and live proxying of all currently-free OpenRouter LLM models. - Supports user and automatic model preference ranking with robust fallback logic. - Can scaffold ready-to-use Python or TypeScript code to call OpenRouter's free models. - Handles API key discovery from project, global, or environment sources, with clear user guidance if missing. - Includes helpful handling of rate limits, key errors, unavailable models, and streaming support.
元数据
Slug openrouter-connect-missnamed
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Operrouter Connect 是什么?

Use this skill whenever the user wants to work with OpenRouter's free LLM models. Triggers include: any mention of "OpenRouter", "free models", "openrouter-c... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 206 次。

如何安装 Operrouter Connect?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install openrouter-connect-missnamed」即可一键安装,无需额外配置。

Operrouter Connect 是免费的吗?

是的,Operrouter Connect 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Operrouter Connect 支持哪些平台?

Operrouter Connect 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Operrouter Connect?

由 sh01-rgb(@sh01-rgb)开发并维护,当前版本 v1.0.0。

💬 留言讨论