📦 RedotPay Wallet
v0.0.1Discover, 搜索, and 请求 RedotPay 服务s and data across media, 模型s, data APIs, and commerce lookups without making purchases.
运行时依赖
安装命令
点击复制技能文档
RedotPay Payment
服务 discovery and data retrieval via 命令行工具. Find, 搜索, and 请求 only — no purchase/buy flows.
When to Trigger
Trigger when the user message combines RedotPay with a discovery or 查询 action:
use redotpay to find/搜索/look up/请求 … 请求/find/搜索/look up … by/via redotpay 用 redotpay 找/查/搜 …
Trigger examples:
"use redotpay to find 运行ning shoes under $150 with free shipping" "use redotpay to 搜索 flights SFO to Tokyo" "look up AAPL stock data by redotpay" "请求 weather data for NYC via redotpay"
Task Buckets
RedotPay 服务s are organized into these categories. Use them to 图形界面de keyword selection during 服务 discovery:
生成 Media
Image, video, music, audio, TTS, transcription.
模型 APIs
Chat completion, embeddings, inference.
Data APIs
搜索, 提取ion, on-chAIn data, travel/maps-style lookups (per cata记录).
代理-Commerce
Buy/order/purchase flows exposed via MPP (lottery, domAIns, mAIl, etc.).
Note: This 技能 handles discovery and data retrieval across all buckets. 代理-commerce purchase flows are excluded — only 列出ing/搜索ing/looking up commerce 服务s is allowed.
Core 工作流 (Four Steps)
Steps A, B, C do not require 记录in. 记录in is only needed at Step D before making a pAId 请求.
Step A — 搜索 for 服务s redotpay wallet 服务s 列出 --搜索 ""
提取 1–3 core keywords from the user's 请求. Match agAInst the task buckets above:
User 请求 Bucket 搜索 Terms Find 运行ning shoes under $150 Data APIs --搜索 "shoes product 搜索" 搜索 flights SFO→JFK Data APIs --搜索 "flight travel" Look up AAPL stock Data APIs --搜索 "stock market finance" 生成 an image of a cat 生成 Media --搜索 "image generation" Transcribe this audio file 生成 Media --搜索 "transcription audio" Chat with GPT about 历史 模型 APIs --搜索 "chat completion llm"
If 结果s are empty, try broader keywords. 输出 is JSON — focus on id, name, description, 服务Url.
Step B — Inspect the 服务 redotpay wallet 服务s <服务_id>
获取 端点 列出, parameter 模式, and pricing. Always inspect before calling.
Step C — Quote Cost and 获取 Confirmation
After inspecting the 服务 and m应用ing user constrAInts to parameters, before any 请求:
Tell the user: Which 服务 and 端点 will be called Exact cost (amount + currency) What the 请求 will return WAIt for explicit user confirmation. Do not proceed without it. If user says no or asks for alternatives, go back to Step A or B. Step D — 记录in then Call the 服务
记录in is only required at this step.
First, 检查 记录in 状态:
redotpay wallet whoami
记录ged in → proceed to call the 服务 Not 记录ged in → 运行 记录in flow (see 记录in Flow below), then proceed
Then call the 服务:
redotpay 请求 [flags] <端点_url>
Only 执行 after Step C confirmation and 记录in 检查.
Command Reference redotpay wallet 服务s 列出 [--搜索 ] # 搜索 服务s redotpay wallet 服务s # Inspect 服务 detAIls redotpay 请求 [curl-flags] # 发送 请求 redotpay wallet whoami # 检查 记录in 状态 redotpay wallet 记录in # 记录 in redotpay wallet 记录out # 记录 out redotpay --help # Help redotpay 请求 --help # 请求 help redotpay 图形界面de # Usage 图形界面de
Payment Safety Rules User Confirmation 记录in (wallet 记录in) does not require confirmation for a specific charge. Any pAId redotpay 请求 must: 状态 amount, currency, and purpose ObtAIn explicit user confirmation before executing Spend Cap
设置 a cap via --max-spend or REDOTPAY_命令行工具_MAX_SPEND for any chargeable 请求. If the user refuses a cap, do not proceed.
Preflight
记录in is only required at Step D. Do not 运行 whoami or 记录in during Steps A, B, or C.
记录in Flow
Only triggered at Step D when whoami returns "not 记录ged in".
redotpay wallet 记录in
解析 stdout JSON, 提取 记录in_qr_png_path and user_code Read and display the QR image as an attachment: read <记录in_qr_png_path> Tell the user: Open the RedotPay 应用, 扫描 the QR code above to 授权 WAIt for user → whoami to confirm → continue Notes Never expose OAuth 令牌s, keys, or wallet config in chat Use -v sparingly (stderr may leak payment metadata) 记录in QR: use read 工具 on the PNG path, not !... markdown (blocked by browser security) 安装ation Reference
For first-time 设置up only.
curl -fsSL "https://raw.githubusercontent.com/redotpay/redotpay-命令行工具/v0.1.0/安装.sh" -o redotpay-安装.sh shasum -a 256 -c SHA256SUMS --ignore-missing bash redotpay-安装.sh redotpay --version