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/worldliberty/agentpay-sdk/add-pluginnpx skills add worldliberty/agentpay-sdk --skill add-plugingit clone --depth 1 https://github.com/worldliberty/agentpay-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/worldliberty/agentpay-sdk/add-plugin)<a href="https://agentmods.dev/skills/worldliberty/agentpay-sdk/add-plugin"><img src="https://agentmods.dev/badge/skills/worldliberty/agentpay-sdk/add-plugin.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.00097 | $0.00817 |
| Opus 5 | $0.00048 | $0.00409 |
| Sonnet 5 | $0.00019 | $0.00163 |
| Haiku 4.5 | $0.00010 | $0.00082 |
Grade A, and why
add-plugin 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 4d 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 — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add Plugin
Use this skill when the task is "add another plugin like Bitrefill" or "make plugin onboarding more reusable."
Ground Truth
src/cli.tsis the main CLI entrypoint, but plugin-specific command trees should not be wired inline there.src/plugins/types.tsdefines the sharedCliPluginContextand the generic plugin registrar shape.src/plugins/index.tsis the registry for built-in plugins.src/plugins/bitrefill.tsis the reference implementation for a plugin that owns its own command tree.- Plugin-specific HTTP or browser/bootstrap code belongs in
src/lib/<plugin>.tsorsrc/lib/<plugin>/. - Signing, policy checks, manual approval handling, and raw transaction broadcast plumbing stay on the existing AgentPay path exposed through
CliPluginContext.
Default Architecture
- Create
src/plugins/<plugin>.ts. - Register the plugin in
src/plugins/index.ts. - Keep plugin-local API normalization, transports, cookies, scraping, or challenge handling in
src/lib/<plugin>*. - Keep
src/cli.tsresponsible only for assembling shared dependencies and callingregisterBuiltinCliPlugins(...). - Reuse
context.agent.runJson(...)pluscontext.broadcast.*for any payment flow that reaches the daemon.
Implementation Rules
- Do not add another large inline
.command('<plugin>')block tosrc/cli.ts. - Do not reimplement signing, nonce management, or policy logic in the plugin.
- If the plugin needs onchain payment, default to preview-first behavior and make live payment explicit with
--broadcast. - If the plugin only needs a quote plus an optional live payment path, prefer one
buy-style command over a redundant separatepricecommand. - Keep plugin-specific error handling inside the plugin module when possible.
- If a remote API needs browser bootstrap, Cloudflare handling, or cookies, isolate that behind the plugin's transport/client layer instead of leaking it into the shared CLI.
- Pass only shared helpers through
CliPluginContext; keep plugin business logic inside the plugin module.
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.
- 4d ago First seen · 59 lines · 97 tokens per session scan A a4032ca348b1
add-plugin is a skill published in the GitHub repository worldliberty/agentpay-sdk (460 stars, last pushed 2mo ago), licensed MIT. It adds 97 tokens to every session and 817 once invoked, about $0.0005 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.
Other skills, from other repositories
agent-payment-stats
Cross-protocol agent-economy payment metrics from Barker's index. x402 (Base) volume is on-chain verifiable; ACP / AP2 / MPP / AP4M figures are self-reported claims. Separates real vs nominal volume by filtering wash/noise sellers. Use when users ask about x402 volume, agent payment stats, agent economy metrics, or…
z-zero-payments
Pay for things from your agent — gasless USDC on Base plus JIT single-use virtual cards via the Z-Zero MCP server. Card data never enters the model context, and the manual card flow carries a signed purpose-and-outcome record.
USDD / JUST Protocol
USDD stablecoin operations — PSM swaps (buyGem/sellGem), vault position queries, and balance checks via the JUST Protocol on TRON.
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…
agentpay
Use this skill when the user wants to monetize an MCP server, accept payments from AI agents, set up x402 micropayments on Solana, work with the agentpay TypeScript stack, or build "agent pays for tools" flows. Triggers include phrases like "monetize my tool", "paid MCP server", "agent payments", "x402", "agentpay"…
stablecoin-chain-explorer
Explore stablecoin TVL distribution and yield opportunities by blockchain. Query which chains have the most stablecoins, compare cross-chain yields, and find the best opportunities on Ethereum, BSC, Arbitrum, Base, Polygon, and more. Also for protocols and issuers researching where stablecoin TVL and liquidity…