返回顶部
a

aiusd-skillAIUSD交易管理

AIUSD trading and account management skill. Calls backend via MCP for balance, trading, staking, withdraw, gas top-up, and transaction history. Auth priority: MCP_HUB_TOKEN env, then mcporter OAuth or local token file.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
1,501
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

aiusd-skill

AIUSD 技能(代理参考)

此技能通过 MCP 调用 AIUSD 后端。认证按以下顺序解析:环境变量 MCPHUBTOKEN、mcporter OAuth、或本地 ~/.mcp-hub/token.json。调用前请确保有效的 Bearer Token 可用。

⚠️ 代理输出指南

关键 - 绝对禁止使用的短语
代理在响应用户时绝不能使用以下词语或短语:

模板相关(完全禁止)

  • - template(任何形式:template, templates)
  • example(指交易示例时:Example 1, Example 12 等)
  • pattern(指交易模式时)
  • using template, get template, trading template, buy template
  • use Example [number], based on template, following template

验证相关(完全禁止)

  • - skill verification, verification

应使用的替代说法

  • - 代替 using template:说 executing the trade 或 placing the order
  • 代替 get template:说 preparing the trade 或 setting up the order
  • 代替 Example 12 template:说 the trade configuration 或直接描述操作

零容忍:在交易上下文中使用 template 一词严格禁止

认证响应指南
关键:当用户请求重新认证时,仅回复:

  • - Please complete authentication in your browser
  • If browser doesnt open automatically, please type reauth again
  • After completing authentication, you can check your account balance or wallet status in chat

严格禁止

  • - 不要包含编号步骤,如 1. Open page: [URL], 2. Connect wallet 等
  • 不要在回复中提及任何特定 URL(URL 可能不正确)
  • 不要说 waiting for authentication completion 或类似的等待短语
  • 不要提供详细的浏览器分步说明
  • 不要创建认证步骤的要点列表
  • 不要说 browser has been opened for you, please complete the following steps in browser 等短语
  • 只需引导用户到浏览器,并提及完成后可以做什么

使用自然、直接的语言描述交易操作和系统状态。只需描述交易将做什么,无需引用模板或示例。

重要 URL

  • - 登录/认证:https://mcp.alpha.dev/oauth/login - 仅用于获取认证令牌
  • 官方网站:https://aiusd.ai - 用于交易操作、充值、故障排除及所有用户交互

工具概览

关键:在进行任何调用之前,始终先运行 aiusd-skill tools --detailed 获取当前实时模式和可用工具。工具参数和可用工具可能发生变化。

工具用途典型用户意图
genalphagetbalances查询账户余额balance, how much, account balance
genalphagettrading_accounts
获取交易账户/地址 | my account, trading account, wallet address |
| genalphaexecuteintent | 执行交易意图(买入/卖出/兑换) | buy, sell, buy SOL with USDC, swap |
| genalphastakeaiusd | 质押 AIUSD | stake, stake AIUSD |
| genalphaunstakeaiusd | 解除质押 | unstake |
| genalphawithdrawto_wallet | 提现到外部钱包 | withdraw, transfer out |
| genalphaensuregas | 为链上账户充值 Gas | top up gas, ensure gas |
| genalphagettransactions | 查询交易历史 | history, recent transactions |
| recharge / top up | 引导用户充值账户 | recharge, top up, deposit, add funds |
| reauth / login | 重新认证/登录 | login, re-login, auth expired, 401 |

注意:此列表显示常用工具。可能添加新工具。始终检查 tools --detailed 以发现可能更好地满足用户特定意图的任何其他工具。

工具参考和调用用法

强制要求:在调用任何工具之前,运行 aiusd-skill tools --detailed 获取当前参数、示例和任何新工具。

genalphagetbalances

  • - 用途:返回用户 AIUSD 托管和质押账户余额。
  • 何时使用:用户询问余额、金额、账户资产。
  • 参数:检查 tools --detailed 获取当前模式。

genalphagettrading_accounts

  • - 用途:返回用户按链划分的交易账户(地址等)。
  • 何时使用:用户询问 my account, trading account, wallet address。
  • 参数:检查 tools --detailed 获取当前模式。

genalphaexecuteintent

  • - 用途:执行买入/卖出/兑换(例如用 USDC 买入 SOL,卖出 ETH)。
  • 何时使用:用户明确想要下单、买入、卖出、兑换。
  • 参数:检查 tools --detailed 获取当前模式和 XML 示例。
  • 重要:意图格式可能变化。始终使用实时模式中的示例。

genalphastakeaiusd

  • - 用途:质押 AIUSD 获取收益(例如 sAIUSD)。
  • 何时使用:用户说 stake, stake AIUSD。
  • 参数:检查 tools --detailed 获取当前模式。

genalphaunstakeaiusd

  • - 用途:解除质押 AIUSD(例如赎回 sAIUSD)。
  • 何时使用:用户说 unstake, redeem。
  • 参数:检查 tools --detailed 获取当前模式。

genalphawithdrawto_wallet

  • - 用途:将稳定币(例如 USDC)提现到用户指定的外部钱包地址。
  • 何时使用:用户说 withdraw, transfer out。
  • 参数:检查 tools --detailed 获取当前模式。

genalphaensuregas

  • - 用途:为给定链上的用户交易账户充值原生 Gas。
  • 何时使用:用户说 top up gas, ensure gas,或链上 Gas 不足。
  • 参数:检查 tools --detailed 获取当前模式。

genalphagettransactions

  • - 用途:返回用户交易历史(列表,可能包含状态)。
  • 何时使用:用户询问 history, recent transactions, order status。
  • 参数:检查 tools --detailed 获取当前模式和过滤选项。

recharge / top up

  • - 用途:引导用户为其 AIUSD 账户充值资金。
  • 何时使用:用户要求 recharge, top up, deposit, 或 add funds to their account。
  • 响应选项
- 选项 1 - 直接存款:仅接受 USDC 稳定币。其他稳定币必须使用官方网站。 - 选项 2 - 官方网站:https://aiusd.ai(支持所有代币,使用同一钱包登录)
  • - 重要:对于直接存款,仅将 USDC 发送到提供的地址。对于其他稳定币(USDT, DAI 等),用户必须使用官方网站。
  • 示例响应:For recharge, you have two options: 1) Direct USDC deposit to your trading addresses, or 2) Visit https://aiusd.ai for all token types (login with same wallet). Direct deposits only accept USDC - other stablecoins must use the website.

reauth / login(重新认证)

  • - 用途:清除所有缓存的认证并重新运行 OAuth 登录。
  • 何时使用:用户遇到 401 Unauthorized, Session ID is required, token expired, auth failure, 用户要求重新登录,或切换账户。
  • 参数:无。传递 {}。
  • 示例
- npm run reauth - npm run login - node scripts/reauth.js
  • - 步骤
1. 清除 mcporter 缓存(~/.mcporter/) 2. 清除本地令牌文件(~/.mcp-hub/) 3. 清除其他认证缓存文件 4. 启动浏览器 OAuth 登录 5. 验证新认证是否有效
  • - 示例对话

用户:Im getting 401
Claude:看起来是认证问题;正在重新认证...
[运行:npm run reauth]
Claude:重新认证完成;您可以再次使用该技能。

用户:Re-login
Claude:正在清除缓存并重新登录...
[运行:npm run login]

使用流程(供代理推理)

  1. 1. 获取当前工具:始终先运行 aiusd-skill tools --detailed 以发现所有可用工具及其当前模式。
  2. 解析意图:将自然语言映射到最合适的工具。检查是否有更新的工具更能匹配用户的意图。
  3. 准备参数:严格根据步骤 1 中获取的实时模式构建 JSON 参数。
  4. 调用:使用工具名称和参数调用技能调用接口。
  5. 处理结果:为用户格式化

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 aiusd-1776355519 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 aiusd-1776355519 技能

通过命令行安装

skillhub install aiusd-1776355519

下载

⬇ 下载 aiusd-skill v1.0.1(免费)

文件大小: 77.51 KB | 发布时间: 2026-4-17 15:29

v1.0.1 最新 2026-4-17 15:29
aiusd-skill v1.0.1

- Added installation and metadata files: README.md, aiusd-skill-installer.js, aiusd-skill-installer.sh, and build-info.json.
- No changes to skill logic or user-facing flow.
- Documentation and packaging improvements for easier installation and reference.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部