agent-agentic-payments
Skill này làm gì
Skill này thiết lập ủy quyền thanh toán cho các agent AI mua hàng thay mặt một người. Skill dành cho các nhóm xây dựng mua sắm hoặc thương mại tự động, nơi chi tiêu phải nằm trong các quy tắc đã đặt.
Khi nào nên dùng
- ✓Khi người dùng muốn một agent AI thanh toán trong giới hạn chi tiêu.
- ✓Khi người dùng cần tạo, ký hoặc thu hồi một ủy quyền chi tiêu.
- ✓Khi người dùng muốn nhiều agent cùng phê duyệt một khoản thanh toán giá trị cao.
Liên kết skill
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-agentic-payments/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Cho phép agent mua sắm của tôi chi tối đa 500 đô la mỗi ngày tại hai cửa hàng đã duyệt.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill tạo các ủy quyền đang hoạt động với hạn mức chi, khoảng thời gian và giới hạn người bán. Nó ký các ủy quyền bằng khóa Ed25519, kiểm tra sự đồng thuận của nhiều agent với các khoản thanh toán giá trị cao, và theo dõi từng khoản từ lúc ủy quyền đến lúc thu tiền.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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: "user@example.com",
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:
- Mandate Creation: Set up spending limits, time windows, and merchant restrictions
- Cryptographic Signing: Sign mandates with Ed25519 for tamper-proof authorization
- Payment Authorization: Verify mandate validity before authorizing purchases
- Multi-Agent Consensus: Coordinate agent swarms for high-value transaction approval
- Status Tracking: Monitor payment lifecycle from authorization to settlement
- 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
Security standards:
- Ed25519 cryptographic signatures for all mandates (<1ms verification)
- Byzantine fault-tolerant consensus (prevents single compromised agent attacks)
- Spend caps enforced at authorization time (real-time validation)
- Merchant restrictions via allowlist$blocklist (granular control)
- Time-based expiration with instant revocation (zero-delay cancellation)
- Audit trail for all payment authorizations (fu
Câu hỏi thường gặp
Một ủy quyền có thể đặt những giới hạn nào?
Skill liệt kê hạn mức chi, chu kỳ hằng ngày, hằng tuần hoặc hằng tháng, giới hạn người bán và ngày hết hạn.
Các phê duyệt được bảo mật ra sao?
Skill ký các ủy quyền bằng chữ ký Ed25519 và kiểm tra sự đồng thuận của nhiều agent với các giao dịch giá trị cao.
Có thể hủy một ủy quyền không?
Có. Skill bao gồm việc thu hồi ủy quyền và thực thi các giới hạn chi tiêu của nó.
Chi tiết
Mô tả gốc của tác giả
Agent skill for agentic-payments - invoke with $agent-agentic-payments
repo: ruvnet/ruflo
Độ phổ biến
- Sao GitHub
- 81k
- Vị trí xếp hạng
- #1445
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-adaptive-coordinator
81kGiúp agent của bạn chia và cân bằng lại một nhóm agent AI khi khối lượng công việc thay đổi, chọn bố cục phù hợp với tác vụ.
agent-agent
81kDạy agent của bạn biến một mục tiêu lớn thành kế hoạch hành động có thứ tự, và lập lại kế hoạch khi điều kiện thay đổi.
agent-analyze-code-quality
81kGiúp agent của bạn rà soát chất lượng mã, tìm code smell, nợ kỹ thuật và gợi ý tái cấu trúc mà không thay đổi các file.
agent-app-store
81kGiúp agent của bạn tìm, xuất bản và triển khai ứng dụng cùng mẫu trên marketplace Flow Nexus, đồng thời xem đánh giá và thống kê.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.