TopRank Skills

Home / Claw Skills / Git / GitHub / polyclawster-agent
Official OpenClaw rules 36%

polyclawster-agent

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.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 polyclawster-agent 技能。 若已安装,则直接安装 polyclawster-agent 技能。

Overview

Skill Key
al1enjesus/polyclawster
Author
al1enjesus
Source Repo
openclaw/skills
Version
-
Source Path
skills/al1enjesus/polyclawster
Latest Commit SHA
e5817b5552ea8a08dcd956c81b34332845ff2509

Extracted Content

SKILL.md excerpt

# polyclawster-agent

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

## Quick Start

```
"Set me up to trade Polymarket"
→ runs: node scripts/setup.js --auto
→ shows wallet address — send POL to fund it
```

## How It Works

1. **Setup** → generates Polygon wallet + registers agent on polyclawster.com
2. **Fund** → send POL (Polygon native token) to agent wallet address
3. **Trade** → agent auto-swaps POL → USDC.e, approves contracts, places orders

All signing happens locally. Private key never leaves the machine.
Orders go through polyclawster.com relay (Tokyo) for Polymarket geo-bypass.

## Scripts

### `setup.js --auto`
Generate wallet, register agent, derive CLOB API credentials.
```bash
node scripts/setup.js --auto
```

### `balance.js`
Check all balances: POL, USDC.e, CLOB available.
```bash
node scripts/balance.js
```

### `swap.js`
Convert POL or native USDC to USDC.e (Polymarket's trading token).
```bash
node scripts/swap.js              # auto-detect and swap
node scripts/swap.js --pol 10     # swap 10 POL → USDC.e
node scripts/swap.js --check      # check balances only
```

### `approve.js`
One-time on-chain approvals for Polymarket contracts.
Called automatically by `trade.js` when needed.
```bash
node scripts/approve.js           # approve all
node scripts/approve.js --check   # check status only
```

### `browse.js`
Search Polymarket markets.
```bash
node scripts/browse.js "bitcoin"
node scripts/browse.js "politics"
```

### `trade.js`
Place a trade. Live by default — add `--demo` for paper trading.
Before live trades, auto-checks: USDC.e balance, swaps if needed, approves if needed.
```bash
node scripts/trade.js --market "bitcoin-100k" --side YES --amount 5
node scripts/trade.js --market "trump-win" --side NO --amount 2 --demo
```

### `sell.js`
Close/sell an existing position.
```bash
node scripts/sell.js --bet-id 123
```

## Architecture

```
Agent (your machine)          polyclawster.com           Polym...

README excerpt

<div align="center">

# 🦞 polyclawster-agent

**Your AI agent trades Polymarket. You keep your keys.**

[![npm](https://img.shields.io/npm/v/polyclawster?color=0f172a&style=flat-square)](https://www.npmjs.com/package/polyclawster)
[![ClawHub](https://img.shields.io/badge/clawhub-polyclawster--agent-blue?style=flat-square)](https://clawhub.com/skill/polyclawster-agent)
[![License: MIT](https://img.shields.io/badge/license-MIT-green?style=flat-square)](LICENSE)
[![Polygon](https://img.shields.io/badge/chain-Polygon-8247e5?style=flat-square)](https://polygon.technology)

[Live Dashboard](https://polyclawster.com) · [ClawHub](https://clawhub.com/skill/polyclawster-agent) · [Polymarket](https://polymarket.com)

</div>

---

## What is this?

An OpenClaw skill that lets your AI agent autonomously trade on [Polymarket](https://polymarket.com) prediction markets — with a fully **non-custodial** architecture.

Your agent:
- Generates a Polygon wallet **locally** (`ethers.Wallet.createRandom()`)
- Signs every order **locally** (EIP-712 + HMAC — never sent anywhere)
- Submits via `polyclawster.com/api/clob-relay` (Tokyo, geo-bypass)
- Gets **AI-scored signals** to know when and what to trade
- **Auto-swaps POL → USDC.e** before trading (no manual token management)

`polyclawster.com` never sees your private key. It just proxies signed orders and tracks PnL.

---

## Architecture

```
┌────────────────────────────────────────────┐
│            Your Agent Container            │
│                                            │
│  ethers.Wallet.createRandom()              │
│  ├─ privateKey  ──────────────► stays here │
│  └─ walletAddress ────────────► registered │
│                                            │
│  Fund: Send POL → agent auto-swaps:       │
│  POL → USDC.e (Uniswap SwapRouter02)     │
│                                            │
│  createMarketOrder(tokenId, BUY, $10)     │
│  ├─ EIP-712 signed locally ✅             │
│  └─ HMAC signed locally    ✅...

Related Claw Skills

heyixuan2

bambu-studio-ai

★ 41

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).

capt-marbles

geo-optimization

★ 1

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.

carlulsoe

parakeet-stt

★ 0

Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, or processing voice recordings locally without cloud APIs.

carlzhao007

feishu-process-feedback

★ 0

飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化。 使用场景:飞书自动化工作流、任务进度追踪、批量任务处理、需要实时反馈的场景。

cartoonitunes

bottyfans

★ 0

BottyFans agent skill for autonomous creator monetization. Lets AI agents register, build a profile, publish posts (public, subscriber-only, or pay-to-unlock), upload media, accept USDC subscriptions and tips on Base, send and receive DMs, track earnings, and appear on the creator leaderboard. Use this skill when an agent needs to monetize content, interact with fans, manage a creator profile, handle payments in USDC, or operate as an autonomous creator on the BottyFans platform.

camopel

arxivkb

★ 0

Local arXiv paper manager with semantic search. Crawls arXiv categories, downloads PDFs, chunks content, and indexes with FAISS + Ollama embeddings. No cloud API keys required — everything runs locally.