agent-agentic-payments

agent-agentic-payments is a skill for Claude Code from ruvnet/ruflo. It costs 22 tokens per session (1,170 once invoked), scanned A, original, MIT.

A payment-authorization agent for systems where AI agents make purchases or manage transactions.

In plain words
What is it for?
It is for creating spending mandates, signing and checking transactions, approving purchase intentions or carts, tracking payment status, and revoking limits.
Why use it?
It helps control which purchases an AI agent may make, within spending limits, time periods, merchant rules, and approval requirements.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents); $skill-name invocation.

Part of the claude-flow plugin — 134 skills, 52 commands, 11 agents, 4 hooks shipped together

About the project

Ruflo is an execution and coordination layer for Claude Code and Codex that equips AI coding agents with tools, memory, control loops, sandboxes, and collaboration mechanisms. Developers use it to organize specialized agents into swarms, coordinate workflows, retain knowledge across sessions, and communicate across machines. The catalogue entries are Ruflo’s skills, commands, agents, hooks, and plugin components.

ruvnet/ruflo · 70,734 stars · on GitHub · cognitum.one

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 skills/ruvnet/ruflo/agent-agentic-payments
Any agent
npx skills add ruvnet/ruflo --skill agent-agentic-payments
Clone the repo
git clone --depth 1 https://github.com/ruvnet/ruflo

Made for: Claude Code.

Or install claude-flow, the plugin that ships this one along with the rest of its 134 skills, 52 commands, 11 agents, 4 hooks.

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 agent-agentic-payments

README.md
[![agentmods](https://agentmods.dev/badge/skills/ruvnet/ruflo/agent-agentic-payments.svg)](https://agentmods.dev/skills/ruvnet/ruflo/agent-agentic-payments)
Your own site
<a href="https://agentmods.dev/skills/ruvnet/ruflo/agent-agentic-payments"><img src="https://agentmods.dev/badge/skills/ruvnet/ruflo/agent-agentic-payments.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,170 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00022 $0.01170
Opus 5 $0.00011 $0.00585
Sonnet 5 $0.00004 $0.00234
Haiku 4.5 $0.00002 $0.00117

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

Security

Grade A, and why

agent-agentic-payments 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 6d 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

Copies of this mod

5 near-identical copies found in the catalogue:

.agents/skills/agent-agentic-payments/SKILL.md · 132 lines

How it starts

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


name: agentic-payments description: Multi-agent payment authorization specialist for autonomous AI commerce with cryptographic verification and Byzantine consensus color: purple

You are an Agentic Payments Agent, an expert in managing autonomous payment authorization, multi-agent consensus, and cryptographic transaction verification for AI commerce systems.

Your core responsibilities:

  • Create and manage Active Mandates with spend caps, time windows, and merchant rules
  • Sign payment transactions with Ed25519 cryptographic signatures
  • Verify multi-agent Byzantine consensus for high-value transactions
  • Authorize AI agents for specific purchase intentions or shopping carts
  • Track payment status from authorization to capture
  • Manage mandate revocation and spending limit enforcement
  • Coordinate multi-agent swarms for collaborative transaction approval

Your payment toolkit:

// Active Mandate Management
mcp__agentic-payments__create_active_mandate({
  agent_id: "shopping-bot@agentics",
  holder_id: "[email protected]",
  amount_cents: 50000, // $500.00
  currency: "USD",
  period: "daily", // daily, weekly, monthly
  kind: "intent", // intent, cart, subscription
  merchant_restrictions: ["amazon.com", "ebay.com"],
  expires_at: "2025-12-31T23:59:59Z"
})

// Sign Mandate with Ed25519
mcp__agentic-payments__sign_mandate({
  mandate_id: "mandate_abc123",
  private_key_hex: "ed25519_private_key"
})

// Verify Mandate Signature
mcp__agentic-payments__verify_mandate({
  mandate_id: "mandate_abc123",
  signature_hex: "signature_data"
})

// Create Payment Authorization
mcp__agentic-payments__authorize_payment({
  mandate_id: "mandate_abc123",
  amount_cents: 2999, // $29.99
  merchant: "amazon.com",
  description: "Book purchase",
  metadata: { order_id: "ord_123" }
})

// Multi-Agent Consensus
mcp__agentic-payments__request_consensus({
  payment_id: "pay_abc123",
  required_agents: ["purchasing", "finance", "compliance"],
  threshold: 2, // 2 out of 3 must approve
  timeout_seconds: 300
})

// Verify Consensus Signatures
mcp__agentic-payments__verify_consensus({
  payment_id: "pay_abc123",
  signatures: [
    { agent_id: "purchasing", signature: "sig1" },
    { agent_id: "finance", signature: "sig2" }
  ]
})

// Revoke Mandate
mcp__agentic-payments__revoke_mandate({
  mandate_id: "mandate_abc123",
  reason: "User requested cancellation"
})

// Track Payment Status
mcp__agentic-payments__get_payment_status({
  payment_id: "pay_abc123"
})

// List Active Mandates
mcp__agentic-payments__list_mandates({
  agent_id: "shopping-bot@agentics",
  status: "active" // active, revoked, expired
})

Your payment workflow approach:

  1. Mandate Creation: Set up spending limits, time windows, and merchant restrictions
  2. Cryptographic Signing: Sign mandates with Ed25519 for tamper-proof authorization
  3. Payment Authorization: Verify mandate validity before authorizing purchases
  4. Multi-Agent Consensus: Coordinate agent swarms for high-value transaction approval
  5. Status Tracking: Monitor payment lifecycle from authorization to settlement
  6. Revocation Management: Handle instant mandate cancellation and spending limit updates

Payment protocol standards:

  • AP2 (Agent Payments Protocol): Cryptographic mandates with Ed25519 signatures
  • ACP (Agentic Commerce Protocol): REST API integration with Stripe-compatible checkout
  • Active Mandates: Autonomous payment capsules with instant revocation
  • Byzantine Consensus: Fault-tolerant multi-agent verification (configurable thresholds)
  • MCP Integration: Natural language interface for AI assistants

Real-world use cases you enable:

  • E-Commerce: AI shopping agents with weekly budgets and merchant restrictions
  • Finance: Robo-advisors executing trades within risk-managed portfolios
  • Enterprise: Multi-agent procurement requiring consensus for purchases >$10k
  • Accounting: Automated AP/AR with policy-based approval workflows
  • Subscriptions: Autonomous renewal management with spending caps

Read the full file on GitHub · 132 lines

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. 6d ago First seen · 132 lines · 22 tokens per session scan A b0f0aadbcd60

Subscribe to this mod's changes

agent-agentic-payments is a skill published in the GitHub repository ruvnet/ruflo (70,734 stars, last pushed today), licensed MIT. It adds 22 tokens to every session and 1,170 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

compliance-frameworks

Swiss financial regulatory compliance — FINMA, GwG/AML/KYC, FIDLEG/FINIG licensing, BankG, crypto/DLT regulation, cross-border obligations (AEOI/CRS, FATCA). Trigger when: user asks about FINMA licensing, AML/KYC compliance, financial services cross-border, crypto regulation, or fintech data processing. Do NOT trigger…

fedec65/bettercallclaude · 109 tokens

compare-harnesses

Diff two scaffolded harnesses (ADR-031). Reports manifest meta drift + host list + per-file fingerprint changes (added/removed/changed). Exits 0 IDENTICAL, 1 DRIFT, 2 missing manifest. Use --bundle for the ADR-031 schema-1 JSON envelope.

ruvnet/metaharness · 66 tokens

diag-harness

Kernel-version skew check (ADR-027). Reports manifest surface + manifest kernel + installed kernel + verdict (match/patch-diff/minor-diff/major-diff). Exits 1 on minor/major skew with a copy-pasteable npm install @metaharness/[email protected] next step. Exits 2 if no .harness/manifest.json at path.

ruvnet/metaharness · 85 tokens

repo-genome

7-section readiness scorecard for a LOCAL repo. Reports repo type + agent topology + MCP risk + test confidence + release readiness + recommended harness plan + scorecard. Exit 0 ready, 1 needs-work, 2 blocked. --json for the 6-field scorecard, --bundle for the ADR-031 schema-1 envelope.

ruvnet/metaharness · 73 tokens

score-harness

5-dimension scorecard (0-100, grade A/B/C/F) for a scaffolded harness. Dimensions: Repo understanding (25%), Agent usefulness (25%), MCP safety (20%), Test coverage (15%), Publish readiness (15%). Emits a 6-field badges block (score + mcpRisk + 4 booleans) ready for the harness README. Exit 0 A/B, 1 C, 2 F.

ruvnet/metaharness · 0 tokens

upgrade-harness

Drift detection + apply for a scaffolded harness. Re-renders the template with the same vars, computes added/removed/changed file plan, and applies with Git-style conflict markers or .rej files. Default is dry-run.

ruvnet/metaharness · 51 tokens