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 agentmods add skills/nirium-protocol/nirium-sdk/nirium-agentic-paymentsnpx 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.svg" alt="Measured on agentmods" 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 | $0.00118 | $0.01378 |
| Opus 5 | $0.00059 | $0.00689 |
| Sonnet 5 | $0.00024 | $0.00276 |
| Haiku 4.5 | $0.00012 | $0.00138 |
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 3d 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 — 126 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 is an open-source toolkit for x402 agentic payments on Stellar:
a TypeScript/Python SDK, a scaffolding CLI, and an MCP server. It is not
a demo — the mainnet endpoint has been billing real USDC over x402 since
9 July 2026. A mainnet settlement from that day, verifiable on Stellar
Expert: 3134a51c…7558bc.
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:
import { x402Serve } from 'nirium';
app.use('/premium', x402Serve({
payTo: 'G...',
routes: { 'GET /signals': '$0.02' },
}));
A caller without payment gets a 402 carrying the terms; one that pays gets the data, and the USDC transfer settles on Stellar before your handler returns. No subscription, no card, no invoice, no human in the middle. This is the exact pattern Nirium's own mainnet endpoint runs in production against real callers — see the devlog for a real incident (and its fix) from operating it at scale: docs/devlog.md.
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.
- 3d 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 4d ago), licensed Apache-2.0. It adds 118 tokens to every session and 1,378 once invoked, about $0.0006 per session on Opus 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
portfolio
Cross-chain DeFi portfolio discovery, rebalancing suggestions, and NEAR Intent construction. Activates when the user pastes a wallet address or asks about yield/positions/rebalancing. Bootstraps a per-user "portfolio" project, aggregates positions across all the user's addresses inside one project, and offers a…
memstack-business-scope-of-work
Use this skill when the user says 'scope of work', 'SOW', 'define scope', 'project scope', 'write SOW', 'scope document', or is defining project boundaries, deliverables, and acceptance criteria for a formal engagement. Do NOT use for proposals, contracts, or invoicing.
okx-cex-earn
Manages OKX Simple Earn (flexible savings/lending), Flash Earn, On-chain Earn (staking/DeFi), Dual Investment (DCD/双币赢), and AutoEarn (自动赚币) via the okx CLI. Use this skill whenever the user wants to check earn balances, browse flash-earn projects, subscribe or redeem earn products, view or set lending rates, monitor…
crypto-market-rank
Crypto market rankings and leaderboards. Query trending tokens, top searched tokens, Binance Alpha tokens, tokenized stocks, social hype sentiment ranks, smart money inflow token rankings, top meme token rankings from Pulse launchpad, and top trader PnL leaderboards. Use this skill when users ask about token rankings…
copy-trading
Wallet evaluation, monitoring, and copy-trade strategy design for Solana DEX trading.
strategy-framework
Standardized template for defining trading strategies with entry rules, exit rules, position sizing, risk parameters, and performance criteria.