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

polymarket-trading

Skill by BlockRunAI

Places, manages and redeems bets on Polymarket for AI assistants, signing orders locally with the user's ClawRouter wallet key. It is for users who want to trade on Polymarket, not just read market odds.

  • Score 86
  • 6.7k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install polymarket-trading

Built from the published package, never by AI.

git clone --depth 1 https://github.com/BlockRunAI/ClawRouter /tmp/ClawRouter && mkdir -p ~/.claude/skills && cp -r /tmp/ClawRouter/skills/polymarket-trading ~/.claude/skills/polymarket-trading

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

Step-by-step: install polymarket-trading in Claude Code

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

About

The blockrun_polymarket skill lets an AI assistant trade on Polymarket's CLOB V2 on Polygon. Orders are signed locally with the user's ClawRouter wallet key, which never leaves the machine. Bets are funded from a deposit wallet holding pUSD, and setup, approvals and redemptions are gasless through a relayer. Market discovery stays with the blockrun_predexon_* data tools.

The skill covers setup, funding from Base USDC, buying and selling with a confirm step, viewing positions, redeeming winnings and withdrawing pUSD back to USDC. Each trade is previewed before it is confirmed, and a per-order cap applies. It is meant for users who want to place real-money Polymarket bets through their AI assistant.

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

What it can do

  • setupProvisions the deposit wallet and reports funding instructions and region status.
  • fundMoves USDC from the user's Base wallet into the Polymarket vault via gasless x402.
  • buyPlaces market or limit orders, with a dry-run preview before confirm:true.
  • ordersLists open orders.
  • cancelCancels a single order by ID or all open orders.
  • positionsShows holdings, PnL and which positions are redeemable.
  • redeemClaims winnings after a market resolves, gaslessly.
  • withdrawConverts pUSD back to native USDC on Base and returns it to the agent wallet.

What you need

  • A ClawRouter wallet key (wallet.key file or BLOCKRUN_WALLET_KEY)
  • USDC on Base to fund the betting vault (minimum $2)

Try asking

  • Set up my Polymarket deposit wallet and show me the funding instructions.
  • Buy $2 of the Yes outcome on this market token, but preview it first.
  • Show my Polymarket positions and any winnings I can redeem.

Good to know

  • Trades use real money on Polymarket.
  • Order placement is geoblocked in some regions, including US, UK and EU, unless traffic is routed through an allowed egress.
  • Funding credit to pUSD is asynchronous and can take minutes.
  • The per-order cap defaults to $25 and is enforced locally, and the x402 budget ledger does not cover bets.

Security check

A

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

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

Inside the skill

  • SKILL.md6 KB

Alternatives to polymarket-trading

All alternatives →

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

polymarket-trading: common questions

Does this need a Polymarket account or API keys?

No. The source says ClawRouter bootstraps a builder key from the user's own wallet on first setup, so no Polymarket account, API keys or gas token are needed.

How are orders confirmed before they are placed?

The agent must first call the action without confirm:true to see a dry-run preview, then re-call with confirm:true only after the user approves that exact trade.

Where do the betting funds sit?

They sit in a Polygon deposit wallet vault in pUSD, derived from the ClawRouter wallet key, and only honor that signer's signatures.

How do I install polymarket-trading?

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

Is polymarket-trading free?

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

Is polymarket-trading safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality A. 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 polymarket-trading?

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

polymarket-trading Install

Add to stack

Loading.