/dev-ops:cost-trackingfrom dev-ops
Tracks API spend and billing across Anthropic, Vercel, Railway, and Vantage MCP. Provides API endpoints and CLI shortcuts for cost analysis.
Ships in dev-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Unified cost tracking and budget analysis across the bOpen agent organization's service stack.
Usage API: GET /v1/organizations/usage_report/messages
sk-ant-admin...) — org admin required1m, 1h, 1dCost API: GET /v1/organizations/cost_report
1d), costs in USD as decimal stringsQuick examples:
# Daily costs for last 7 days
curl -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \
"https://api.anthropic.com/v1/organizations/cost_report?start_date=2026-03-07&end_date=2026-03-14&bucket_size=1d"
# Usage by model for last 24h
curl -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \
"https://api.anthropic.com/v1/organizations/usage_report/messages?start_date=2026-03-13T00:00:00Z&end_date=2026-03-14T00:00:00Z&bucket_size=1h&group_by=model"
Full parameter reference and response shapes: references/anthropic-api.md.
Billing API: GET /v1/billing/charges
from, to, teamId or slugSpend Management Webhooks: fire at 50%/75%/100% of configured budget.
CLI shortcut: vercel usage for current-period spend at a glance.
Full API reference, FOCUS field descriptions, and webhook setup: references/vercel-api.md.
Railway has no public billing API. The GraphQL API covers projects, services, and deployments — not costs. Cost data is only available in the Railway dashboard under Settings > Usage.
When asked about Railway costs: instruct the user to open the dashboard and report the numbers manually. Do not attempt to fetch them programmatically.
Optional consolidated view across Anthropic, Vercel, and 30+ other providers.
claude mcp add --transport sse vantage https://mcp.vantage.sh/sse
Connects to Anthropic via Admin API key and to Vercel via a Community Integration with read:billing scope. Railway is NOT supported by Vantage.
Full setup steps: references/vantage-setup.md.
Query the Anthropic usage API grouped by api_key or workspace. Correlate workspace/key names with agent roles. Identify which agents burn the most tokens and recommend model tier changes (opus → sonnet → haiku) where quality allows.
Pull cost data for the billing period from the Anthropic cost report and Vercel billing charges. Compare against budgeted amounts. Flag overruns with percentage and absolute delta.
Compare daily spend against the 7-day rolling average. Flag days where spend exceeds 2x the average. Drill into which model, workspace, or agent caused the spike by querying the usage endpoint grouped by model for that day.
claude-opus for tasks that claude-sonnet or claude-haiku could handlereferences/anthropic-api.md — Full Anthropic Admin API docs for usage and cost endpointsreferences/vercel-api.md — Vercel Billing API, FOCUS format, and spend management webhooksreferences/vantage-setup.md — Vantage MCP server setup and platform coverageWhat SKILL.md sets; muted values are Claude Code's defaults
dev-ops@b-open-io is listed by b-open-io/claude-plugins — review the source before installing
npx claudepluginhub b-open-io/claude-plugins --plugin dev-ops6 skills in this plugin
/devops-scriptsThis skill should be used when the user asks to "check deployment health", "verify service connectivity", "validate environment variables before deploy", "run a pre-deploy smoke check", or "diagnose a Vercel, Railway, Redis, or Postgres connection issue". Runs deterministic shell scripts for infrastructure health checks and environment validation, returning structured JSON instead of burning context on inline bash logic./npm-publishThis skill should be used when the user wants to publish a package to npm, bump a version, release a new version, or mentions "npm publish", "bun publish", "version bump", or "release to npm". Handles version bumping, changelog updates, default-branch release delivery, scripted npm web login and bun publish confirmation (--local opens a browser, --remote prints a link). Do not trigger for unrelated uses of "release" (e.g. GitHub releases, press releases)./plaid-integrationOther plugins' skills for the same job