Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计提醒

tradetrade 工具

Agent Skill

trade 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

315

周安装

13

GitHub Stars

公开资料未说明

下载量

103
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:trade(trade 工具)
来源仓库:https://github.com/ahmetenesdur/fibx-agentic-wallet-skills
仓库路径:skills/trade
安装命令:
npx skills add https://github.com/ahmetenesdur/fibx-agentic-wallet-skills --skill trade
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ahmetenesdur/fibx-agentic-wallet-skills --skill trade

简介

trade 用于在多个区块链上执行代币兑换,自动寻找最优路径。

  • 支持 Wrap/Unwrap 操作,减少 Gas 消耗并提升效率。
  • 交易前需验证余额和网络连接,支持设置滑点容差。
  • 可跨链操作,但必须明确指定目标链,否则默认使用 Base。
  • 通过 npx fibx@latest trade <from> <to> <amount> 命令执行兑换流程。

SKILL.md

Trade / Swap Tokens

Exchange one token for another via Fibrous aggregation. The CLI finds the best route, handles token approvals, simulates the swap, and executes.

Note: Automatically detects and executes Wrap (Native -> Wrapped) and Unwrap (Wrapped -> Native) operations directly via contract calls, bypassing aggregation to save gas.

Prerequisites

  • Active session required.
  • Sufficient balance of the source token + gas fees.

Rules

  1. BEFORE any trade, you MUST run npx fibx@latest status and npx fibx@latest balance to verify connectivity and source token balance.
  2. If the user specifies a chain, you MUST include --chain <name>. If not specified, default to base and state it.
  3. Default slippage is 0.5%. To change it, you MUST ask the user for confirmation before using --slippage.
  4. The CLI defaults to exact approval for ERC-20 tokens. NEVER use --approve-max unless the user explicitly requests it.
  5. AFTER a successful trade, you MUST verify the transaction using tx-status with the same --chain flag.

Chain Reference

ChainFlagNative Token
Base--chain baseETH
Citrea--chain citreacBTC
HyperEVM--chain hyperevmHYPE
Monad--chain monadMON

Commands

npx fibx@latest trade <amount> <from_token> <to_token> [--chain <chain>] [--slippage <n>] [--approve-max] [--simulate] [--json]

Parameters

ParameterTypeDescriptionRequired
amountnumberAmount of source token to swapYes
from_tokenstringSource token symbol (e.g. ETH, USDC)Yes
to_tokenstringTarget token symbol (e.g. USDC, DAI)Yes
chainstringbase, citrea, hyperevm, or monadNo
slippagenumberSlippage tolerance in % (e.g. 1.0)No
approve-maxflagUse infinite approval instead of exactNo
simulateflagEstimate gas without executingNo
jsonflagOutput as JSONNo

Default chain: base. Default slippage: 0.5.

Examples

User: "Swap 0.1 ETH for USDC"

npx fibx@latest status
npx fibx@latest balance
npx fibx@latest trade 0.1 ETH USDC
npx fibx@latest tx-status <hash>

User: "Buy USDC with 1 MON on Monad"

npx fibx@latest status
npx fibx@latest balance --chain monad
npx fibx@latest trade 1 MON USDC --chain monad
npx fibx@latest tx-status <hash> --chain monad

User: "Wrap 1 ETH to WETH on Base"

npx fibx@latest status
npx fibx@latest balance
npx fibx@latest trade 1 ETH WETH --chain base
npx fibx@latest tx-status <hash>

User: "Unwrap 0.5 WMON on Monad"

npx fibx@latest status
npx fibx@latest balance --chain monad
npx fibx@latest trade 0.5 WMON MON --chain monad
npx fibx@latest tx-status <hash> --chain monad

Error Handling

ErrorAction
No route foundLiquidity may be too low or pair doesn't exist on the chain.
Insufficient balanceCheck balance and suggest a smaller amount.
Slippage exceededPrice moved unfavorably — suggest retrying with --slippage.
Simulation failedRoute is invalid or would revert. Do not retry blindly.
Not authenticatedRun authenticate-wallet skill first.
Rate limit / 429Use config skill to set a custom RPC.

Related Skills

  • Run balance BEFORE trading to verify sufficient source token balance.
  • Run portfolio to see all holdings with USD values before deciding what to trade.
  • Run tx-status AFTER trading to confirm the swap succeeded.
  • Use config to set a custom RPC if you encounter rate limit errors.
  • Use aave to supply swapped tokens into Aave V3 for yield.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.03%
按下载量换算38

Claude

31.14%
按下载量换算32

Cursor

16.72%
按下载量换算17

Gemini CLI

9.81%
按下载量换算10

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills