# Send Zai Usage 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": "zai-usage",
    "name": "Zai Usage",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/1vecera/zai-usage",
    "canonicalUrl": "https://clawhub.ai/1vecera/zai-usage",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/zai-usage",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=zai-usage",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/check-usage.sh",
      "scripts/quick-check.sh",
      "scripts/usage-summary.sh",
      "skill.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "zai-usage",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T13:39:57.820Z",
      "expiresAt": "2026-05-07T13:39:57.820Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=zai-usage",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=zai-usage",
        "contentDisposition": "attachment; filename=\"zai-usage-1.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "zai-usage"
      },
      "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/zai-usage"
    },
    "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/zai-usage",
    "downloadUrl": "https://openagent3.xyz/downloads/zai-usage",
    "agentUrl": "https://openagent3.xyz/skills/zai-usage/agent",
    "manifestUrl": "https://openagent3.xyz/skills/zai-usage/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/zai-usage/agent.md"
  }
}
```
## Documentation

### Z.AI Usage Monitor

Track your Z.AI GLM Coding Plan usage in real-time.

### Quick Start

# Check usage
~/.openclaw/skills/zai-usage/scripts/usage-summary.sh

# Quick status
~/.openclaw/skills/zai-usage/scripts/quick-check.sh

### Setup

Get your JWT token from https://z.ai/manage-apikey/subscription

Open DevTools (F12)
Application → Local Storage → z-ai-open-platform-token-production



Store in ~/.openclaw/secrets/zai.env:
ZAI_JWT_TOKEN=eyJhbGci...

### What You See

5-Hour Quota - Rolling token usage with reset countdown
Monthly Quota - Monthly token allocation
Web Tools - Search/reader/zread call limits
Plan Level - Lite/Pro subscription status

### Status Icons

IconUsage✅< 50%⚠️50-80%🔴> 80%

### Commands

Ask me:

"How's our Z.AI usage?"
"Check credit usage"
"Are we running low on credits?"

### Requirements

curl - HTTP requests
jq - JSON parsing
bc - Number formatting (optional)

### Sources

https://github.com/zereraz/tokensight
https://www.reddit.com/r/ZaiGLM/comments/1pmb7fj/how_to_check_zai_coding_usage/
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: 1vecera
- Version: 1.1.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-04-30T13:39:57.820Z
- Expires at: 2026-05-07T13:39:57.820Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/zai-usage)
- [Send to Agent page](https://openagent3.xyz/skills/zai-usage/agent)
- [JSON manifest](https://openagent3.xyz/skills/zai-usage/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/zai-usage/agent.md)
- [Download page](https://openagent3.xyz/downloads/zai-usage)