{"id":"bf2664b7-c262-4f6a-a141-8a664e9562c2","slug":"polymarket-agent-skills","name":"web3-polymarket","description":"Polymarket integration for prediction market trading on Polygon. Covers authentication (L1 EIP-712, L2 HMAC-SHA256, builder headers), order placement (GTC/GTD/FOK/FAK, batch, post-only, heartbeat), market data (Gamma API, Data API, orderbook, subgraph), WebSocket streaming (market/user/sports channels), CTF operations (split, merge, redeem, negative risk), bridge (deposits, withdrawals, multi-chain), and gasless relayer transactions. Use when building AI agents, autonomous market makers, prediction market UIs, or any application integrating with Polymarket on Polygon.","canonicalUrl":"https://www.xpersona.co/skill/polymarket-agent-skills","sourceUrl":"https://github.com/Polymarket/agent-skills","homepage":null,"source":"GITHUB_OPENCLEW","vendor":{"slug":"polymarket","label":"Polymarket","url":"https://github.com/Polymarket/agent-skills"},"protocols":["OPENCLEW"],"capabilities":[],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":null,"freshnessAt":"2026-04-15T01:13:58.396Z","freshnessLabel":"Apr 15, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Apr 15, 2026"},{"label":"Vendor","value":"Polymarket"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"Unpublished"}],"factsPreview":[{"factKey":"docs_crawl","label":"Crawlable docs","value":"6 indexed pages on the official domain","category":"integration","href":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceUrl":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceType":"search_document","confidence":"medium","observedAt":"2026-04-15T05:03:46.393Z","isPublic":true,"metadata":{}},{"factKey":"vendor","label":"Vendor","value":"Polymarket","category":"vendor","href":"https://github.com/Polymarket/agent-skills","sourceUrl":"https://github.com/Polymarket/agent-skills","sourceType":"profile","confidence":"medium","observedAt":"2026-04-15T01:13:58.397Z","isPublic":true,"metadata":{}},{"factKey":"protocols","label":"Protocol compatibility","value":"OpenClaw","category":"compatibility","href":"https://www.xpersona.co/api/v1/agents/polymarket-agent-skills/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/polymarket-agent-skills/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-04-15T01:13:58.397Z","isPublic":true,"metadata":{}},{"factKey":"traction","label":"Adoption signal","value":"81 GitHub stars","category":"adoption","href":"https://github.com/Polymarket/agent-skills","sourceUrl":"https://github.com/Polymarket/agent-skills","sourceType":"profile","confidence":"medium","observedAt":"2026-04-15T01:13:58.397Z","isPublic":true,"metadata":{}},{"factKey":"handshake_status","label":"Handshake status","value":"UNKNOWN","category":"security","href":"https://www.xpersona.co/api/v1/agents/polymarket-agent-skills/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/polymarket-agent-skills/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true,"metadata":{}}],"highlights":["81 GitHub stars","Trust evidence available"],"agentCard":{"name":"web3-polymarket","description":"Polymarket integration for prediction market trading on Polygon. Covers authentication (L1 EIP-712, L2 HMAC-SHA256, builder headers), order placement (GTC/GTD/FOK/FAK, batch, post-only, heartbeat), market data (Gamma API, Data API, orderbook, subgraph), WebSocket streaming (market/user/sports channels), CTF operations (split, merge, redeem, negative risk), bridge (deposits, withdrawals, multi-chain), and gasless relayer transactions. Use when building AI agents, autonomous market makers, prediction market UIs, or any application integrating with Polymarket on Polygon.","source":"GITHUB_OPENCLEW","sourceId":"github:1161867756","repository":"https://github.com/Polymarket/agent-skills","documentation":"https://www.xpersona.co/skill/polymarket-agent-skills/agent/polymarket-agent-skills","protocols":["OPENCLEW"],"languages":["typescript"],"install":{"command":"git clone https://github.com/Polymarket/agent-skills.git","ecosystem":"git"},"examples":[{"kind":"example","language":"typescript","snippet":"import { ClobClient, Side, OrderType } from \"@polymarket/clob-client\";\nimport { Wallet } from \"ethers\"; // v5.8.0\n\nconst HOST = \"https://clob.polymarket.com\";\nconst CHAIN_ID = 137;\nconst signer = new Wallet(process.env.PRIVATE_KEY);\n\n// Step 1: L1 — derive API credentials\nconst tempClient = new ClobClient(HOST, CHAIN_ID, signer);\nconst apiCreds = await tempClient.createOrDeriveApiKey();\n\n// Step 2: L2 — init trading client\nconst client = new ClobClient(\n  HOST,\n  CHAIN_ID,\n  signer,\n  apiCreds,\n  2,                // signatureType: 0=EOA, 1=POLY_PROXY, 2=GNOSIS_SAFE\n  \"FUNDER_ADDRESS\"  // proxy wallet address from polymarket.com/settings\n);"},{"kind":"example","language":"python","snippet":"from py_clob_client.client import ClobClient\nimport os\n\nhost = \"https://clob.polymarket.com\"\nchain_id = 137\npk = os.getenv(\"PRIVATE_KEY\")\n\n# Step 1: L1 — derive API credentials\ntemp_client = ClobClient(host, key=pk, chain_id=chain_id)\napi_creds = temp_client.create_or_derive_api_creds()\n\n# Step 2: L2 — init trading client\nclient = ClobClient(\n    host,\n    key=pk,\n    chain_id=chain_id,\n    creds=api_creds,\n    signature_type=2,  # 0=EOA, 1=POLY_PROXY, 2=GNOSIS_SAFE\n    funder=\"FUNDER_ADDRESS\",\n)"}]}}