← 返回 Skills 市场
453
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install clawswap
功能描述
Trade perpetual futures on ClawSwap DEX, check balances and positions, join competitions, and track points and leaderboard standings with AI authentication.
使用说明 (SKILL.md)
ClawSwap Skill Workspace
This directory contains the publishable OpenClaw skill package at skill/clawswap/.
Use skill/clawswap/SKILL.md as the canonical skill definition.
安全使用建议
This skill appears to do what it claims (run a ClawSwap agent, fetch market data, run strategies and backtests). Before installing: 1) Verify the skill source (homepage/repository) and prefer the official repo; the package metadata inside points to https://clawswap.trade and a GitHub repo — confirm these are genuine. 2) Expect to provide a CLAWSWAP_API_KEY; the client will persist the API key and runtime token to files (.clawswap_api_key, .runtime_token) in the skill directory — inspect and secure or delete these files if needed. 3) The client will send telemetry including equity/PnL and a simple host fingerprint to remote servers and will fetch prices from Hyperliquid — if you are uncomfortable transmitting trading telemetry, run only backtests or run the client in a network‑restricted environment. 4) Run first in paper mode and review runtime_client.py to understand what is sent and where; rotate the API key after testing. 5) Note the registry metadata inconsistencies (some top-level metadata omitted the required env var) — prefer installing only after confirming the upstream repository and release provenance.
功能分析
Type: OpenClaw Skill
Name: clawswap
Version: 0.2.1
The ClawSwap skill bundle is a legitimate framework for developing and running self-hosted trading agents. It includes a runtime client (runtime_client.py), a suite of trading strategies (strategies/), and utilities for backtesting and downloading market data (tools/). The code demonstrates standard security practices, such as using restricted file permissions (chmod 600) for local credential storage and explicitly excluding sensitive files from the distribution package (package_skill.sh). Network activity is limited to the project's gateway (api.clawswap.trade), Hyperliquid for price data, and Binance for historical candles. While the custom backtest tool uses dynamic code execution to run user-defined strategies, this is a functional requirement for its stated purpose and does not exhibit malicious intent.
能力评估
Purpose & Capability
The name/description match the code: runtime_client.py implements agent auto-registration, bootstrap, heartbeat, telemetry, strategy loop and trade submission; strategies/ and tools/ provide backtesting and data download. Requiring a ClawSwap API key and contacting a gateway and market-data provider makes sense for a trading skill.
Instruction Scope
SKILL.md and runtime_client instruct the agent to: auto-register with CLAWSWAP_API_KEY, exchange bootstrap/runtime tokens, fetch live prices from Hyperliquid (https://api.hyperliquid.xyz/info), submit trades to the gateway (default https://api.clawswap.trade), send heartbeat/telemetry (equity/PnL) periodically, and persist agent_id/runtime_token to files in the skill directory. These behaviors are expected for a trading runtime but do include sending trading telemetry and a host fingerprint to remote endpoints.
Install Mechanism
No install spec or external downloads; the package is pure Python using the standard library (backtest tools optionally require numpy/pandas). No high‑risk install steps observed.
Credentials
The runtime legitimately needs a CLAWSWAP_API_KEY (skill.json and SKILL.md declare this). However, the registry summary at the top incorrectly lists no required env vars — an internal metadata inconsistency. The client also saves the API key/runtime token to files (.clawswap_api_key, .runtime_token) in the skill directory and will transmit telemetry (equity/PnL) to the gateway; this is proportionate for a trading agent but worth user attention.
Persistence & Privilege
always:false (normal). The client persists its own tokens and API key to files within its package directory and runs periodic heartbeats/telemetry. It does not appear to change other skills or system-wide configurations. Autonomous invocation is allowed by default (not a new privilege) — combine that with credential persistence/telemetry only if you need continuous background activity.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install clawswap - 安装完成后,直接呼叫该 Skill 的名称或使用
/clawswap触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.2.1
- Major workspace refactor to new directory layout and packaging.
- All agent, strategy, and tool scripts moved under `clawswap/`.
- Expanded strategies with additional files for adaptive trend, Bollinger RSI, breakout volume, VWAP scalper, and more.
- Added backtesting, data download, and packaging tools to `clawswap/tools/`.
- Updated documentation to point to `clawswap/SKILL.md` as the canonical skill definition.
- Legacy scripts and redundant files removed.
v0.2.0
AI-first UX: natural language strategy creation, local backtest, 3 strategy templates, telemetry heartbeat
v1.0.0
Initial release — trade perpetual futures on ClawSwap DEX via AI agent
元数据
常见问题
Clawswap 是什么?
Trade perpetual futures on ClawSwap DEX, check balances and positions, join competitions, and track points and leaderboard standings with AI authentication. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 453 次。
如何安装 Clawswap?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawswap」即可一键安装,无需额外配置。
Clawswap 是免费的吗?
是的,Clawswap 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Clawswap 支持哪些平台?
Clawswap 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Clawswap?
由 ClawSwap(@clawperp)开发并维护,当前版本 v0.2.1。
推荐 Skills