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

google-ai-usage-monitor

xiaoyaner0201 제작

Productivity & Tasks
1.2kclawskills.sh가 보고한 다운로드 수
1스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Monitor Google AI Studio (Gemini API) usage, rate limits, and quota consumption with automated alerts.

설명

이 스킬이 하는 일

Monitors Google AI Studio (Gemini API) quota usage by scraping the usage dashboard via browser automation. Tracks RPM, TPM, and RPD metrics across models and tiers, and sends alerts when consumption exceeds 80% of limits.

Automates quota checks through browser automation so you don't need to manually log into the dashboard or configure Cloud Monitoring separately.

사용 시점

  • Checking Gemini API quota before kicking off a large batch job
  • Getting alerted when free-tier daily request limits are nearly exhausted
  • Scheduling nightly usage reports to a team channel
  • Identifying which models are consuming the most tokens
  • Catching runaway API calls before they trigger 429 errors

예시 워크플로

입력

User asks: Check my Google AI Studio usage and alert me if any metric is above 80%

에이전트
  1. 1

    Opens the Google AI Studio usage dashboard URL with the configured project ID

  2. 2

    Waits for the rate limits table to finish loading asynchronously

  3. 3

    Parses each model row to extract used and limit values for RPM, TPM, and RPD

  4. 4

    Calculates usage percentages and compares against the 80% alert threshold

  5. 5

    Sends a formatted report or alert to the configured Discord channel

출력

Discord message with a per-model usage table showing current consumption, limits, and a status indicator (normal / warning / alert)

요구 사항

  • Google account with access to Google AI Studio
  • GCP Project ID for the project being monitored

설치

clawhub install xiaoyaner0201/google-ai-usage-monitor

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

링크