{
  "schemaVersion": "1.0",
  "item": {
    "slug": "token-budget-monitor",
    "name": "Token Budget Monitor",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/aviclaw/token-budget-monitor",
    "canonicalUrl": "https://clawhub.ai/aviclaw/token-budget-monitor",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/token-budget-monitor",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=token-budget-monitor",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "config.json",
      "track-usage.js"
    ],
    "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-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.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/token-budget-monitor"
    },
    "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/token-budget-monitor",
    "agentPageUrl": "https://openagent3.xyz/skills/token-budget-monitor/agent",
    "manifestUrl": "https://openagent3.xyz/skills/token-budget-monitor/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/token-budget-monitor/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": "token-budget-monitor",
        "body": "Track and control token consumption across OpenClaw cron jobs, fallback chains, and sessions."
      },
      {
        "title": "Installation",
        "body": "openclaw skills install aviclaw/token-budget-monitor"
      },
      {
        "title": "Usage",
        "body": "# Check current usage\nnode track-usage.js status\n\n# Check budget for a specific job  \nnode track-usage.js check daily-tweet\n\n# Alert if over budget\nnode track-usage.js alert\n\n# Get model recommendations\nnode track-usage.js recommend"
      },
      {
        "title": "Integration",
        "body": "Add to cron jobs to track usage:\n\n// After LLM call completes\nconst usage = result.usage;\nexec('node /path/to/track-usage.js track <job-name> ' + \n  usage.input_tokens + ' ' + usage.output_tokens + ' ' + model);"
      },
      {
        "title": "Configuration",
        "body": "Edit config.json:\n\n{\n  \"dailyLimit\": 100000,\n  \"jobLimits\": {\n    \"daily-tweet\": 5000,\n    \"rss-brief\": 15000\n  },\n  \"alertThreshold\": 0.8,\n  \"freeModels\": [\n    \"nvidia/moonshotai/kimi-k2.5\",\n    \"google/gemini-2.0-flash-exp\"\n  ]\n}"
      },
      {
        "title": "Features",
        "body": "Per-job token tracking\nDaily budget limits\nPer-job custom limits\nAlert when threshold exceeded\nRecommend free model alternatives"
      },
      {
        "title": "Author",
        "body": "GitHub: @aviclaw"
      },
      {
        "title": "License",
        "body": "MIT"
      }
    ],
    "body": "token-budget-monitor\n\nTrack and control token consumption across OpenClaw cron jobs, fallback chains, and sessions.\n\nInstallation\nopenclaw skills install aviclaw/token-budget-monitor\n\nUsage\n# Check current usage\nnode track-usage.js status\n\n# Check budget for a specific job  \nnode track-usage.js check daily-tweet\n\n# Alert if over budget\nnode track-usage.js alert\n\n# Get model recommendations\nnode track-usage.js recommend\n\nIntegration\n\nAdd to cron jobs to track usage:\n\n// After LLM call completes\nconst usage = result.usage;\nexec('node /path/to/track-usage.js track <job-name> ' + \n  usage.input_tokens + ' ' + usage.output_tokens + ' ' + model);\n\nConfiguration\n\nEdit config.json:\n\n{\n  \"dailyLimit\": 100000,\n  \"jobLimits\": {\n    \"daily-tweet\": 5000,\n    \"rss-brief\": 15000\n  },\n  \"alertThreshold\": 0.8,\n  \"freeModels\": [\n    \"nvidia/moonshotai/kimi-k2.5\",\n    \"google/gemini-2.0-flash-exp\"\n  ]\n}\n\nFeatures\nPer-job token tracking\nDaily budget limits\nPer-job custom limits\nAlert when threshold exceeded\nRecommend free model alternatives\nAuthor\nGitHub: @aviclaw\nLicense\n\nMIT"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/aviclaw/token-budget-monitor",
    "publisherUrl": "https://clawhub.ai/aviclaw/token-budget-monitor",
    "owner": "aviclaw",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/token-budget-monitor",
    "downloadUrl": "https://openagent3.xyz/downloads/token-budget-monitor",
    "agentUrl": "https://openagent3.xyz/skills/token-budget-monitor/agent",
    "manifestUrl": "https://openagent3.xyz/skills/token-budget-monitor/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/token-budget-monitor/agent.md"
  }
}