본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

openrouter-analytics

plgonzalezrx8 제작

Coding Agents & IDEs
460clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Review OpenRouter usage, analytics, and troubleshooting data via API.

설명

이 스킬이 하는 일

Pulls usage and billing data from OpenRouter via its API. Covers account-level credit tracking, per-key consumption reporting, and request-level debugging by generation ID. Two API key types control access: a Management key for aggregate data, a standard API key for individual request logs.

Combines account-level management reporting and per-request debug detail in one CLI tool, replacing manual API calls or navigating the OpenRouter dashboard.

사용 시점

  • Reviewing daily OpenRouter spend over a custom date range
  • Identifying which API keys are consuming the most credits
  • Debugging a slow or failed request using its generation ID
  • Exporting monthly usage data to CSV for billing review
  • Checking remaining credits before hitting a spending limit

예시 워크플로

입력

User asks: Which of my API keys spent the most on OpenRouter last month?

에이전트
  1. 1

    Run activity --from 2026-02-01 --to 2026-02-28 --summary to get overall spend for the period

  2. 2

    Run keys --limit 50 --summary to list per-key usage and identify top consumers

  3. 3

    Run report --from 2026-02-01 --to 2026-02-28 --format markdown to generate a formatted summary

출력

A ranked breakdown of API keys with spend and request counts for the specified month

요구 사항

  • OPENROUTER_MANAGEMENT_KEY environment variable (required for activity, credits, keys, and report commands)
  • OPENROUTER_API_KEY environment variable (required for the generation troubleshooting command)
  • OpenRouter account

설치

clawhub install plgonzalezrx8/openrouter-analytics

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크