ai-billing

Installation
SKILL.md

AI billing

Treat AI billing as a measured billing workflow. Exact middleware options, token fields, pricing inputs, errors, and SDK calls come from the installed documentation and generated types.

Resolve installed context

  1. Detect the installed Commet SDK, AI provider or gateway, model wrapper, and the code path that receives authoritative usage totals.
  2. Locate the SDK's installed docs/manifest.json, read its entrypoint, and follow the indexed AI token billing, usage, balance, and error documentation.
  3. For @commet/ai-sdk, also read its installed README and peer dependency versions.
  4. In Node projects, run commet doctor --output agent and resolve failed package, documentation, compatibility, API-version, or project-context checks.

Do not use token field names, cost formulas, model identifiers, middleware options, or error codes from this skill. They change with the installed contract and provider integration.

Implement

Installs
39
GitHub Stars
3
First Seen
Apr 3, 2026
ai-billing — commet-labs/skills