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 Parad0x-Labs/openclaw-skills --skill payment-sessiongit clone --depth 1 https://github.com/Parad0x-Labs/openclaw-skillsWrote 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/parad0x-labs/openclaw-skills/payment-session)<a href="https://agentmods.dev/skills/parad0x-labs/openclaw-skills/payment-session"><img src="https://agentmods.dev/badge/skills/parad0x-labs/openclaw-skills/payment-session/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/parad0x-labs/openclaw-skills/payment-session"><img src="https://agentmods.dev/badge/skills/parad0x-labs/openclaw-skills/payment-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00050 | $0.00714 |
| Opus 5.5 | $0.00020 | $0.00286 |
| Sonnet 5.5 | $0.00010 | $0.00143 |
| Haiku 4.5 | $0.00005 | $0.00071 |
Grade A, and why
payment-session 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 23d 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 — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Payment Session
x402 is discrete per-call. This adds the two billing shapes it lacks, settled in batches through x402 so you pay one transaction per settlement (not per tick — the only economical way to bill micro-usage given fees + ATA rent):
- metered (pay-as-you-go): accrue per-use charges, settle when they cross a threshold.
- subscription (streaming): charge a fixed amount every period.
Pure accounting — it never moves money or holds a key. It tells the agent when
and how much to settle; the agent pays via x402-pay's pay_x402. A
maxTotalUsdc lifetime budget bounds what the session suggests and records; it does
not stop pay_x402 from paying a larger seller quote (see Trust model).
Tools
| Tool | Does |
|---|---|
open_payment_session |
start a metered or subscription session with a maxTotalUsdc cap |
meter_usage |
accrue pay-as-you-go usage (metered sessions) |
check_settlement_due |
is a payment due, and for how much? (amount is capped at remaining budget) |
record_settled |
record a paid settlement after pay_x402 succeeds |
close_payment_session |
close; returns any final remainder to settle |
The loop
open_payment_session(payee, mode, cap)
metered: meter_usage(...) → check_settlement_due → if due: pay_x402(payee, amount) → record_settled
subscription: (time passes) → check_settlement_due → if due: pay_x402(payee, amount) → record_settled
close_payment_session → settle any remainder
Trust model
- Non-custodial. This plugin only does accounting; the actual USDC settlement
is
pay_x402(your own wallet signs). It never holds a key or moves funds. - Budget-capped accounting, not spend enforcement. Every session has a
maxTotalUsdcbudget:check_settlement_duenever suggests more than the remaining budget, andrecord_settledrefuses to record more. The session does not controlpay_x402, which pays the seller's quoted amount: a payment can exceed the suggested amount and the session budget. Per-payment spend is bounded by x402-pay'smaxAmountUsdc(the 5 bps protocol fee is added on top of that cap). State is in memory and is lost on restart.
What ships with it
11 files 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.
- openclaw.plugin.json 743 B
- package-lock.json 171 KB
- package.json 1.5 KB
- README.md 1.9 KB
- src/index.ts 2.8 KB runs code
- src/session.ts 6.1 KB runs code
- src/tools.ts 6.3 KB runs code
- src/types/openclaw-host.d.ts 2.3 KB runs code
- test/manifest.test.mjs 1.3 KB runs code
- test/session.test.mjs 6.5 KB runs code
- tsconfig.json 373 B
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.
- 23d ago Changed · +4 lines · +1 tokens per session 9eac3e13ec8b
- 2mo ago First seen · 54 lines · 49 tokens per session scan A 29e910e7ceca
payment-session is a skill published in the GitHub repository Parad0x-Labs/openclaw-skills (23 stars, last pushed 17d ago), licensed MIT. It adds 50 tokens to every session and 714 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-08-30.
Other skills, from other repositories
akshare-data
A skill for retrieving Chinese and global financial-market data through the AKShare command-line tool. AKShare provides functions for stocks, funds, futures, bonds, currencies, economic indicators, indexes, options, and financial news.
bo-vendor-review
A framework for comparing supplier proposals and renewal choices using costs, service terms, operational fit, contracts, and business-continuity risks. It treats one-time, recurring, and usage-based charges separately when comparing prices.
tax-optimizer
Tax optimization strategies including tax-loss harvesting, wash sale rule navigation, asset location optimization, Roth conversion analysis, and charitable giving strategies.
crypto-trading
Use ccxt (Python) for crypto prices, balances, and order actions across 100+ exchanges.
dcf-valuation
Discounted cash flow valuation with WACC calculation, free cash flow projection, terminal value estimation, sensitivity analysis, and enterprise-to-equity value bridge.
earnings-analyzer
Analyze quarterly and annual earnings reports including EPS beat/miss analysis, revenue trends, margin expansion, forward guidance parsing, and management commentary extraction.