polymarket-plugin

Trade Polymarket outcome tokens via CLI with EIP-712 signed orders.

12|64|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/okx/plugin-store --skill polymarket-plugin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: polymarket-plugin
Source: https://github.com/okx/plugin-store/tree/main/skills/polymarket-plugin
Command: npx skills add https://github.com/okx/plugin-store --skill polymarket-plugin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables users to discover, inspect, and trade prediction market outcome tokens on Polymarket from the CLI without manual key management, removing the friction of web UI workflows and manual EIP-712 signing.

Core Features & Use Cases

  • Market discovery & inspection: list-markets, list-5m series, and get-market to browse questions, prices, order books, and liquidity.
  • Wallet-integrated trading: buy, sell, cancel, and redeem with EIP-712 signing via onchainos; supports EOA mode (on-chain approvals) and POLY_PROXY mode (gasless relayer + proxy wallet).
  • Funds management & safety: deposit/withdraw flows to proxy, automatic API credential derivation, HMAC-signed CLOB requests, divisibility/minimum-order guards, geo-access checks, and clear user confirmation gates to avoid autonomous trades.

Quick Start

Run polymarket-plugin buy --market-id <slug> --outcome yes --amount 5 to buy $5 of YES shares after confirming your onchainos wallet and region access.

Frequently Asked Questions about polymarket-plugin

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trade Polymarket prediction market outcome tokens from the command line?

Gasless trading on Polymarket is achieved using an onchainos wallet in POLY_PROXY mode, which utilizes a gasless relayer and deploys a proxy wallet on the Polygon network. This removes the need for manual gas management while executing signed prediction market trades.

What is EIP-712 signing used for when placing trades on Polymarket?

EIP-712 signing is used to securely authorize prediction market trades on Polymarket without exposing private keys directly. The plugin automatically derives these signatures for buy, sell, and cancel operations, along with HMAC-authenticating CLOB requests to ensure transaction integrity.

Can I use an EOA wallet instead of a proxy wallet for Polymarket trading?

Yes, you can inspect Polymarket order books and liquidity from the CLI using dedicated market discovery commands. The plugin allows you to list markets, retrieve specific market details, and view prices and liquidity before placing any prediction market trades.

Are there minimum order or divisibility rules for placing Polymarket trades via CLI?

Yes, the plugin enforces divisibility and minimum-order rules when placing Polymarket trades via CLI. It also enforces geo-access checks and requires clear user confirmation gates to ensure trades are never executed autonomously without explicit approval.