copilot-instructions

copilot-instructions is an agent for coding agents from worldliberty/agentpay-sdk. It costs 0 tokens per session (596 once invoked), scanned A, a copy of AGENTS, MIT.

A set of instructions for using the AgentPay SDK when handling fiat payments, wallets, funding, transfers, approvals, cards, or backups.

In plain words
What is it for?
Use it to inspect AgentPay configuration, check Link authentication and payment methods, create one-time card credentials, check for an existing wallet, and integrate third-party programs through the SDK.
Why use it?
It provides the required order of checks and handling rules for payment credentials and wallet secrets, reducing the chance of unsafe or invalid operations.

Agent

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.

agentmods
npx agentmods add agents/worldliberty/agentpay-sdk/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/worldliberty/agentpay-sdk

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 copilot-instructions

README.md
[![agentmods](https://agentmods.dev/badge/agents/worldliberty/agentpay-sdk/copilot-instructions.svg)](https://agentmods.dev/agents/worldliberty/agentpay-sdk/copilot-instructions)
Your own site
<a href="https://agentmods.dev/agents/worldliberty/agentpay-sdk/copilot-instructions"><img src="https://agentmods.dev/badge/agents/worldliberty/agentpay-sdk/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 596 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00000 $0.00596
Opus 5 $0.00000 $0.00298
Sonnet 5 $0.00000 $0.00119
Haiku 4.5 $0.00000 $0.00060

Measured 3d ago against content hash 65058d630e29, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

copilot-instructions 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.

Origin

This is a copy

100% identical to AGENTS — 16 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/agentpay-sdk/agents/copilot-instructions.md · 26 lines

What it actually says

AgentPay SDK Adapter

When a task touches Link fiat setup, wallet setup, funding, policy, transfers, approvals, cards, or backups, load and follow the installed agentpay-sdk skill.

Mandatory rules:

  • start from agentpay config show --json
  • for fiat/card payments, start with agentpay link status --json; if Link is not authenticated, use agentpay link onboard
  • list Link payment methods with agentpay link payment-methods --json
  • create one-time card credentials with agentpay link card --payment-method-id <id> --merchant-name <name> --merchant-url <url> --amount <cents> --context <100+ char explanation> --output-file <PATH> and never print full card details into chat
  • for third-party program integration, use @worldlibertyfinancial/agentpay-sdk/link helpers through the AgentPay Link facade
  • use agentpay wallet --json to determine whether a reusable wallet already exists
  • 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 VAULT_PASSWORD or a wallet backup password into chat
  • never ask the user to paste Link card numbers, CVCs, access tokens, refresh tokens, or full credential files into chat
  • if wallet metadata is unavailable and the user is trying to use the wallet, tell them to run agentpay admin setup locally
  • if the wallet exists and the user wants to preserve it while re-running setup, tell them to run agentpay admin setup --reuse-existing-wallet locally
  • if the local wallet is gone but the user has an encrypted backup, tell them to run agentpay admin setup --restore-wallet-from <PATH> locally
  • after a fresh setup, tell them to create an encrypted offline backup with agentpay admin wallet-backup export --output <PATH> unless they already have a verified backup
  • default unspecified payments 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
  • if a request hits manual approval, say it is waiting for user approval and route the user to the local admin CLI approval commands first; for transfer --broadcast, transfer-native --broadcast, approve --broadcast, and bitrefill buy --broadcast, tell them to keep the original command running and not rerun it after approval; if that original broadcast command is already gone after approval, use agentpay admin resume-manual-approval-request --approval-request-id <UUID>
  • use agentpay --help and subcommand help as the source of truth for exact flags
  • prefer agentpay admin tui for policy 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. 3d ago First seen · 26 lines · 0 tokens per session scan A 65058d630e29

Subscribe to this mod's changes

copilot-instructions is an agent published in the GitHub repository worldliberty/agentpay-sdk (461 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 596 tokens. A static security scan graded it A with 0 findings. It is 100% identical to AGENTS, differing in 16 lines, and is treated as a copy.