Back to skills
SKILL.md
Zai Usage
ASecurityMonitor Z.AI GLM Coding Plan usage and quota limits. Track token consumption, view reset times, and check subscription status.
- 33 stars
- 0 votes
- 0 copies
- 0 views
- Added September 5, 2026
Works with
Security analysis
100/100Pro scans all 6 files and shows the line behind each finding
npx -y skills add dvcrn/openclaw-skills-marketplace --skill zai-usage --agent claude-codeAre you the author of Zai Usage?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/dvcrn-zai-usage)---
name: zai-usage
description: "Monitor Z.AI GLM Coding Plan usage and quota limits. Track token consumption, view reset times, and check subscription status."
homepage: https://z.ai
---
# Z.AI Usage Monitor
Track your Z.AI GLM Coding Plan usage in real-time.
## Quick Start
```bash
# Check usage
~/.openclaw/skills/zai-usage/scripts/usage-summary.sh
# Quick status
~/.openclaw/skills/zai-usage/scripts/quick-check.sh
```
## Setup
1. Get your JWT token from https://z.ai/manage-apikey/subscription
- Open DevTools (F12)
- Application → Local Storage → `z-ai-open-platform-token-production`
2. 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
| Icon | Usage |
|------|-------|
| ✅ | < 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/
Files in this skill
- README.md
- SKILL.md
- scripts/check-usage.sh
- scripts/quick-check.sh
- scripts/usage-summary.sh
- skill.json
Attribution
Comments
Loading comments…