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 nirium-protocol/nirium-sdk --skill nirium-agentic-paymentsgit clone --depth 1 https://github.com/nirium-protocol/nirium-sdkWrote 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/nirium-protocol/nirium-sdk/nirium-agentic-payments)<a href="https://agentmods.dev/skills/nirium-protocol/nirium-sdk/nirium-agentic-payments"><img src="https://agentmods.dev/badge/skills/nirium-protocol/nirium-sdk/nirium-agentic-payments/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/nirium-protocol/nirium-sdk/nirium-agentic-payments"><img src="https://agentmods.dev/badge/skills/nirium-protocol/nirium-sdk/nirium-agentic-payments.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.00128 | $0.01617 |
| Opus 5.5 | $0.00051 | $0.00647 |
| Sonnet 5.5 | $0.00026 | $0.00323 |
| Haiku 4.5 | $0.00013 | $0.00162 |
Grade A, and why
nirium-agentic-payments 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 1mo 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 — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Nirium: charge AI agents and read live signals on Stellar
Nirium publishes open-source client libraries for x402 agentic payments
on Stellar — a TypeScript/Python SDK, a scaffolding CLI, and an MCP
server. x402Serve(), the function these scaffold around, runs on
your own server: Nirium doesn't operate, host, or route through
anything in that path, and never sees your end users' requests. It's
not a demo — Nirium's own mainnet endpoint, running the identical
function, has been billing real USDC over x402 since 9 July 2026. A
mainnet settlement from that day, verifiable on Stellar Expert:
3134a51c…7558bc.
You're responsible for your own compliance. x402Serve() is a
general-purpose library, not a service Nirium provides to your end
users — you choose what to charge for, who payTo is, and which
jurisdiction you operate in. You remain solely responsible for
complying with the financial, tax, and consumer-protection laws that
apply to your own use of it.
Do this
1. Scaffold a paid API in one command
npm install -g nirium-cli
nirium create x402 --name my-paid-api
cd my-paid-api && npm install
Fill two values in the generated .env:
| Variable | Where it comes from |
|---|---|
STELLAR_PAY_TO |
the Stellar account that receives payments (G...) |
X402_FACILITATOR_API_KEY |
free — keys are per network, and the scaffold defaults STELLAR_NETWORK to testnet: channels.openzeppelin.com/testnet/gen for testnet, channels.openzeppelin.com/gen for mainnet |
The API key is not optional — the facilitator rejects unauthenticated servers on both testnet and mainnet, so without it your routes never get as far as offering a 402.
npm run dev
2. Charge per request with x402Serve()
The scaffolded server is about ten lines because x402Serve(), from the
nirium SDK, carries the
facilitator client, the scheme registration, and the route table:
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.
- 1mo ago Changed · +18 lines · +10 tokens per session 80320184856c
- 1mo ago First seen · 126 lines · 118 tokens per session scan A 1f1b97783e98
nirium-agentic-payments is a skill published in the GitHub repository nirium-protocol/nirium-sdk (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 128 tokens to every session and 1,617 once invoked, about $0.0005 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
x402-stellar-payments
Use when asked to "pay for" a URL, add a "paid endpoint", handle HTTP 402, or work with x402 payments on Stellar.
stellar-forge
Eval-driven coding harness for building production Stellar dApps. Routes tasks to 6 specialist agents, verifies output with structured evals, steers on failure, e2e-tests with Stellar Agentic Kit hooks, and knowledge-graphs every project. Use when building any Stellar app — tokens, DeFi, NFTs, payment APIs, or full…
agentic-payments
Agentic and machine-to-machine payments on Stellar. Covers x402 (HTTP 402 paid APIs) and MPP (Machine Payments Protocol) Charge/Channel modes.
solenrich
SolEnrich onchain intelligence API for Solana agents, pay-per-call over x402 (USDC on Solana or Base) with no API key. Use for StonkFun reward coins (gems, payout status and watchlist alerts, holder yield for one coin or 25, trade cost and payback, launch intel), wallet risk scoring, token due diligence and rug flags…
aomi-transact
Build natural-language crypto/DeFi agents and EVM MCP plugins (Claude Code, Cursor, Codex, Gemini). Aomi turns prompts into wallet-signed txs on Ethereum, Base, Arbitrum, Optimism, Polygon, Linea — non-custodial, fork-simulated. 40+ apps: Uniswap, Aave, Lido, Morpho, GMX, Hyperliquid, Polymarket.
trading-solana
Trade tokens on Solana DEXes - Jupiter, Raydium, Orca, Meteora, Pump.fun.