What problem does it solve? LLMs have stale or incorrect knowledge about Polymarket's APIs, leading to hallucinated contract addresses, wrong authentication flows, and rejected orders. This Skill provides verified, current integration patterns for the Polymarket CLOB prediction market on Polygon. ## Core Features & Use Cases - Two-Level Authentication: Implements L1 EIP-712 signing to derive API credentials and L2 HMAC-SHA256 signing for all trading requests, with correct signature type and funder address handling. - Order Management: Places GTC, GTD, FOK, and FAK orders, batch orders up to 15, post-only orders, cancellations, and heartbeat-based dead man's switch protection. - Market Data & WebSockets: Reads orderbooks, midpoints, spreads, and price history from CLOB and Gamma APIs, and subscribes to real-time market and user WebSocket channels with proper PING heartbeats. - CTF Operations & Gasless Trading: Splits USDC into outcome tokens, merges positions, redeems winnings, and executes gasless transactions via the Builder Program relayer. - Use Case: Build a market-making bot that quotes bid/ask around the midpoint on a live market, maintains heartbeat protection, and cancels all orders on shutdown using the included starter template. ## Quick Start Ask the agent to place a GTC limit buy order on a Polymarket token using the clob-client SDK with my private key and funder address.