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.
git 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/rules/worldliberty/agentpay-sdk/cursor-agentpay-sdk)<a href="https://agentmods.dev/rules/worldliberty/agentpay-sdk/cursor-agentpay-sdk"><img src="https://agentmods.dev/badge/rules/worldliberty/agentpay-sdk/cursor-agentpay-sdk/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/rules/worldliberty/agentpay-sdk/cursor-agentpay-sdk"><img src="https://agentmods.dev/badge/rules/worldliberty/agentpay-sdk/cursor-agentpay-sdk.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.00029 | $0.00644 |
| Opus 5.5 | $0.00012 | $0.00258 |
| Sonnet 5.5 | $0.00006 | $0.00129 |
| Haiku 4.5 | $0.00003 | $0.00064 |
Grade A, and why
cursor-agentpay-sdk 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 22d 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.
What it actually says
Load the installed agentpay-sdk skill when the task touches wallet setup, funding, spending limits, transfers, paid APIs, approvals, or backups.
Specific rules:
- start from
agentpay config show --json - use
agentpay wallet --jsonto decide whether a reusable wallet already exists; exit code4means AgentPay is not set up for this user - if the user only asks what the skill can do, answer from
SKILL.mdand do not probe the machine first - never ask the user to paste a wallet backup passphrase, agent auth token, or paying-proxy URL into chat; there is no vault password
- never run
sudooragentpay admindecisions for the user; admin actions need the user's Touch ID, Mac password, or sudo, so give them the exact command to run locally - if AgentPay is not set up and the user is trying to use the wallet, tell them to run
agentpay setuplocally - if the wallet exists and the user wants to preserve it while re-running setup, tell them to run
agentpay setuplocally and choose "Keep the existing wallet" - if the local wallet is gone but the user has an encrypted backup, tell them to run
agentpay setuplocally and choose "Restore from a backup" - after a fresh setup, tell the user to create an encrypted offline backup with
agentpay admin wallet-backup export --output <PATH>unless they already have a verified backup - if the user does not specify network or asset for a payment, default to
USD1onbsc - check funding before outbound actions
- if funding is missing, stop and ask the user to fund the wallet with the exact address, network, token needs, and BNB gas needs (
agentpay fund --json) - pass
--jsonand read exit codes:0ok,1failure (followerror.next_action),2usage,3waiting for manual approval,4not set up - amounts for
transfer,transfer-native,approve, and the Solana transfers are decimal whole units; amounts forx402andmppare integer base units - if a request hits manual approval, say it is waiting for the user's approval and give them
agentpay admin approve <UUID>; for EVM and Solana--broadcastpayments, tell them to keep the original command running and not rerun it; if that command already exited with code3, useagentpay resume --approval-request-id <UUID>after approval - Stripe Link, Bitrefill, and private transfers are not available
- use
agentpay --helpand subcommand help as the source of truth for exact flags - use
agentpay admin limits(run by the user) as the default path for spending limit 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.
- 22d ago Changed · -1 lines · -3 tokens per session c02db6561652
- 3mo ago First seen · 29 lines · 32 tokens per session scan A 92a2b7198923
cursor-agentpay-sdk is a cursor rule published in the GitHub repository worldliberty/agentpay-sdk (460 stars, last pushed 2d ago), licensed MIT. It adds 29 tokens to every session and 644 once invoked, about $0.0001 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.
cursor-agentpay-sdk compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cursor-agentpay-sdkworldliberty/agentpay-sdk | Cursor rule | 460 | 2d ago | MIT | A | 29 | Cursor |
| cursorrulesmrocker/CardZero | Cursor rule | 4 | 6mo ago | none | A | 444 | Cursor |
| elizaos_v2_onchain_pluginsAIFlowML/cursor_rules | Cursor rule | 24 | 1y ago | none | A | 0 | Cursor |
| ponytailDietrichGebert/ponytail | Cursor rule | 203k | 10d ago | MIT | A | 604 | Cursor |
| angular-20angular/angular | Cursor rule | 102k | today | MIT | A | 0 | Cursor |
| dev-standardapache/superset | Cursor rule | 76k | today | Apache-2.0 | A | 1,147 | Cursor |
| prefer-assertions-over-defensive-checksprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Cursor |