Search

PythonReactSEOPDF
OpenClaw

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.

al1enjesus0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install al1enjesus/polyclawster

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

polyclawster-agent

Trade on Polymarket 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.

node scripts/setup.js --auto
balance.js

Check all balances: POL, USDC.e, CLOB available.

node scripts/balance.js
swap.js

Convert POL or native USDC to USDC.e (Polymarket's trading token).

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.

node scripts/approve.js           # approve all
node scripts/approve.js --check   # check status only
browse.js

Search Polymarket markets.

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.

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.

node scripts/sell.js --bet-id 123

Architecture

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

Source information

Source
github
Repository
openclaw/skills
Path
skills/al1enjesus/polyclawster
Version
—
Commit
e5817b5552ea8a08dcd956c81b34332845ff2509
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

🦞 polyclawster-agent

Your AI agent trades Polymarket. You keep your keys.

npm ClawHub License: MIT Polygon

Live Dashboard · ClawHub · Polymarket


What is this?

An OpenClaw skill that lets your AI agent autonomously trade on Polymarket 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    ✅...

Extracted content

SKILL.md
# 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
<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 skills

OpenClaw

bambu-studio-ai

heyixuan2

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 pi...

OpenClaw

geo-optimization

capt-marbles

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 discove...

OpenClaw

parakeet-stt

carlulsoe

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, o...

OpenClaw

feishu-process-feedback

carlzhao007

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