{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-claude-usage",
    "name": "Claude Usage Release",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/chunhualiao/openclaw-claude-usage",
    "canonicalUrl": "https://clawhub.ai/chunhualiao/openclaw-claude-usage",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/openclaw-claude-usage",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-claude-usage",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "CHANGELOG.md",
      "README.md",
      "SKILL.md",
      "STATUS.json",
      "skill.yml",
      "tests/test-triggers.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",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.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/openclaw-claude-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/openclaw-claude-usage",
    "agentPageUrl": "https://openagent3.xyz/skills/openclaw-claude-usage/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-claude-usage/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-claude-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": "Claude Usage",
        "body": "Check Claude Max subscription usage by launching Claude Code interactively."
      },
      {
        "title": "Requirements",
        "body": "expect must be installed (available at /usr/bin/expect on macOS)\nClaude Code CLI must be installed and authenticated"
      },
      {
        "title": "Procedure",
        "body": "Use expect to automate the interactive TUI (the /usage command is a terminal UI, not a simple CLI):\n\nRun the expect script to launch Claude Code and execute /usage:\nexpect -c '\nspawn claude\nexpect \"Welcome\"\nsend \"/usage\\r\"\nexpect \"Show plan usage\"\nsleep 1\nsend \"\\r\"\nexpect \"Resets\"\n'\n\n\n\nParse the output for these metrics:\n\nCurrent session: Look for \"Current session\" line with percentage and reset time\nCurrent week (all models): Look for \"Current week (all models)\" with percentage and reset date\nCurrent week (Sonnet only): Look for \"Current week (Sonnet only)\" with percentage\nExtra usage: Look for \"Extra usage\" line\n\n\n\nStrip ANSI escape codes from output before parsing\n\n\nFormat and relay the metrics to the user"
      },
      {
        "title": "Example Output",
        "body": "The expect script returns something like:\n\nCurrent session     ██████████░░░░░░░░░░░░░░░░░ 21% used    Resets 5:59pm (America/Los_Angeles)\n\nCurrent week (all models)\n████████████████████████░░░░░░░░░░░░░ 28% used    Resets Feb 21 at 6am (America/Los_Angeles)\n\nCurrent week (Sonnet only)\n█████████████████████████░░░░░░░░░░░░ 29% used    Resets Feb 21 at 7am (America/Los_Angeles)\n\nExtra usage\nExtra usage not enabled • /extra-usage to enable\n\n$50 free extra usage · /extra-usage to enable"
      },
      {
        "title": "Fallback",
        "body": "If expect is not available, fall back to:\n\nclaude auth status - shows subscription type (Max/Pro)\n~/.claude/stats-cache.json - shows local session token counts (limited data)"
      }
    ],
    "body": "Claude Usage\n\nCheck Claude Max subscription usage by launching Claude Code interactively.\n\nRequirements\nexpect must be installed (available at /usr/bin/expect on macOS)\nClaude Code CLI must be installed and authenticated\nProcedure\n\nUse expect to automate the interactive TUI (the /usage command is a terminal UI, not a simple CLI):\n\nRun the expect script to launch Claude Code and execute /usage:\n\nexpect -c '\nspawn claude\nexpect \"Welcome\"\nsend \"/usage\\r\"\nexpect \"Show plan usage\"\nsleep 1\nsend \"\\r\"\nexpect \"Resets\"\n'\n\n\nParse the output for these metrics:\n\nCurrent session: Look for \"Current session\" line with percentage and reset time\nCurrent week (all models): Look for \"Current week (all models)\" with percentage and reset date\nCurrent week (Sonnet only): Look for \"Current week (Sonnet only)\" with percentage\nExtra usage: Look for \"Extra usage\" line\n\nStrip ANSI escape codes from output before parsing\n\nFormat and relay the metrics to the user\n\nExample Output\n\nThe expect script returns something like:\n\nCurrent session     ██████████░░░░░░░░░░░░░░░░░ 21% used    Resets 5:59pm (America/Los_Angeles)\n\nCurrent week (all models)\n████████████████████████░░░░░░░░░░░░░ 28% used    Resets Feb 21 at 6am (America/Los_Angeles)\n\nCurrent week (Sonnet only)\n█████████████████████████░░░░░░░░░░░░ 29% used    Resets Feb 21 at 7am (America/Los_Angeles)\n\nExtra usage\nExtra usage not enabled • /extra-usage to enable\n\n$50 free extra usage · /extra-usage to enable\n\nFallback\n\nIf expect is not available, fall back to:\n\nclaude auth status - shows subscription type (Max/Pro)\n~/.claude/stats-cache.json - shows local session token counts (limited data)"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/chunhualiao/openclaw-claude-usage",
    "publisherUrl": "https://clawhub.ai/chunhualiao/openclaw-claude-usage",
    "owner": "chunhualiao",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-claude-usage",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-claude-usage",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-claude-usage/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-claude-usage/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-claude-usage/agent.md"
  }
}