{
  "schemaVersion": "1.0",
  "item": {
    "slug": "claude-usage-checker",
    "name": "Claude Usage Checker",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/aligurelli/claude-usage-checker",
    "canonicalUrl": "https://clawhub.ai/aligurelli/claude-usage-checker",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/claude-usage-checker",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-usage-checker",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "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. 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. 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/claude-usage-checker"
    },
    "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/claude-usage-checker",
    "agentPageUrl": "https://openagent3.xyz/skills/claude-usage-checker/agent",
    "manifestUrl": "https://openagent3.xyz/skills/claude-usage-checker/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/claude-usage-checker/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. 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. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Claude Usage Checker",
        "body": "Launches the Claude CLI interactively (PTY) and reads the /usage output to report your Claude Code / Claude Max quota."
      },
      {
        "title": "Prerequisites",
        "body": "Claude CLI must be installed (npm i -g @anthropic-ai/claude-code) and logged in\nIf running claude shows \"Missing API key\", the user must log in manually first: open a terminal, run claude, and complete the browser login flow\nRequires an interactive PTY — the agent will launch a local process and read its output (quota info only)"
      },
      {
        "title": "Steps",
        "body": "Launch claude with PTY\nWait for the welcome screen (poll until it appears)\nSend /usage + Enter\nRead the output (poll until usage data appears)\nClose with Escape then /exit\nReport the results"
      },
      {
        "title": "Commands",
        "body": "# Launch claude with PTY\nexec pty=true command=\"claude\"\n\n# Wait and check log\nprocess action=poll sessionId=XXX timeout=5000\n\n# Send /usage\nprocess action=send-keys sessionId=XXX literal=\"/usage\"\nprocess action=send-keys sessionId=XXX keys=[\"Enter\"]\n\n# Read output\nprocess action=poll sessionId=XXX timeout=5000\n\n# Exit\nprocess action=send-keys sessionId=XXX keys=[\"Escape\"]\nprocess action=send-keys sessionId=XXX literal=\"/exit\"\nprocess action=send-keys sessionId=XXX keys=[\"Enter\"]"
      },
      {
        "title": "Notes",
        "body": "If you see \"Missing API key\" → tell the user to log in; browser-based login won't work headlessly\nAllow a few seconds between polls — Claude CLI starts slowly\n\"Current week\" = weekly reset, not daily"
      },
      {
        "title": "Output Format",
        "body": "Report in a table:\n\nUsageResetsCurrent sessionX% usedtoday at HH:MM (timezone)Weekly (all models)X% usedHH:MM (timezone)Weekly (Sonnet only)X% usedHH:MM (timezone)Extra usageX% used / $X of $Y spentdate (timezone)\n\nAlways show reset times. The CLI displays them as \"Resets Xpm\" — convert to HH:MM format."
      }
    ],
    "body": "Claude Usage Checker\n\nLaunches the Claude CLI interactively (PTY) and reads the /usage output to report your Claude Code / Claude Max quota.\n\nPrerequisites\nClaude CLI must be installed (npm i -g @anthropic-ai/claude-code) and logged in\nIf running claude shows \"Missing API key\", the user must log in manually first: open a terminal, run claude, and complete the browser login flow\nRequires an interactive PTY — the agent will launch a local process and read its output (quota info only)\nSteps\nLaunch claude with PTY\nWait for the welcome screen (poll until it appears)\nSend /usage + Enter\nRead the output (poll until usage data appears)\nClose with Escape then /exit\nReport the results\nCommands\n# Launch claude with PTY\nexec pty=true command=\"claude\"\n\n# Wait and check log\nprocess action=poll sessionId=XXX timeout=5000\n\n# Send /usage\nprocess action=send-keys sessionId=XXX literal=\"/usage\"\nprocess action=send-keys sessionId=XXX keys=[\"Enter\"]\n\n# Read output\nprocess action=poll sessionId=XXX timeout=5000\n\n# Exit\nprocess action=send-keys sessionId=XXX keys=[\"Escape\"]\nprocess action=send-keys sessionId=XXX literal=\"/exit\"\nprocess action=send-keys sessionId=XXX keys=[\"Enter\"]\n\nNotes\nIf you see \"Missing API key\" → tell the user to log in; browser-based login won't work headlessly\nAllow a few seconds between polls — Claude CLI starts slowly\n\"Current week\" = weekly reset, not daily\nOutput Format\n\nReport in a table:\n\n\tUsage\tResets\nCurrent session\tX% used\ttoday at HH:MM (timezone)\nWeekly (all models)\tX% used\tHH:MM (timezone)\nWeekly (Sonnet only)\tX% used\tHH:MM (timezone)\nExtra usage\tX% used / $X of $Y spent\tdate (timezone)\n\nAlways show reset times. The CLI displays them as \"Resets Xpm\" — convert to HH:MM format."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/aligurelli/claude-usage-checker",
    "publisherUrl": "https://clawhub.ai/aligurelli/claude-usage-checker",
    "owner": "aligurelli",
    "version": "1.3.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/claude-usage-checker",
    "downloadUrl": "https://openagent3.xyz/downloads/claude-usage-checker",
    "agentUrl": "https://openagent3.xyz/skills/claude-usage-checker/agent",
    "manifestUrl": "https://openagent3.xyz/skills/claude-usage-checker/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/claude-usage-checker/agent.md"
  }
}