โ† All skills
Tencent SkillHub ยท Developer Tools

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...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Review OpenRouter usage, analytics, and troubleshooting data via API. Use when the user asks for spend/usage monitoring, activity trends, per-key management...

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, references/endpoints.md, scripts/openrouter_analytics.py

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 5 sections Open source page

OpenRouter Analytics

Use this skill to pull management-level usage data and request-level troubleshooting details from OpenRouter.

Quick Start

Run from this skill folder: cd ~/clawd/skills/openrouter-analytics Management key operations (set OPENROUTER_MANAGEMENT_KEY): python3 scripts/openrouter_analytics.py activity --limit 20 python3 scripts/openrouter_analytics.py activity --date 2026-02-18 python3 scripts/openrouter_analytics.py activity --from 2026-02-01 --to 2026-02-18 --summary --csv /tmp/activity.csv python3 scripts/openrouter_analytics.py credits python3 scripts/openrouter_analytics.py keys --limit 50 --summary python3 scripts/openrouter_analytics.py report --from 2026-02-01 --to 2026-02-18 --format markdown Request-level troubleshooting (set OPENROUTER_API_KEY): python3 scripts/openrouter_analytics.py generation --id <generation_id> Use --raw on any command to print full JSON.

Workflow

Check macro activity Run activity for daily spend/traffic patterns. Check account-level usage Run credits to review consumed vs remaining credits. Find key-level consumers Run keys to identify which keys are driving usage. Investigate incidents Run generation --id ... for detailed logs on one request (latency, fallback providers, finish reason, token and cost details).

Notes

activity, credits, keys, and report require a Management API key. generation uses a standard OpenRouter API key and requires the request id. The script auto-loads ~/.openclaw/.env and current-directory .env before execution. Use --retries and --timeout to tune robustness under transient API/network issues. Keep generation IDs in your application logs to support reliable post-incident analysis.

Resources

Endpoint reference and field guide: references/endpoints.md CLI helper script: scripts/openrouter_analytics.py

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Docs1 Scripts
  • SKILL.md Primary doc
  • references/endpoints.md Docs
  • scripts/openrouter_analytics.py Scripts