← 返回 Skills 市场
Mi Trading
作者
davidpolotm
· GitHub ↗
· v1.0.0
610
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install mi-trading
功能描述
Trade tokens on Solana using the ClawDex CLI. Use when the user asks to swap tokens, check balances, get quotes, or manage a Solana trading wallet.
安全使用建议
This skill's instructions perform exactly the kind of operations you'd expect for a Solana trading CLI, but the registry metadata omits the sensitive items the SKILL.md needs (JUPITER_API_KEY, RPC URL, and a local wallet file). Before installing or running: (1) verify the provenance of the 'clawdex' npm package (publisher, repository, audit its source) rather than blindly running npm install -g; (2) never point the tool at your main wallet — use a dedicated wallet with minimal funds for testing; (3) consider running the CLI in an isolated environment/container; (4) confirm whether JUPITER_API_KEY or other secrets are actually required and where they are sent; (5) ask the skill author or registry to update metadata to declare required env vars and config paths. If the registry metadata and a trustworthy upstream repo are provided (and code audit shows no exfiltration), the concern would be reduced.
功能分析
Type: OpenClaw Skill
Name: mi-trading
Version: 1.0.0
The skill is designed for Solana DEX trading using the `clawdex` CLI tool. It instructs the agent to install `clawdex` via `npm install -g`, configure it with environment variables (`JUPITER_API_KEY`, `SOLANA_RPC_URL`) and a local wallet file (`~/.config/solana/id.json`), and then perform trading operations. All instructions in `SKILL.md` are directly related to the stated purpose, including safety guardrails and a recommended trading workflow. While the skill accesses sensitive data (API keys, wallet file) and installs a global package, this is necessary for its functionality and there is no evidence of intentional data exfiltration, unauthorized actions, or malicious prompt injection attempts against the agent. The risks are inherent to automated trading and dependency management, not malicious intent within the skill's design.
能力评估
Purpose & Capability
The name/description (Solana token trading via ClawDex) aligns with the SKILL.md content: commands, quotes, simulation, and execution are coherent for a trading skill. However, the registry metadata claims no required env vars or config paths while the instructions explicitly reference JUPITER_API_KEY, SOLANA_RPC_URL, and a wallet file (~/.config/solana/id.json), which is inconsistent and unexplained.
Instruction Scope
The SKILL.md stays within trading scope (health check, balances, simulate, execute) but it instructs the agent to access a local Solana wallet file and environment variables (JUPITER_API_KEY, optional SOLANA_RPC_URL). Accessing a user's wallet file is sensitive; the instructions do not limit which wallet to use or instruct using a dedicated/trust-limited wallet. The SKILL.md also suggests installing clawdex from npm, which requires running third-party code.
Install Mechanism
This is instruction-only (no install spec in registry). The SKILL.md recommends 'npm install -g clawdex@latest' if clawdex is not present — a common mechanism but it entails installing an npm package from the public registry. No opaque download URLs or extract steps are present in the skill itself.
Credentials
The registry declares no required env vars, but the SKILL.md requires JUPITER_API_KEY during onboarding and references SOLANA_RPC_URL. It also assumes access to a wallet file path (~/.config/solana/id.json). Requesting access to a private wallet file and an API key is proportionate to trading functionality — but it should be declared up front. The lack of declared credentials/config in metadata is a mismatch that could lead to unexpected exfiltration risk if the underlying clawdex binary is untrusted.
Persistence & Privilege
The skill does not request persistent/all-skill privileges (always: false) and does not modify other skills or system-wide settings in the provided instructions. Autonomous invocation is allowed by default (disable-model-invocation: false) but that is platform default and not by itself flagged.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install mi-trading - 安装完成后,直接呼叫该 Skill 的名称或使用
/mi-trading触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the ClawDex skill for Solana DEX trading:
- Enables trading any Solana token via the ClawDex CLI and Jupiter aggregator.
- Supports checking wallet balances, getting swap quotes, simulating trades, and executing swaps with safety guardrails.
- Requires all CLI commands to use `--json` for machine-parseable output.
- Includes detailed trading workflow, token specification, exit codes, and safety features.
- Provides onboarding guidance and troubleshooting steps for user setup.
元数据
常见问题
Mi Trading 是什么?
Trade tokens on Solana using the ClawDex CLI. Use when the user asks to swap tokens, check balances, get quotes, or manage a Solana trading wallet. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 610 次。
如何安装 Mi Trading?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install mi-trading」即可一键安装,无需额外配置。
Mi Trading 是免费的吗?
是的,Mi Trading 完全免费(开源免费),可自由下载、安装和使用。
Mi Trading 支持哪些平台?
Mi Trading 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Mi Trading?
由 davidpolotm(@davidpolotm)开发并维护,当前版本 v1.0.0。
推荐 Skills