{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openrouter-usage-info",
    "name": "Openrouter Usage",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/lcajigasm/openrouter-usage-info",
    "canonicalUrl": "https://clawhub.ai/lcajigasm/openrouter-usage-info",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/openrouter-usage-info",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openrouter-usage-info",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "install.sh",
      "scripts/openrouter_usage.py"
    ],
    "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/openrouter-usage-info"
    },
    "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/openrouter-usage-info",
    "agentPageUrl": "https://openagent3.xyz/skills/openrouter-usage-info/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openrouter-usage-info/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openrouter-usage-info/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": "openrouter-usage",
        "body": "Track your OpenRouter spending directly from your OpenClaw agent. Shows credit balance, per-model cost/token breakdown, and spending projections."
      },
      {
        "title": "Trigger",
        "body": "Use when the user asks about OpenRouter credits, costs, spending, balance, usage, billing, or the /usage command."
      },
      {
        "title": "Full report (recommended — combines everything)",
        "body": "openrouter-usage report              # credits + today's usage + projection\nopenrouter-usage report --week       # credits + last 7 days\nopenrouter-usage report --month      # credits + last 30 days"
      },
      {
        "title": "Credit balance only",
        "body": "openrouter-usage credits"
      },
      {
        "title": "Per-model breakdown only",
        "body": "openrouter-usage sessions --today\nopenrouter-usage sessions --week\nopenrouter-usage sessions --month\nopenrouter-usage sessions --date 2026-02-25\nopenrouter-usage sessions --from 2026-02-01 --to 2026-02-15"
      },
      {
        "title": "Filtering and output",
        "body": "openrouter-usage report --agent main          # specific agent only\nopenrouter-usage report --format json         # JSON output\nopenrouter-usage sessions --today --utc       # use UTC instead of local timezone"
      },
      {
        "title": "Notes",
        "body": "API key auto-discovered from OpenClaw auth store or OPENROUTER_API_KEY env var.\nSession parsing is fully local — reads ~/.openclaw/agents/*/sessions/*.jsonl.\nDate filters use local timezone by default. Pass --utc to override.\nZero dependencies beyond Python 3 stdlib."
      }
    ],
    "body": "openrouter-usage\n\nTrack your OpenRouter spending directly from your OpenClaw agent. Shows credit balance, per-model cost/token breakdown, and spending projections.\n\nTrigger\n\nUse when the user asks about OpenRouter credits, costs, spending, balance, usage, billing, or the /usage command.\n\nCommands\nFull report (recommended — combines everything)\nopenrouter-usage report              # credits + today's usage + projection\nopenrouter-usage report --week       # credits + last 7 days\nopenrouter-usage report --month      # credits + last 30 days\n\nCredit balance only\nopenrouter-usage credits\n\nPer-model breakdown only\nopenrouter-usage sessions --today\nopenrouter-usage sessions --week\nopenrouter-usage sessions --month\nopenrouter-usage sessions --date 2026-02-25\nopenrouter-usage sessions --from 2026-02-01 --to 2026-02-15\n\nFiltering and output\nopenrouter-usage report --agent main          # specific agent only\nopenrouter-usage report --format json         # JSON output\nopenrouter-usage sessions --today --utc       # use UTC instead of local timezone\n\nNotes\nAPI key auto-discovered from OpenClaw auth store or OPENROUTER_API_KEY env var.\nSession parsing is fully local — reads ~/.openclaw/agents/*/sessions/*.jsonl.\nDate filters use local timezone by default. Pass --utc to override.\nZero dependencies beyond Python 3 stdlib."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/lcajigasm/openrouter-usage-info",
    "publisherUrl": "https://clawhub.ai/lcajigasm/openrouter-usage-info",
    "owner": "lcajigasm",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openrouter-usage-info",
    "downloadUrl": "https://openagent3.xyz/downloads/openrouter-usage-info",
    "agentUrl": "https://openagent3.xyz/skills/openrouter-usage-info/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openrouter-usage-info/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openrouter-usage-info/agent.md"
  }
}