xt-assets
XT 资产管理。当用户要查 XT 账户余额/总资产、账户间划转、提币、查充提币链与手续费时使用。写操作需 API Key 并遵守确认流程,提币需二次确认。
How do I install this agent skill?
npx skills add https://github.com/geektian/aitradekit --skill xt-assetsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The xt-assets skill manages XT exchange assets via MCP tools. It features robust security protocols, including mandatory user confirmation for transfers and withdrawals, and explicitly prevents the agent from requesting or accessing secret API keys.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
What does this agent skill do?
XT 资产管理
通过 xt-tradekit MCP 工具执行。需 API Key:认证操作前调用 xt_credentials_status 检查,未配置则按 xt-spot-trade skill 的流程引导用户在自己终端运行 setup-credentials.sh(禁止读取凭证文件内容或索要密钥)。
权限说明:划转需 Transfer 权限,提币需 Withdraw 权限。对 AI 交易场景默认不建议开启 Withdraw;用户确需提币功能时,提醒其了解风险并绑定 IP 白名单。
工具映射
| 操作 | 工具 | 说明 |
|---|---|---|
| 现货余额/总资产 | xt_spot_balances | 返回非零资产 + USDT 估值 |
| 合约账户权益 | xt_futures_account | |
| 账户间划转 | xt_asset_transfer | 账户类型: SPOT / LEVER / FUTURES_U / FUTURES_C / FINANCE |
| 充提链查询 | xt_currency_chains | 链名、手续费、最小提币量、合约地址 |
| 提币 | xt_withdraw | 不可逆,二次确认 |
查总资产
同时调 xt_spot_balances 和 xt_futures_account,汇总展示:现货资产表 + 合约权益 + 合计估值。
划转确认
执行前展示:方向(如 现货 → U 本位合约)、币种、数量,等用户确认。
⚠️ 提币规则(不可逆操作,强制二次确认)
- 用户只给地址未指定链时,先调
xt_currency_chains展示支持的链、手续费、最小提币量,由用户选择。 - 执行前完整展示:
- 币种、链名称、数量
- 手续费、预计到账量
- 完整目标地址(不省略中间字符)
- 明确提示:「⚠️ 提币不可撤销,请核对地址与链」。
- 等待用户明确确认后才调用
xt_withdraw。 - 地址格式与所选链明显不符时(如向 Tron 链提 0x 开头地址),阻止并提醒。
输出规范
- 余额表格只列非零资产;总估值加粗。
- 划转/提币成功后展示返回的 transferId / withdrawId。
若
xt-tradekitMCP 工具不可用,先按xt-tradekit-setupskill 安装 MCP server。
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/geektian/aitradekit/xt-assets">View xt-assets on skillZs</a>