{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/zai-usage",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=zai-usage",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/check-usage.sh",
      "scripts/quick-check.sh",
      "scripts/usage-summary.sh",
      "skill.json"
    ],
    "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. 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."
        },
        {
          "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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/zai-usage",
    "agentPageUrl": "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"
  },
  "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. 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."
      },
      {
        "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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Z.AI Usage Monitor",
        "body": "Track your Z.AI GLM Coding Plan usage in real-time."
      },
      {
        "title": "Quick Start",
        "body": "# Check usage\n~/.openclaw/skills/zai-usage/scripts/usage-summary.sh\n\n# Quick status\n~/.openclaw/skills/zai-usage/scripts/quick-check.sh"
      },
      {
        "title": "Setup",
        "body": "Get your JWT token from https://z.ai/manage-apikey/subscription\n\nOpen DevTools (F12)\nApplication → Local Storage → z-ai-open-platform-token-production\n\n\n\nStore in ~/.openclaw/secrets/zai.env:\nZAI_JWT_TOKEN=eyJhbGci..."
      },
      {
        "title": "What You See",
        "body": "5-Hour Quota - Rolling token usage with reset countdown\nMonthly Quota - Monthly token allocation\nWeb Tools - Search/reader/zread call limits\nPlan Level - Lite/Pro subscription status"
      },
      {
        "title": "Status Icons",
        "body": "IconUsage✅< 50%⚠️50-80%🔴> 80%"
      },
      {
        "title": "Commands",
        "body": "Ask me:\n\n\"How's our Z.AI usage?\"\n\"Check credit usage\"\n\"Are we running low on credits?\""
      },
      {
        "title": "Requirements",
        "body": "curl - HTTP requests\njq - JSON parsing\nbc - Number formatting (optional)"
      },
      {
        "title": "Sources",
        "body": "https://github.com/zereraz/tokensight\nhttps://www.reddit.com/r/ZaiGLM/comments/1pmb7fj/how_to_check_zai_coding_usage/"
      }
    ],
    "body": "Z.AI Usage Monitor\n\nTrack your Z.AI GLM Coding Plan usage in real-time.\n\nQuick Start\n# Check usage\n~/.openclaw/skills/zai-usage/scripts/usage-summary.sh\n\n# Quick status\n~/.openclaw/skills/zai-usage/scripts/quick-check.sh\n\nSetup\n\nGet your JWT token from https://z.ai/manage-apikey/subscription\n\nOpen DevTools (F12)\nApplication → Local Storage → z-ai-open-platform-token-production\n\nStore in ~/.openclaw/secrets/zai.env:\n\nZAI_JWT_TOKEN=eyJhbGci...\n\nWhat You See\n5-Hour Quota - Rolling token usage with reset countdown\nMonthly Quota - Monthly token allocation\nWeb Tools - Search/reader/zread call limits\nPlan Level - Lite/Pro subscription status\nStatus Icons\nIcon\tUsage\n✅\t< 50%\n⚠️\t50-80%\n🔴\t> 80%\nCommands\n\nAsk me:\n\n\"How's our Z.AI usage?\"\n\"Check credit usage\"\n\"Are we running low on credits?\"\nRequirements\ncurl - HTTP requests\njq - JSON parsing\nbc - Number formatting (optional)\nSources\nhttps://github.com/zereraz/tokensight\nhttps://www.reddit.com/r/ZaiGLM/comments/1pmb7fj/how_to_check_zai_coding_usage/"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/1vecera/zai-usage",
    "publisherUrl": "https://clawhub.ai/1vecera/zai-usage",
    "owner": "1vecera",
    "version": "1.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}