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.
npx skills add synth-laboratories/synth-ai --skill swarms-billinggit clone --depth 1 https://github.com/synth-laboratories/synth-aiWrote 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.
[](https://agentmods.dev/skills/synth-laboratories/synth-ai/swarms-billing)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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).headroomandavailable: 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): returnstotal,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(optionalcause,run_id,since,until): ledger entries.
2. Inspect Plans and Credit Packs
Call account_billing_plans_list (public — requires no OAuth scope) to inspect:
plansandswitchable_plans: subscription tiers and eligible switch targets.credit_packsandcustom_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}orbody: {credit},idempotency_key) and poll status withaccount_billing_checkout_get(id). - Start a first subscription (when
account_billing_subscription_getshows no active subscription):account_billing_checkout_create(body: {plan_id},idempotency_key). - Switch an active subscription plan: do not call
account_billing_checkout_createwithplan_id(subscription_already_active). Instead:- Preview proration with
account_billing_subscription_change_preview(plan_id). - Apply with
account_billing_subscription_change(body: {plan_id},idempotency_key). - If a cancellation is pending (
subscription_cancel_pending), callaccount_billing_subscription_resumefirst.
- Preview proration with
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.
- 2d ago First seen · 50 lines · 40 tokens per session scan A 500d44ea075f
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.
swarms-billing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| swarms-billingsynth-laboratories/synth-ai | Skill | 81 | today | MIT | A | 40 | Claude Code, Codex |
| connect-recommendstripe/ai | Skill | 2.1k | 5d ago | MIT | A | 151 | Claude Code, Codex |
| stripe-implementation-plannerstripe/ai | Skill | 2.1k | 5d ago | MIT | A | 106 | Claude Code |
| metronomestripe/ai | Skill | 2.1k | 5d ago | MIT | A | 184 | Claude Code, Codex |
| stripe-bfcm-dashboardstripe/ai | Skill | 2.1k | 5d ago | MIT | A | 120 | Claude Code, Codex |
| stripe-best-practicesstripe/ai | Skill | 2.1k | 5d ago | MIT | A | 161 | Claude Code, Codex |
| stripe-paystripe/ai | Skill | 2.1k | 5d ago | MIT | A | 58 | Claude Code |