peer-cashout

peer-cashout is a skill for Claude Code, Codex from zkp2p/zkp2p-skills. It costs 33 tokens per session (1,171 once invoked), scanned A, original, MIT.

An integration for Peer Cash cash-outs, where someone deposits USDC, a cryptocurrency token, and receives fiat money from a buyer in a specified payment account. A cash-out may be completed in several partial fills.

In plain words
What is it for?
Use it to create or resume a cash-out, fund it with USDC, receive buyer payments, check fills, and withdraw unlocked funds.
Why use it?
It handles the steps needed to move from crypto to a fiat payout while distinguishing an estimate from an actual bank transfer or settlement guarantee. It also tracks funds that are still locked or available to withdraw.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create or resume a cash-out, fund it with USDC, receive buyer payments, check fills, and withdraw unlocked funds.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zkp2p/zkp2p-skills/peer-cashout
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 zkp2p/zkp2p-skills --skill peer-cashout
Clone the repo
git clone --depth 1 https://github.com/zkp2p/zkp2p-skills

Made for: Claude Code, Codex.

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 peer-cashout

README.md
[![agentmods](https://agentmods.dev/badge/skills/zkp2p/zkp2p-skills/peer-cashout/github.svg)](https://agentmods.dev/skills/zkp2p/zkp2p-skills/peer-cashout)
Your own site
<a href="https://agentmods.dev/skills/zkp2p/zkp2p-skills/peer-cashout"><img src="https://agentmods.dev/badge/skills/zkp2p/zkp2p-skills/peer-cashout/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 peer-cashout

Your own site · 80×15
<a href="https://agentmods.dev/skills/zkp2p/zkp2p-skills/peer-cashout"><img src="https://agentmods.dev/badge/skills/zkp2p/zkp2p-skills/peer-cashout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,171 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.00033 $0.01171
Opus 5 $0.00016 $0.00585
Sonnet 5 $0.00007 $0.00234
Haiku 4.5 $0.00003 $0.00117

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

Security

Grade A, and why

peer-cashout 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 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/cashout.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/peer-cashout/SKILL.md · 45 lines

How it starts

The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Peer Cash cash-outs

Use this for the Peer Cash SDK cash-out lifecycle when someone holds crypto and wants fiat delivered to a specified payment account. Peer Cash turns their Base USDC into a maker deposit: a buyer sends fiat to the payee, proves the payment, and receives USDC. A cash-out can fill in pieces. An estimate is neither a bank transfer nor a settlement guarantee.

Gather the actual payout instruction

Resolve environment, amount, source chain/token, platform, currency, payee, and the authorized funding wallet. Reuse authorization already given for that exact payout; ask only for missing decisions. Never infer a recipient from an example or add a referral fee/code of your own. Keep account details in the host's private storage, out of transcripts and committed fixtures.

Use @zkp2p/[email protected] and a host-supplied wallet. Start with canonical Base USDC; routed assets add a separate funding leg. Read the checked example for exact calls and types. Install dependencies in the consuming project with its package manager; no script here executes on import.

Execute the lifecycle

  1. Call cash.capabilities() for the selected environment. Check the exact platform/currency pair, amount bounds, payee format, pricing mode, and attestation requirement. The default catalog does not prove live liquidity. UPI is a staging opt-in, not a production promise.
  2. Call cash.estimate({ amount, currency }, { includeEta: false }) before registering a payee. Report the estimate and variable fill time. Most corridors bind a rate when an intent is signaled; Alipay/CNY snapshots a creation-time rate. Use the returned corridor pricing, not one global assumption.
  3. Register/prove the specified payee through the existing identity flow where required. New Wise, PayPal, and Alipay payees can require a browser identity attestation. PAYEE_VERIFICATION_REQUIRED is an unmet prerequisite; do not substitute dummy proof or put session cookies in code.
  4. For a host-controlled signer, call cash.prepare(input). This registers payee details with the curator, although it does not broadcast. Review every returned txs[] with its matching steps[], including chain, spender, value, token amount, and target. Submit sequentially through the authorized wallet and confirm each receipt. Do not infer that every prepared plan contains exactly two transactions.
  5. Pass the confirmed createDeposit receipt to cash.finalizePreparedCashout(receipt). Persist the returned depositId, transaction hash, chain/environment, and owning account before subsequent work. The Cash resume key is escrowAddress_onchainId; keep the returned string rather than rebuilding it from a bare number.
  6. For every accessPolicyPaymentMethods entry, submit cash.prepareAccessPolicy(depositId, paymentMethod) from the deposit owner's wallet and confirm it. Restricted legs require this post-creation policy; creation and policy are not atomic. Do not advertise the order as fully configured while any required policy is missing. If a policy fails, resume policy setup on the existing deposit.
  7. Poll cash.order(depositId) or use watch with an abort signal and timeout. Report partial fills and nextActions. Distinguish fiatOwed from verified fiatPaid, payment ID, and released USDC. Completion is verified delivery, not the initial optimistic awaiting-buyer snapshot.

Read the full file on GitHub · 45 lines

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. 2d ago First seen · 45 lines · 33 tokens per session scan A a296a150e9a5

Subscribe to this mod's changes

peer-cashout is a skill published in the GitHub repository zkp2p/zkp2p-skills (2 stars, last pushed 3d ago), licensed MIT. It adds 33 tokens to every session and 1,171 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-09-10.