cursor-agentpay-sdk

cursor-agentpay-sdk is a cursor rule for Cursor from worldliberty/agentpay-sdk. It costs 29 tokens per session (644 once invoked), scanned A, original, MIT.

Rules for using the AgentPay SDK, a software toolkit for payment, wallet, card, transfer, and approval tasks in Cursor.

In plain words
What is it for?
They guide configuration checks, Link authentication and payment-method checks, wallet detection, one-time card creation, third-party integration, and secure local setup.
Why use it?
They reduce the risk of using the wrong payment flow or exposing sensitive financial credentials in chat.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit They guide configuration checks, Link authentication and payment-method checks, wallet detection, one-time card creation, third-party integration, and secure local setup.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/worldliberty/agentpay-sdk/cursor-agentpay-sdk
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.

Clone the repo
git clone --depth 1 https://github.com/worldliberty/agentpay-sdk

Made for: Cursor.

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 cursor-agentpay-sdk

README.md
[![agentmods](https://agentmods.dev/badge/rules/worldliberty/agentpay-sdk/cursor-agentpay-sdk/github.svg)](https://agentmods.dev/rules/worldliberty/agentpay-sdk/cursor-agentpay-sdk)
Your own site
<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.

agentmods 80×15 button for cursor-agentpay-sdk

Your own site · 80×15
<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>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 644 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.
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.00029 $0.00644
Opus 5.5 $0.00012 $0.00258
Sonnet 5.5 $0.00006 $0.00129
Haiku 4.5 $0.00003 $0.00064

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

Security

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.

skills/agentpay-sdk/agents/cursor-agentpay-sdk.mdc · 28 lines

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 --json to decide whether a reusable wallet already exists; exit code 4 means AgentPay is not set up for this user
  • if the user only asks what the skill can do, answer from SKILL.md and 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 sudo or agentpay admin decisions 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 setup locally
  • if the wallet exists and the user wants to preserve it while re-running setup, tell them to run agentpay setup locally and choose "Keep the existing wallet"
  • if the local wallet is gone but the user has an encrypted backup, tell them to run agentpay setup locally 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 USD1 on bsc
  • 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 --json and read exit codes: 0 ok, 1 failure (follow error.next_action), 2 usage, 3 waiting for manual approval, 4 not set up
  • amounts for transfer, transfer-native, approve, and the Solana transfers are decimal whole units; amounts for x402 and mpp are 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 --broadcast payments, tell them to keep the original command running and not rerun it; if that command already exited with code 3, use agentpay resume --approval-request-id <UUID> after approval
  • Stripe Link, Bitrefill, and private transfers are not available
  • use agentpay --help and 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
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. 22d ago Changed · -1 lines · -3 tokens per session c02db6561652
  2. 3mo ago First seen · 29 lines · 32 tokens per session scan A 92a2b7198923

Subscribe to this mod's changes

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.

Related

cursor-agentpay-sdk compared with cursor rules from other repositories

cursor-agentpay-sdk next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cursor-agentpay-sdkworldliberty/agentpay-sdkCursor rule4602d agoMITA29Cursor
cursorrulesmrocker/CardZeroCursor rule46mo agononeA444Cursor
elizaos_v2_onchain_pluginsAIFlowML/cursor_rulesCursor rule241y agononeA0Cursor
ponytailDietrichGebert/ponytailCursor rule203k10d agoMITA604Cursor
angular-20angular/angularCursor rule102ktodayMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor