agentic-payments

agentic-payments is a skill for Claude Code from rylsherdamz-rgb/stellar-forge. It costs 38 tokens per session (236 once invoked), scanned A, original, MIT.

A development skill for machine-to-machine payments on Stellar, a blockchain network. It covers x402, where an HTTP request can require payment, and MPP payment modes.

In plain words
What is it for?
Use it to add Express middleware that checks payment headers, verify payments through OZ Channels, and configure USDC payments on Stellar testnet or mainnet.
Why use it?
It provides implementation examples for accepting paid API requests and handling frequent payments.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the stellar-forge plugin — 31 skills, 4 commands, 6 agents, 4 MCP servers shipped together

Good fit Use it to add Express middleware that checks payment headers, verify payments through OZ Channels, and configure USDC payments on Stellar testnet or mainnet.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rylsherdamz-rgb/stellar-forge/agentic-payments
Install

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.

Any agent
npx skills add rylsherdamz-rgb/stellar-forge --skill agentic-payments
Clone the repo
git clone --depth 1 https://github.com/rylsherdamz-rgb/stellar-forge

Made for: Claude Code.

Or install stellar-forge, the plugin that ships this one along with the rest of its 31 skills, 4 commands, 6 agents, 4 MCP servers.

Wrote 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.

agentmods badge for agentic-payments

README.md
[![agentmods](https://agentmods.dev/badge/skills/rylsherdamz-rgb/stellar-forge/agentic-payments/github.svg)](https://agentmods.dev/skills/rylsherdamz-rgb/stellar-forge/agentic-payments)
Your own site
<a href="https://agentmods.dev/skills/rylsherdamz-rgb/stellar-forge/agentic-payments"><img src="https://agentmods.dev/badge/skills/rylsherdamz-rgb/stellar-forge/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.

agentmods 80×15 button for agentic-payments

Your own site · 80×15
<a href="https://agentmods.dev/skills/rylsherdamz-rgb/stellar-forge/agentic-payments"><img src="https://agentmods.dev/badge/skills/rylsherdamz-rgb/stellar-forge/agentic-payments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 236 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00236
Opus 5 $0.00019 $0.00118
Sonnet 5 $0.00008 $0.00047
Haiku 4.5 $0.00004 $0.00024

Measured 10d ago against content hash 199ad5bb2f78, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (templates/src/middleware/x402.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/agentic-payments/SKILL.md · 31 lines

What it actually says

Agentic Payments (x402 + MPP)

Source Files (published with this skill)

File Contents
templates/src/middleware/x402.ts Express middleware — checks x402 payment header, verifies OZ channel, rejects unpaid requests with 402

x402 Middleware

See templates/src/middleware/x402.ts for the full implementation. Import and apply:

import { x402Middleware } from "./middleware/x402";

app.use("/api/paid", x402Middleware({ channelId: process.env.OZ_CHANNEL_ID! }));

Payment Setup

  • USDC (SEP-41 SAC) on stellar:testnet / stellar:pubnet
  • OZ Channels facilitator for x402
  • MPP Charge mode: per-request SAC
  • MPP Channel mode: off-chain commits for high-frequency traffic
Files

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.

Changes

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.

  1. 10d ago First seen · 31 lines · 38 tokens per session scan A 199ad5bb2f78

Subscribe to this mod's changes

agentic-payments is a skill published in the GitHub repository rylsherdamz-rgb/stellar-forge (17 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 236 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

nirium-agentic-payments

Scaffold and run an x402 paid API server on Stellar with open-source client libraries: charge AI agents per API call with x402Serve(), a function from the nirium SDK that runs entirely on your own server, scaffold that server with nirium-cli in one command, and separately read live protocol data through the nirium-mcp…

nirium-protocol/nirium-sdk · 128 tokens

rail402-cli

Discover and pay for x402 APIs on Stellar from the command line. Use when an agent needs to find a paid API in the x402 Bazaar, pay for an API call with USDC on Stellar testnet, fund a testnet wallet, or look up an x402 settlement on the explorer — via the rail402 CLI.

tolgayayci/rail402 · 72 tokens

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.

CodeStrux/x402-stellar-kit · 38 tokens

buy-x402

Buy from any x402-gated endpoint. Start with go — it probes, detects the offer type, and runs the right flow. Expert flows underneath: pay for one-shot HTTP services (single authorization, no sidecar), pay-agent for one-shot streaming agent calls, and buy for long-running paid inference (pre-authorized batch via…

ObolNetwork/obol-stack · 132 tokens

ethereum-local-wallet

Execute Ethereum transactions NOW — send ETH, approve tokens, call contracts, sign messages. Uses the in-cluster remote-signer (agents never touch private keys). Use this skill whenever the user wants to DO something onchain, not just learn about wallets.

ObolNetwork/obol-stack · 55 tokens

gas

Current Ethereum gas prices, transaction costs, and the real economics of building on Ethereum today. Use when estimating costs, choosing between mainnet and L2s, or when a user asks about Ethereum being expensive. Counters the.

ObolNetwork/obol-stack · 47 tokens