← 返回 Skills 市场
plgonzalezrx8

OpenRouter Analytics

作者 Pedro Gonzalez · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
741
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openrouter-analytics
功能描述
Review OpenRouter usage, analytics, and troubleshooting data via API. Use when the user asks for spend/usage monitoring, activity trends, per-key management...
安全使用建议
Before installing or running: (1) Recognize that the script requires two OpenRouter keys (OPENROUTER_MANAGEMENT_KEY and OPENROUTER_API_KEY) even though the registry metadata lists none — confirm you are comfortable providing those. (2) The script auto-loads ~/.openclaw/.env and ./.env; inspect those files for other secrets before running or move keys to a dedicated env file. (3) Review the full script (included) for any network endpoints or unexpected behavior (the visible code calls https://openrouter.ai/api/v1). (4) Run the script in an isolated environment (or with test keys) if you’re unsure about the source, and ask the publisher to update the package metadata to declare required env vars and config paths for transparency. (5) If you want higher assurance, request or verify an official homepage or trusted publisher identity before trusting management-level keys.
功能分析
Type: OpenClaw Skill Name: openrouter-analytics Version: 1.0.0 The skill is classified as suspicious due to a potential arbitrary file write vulnerability in `scripts/openrouter_analytics.py`. The `cmd_activity` function allows writing activity data to a CSV file specified by the `--csv` argument. While the script itself does not construct a malicious path, a compromised or malicious AI agent could be prompted to provide a sensitive file path (e.g., `/etc/passwd`, `~/.ssh/authorized_keys`) to this argument, leading to unauthorized file modification or data corruption. All network communication is confined to `https://openrouter.ai/api/v1`, and there are no other signs of malicious intent like data exfiltration to unauthorized endpoints, obfuscation, or direct shell command injection within the script's logic or `SKILL.md`.
能力评估
Purpose & Capability
The script and SKILL.md implement OpenRouter management and per-request debugging operations (activity, credits, keys, generation) that fit the skill name/description. However, the registry metadata declares no required environment variables or config paths while the runtime requires OPENROUTER_MANAGEMENT_KEY and OPENROUTER_API_KEY — an omission in the manifest that reduces transparency.
Instruction Scope
Runtime instructions ask the user to run the included Python script and describe expected flags. The SKILL.md and script both state the script will auto-load ~/.openclaw/.env and a current-directory .env before execution — this means the skill will read user dotfiles for credentials/config, which is reasonable for a CLI but should have been declared explicitly.
Install Mechanism
No install spec is provided (instruction-only with an included helper script). Nothing in the package attempts to download or install external code during install. This is the lowest-risk install model.
Credentials
The credentials the script uses (a management key for aggregate data and a regular API key for per-request lookups) are proportionate to the stated functionality. However, the registry declares no required environment variables or config paths while the script depends on OPENROUTER_MANAGEMENT_KEY and OPENROUTER_API_KEY and will read ~/.openclaw/.env and ./.env — the lack of these declarations is an incoherence and a transparency/privacy concern.
Persistence & Privilege
The skill does not request permanent/always-on presence and does not modify other skills or system-wide settings. It runs as a user-invoked script and doesn’t appear to attempt privilege escalation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openrouter-analytics
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openrouter-analytics 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: management analytics + request-level troubleshooting for OpenRouter
元数据
Slug openrouter-analytics
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

OpenRouter Analytics 是什么?

Review OpenRouter usage, analytics, and troubleshooting data via API. Use when the user asks for spend/usage monitoring, activity trends, per-key management... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 741 次。

如何安装 OpenRouter Analytics?

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

OpenRouter Analytics 是免费的吗?

是的,OpenRouter Analytics 完全免费(开源免费),可自由下载、安装和使用。

OpenRouter Analytics 支持哪些平台?

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

谁开发了 OpenRouter Analytics?

由 Pedro Gonzalez(@plgonzalezrx8)开发并维护,当前版本 v1.0.0。

💬 留言讨论