← Back to Skills Marketplace
clawperp

Clawswap

by ClawSwap · GitHub ↗ · v0.2.1 · MIT-0
cross-platform ✓ Security Clean
453
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install clawswap
Description
Trade perpetual futures on ClawSwap DEX, check balances and positions, join competitions, and track points and leaderboard standings with AI authentication.
README (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.

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install clawswap
  3. After installation, invoke the skill by name or use /clawswap
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Slug clawswap
Version 0.2.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Clawswap?

Trade perpetual futures on ClawSwap DEX, check balances and positions, join competitions, and track points and leaderboard standings with AI authentication. It is an AI Agent Skill for Claude Code / OpenClaw, with 453 downloads so far.

How do I install Clawswap?

Run "/install clawswap" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Clawswap free?

Yes, Clawswap is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Clawswap support?

Clawswap is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Clawswap?

It is built and maintained by ClawSwap (@clawperp); the current version is v0.2.1.

💬 Comments