# Send Kimi 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "kimi-usage-monitor",
    "name": "Kimi Usage Monitor",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/xD4O/kimi-usage-monitor",
    "canonicalUrl": "https://clawhub.ai/xD4O/kimi-usage-monitor",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/kimi-usage-monitor",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kimi-usage-monitor",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "check_usage.sh",
      "PLATFORM_SUPPORT.md",
      "README.md",
      "SKILL.md",
      "scripts/fetch_usage.py",
      "scripts/preflight_check.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "kimi-usage-monitor",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T18:21:18.471Z",
      "expiresAt": "2026-05-11T18:21:18.471Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kimi-usage-monitor",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kimi-usage-monitor",
        "contentDisposition": "attachment; filename=\"kimi-usage-monitor-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "kimi-usage-monitor"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/kimi-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/kimi-usage-monitor",
    "downloadUrl": "https://openagent3.xyz/downloads/kimi-usage-monitor",
    "agentUrl": "https://openagent3.xyz/skills/kimi-usage-monitor/agent",
    "manifestUrl": "https://openagent3.xyz/skills/kimi-usage-monitor/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/kimi-usage-monitor/agent.md"
  }
}
```
## Documentation

### Kimi Usage Monitor

Monitor Kimi K2.5 usage quotas from the Kimi console to make informed decisions about task prioritization and resource allocation.

### When to Use This Skill

Before intensive operations: Check quota before starting multi-step research or coding tasks
Autonomous planning: Self-prioritize tasks based on remaining usage percentage
Rate limit awareness: Know when quotas reset to time high-priority work
Usage tracking: Log patterns for long-term capacity planning

### Quick Start

Prerequisites: Chrome with OpenClaw extension attached

Open Chrome → https://www.kimi.com/code/console?from=membership
Click OpenClaw extension icon (badge should show ON)
Ensure you're logged into Kimi

# Check current usage (Linux/macOS/WSL)
./check_usage.sh

# Windows native
check_usage.bat           # CMD
.\\check_usage.ps1         # PowerShell

# JSON output for automation (all platforms)
python3 scripts/fetch_usage.py --json

Platform Support: Linux ✅ | macOS ✅ | Windows (WSL) ✅ | Windows (Native) ✅

### Usage Data Available

The Kimi console shows:

MetricDescriptionDecision ThresholdWeekly UsagePercentage of weekly quota consumed>75% = prioritizeWeekly ResetHours until quota resetsPlan heavy tasks after resetRate LimitAdditional rate limiting quotaSecondary resourceRate ResetHours until rate limit resetsShort-term buffer

### Autonomous Decision Guidelines

When operating autonomously, use these heuristics:

🟢 High Capacity (>50% remaining)

Proceed with full capability
Accept multi-step research tasks
Spawn subagents as needed
Enable verbose reasoning

🟡 Moderate Capacity (25-50% remaining)

Batch similar operations
Prefer concise outputs
Use subagents sparingly
Disable non-essential reasoning

🔴 Low Capacity (<25% remaining)

Essential tasks only
Single-step operations
Avoid subagent spawning
Prioritize user-directed work over proactive tasks

### Pre-Flight Checks for Intensive Operations

Before spawning subagents or starting multi-step tasks, check capacity:

# Check if operation should proceed
python3 scripts/preflight_check.py [light|standard|intensive]

# Light: single query, simple task (needs 10%)
# Standard: normal subagent, research (needs 25%)
# Intensive: multi-subagent, deep research (needs 50%)

Returns exit code 0 if cleared, 1 if blocked. Use in scripts:

if python3 scripts/preflight_check.py intensive; then
    # Proceed with intensive operation
    sessions_spawn "Complex research task..."
fi

### Subagent Guard

Check specifically before spawning subagents:

python3 scripts/subagent_guard.py

Returns JSON with can_spawn boolean:

{
  "can_spawn": true,
  "usage_percent": 45,
  "remaining_percent": 55,
  "resets_hours": 36
}

### Integration Ideas

Hourly monitoring cron:

# Add to crontab or OpenClaw jobs
0 * * * * cd /path/to/kimi-usage-monitor && python3 scripts/usage_logger.py

Pre-task validation:

import subprocess
result = subprocess.run(
    ["python3", "scripts/preflight_check.py", "intensive"],
    capture_output=True
)
if result.returncode == 0:
    # Proceed with task
    pass

### Script Reference

ScriptPurposescripts/fetch_usage.pyMain usage scraper (browser-based)scripts/usage_logger.pyAutonomous logging + decision wrapperscripts/preflight_check.pyPre-flight validation for operationsscripts/subagent_guard.pyCheck before spawning subagentscheck_usage.shQuick CLI wrapper

Note: Alternative Playwright-based scraper (fetch_kimi_usage.py) available for non-OpenClaw environments (requires system dependencies).

### Troubleshooting

"Browser not available"

Ensure Chrome extension is attached (badge shows ON)
Verify the Kimi console tab is open

"Could not detect usage"

Make sure you're logged into Kimi
Check that the console page has fully loaded

Authentication errors

Re-authenticate at https://www.kimi.com/code/console
The browser tool uses your existing Chrome session

### Human-Readable (default)

📊 Kimi Usage Monitor
========================================

🗓️  Weekly Usage
   Used: 45%
   Remaining: 55%
   Resets in: 36 hours
   Status: 🟡 Moderate — plan accordingly

⚡ Rate Limit
   Used: 2%
   Resets in: 3 hours

### JSON (--json flag)

{
  "weekly_usage_percent": 45,
  "weekly_resets_hours": 36,
  "rate_limit_percent": 2,
  "rate_limit_resets_hours": 3,
  "timestamp": "2026-02-12 21:15:00"
}

### License

MIT License - Feel free to modify and distribute.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: xD4O
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-04T18:21:18.471Z
- Expires at: 2026-05-11T18:21:18.471Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/kimi-usage-monitor)
- [Send to Agent page](https://openagent3.xyz/skills/kimi-usage-monitor/agent)
- [JSON manifest](https://openagent3.xyz/skills/kimi-usage-monitor/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/kimi-usage-monitor/agent.md)
- [Download page](https://openagent3.xyz/downloads/kimi-usage-monitor)