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 oleg494/coding-kit --skill money-path-safetygit clone --depth 1 https://github.com/oleg494/coding-kitWrote 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/oleg494/coding-kit/money-path-safety)<a href="https://agentmods.dev/skills/oleg494/coding-kit/money-path-safety"><img src="https://agentmods.dev/badge/skills/oleg494/coding-kit/money-path-safety/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/oleg494/coding-kit/money-path-safety"><img src="https://agentmods.dev/badge/skills/oleg494/coding-kit/money-path-safety.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.00099 | $0.01211 |
| Opus 5.5 | $0.00040 | $0.00484 |
| Sonnet 5.5 | $0.00020 | $0.00242 |
| Haiku 4.5 | $0.00010 | $0.00121 |
Grade A, and why
money-path-safety 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 yesterday.
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 — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Money path safety
Applies to any path that deducts, credits, grants, expires or limits value: payments, balances, quotas, promo codes, referrals, subscriptions. A bug here is silent, permanent and spends real money.
Rules
- Lock, idempotency, audit record, double-submit test. Pressing "pay" twice leaves balance +X, not +2X.
- Idempotency by default: operation key (invoice id, event id, request id) + recorded outcome + early return. Run the handler twice — the second run is a no-op.
- Three outcomes, not two. For every payment or value-provider call, classify what came back:
- confirmed success → debit exactly once;
- confirmed failure → no debit, record the rejection;
- unknown — timeout, reset connection, 5xx, process death between the call and your write → neither debit nor refund yet. An unknown outcome may exist on the provider side: write a pending record under the idempotency key, then reconcile with the provider (query by key, webhook, statement) before debiting or refunding. Never charge twice, never drop the case silently. A timeout is not a failure.
- Separate buckets. Trial, promo, purchase and subscription are distinct entities, not one
balance; the deduction order (free → bonus → paid) lives in one function. - Gate before expensive work. Check entitlement, limit and money before the external call (CPU, API, LLM); at zero balance it never happens.
- Audit record per mutation — one per credit, debit, grant, refund or expiry, with subject (or pseudonymous) id, amount, currency or unit, operation, idempotency key, outcome. Grep by subject reconstructs the history. Identifiers only: no secrets, tokens, card numbers or free-form personal data; the trail is access-controlled, and application logs are not a substitute.
- No silent except on side effects. Swallowing an exception is fine in cleanup, never on money, auth or data loss: log and fall back, or fail loudly.
- Read-modify-write under one lock or transaction; reading, computing and writing without it is a lost update.
- One source of truth. UI, cache and logs are derivatives; read incidents from the store.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- yesterday Changed · -9 lines · -40 tokens per session f6a682374cf3
- 2d ago Changed bf97bbbbffe4
- 4d ago Changed 16d1120e0ca4
- 6d ago Changed 437335cc1c61
- 13d ago Changed 7ca6ee3dc21f
- 19d ago Changed 004df29a8170
- 22d ago Changed 4b8288688a1e
- 1mo ago Changed 6faca8ab4695
- 1mo ago Changed fba91e19bc00
- 1mo ago First seen · 62 lines · 139 tokens per session scan A 0540c9519ce0
money-path-safety is a skill published in the GitHub repository oleg494/coding-kit (3 stars, last pushed yesterday), licensed MIT. It adds 99 tokens to every session and 1,211 once invoked, about $0.0004 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-08-31.
Other skills, from other repositories
metronome
Guides Metronome usage-based billing integration decisions — event ingestion (single and batch, idempotency, billable metrics), contract design (rate cards, overrides, dimensional pricing, products), invoicing lifecycle (grace periods, finalization, Stripe sync), credit and commit management (prepaid, postpaid…
receipt-compiler
Use when compiling phone-camera photos of receipts into an A4 PDF expense-claim pack — straighten, B&W scan look, optional cover/numbering/captions.
lov-skill-pricing
A pricing workflow for creating an explanation-backed pricing card for an AI agent skill. It considers creation and maintenance effort, user value, scarcity, buyer confidence, and distribution potential.
lov-expense-report
A tool that reads invoice photos, scanned receipts, or expense descriptions and turns them into a categorized Excel reimbursement report. It extracts details such as date, vendor, item, amount, and notes.
expense-report
Summarizes and validates company expense reports against the corporate travel & meal policy, including per-meal spending caps. Use this skill whenever the user asks about expense-report policy limits, whether a specific expense complies with policy, or asks you to compute the overage amount for a meal expense.
ainb-fleet:cost
Show fleet spend — per-session, per-model, per-day, and per-group USD cost rollups for every claude/codex session, sourced live from ainb's burndown analytics (which already prices every provider call). Use when you need spend visibility across a multi-session fleet, want to find the most expensive session/model, or…