# Send Google AI Usage Monitor to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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

```text
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.
```
## Machine-readable fields
```json
{
  "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": {
    "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",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### Google AI Usage Monitor Skill

Monitor Google AI Studio usage to prevent quota exhaustion and optimize API consumption.

### Supported Metrics

MetricDescriptionAlert ThresholdRPMRequests Per Minute (peak)> 80% of limitTPMTokens Per Minute (peak)> 80% of limitRPDRequests Per Day> 80% of limit

### Rate Limits by Tier

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)

Note: Actual limits vary by model and can be viewed at the usage dashboard.

### URL

https://aistudio.google.com/usage?project={PROJECT_ID}&timeRange=last-28-days&tab=rate-limit

### Key Elements to Extract

Project name: Which GCP project
Tier: Free / Pay-as-you-go / Paid tier X
Models table: Each row contains model name, category, RPM, TPM, RPD
Time range: Default 28 days

### Open Usage Page

// Using OpenClaw browser tool
browser action=open targetUrl="https://aistudio.google.com/usage?project=YOUR_PROJECT_ID&timeRange=last-28-days&tab=rate-limit" profile=openclaw

### Wait for Data Load

The page loads data asynchronously. Wait for:

Project dropdown shows project name (not "Loading...")
Rate limits table has data rows

### Parse Table Data

Look for table rows with pattern:

Model Name | Category | X / Y | X / Y | X / Y | View in charts

Where X / Y represents used / limit.

### Discord Message Template

## 📊 Google AI Studio 用量报告

**项目**: {project_name}
**付费等级**: {tier}
**统计周期**: 过去 28 天

---

### {Model Name}
| 指标 | 用量 | 限额 | 使用率 |
|------|------|------|--------|
| RPM | {rpm_used} | {rpm_limit} | {rpm_pct}% |
| TPM | {tpm_used} | {tpm_limit} | {tpm_pct}% |
| RPD | {rpd_used} | {rpd_limit} | {rpd_pct}% |

---

{status_emoji} **状态**: {status_text}

*检查时间: {timestamp}*

### Status Levels

Usage %StatusEmojiAction< 50%正常✅Continue normally50-80%需关注⚠️Monitor more frequently> 80%风险预警🚨Alert user, consider rate limiting

### When to Alert User

Any metric > 80%: Immediate alert with @mention
Any metric > 50%: Include warning note in report
API errors (429): Track rate limit hits

### Alert Message Template

🚨 **Google AI 配额预警**

<@USER_ID> 以下指标接近限额：

- **{model}** {metric}: {used}/{limit} ({pct}%)

建议：
- 减少 API 调用频率
- 考虑升级付费等级
- 检查是否有异常调用

### Daily Check (Recommended)

{
  "name": "Google AI 用量检查",
  "schedule": {
    "kind": "cron",
    "expr": "0 20 * * *",
    "tz": "Asia/Shanghai"
  },
  "sessionTarget": "isolated",
  "payload": {
    "kind": "agentTurn",
    "message": "检查 Google AI Studio 用量并发送报告到指定 Discord 频道"
  },
  "delivery": {
    "mode": "announce",
    "channel": "discord",
    "to": "CHANNEL_ID"
  }
}

### Configuration

Add to TOOLS.md:

## Google AI Studio

- **Project ID**: gen-lang-client-XXXXXXXXXX
- **Dashboard**: https://aistudio.google.com/usage
- **Discord Channel**: #google-ai (CHANNEL_ID)
- **Check Schedule**: Daily 20:00

### Heartbeat Integration

Add to HEARTBEAT.md:

## Google AI Monitoring
- Check usage if last check > 24 hours
- Alert if any metric > 80%

### Page Not Loading

Check if logged into correct Google account
Verify project ID is correct
Wait longer for async data load (5-10 seconds)

### Data Shows "Loading..."

The project dropdown may take time to populate. Retry snapshot after a few seconds.

### Metrics Not Updating

Google notes: "Usage data may take up to 15 minutes to update."

### References

Google AI Studio Usage Dashboard
Gemini API Rate Limits
Billing Documentation
Cloud Monitoring for Gemini
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: xiaoyaner0201
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/google-ai-usage-monitor)
- [Send to Agent page](https://openagent3.xyz/skills/google-ai-usage-monitor/agent)
- [JSON manifest](https://openagent3.xyz/skills/google-ai-usage-monitor/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/google-ai-usage-monitor/agent.md)
- [Download page](https://openagent3.xyz/downloads/google-ai-usage-monitor)