swarms-billing

swarms-billing is a skill for Claude Code, Codex from synth-laboratories/synth-ai. It costs 40 tokens per session (848 once invoked), scanned A, original, MIT.

A billing guide for Cloud Swarms accounts. It explains subscription allowance, prepaid pay-as-you-go credits, reserved funds, available spending capacity, usage history, and plan or credit purchases.

In plain words
What is it for?
Use it to inspect balances and usage, review holds and debt, buy prepaid credits, switch plans, and resolve billing-related launch failures.
Why use it?
It helps you check whether a run can be funded and understand why spending may be refused or still reserved.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect balances and usage, review holds and debt, buy prepaid credits, switch plans, and resolve billing-related launch failures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/synth-laboratories/synth-ai/swarms-billing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add synth-laboratories/synth-ai --skill swarms-billing
Clone the repo
git clone --depth 1 https://github.com/synth-laboratories/synth-ai

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for swarms-billing

README.md
[![agentmods](https://agentmods.dev/badge/skills/synth-laboratories/synth-ai/swarms-billing/github.svg)](https://agentmods.dev/skills/synth-laboratories/synth-ai/swarms-billing)
Your own site
<a href="https://agentmods.dev/skills/synth-laboratories/synth-ai/swarms-billing"><img src="https://agentmods.dev/badge/skills/synth-laboratories/synth-ai/swarms-billing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for swarms-billing

Your own site · 80×15
<a href="https://agentmods.dev/skills/synth-laboratories/synth-ai/swarms-billing"><img src="https://agentmods.dev/badge/skills/synth-laboratories/synth-ai/swarms-billing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 848 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00848
Opus 5.5 $0.00016 $0.00339
Sonnet 5.5 $0.00008 $0.00170
Haiku 4.5 $0.00004 $0.00085

Measured 2d ago against content hash 500d44ea075f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

swarms-billing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

synth_ai/mcp/skills/swarms-billing/SKILL.md · 50 lines

How it starts

The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cloud Swarms Billing and Spend Management

Use these tools to inspect funding headroom before launching runs, purchase prepaid credits or switch plans, and resolve spend refusals.

1. Inspect Balance, Holds, and Usage

Call account_billing_balance (account:billing:read). Key fields:

  • plan: current subscription plan.
  • included_allowance: recurring weekly plan allowance included with the subscription.
  • payg_credits_active, purchased_credits, promotional_credits, operator_credits: prepaid PAYG credit buckets drawn after/alongside included allowance.
  • held: funds currently reserved for active/queued runs (released when runs settle).
  • headroom and available: spendable capacity for new run reservations.
  • debt: any unsettled balance that must be cleared.

For historical spend and settlement state:

  • account_usage_summary (since, until — max 366 days): returns total, pending, settling, funding, by_source, by_day, by_key.
  • account_usage_for_run (run_id): line-item usage records for one run.
  • account_billing_history (optional cause, run_id, since, until): ledger entries.

2. Inspect Plans and Credit Packs

Call account_billing_plans_list (public — requires no OAuth scope) to inspect:

  • plans and switchable_plans: subscription tiers and eligible switch targets.
  • credit_packs and custom_credit: purchasable prepaid PAYG top-ups.

3. Credit Packs vs Subscription Plan Switches

Choose the right flow — they are distinct operations:

  • Buy prepaid PAYG credits: call account_billing_checkout_create (body: {pack_id} or body: {credit}, idempotency_key) and poll status with account_billing_checkout_get (id).
  • Start a first subscription (when account_billing_subscription_get shows no active subscription): account_billing_checkout_create (body: {plan_id}, idempotency_key).
  • Switch an active subscription plan: do not call account_billing_checkout_create with plan_id (subscription_already_active). Instead:
    1. Preview proration with account_billing_subscription_change_preview (plan_id).
    2. Apply with account_billing_subscription_change (body: {plan_id}, idempotency_key).
    3. If a cancellation is pending (subscription_cancel_pending), call account_billing_subscription_resume first.

Read the full file on GitHub · 50 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 50 lines · 40 tokens per session scan A 500d44ea075f

Subscribe to this mod's changes

swarms-billing is a skill published in the GitHub repository synth-laboratories/synth-ai (81 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 848 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-28.

Related

swarms-billing compared with skills from other repositories

swarms-billing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
swarms-billingsynth-laboratories/synth-aiSkill81todayMITA40Claude Code, Codex
connect-recommendstripe/aiSkill2.1k5d agoMITA151Claude Code, Codex
stripe-implementation-plannerstripe/aiSkill2.1k5d agoMITA106Claude Code
metronomestripe/aiSkill2.1k5d agoMITA184Claude Code, Codex
stripe-bfcm-dashboardstripe/aiSkill2.1k5d agoMITA120Claude Code, Codex
stripe-best-practicesstripe/aiSkill2.1k5d agoMITA161Claude Code, Codex
stripe-paystripe/aiSkill2.1k5d agoMITA58Claude Code