Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

polyclaw

Skill by chainstacklabs

PolyClaw is an OpenClaw skill for trading on Polymarket. It lets an assistant browse markets, buy YES or NO positions, track P&L and scan for hedges using an LLM.

  • Score 77
  • 362 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install polyclaw

Built from the published package, never by AI.

git clone --depth 1 https://github.com/chainstacklabs/polyclaw /tmp/polyclaw && mkdir -p ~/.claude/skills && cp -r /tmp/polyclaw ~/.claude/skills/polyclaw

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install polyclaw in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

PolyClaw is a skill for OpenClaw that lets an assistant work with Polymarket prediction markets. It can search and browse markets, check wallet status and balances, buy YES or NO positions, and list open positions with entry prices, current prices and P&L. It also runs an LLM-based hedge scan that looks for covering portfolios of market positions.

Trades are made by splitting pUSD into YES and NO tokens through the CTF contract, then selling the unwanted side on the CLOB order book. The wallet is configured with the POLYCLAW_PRIVATE_KEY environment variable, and the skill runs on Polygon through a Chainstack node. It suits users who want to trade on Polymarket from an assistant. The source advises keeping only small amounts in the wallet.

Written from the project's SKILL.md and checked against it.

What it can do

  • Market browsingSearches and browses Polymarket prediction markets, including trending markets by volume.
  • Wallet managementChecks wallet address and balances and sets one-time contract approvals.
  • TradingBuys YES or NO positions by splitting pUSD and selling the unwanted side on the CLOB.
  • Position trackingLists positions with entry prices, current prices and P&L.
  • Hedge discoveryFinds covering portfolios of market positions using LLM-based logical implications.

What you need

  • uv (Python package runner)
  • Polygon RPC URL via CHAINSTACK_NODE
  • EVM wallet private key in POLYCLAW_PRIVATE_KEY
  • POL for gas on Polygon
  • OpenRouter API key for hedge discovery
  • Residential proxy for CLOB sells (recommended)

Try asking

  • Show me the trending Polymarket markets by volume.
  • Buy a YES position for $50 in this election market.
  • List my Polymarket positions with their P&L.

Good to know

  • Trading requires a one-time set of contract approvals.
  • CLOB sells may fail when liquidity is low or when Cloudflare blocks the IP.
  • The private key is stored in an environment variable, which the source calls less secure than encrypted storage.
  • Hedge results depend on the chosen LLM model, and the source notes some models find spurious correlations.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to polyclaw

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

polyclaw: common questions

Does PolyClaw need a Polymarket account?

The source only says the wallet is set with POLYCLAW_PRIVATE_KEY and that trades use pUSD on Polygon. It does not describe a separate Polymarket account.

What happens if the CLOB sell fails?

The split still succeeds, so the user holds both tokens. The output states how many tokens to sell manually on polymarket.com, or the user can use --skip-sell.

What is pUSD and how do I get it?

pUSD is the Polymarket collateral token. If you hold USDC.e, the source says to wrap it 1:1 into pUSD through the Collateral Onramp wrap() function before trading.

How do I install polyclaw?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is polyclaw free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is polyclaw safe to use?

It scores 77 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to polyclaw?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

polyclaw Install

Add to stack

Loading.