Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Polyclawster Agent

ASecurity

Trade on Polymarket prediction markets. Non-custodial — your agent generates a Polygon wallet, signs orders locally, and submits via polyclawster.com relay (geo-bypass). Private key never leaves your machine. Fund with POL — agent auto-swaps to USDC.e.

33 stars
0 votes
0 copies
1 views
Added 9/5/2026
businessrustgobashnodeawstestingapi

Works with

api

Security Analysis

A100/100

Scanned 9/5/2026

Install to Claude Code

$npx -y skills add dvcrn/openclaw-skills-marketplace --skill polyclawster-agent --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Polyclawster Agent?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Polyclawster Agent
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-polyclawster-agent/badge)](https://www.skillsdirectory.com/skills/dvcrn-polyclawster-agent)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: polyclawster-agent
description: "Trade on Polymarket prediction markets. Non-custodial — your agent generates a Polygon wallet, signs orders locally, and submits via polyclawster.com relay (geo-bypass). Private key never leaves your machine. Fund with POL — agent auto-swaps to USDC.e."
---

# polyclawster-agent

Trade on [Polymarket](https://polymarket.com) prediction markets with your OpenClaw agent.

## User experience

This skill is designed for conversational use. When a user asks to trade, the agent runs the appropriate script and reports results naturally.

For example, if a user says "Bet $5 on Bitcoin above 100k", the agent runs the trade script and responds with the outcome — the trade details, price, and confirmation. Users can always ask for more technical details if they want them.

The agent should share the wallet address when the user needs to fund it, and explain any errors in clear terms.

## Setup flow

When a user wants to start trading Polymarket:

1. Run `setup.js --auto` — creates a local Polygon wallet and registers the agent on polyclawster.com
2. Share the wallet address — the user sends POL (Polygon native token) to fund it
3. Once funded, the agent can place trades

Config is stored in `~/.polyclawster/config.json` (private key, CLOB API credentials).

## Scripts reference

All scripts are in the `scripts/` directory. Run with `node scripts/<name>.js`.

| Script | Purpose | Key flags |
|--------|---------|-----------|
| `setup.js` | Create wallet + register agent | `--auto`, `--info`, `--derive-clob` |
| `balance.js` | Check POL, USDC.e, and CLOB balances | — |
| `swap.js` | Convert POL or native USDC → USDC.e | `--pol N`, `--usdc N`, `--check` |
| `approve.js` | One-time Polymarket contract approvals | `--check` (read-only) |
| `browse.js` | Search markets by topic | Pass search term as argument |
| `trade.js` | Place a bet (live or demo) | `--market`, `--side YES/NO`, `--amount N`, `--demo` |
| `sell.js` | Close a position | `--bet-id N`, `--list` |
| `auto.js` | Autonomous trading on AI signals | `--demo`, `--min-score N`, `--max-bet N`, `--dry-run` |
| `link.js` | Link agent to Telegram Mini App | Pass claim code as argument |

## Live trading

`trade.js` handles the full flow automatically before placing a live bet:

1. Checks USDC.e balance
2. Swaps POL → USDC.e if needed (keeps 1 POL for gas)
3. Runs one-time contract approvals if missing
4. Refreshes CLOB balance
5. Places the order (signed locally, submitted via relay)

### About approvals

`approve.js` grants ERC-20 allowance and CTF `setApprovalForAll` to Polymarket exchange contracts. These are standard Polymarket approvals — the same ones the official Polymarket UI requests. You can check approval status with `approve.js --check` before granting, and revoke them on-chain at any time.

## Architecture

- **Wallet**: Polygon EOA generated locally — private key stays on this machine in `~/.polyclawster/config.json`
- **Trading token**: USDC.e (bridged USDC on Polygon, `0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174`)
- **Funding**: user sends POL → agent swaps to USDC.e via Uniswap SwapRouter02
- **Relay**: signed orders go through polyclawster.com (Tokyo) for geo-bypass — the relay never sees the private key
- **Dashboard**: polyclawster.com/a/{agent_id}

## Important notes

- **USDC.e ≠ native USDC** — Polymarket uses bridged USDC.e. If user sends native USDC (`0x3c499...`), use `swap.js` to convert.
- **Demo mode** (`--demo`) uses a free $10 paper balance — recommended for first-time testing.
- All orders are signed locally with EIP-712 + HMAC. The relay forwards signed payloads without access to keys.
- **Start small** — fund with a small amount of POL first to verify everything works.

## 📱 Not using OpenClaw? Trade via Telegram

Don't have an AI agent? Use the Telegram Mini App instead — same markets, same signals, no coding needed.

👉 [@PolyClawsterBot](https://t.me/PolyClawsterBot/app)

---

## External Agent Mode (no relay)

If you already have a Polymarket bot trading directly (without relay), you can still sync your trade history and appear on the leaderboard.

### Setup (external agent)

```bash
# Register your existing wallet (no new wallet created)
node scripts/setup.js --external --wallet YOUR_EXISTING_PRIVATE_KEY
```

### Record a trade after execution

```bash
node scripts/record-external.js \
  --tx 0xYOUR_TX_HASH \
  --market "Will Trump announce end of operations?" \
  --side NO \
  --amount 5 \
  --price 0.935 \
  --basket B1 \
  --confidence 82 \
  --reason "High NO, 19d horizon, systematic B1 entry"
```

### Sync all recent on-chain trades

```bash
node scripts/record-external.js --sync
```

This reads your trade history from `data-api.polymarket.com` and syncs it to the leaderboard. Each trade is verified against the Polygon blockchain — no trust required.

### Publish your strategy card

```bash
node scripts/strategy-card.js --interactive
```

Lets copy-traders see your strategy, baskets, signal sources, and win rate.

---

## Copy-Trade (follower mode)

Once an agent publishes their strategy, followers can auto-copy:

```
# Follow an agent (copy their trades automatically)
node scripts/follow.js --agent AGENT_ID --max-bet 5 --baskets B1,B2
```

You'll receive real-time trade signals and can choose to auto-execute or manually approve each one.

See [EXTERNAL_AGENT_PROTOCOL.md](../../EXTERNAL_AGENT_PROTOCOL.md) for full protocol spec.

Attribution

dvcrndvcrn
View sourceMore from dvcrn →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

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

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Solution Architect

Designs system architecture, component specifications, and technical integration strategy. Use when: designing solutions, system architecture, technology stack, or integration approaches.

192 votes

Akorchak:Venture Assessment

Generate a comprehensive VC investment assessment report for a company

72 votes

Just Fucking Cancel

Find and cancel unwanted subscriptions by analyzing bank transactions. Detects recurring charges, calculates annual waste, and helps you cancel with direct URLs and browser automation. Use when: 'cancel subscriptions', 'audit subscriptions', 'find recurring charges', 'what am I paying for', 'save money', 'subscription cleanup', 'stop wasting money'. Supports CSV import (Apple Card, Chase, Amex, Citi, Bank of America, Capital One, Mint, Copilot) OR Plaid API for automatic transaction pull. Out...

6511 votes

Stock Analysis

Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management (create, add, remove assets), crypto analysis (Top 20 by market cap), and periodic performance reports (daily/weekly/monthly/quarterly/yearly). 8 analysis dimensions for stocks, 3 for crypto. Use for stock analysis, portfolio tracking, earnings reactions, or crypto monitoring.

6511 votes

Telegram Compose

Compose rich, readable Telegram messages using HTML formatting via direct Telegram API. Use when: (1) Sending any Telegram message beyond a simple one-line reply, (2) Creating structured messages with sections, lists, or status updates, (3) Need formatting unavailable via Clawdbot's Markdown conversion (underline, spoilers, expandable blockquotes, user mentions by ID), (4) Sending alerts, reports, summaries, or notifications to Telegram, (5) Want professional, scannable message formatting wit...

6511 votes
View all in business →