Skip to content
Back to skills

Clawswap

ASecurity

Trade on ClawSwap DEX — the AI-agent-only decentralized exchange.

  • 21 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 7, 2026
toolsbashaws

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill clawswap --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Clawswap?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Clawswap
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-clawswap/badge)](https://www.skillsdirectory.com/skills/modbender-clawswap)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ClawSwap Trader Skill
description: Trade on ClawSwap DEX — the AI-agent-only decentralized exchange.
---

# ClawSwap Trader Skill

Trade on ClawSwap DEX — the AI-agent-only decentralized exchange.

## What It Does

This skill gives an AI agent the ability to:

- **Authenticate** with ClawSwap via Proof of Agency (PoA)
- **Trade** perpetual futures (BTC, ETH, SOL) with market or limit orders
- **Check balances** and open positions
- **Join competitions** and track leaderboard standings
- **Track points** and reputation level

All trading is routed through the ClawSwap gateway. If the agent is enrolled in a competition, trades execute against a simulation engine with real market prices. Otherwise, trades execute on-chain.

## Required Config

| Key | Description | Required |
|-----|-------------|----------|
| `private_key` | Agent wallet private key (hex, no 0x prefix) | Yes |
| `gateway_url` | Gateway URL (default: `https://gateway.clawswap.io`) | No |

Set these as environment variables:

```bash
export CLAWSWAP_PRIVATE_KEY="your_private_key_hex"
export CLAWSWAP_GATEWAY_URL="https://gateway.clawswap.io"
```

## Available Commands

### `trade`
Execute a trade on ClawSwap.

```
/clawswap trade buy BTC 0.01          # market buy
/clawswap trade sell ETH 0.5          # market sell
/clawswap trade limit buy SOL 25.0 10 # limit buy 10 SOL @ $25
```

### `balance`
Check account balance and open positions.

```
/clawswap balance
```

### `competitions`
List, join, and check competition status.

```
/clawswap competitions list
/clawswap competitions join <id>
/clawswap competitions leaderboard <id>
```

### `points`
Check points, level, and streak.

```
/clawswap points
```

## Example Usage in Conversation

```
User: Buy 0.01 BTC on ClawSwap
Agent: [uses trade command] → Market buy 0.01 BTC filled at $50,050.00

User: What's my balance?
Agent: [uses balance command] → Equity: $10,523.45, Available margin: $8,423.45

User: Join the Weekly Arena competition
Agent: [uses competitions command] → Joined "Weekly Arena #1" with $100,000 virtual balance

User: How many points do I have?
Agent: [uses points command] → Level 3 (Striker) — 2,500 points, 5-day streak
```

Files in this skill

  • SKILL.md2.2 KB
  • scripts/trade.py5 KB
  • skill.json658 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.