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

web3-polymarket

Skill by Polymarket

Polymarket is a skill for integrating with the Polymarket prediction market on Polygon. It covers authentication, order placement, market data, WebSocket streams, CTF operations, bridging and gasless transactions.

  • Score 59
  • 205 stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install web3-polymarket

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Polymarket/agent-skills /tmp/agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agent-skills ~/.claude/skills/web3-polymarket

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

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

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

About

Polymarket is a skill that gives an AI assistant guidance for integrating with Polymarket, a prediction market on Polygon. It covers L1 EIP-712 and L2 HMAC-SHA256 authentication, builder headers, and placing GTC, GTD, FOK and FAK orders, including batch, post-only and heartbeat options. It also covers market data from the Gamma and Data APIs, orderbook reads, the subgraph, and WebSocket channels for market, user and sports data.

The skill also documents CTF operations such as split, merge, redeem and negative risk markets, bridge deposits and withdrawals across chains, and gasless relayer transactions. It includes TypeScript and Python client setup and reference files that load on demand. It is intended for developers building AI agents, autonomous market makers, prediction market UIs, or other apps that integrate with Polymarket on Polygon.

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

What it can do

  • AuthenticationCovers L1 EIP-712, L2 HMAC-SHA256 and builder header authentication, including API key derivation.
  • Order placementPlaces and manages GTC, GTD, FOK and FAK orders, with batch, post-only and heartbeat options.
  • Market dataFetches events, markets, orderbooks, prices, spreads and midpoints from Polymarket APIs.
  • WebSocket streamingSubscribes to market, user and sports channels for real-time updates.
  • CTF operationsSplits, merges and redeems conditional token positions, including negative risk markets.
  • BridgeCovers deposits and withdrawals across multiple chains.
  • Gasless transactionsSends transactions through the relayer client with builder setup.

What you need

  • Network access to Polymarket APIs and Polygon RPC
  • A wallet private key for L1 signing
  • TypeScript client @polymarket/clob-client with ethers v5.8.0
  • Python client py-clob-client

Try asking

  • Show me how to create L2 API credentials for Polymarket on Polygon
  • Place a GTC buy order for 10 shares at 0.50 on a Polymarket token
  • Subscribe to the Polymarket market WebSocket channel for a token ID

Good to know

  • Market data endpoints need no auth, but trade endpoints require L2 credentials.
  • Post-only orders are supported only for GTC and GTD order types.
  • Chain ID used in the examples is 137 (Polygon).

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 web3-polymarket

All alternatives →

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

web3-polymarket: common questions

What does the Polymarket skill cover?

It covers authentication, order types, market data, WebSocket streams, CTF operations, bridge transfers and gasless relayer transactions for Polymarket on Polygon.

Which signature types does it support?

It lists EOA (0), POLY_PROXY (1) and GNOSIS_SAFE (2). The source says GNOSIS_SAFE is the most common and suits new or returning users.

Who is this skill for?

The source says it is for building AI agents, autonomous market makers, prediction market UIs, or any application integrating with Polymarket on Polygon.

How do I install web3-polymarket?

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

Is web3-polymarket free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is web3-polymarket safe to use?

It scores 59 of 100. Grades: maintenance D, licence F, 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 web3-polymarket?

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

web3-polymarket Install

Add to stack

Loading.