{
  "schemaVersion": "1.0",
  "item": {
    "slug": "google-ai-usage-monitor",
    "name": "Google AI Usage Monitor",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/xiaoyaner0201/google-ai-usage-monitor",
    "canonicalUrl": "https://clawhub.ai/xiaoyaner0201/google-ai-usage-monitor",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/google-ai-usage-monitor",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=google-ai-usage-monitor",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/google-ai-usage-monitor"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/google-ai-usage-monitor",
    "agentPageUrl": "https://openagent3.xyz/skills/google-ai-usage-monitor/agent",
    "manifestUrl": "https://openagent3.xyz/skills/google-ai-usage-monitor/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/google-ai-usage-monitor/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Google AI Usage Monitor Skill",
        "body": "Monitor Google AI Studio usage to prevent quota exhaustion and optimize API consumption."
      },
      {
        "title": "Supported Metrics",
        "body": "MetricDescriptionAlert ThresholdRPMRequests Per Minute (peak)> 80% of limitTPMTokens Per Minute (peak)> 80% of limitRPDRequests Per Day> 80% of limit"
      },
      {
        "title": "Rate Limits by Tier",
        "body": "TierTypical LimitsFree2 RPM, 32K TPM, 50 RPDPay-as-you-go10-15 RPM, 100K+ TPM, 500+ RPDPaid Tier 120 RPM, 100K TPM, 250 RPD (varies by model)\n\nNote: Actual limits vary by model and can be viewed at the usage dashboard."
      },
      {
        "title": "URL",
        "body": "https://aistudio.google.com/usage?project={PROJECT_ID}&timeRange=last-28-days&tab=rate-limit"
      },
      {
        "title": "Key Elements to Extract",
        "body": "Project name: Which GCP project\nTier: Free / Pay-as-you-go / Paid tier X\nModels table: Each row contains model name, category, RPM, TPM, RPD\nTime range: Default 28 days"
      },
      {
        "title": "Open Usage Page",
        "body": "// Using OpenClaw browser tool\nbrowser action=open targetUrl=\"https://aistudio.google.com/usage?project=YOUR_PROJECT_ID&timeRange=last-28-days&tab=rate-limit\" profile=openclaw"
      },
      {
        "title": "Wait for Data Load",
        "body": "The page loads data asynchronously. Wait for:\n\nProject dropdown shows project name (not \"Loading...\")\nRate limits table has data rows"
      },
      {
        "title": "Parse Table Data",
        "body": "Look for table rows with pattern:\n\nModel Name | Category | X / Y | X / Y | X / Y | View in charts\n\nWhere X / Y represents used / limit."
      },
      {
        "title": "Discord Message Template",
        "body": "## 📊 Google AI Studio 用量报告\n\n**项目**: {project_name}\n**付费等级**: {tier}\n**统计周期**: 过去 28 天\n\n---\n\n### {Model Name}\n| 指标 | 用量 | 限额 | 使用率 |\n|------|------|------|--------|\n| RPM | {rpm_used} | {rpm_limit} | {rpm_pct}% |\n| TPM | {tpm_used} | {tpm_limit} | {tpm_pct}% |\n| RPD | {rpd_used} | {rpd_limit} | {rpd_pct}% |\n\n---\n\n{status_emoji} **状态**: {status_text}\n\n*检查时间: {timestamp}*"
      },
      {
        "title": "Status Levels",
        "body": "Usage %StatusEmojiAction< 50%正常✅Continue normally50-80%需关注⚠️Monitor more frequently> 80%风险预警🚨Alert user, consider rate limiting"
      },
      {
        "title": "When to Alert User",
        "body": "Any metric > 80%: Immediate alert with @mention\nAny metric > 50%: Include warning note in report\nAPI errors (429): Track rate limit hits"
      },
      {
        "title": "Alert Message Template",
        "body": "🚨 **Google AI 配额预警**\n\n<@USER_ID> 以下指标接近限额：\n\n- **{model}** {metric}: {used}/{limit} ({pct}%)\n\n建议：\n- 减少 API 调用频率\n- 考虑升级付费等级\n- 检查是否有异常调用"
      },
      {
        "title": "Daily Check (Recommended)",
        "body": "{\n  \"name\": \"Google AI 用量检查\",\n  \"schedule\": {\n    \"kind\": \"cron\",\n    \"expr\": \"0 20 * * *\",\n    \"tz\": \"Asia/Shanghai\"\n  },\n  \"sessionTarget\": \"isolated\",\n  \"payload\": {\n    \"kind\": \"agentTurn\",\n    \"message\": \"检查 Google AI Studio 用量并发送报告到指定 Discord 频道\"\n  },\n  \"delivery\": {\n    \"mode\": \"announce\",\n    \"channel\": \"discord\",\n    \"to\": \"CHANNEL_ID\"\n  }\n}"
      },
      {
        "title": "Configuration",
        "body": "Add to TOOLS.md:\n\n## Google AI Studio\n\n- **Project ID**: gen-lang-client-XXXXXXXXXX\n- **Dashboard**: https://aistudio.google.com/usage\n- **Discord Channel**: #google-ai (CHANNEL_ID)\n- **Check Schedule**: Daily 20:00"
      },
      {
        "title": "Heartbeat Integration",
        "body": "Add to HEARTBEAT.md:\n\n## Google AI Monitoring\n- Check usage if last check > 24 hours\n- Alert if any metric > 80%"
      },
      {
        "title": "Page Not Loading",
        "body": "Check if logged into correct Google account\nVerify project ID is correct\nWait longer for async data load (5-10 seconds)"
      },
      {
        "title": "Data Shows \"Loading...\"",
        "body": "The project dropdown may take time to populate. Retry snapshot after a few seconds."
      },
      {
        "title": "Metrics Not Updating",
        "body": "Google notes: \"Usage data may take up to 15 minutes to update.\""
      },
      {
        "title": "References",
        "body": "Google AI Studio Usage Dashboard\nGemini API Rate Limits\nBilling Documentation\nCloud Monitoring for Gemini"
      }
    ],
    "body": "Google AI Usage Monitor Skill\n\nMonitor Google AI Studio usage to prevent quota exhaustion and optimize API consumption.\n\nSupported Metrics\nMetric\tDescription\tAlert Threshold\nRPM\tRequests Per Minute (peak)\t> 80% of limit\nTPM\tTokens Per Minute (peak)\t> 80% of limit\nRPD\tRequests Per Day\t> 80% of limit\nRate Limits by Tier\nTier\tTypical Limits\nFree\t2 RPM, 32K TPM, 50 RPD\nPay-as-you-go\t10-15 RPM, 100K+ TPM, 500+ RPD\nPaid Tier 1\t20 RPM, 100K TPM, 250 RPD (varies by model)\n\nNote: Actual limits vary by model and can be viewed at the usage dashboard.\n\nUsage Dashboard\nURL\nhttps://aistudio.google.com/usage?project={PROJECT_ID}&timeRange=last-28-days&tab=rate-limit\n\nKey Elements to Extract\nProject name: Which GCP project\nTier: Free / Pay-as-you-go / Paid tier X\nModels table: Each row contains model name, category, RPM, TPM, RPD\nTime range: Default 28 days\nBrowser Automation\nOpen Usage Page\n// Using OpenClaw browser tool\nbrowser action=open targetUrl=\"https://aistudio.google.com/usage?project=YOUR_PROJECT_ID&timeRange=last-28-days&tab=rate-limit\" profile=openclaw\n\nWait for Data Load\n\nThe page loads data asynchronously. Wait for:\n\nProject dropdown shows project name (not \"Loading...\")\nRate limits table has data rows\nParse Table Data\n\nLook for table rows with pattern:\n\nModel Name | Category | X / Y | X / Y | X / Y | View in charts\n\n\nWhere X / Y represents used / limit.\n\nReport Format\nDiscord Message Template\n## 📊 Google AI Studio 用量报告\n\n**项目**: {project_name}\n**付费等级**: {tier}\n**统计周期**: 过去 28 天\n\n---\n\n### {Model Name}\n| 指标 | 用量 | 限额 | 使用率 |\n|------|------|------|--------|\n| RPM | {rpm_used} | {rpm_limit} | {rpm_pct}% |\n| TPM | {tpm_used} | {tpm_limit} | {tpm_pct}% |\n| RPD | {rpd_used} | {rpd_limit} | {rpd_pct}% |\n\n---\n\n{status_emoji} **状态**: {status_text}\n\n*检查时间: {timestamp}*\n\nStatus Levels\nUsage %\tStatus\tEmoji\tAction\n< 50%\t正常\t✅\tContinue normally\n50-80%\t需关注\t⚠️\tMonitor more frequently\n> 80%\t风险预警\t🚨\tAlert user, consider rate limiting\nAlert Rules\nWhen to Alert User\nAny metric > 80%: Immediate alert with @mention\nAny metric > 50%: Include warning note in report\nAPI errors (429): Track rate limit hits\nAlert Message Template\n🚨 **Google AI 配额预警**\n\n<@USER_ID> 以下指标接近限额：\n\n- **{model}** {metric}: {used}/{limit} ({pct}%)\n\n建议：\n- 减少 API 调用频率\n- 考虑升级付费等级\n- 检查是否有异常调用\n\nCron Job Setup\nDaily Check (Recommended)\n{\n  \"name\": \"Google AI 用量检查\",\n  \"schedule\": {\n    \"kind\": \"cron\",\n    \"expr\": \"0 20 * * *\",\n    \"tz\": \"Asia/Shanghai\"\n  },\n  \"sessionTarget\": \"isolated\",\n  \"payload\": {\n    \"kind\": \"agentTurn\",\n    \"message\": \"检查 Google AI Studio 用量并发送报告到指定 Discord 频道\"\n  },\n  \"delivery\": {\n    \"mode\": \"announce\",\n    \"channel\": \"discord\",\n    \"to\": \"CHANNEL_ID\"\n  }\n}\n\nIntegration with OpenClaw\nConfiguration\n\nAdd to TOOLS.md:\n\n## Google AI Studio\n\n- **Project ID**: gen-lang-client-XXXXXXXXXX\n- **Dashboard**: https://aistudio.google.com/usage\n- **Discord Channel**: #google-ai (CHANNEL_ID)\n- **Check Schedule**: Daily 20:00\n\nHeartbeat Integration\n\nAdd to HEARTBEAT.md:\n\n## Google AI Monitoring\n- Check usage if last check > 24 hours\n- Alert if any metric > 80%\n\nTroubleshooting\nPage Not Loading\nCheck if logged into correct Google account\nVerify project ID is correct\nWait longer for async data load (5-10 seconds)\nData Shows \"Loading...\"\n\nThe project dropdown may take time to populate. Retry snapshot after a few seconds.\n\nMetrics Not Updating\n\nGoogle notes: \"Usage data may take up to 15 minutes to update.\"\n\nReferences\nGoogle AI Studio Usage Dashboard\nGemini API Rate Limits\nBilling Documentation\nCloud Monitoring for Gemini"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/xiaoyaner0201/google-ai-usage-monitor",
    "publisherUrl": "https://clawhub.ai/xiaoyaner0201/google-ai-usage-monitor",
    "owner": "xiaoyaner0201",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/google-ai-usage-monitor",
    "downloadUrl": "https://openagent3.xyz/downloads/google-ai-usage-monitor",
    "agentUrl": "https://openagent3.xyz/skills/google-ai-usage-monitor/agent",
    "manifestUrl": "https://openagent3.xyz/skills/google-ai-usage-monitor/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/google-ai-usage-monitor/agent.md"
  }
}