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.
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/polyclawRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/chainstacklabs/polyclaw /tmp/polyclaw && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/polyclaw ~/.gemini/antigravity-cli/skills/polyclawAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Lists live launchpad token feeds and AI-detected hot topics for meme tokens on BSC, Solana and Base. Covers new, finalizing and just-migrated tokens on launchpads such as Pump.fun and Four.meme.
The okx-market skill lets an AI assistant retrieve cryptocurrency market data from the OKX V5 REST API. It is aimed at users who want spot, derivatives and index data in Python without an account.
Calculates key SaaS health metrics such as ARR, churn, LTV and CAC from raw business numbers, then gives prioritized advice. Built for founders and finance leads who share revenue or customer figures.
Fetches U.S. SEC EDGAR data for research. It resolves a ticker to its CIK, lists recent filings with primary-document URLs, and pulls XBRL financial series. Built for analysts who need free, U.S.-only filing data.
Provides free, no-auth access to Eastmoney market data for A-shares, Hong Kong stocks and US stocks. It covers fund flows, dragon-tiger lists, financial statements and stock screening.
Reads and manages a user's QuickBooks business through Intuit's official MCP server. It answers finance questions from reports, invoices, customers, products and benchmarks, and completes approved actions.
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.
