{"skill":{"slug":"polymarket","displayName":"Polymarket","summary":"Query and trade on Polymarket prediction markets — check odds, trending markets, search events, view order books, place trades, and manage positions. Now ava...","description":"---\nname: polymarket\nversion: \"1.1.0\"\ndescription: Query and trade on Polymarket prediction markets — check odds, trending markets, search events, view order books, place trades, and manage positions. Now available to US developers.\nauthor: mvanhorn\nlicense: MIT\nrepository: https://github.com/mvanhorn/clawdbot-skill-polymarket\nhomepage: https://polymarket.com\nmetadata:\n  openclaw:\n    emoji: \"📊\"\n    tags:\n      - prediction-markets\n      - polymarket\n      - trading\n      - odds\n      - betting\n---\n\n# Polymarket\n\nQuery [Polymarket](https://polymarket.com) prediction markets and trade from the terminal.\n\n## Setup\n\n**Read-only commands work immediately** (no install needed).\n\nFor trading, order books, and price history, install the [Polymarket CLI](https://github.com/Polymarket/polymarket-cli):\n\n```bash\ncurl -sSL https://raw.githubusercontent.com/Polymarket/polymarket-cli/main/install.sh | sh\n```\n\nFor trading, set up a wallet:\n\n```bash\npython3 {baseDir}/scripts/polymarket.py wallet-setup\n```\n\nOr manually configure `~/.config/polymarket/config.json` with your private key. See the [CLI docs](https://github.com/Polymarket/polymarket-cli) for details.\n\n## Commands\n\n### Browse Markets (no CLI needed)\n\n```bash\n# Trending/active markets\npython3 {baseDir}/scripts/polymarket.py trending\n\n# Search markets\npython3 {baseDir}/scripts/polymarket.py search \"trump\"\n\n# Get specific event by slug\npython3 {baseDir}/scripts/polymarket.py event \"fed-decision-in-october\"\n\n# Get markets by category\npython3 {baseDir}/scripts/polymarket.py category politics\npython3 {baseDir}/scripts/polymarket.py category crypto\n```\n\n### Order Book & Prices (CLI required, no wallet)\n\n```bash\n# Order book for a token\npython3 {baseDir}/scripts/polymarket.py book TOKEN_ID\n\n# Price history\npython3 {baseDir}/scripts/polymarket.py price-history TOKEN_ID --interval 1d\n```\n\n### Wallet (CLI required)\n\n```bash\npython3 {baseDir}/scripts/polymarket.py wallet-setup\npython3 {baseDir}/scripts/polymarket.py wallet-show\npython3 {baseDir}/scripts/polymarket.py wallet-balance\npython3 {baseDir}/scripts/polymarket.py wallet-balance --token TOKEN_ID\n```\n\n### Trading (CLI + wallet required)\n\nAll trades require `--confirm` to execute. Without it, the order is previewed only.\n\n```bash\n# Buy limit order: 10 shares at $0.50\npython3 {baseDir}/scripts/polymarket.py --confirm trade buy --token TOKEN_ID --price 0.50 --size 10\n\n# Sell limit order\npython3 {baseDir}/scripts/polymarket.py --confirm trade sell --token TOKEN_ID --price 0.70 --size 10\n\n# Market order: buy $5 worth\npython3 {baseDir}/scripts/polymarket.py --confirm trade buy --token TOKEN_ID --market-order --amount 5\n```\n\n### Orders & Positions (CLI + wallet required)\n\n```bash\n# List open orders\npython3 {baseDir}/scripts/polymarket.py orders\n\n# Cancel a specific order\npython3 {baseDir}/scripts/polymarket.py --confirm orders --cancel ORDER_ID\n\n# Cancel all orders\npython3 {baseDir}/scripts/polymarket.py --confirm orders --cancel all\n\n# View positions\npython3 {baseDir}/scripts/polymarket.py positions\npython3 {baseDir}/scripts/polymarket.py positions --address 0xYOUR_WALLET\n```\n\n## Example Chat Usage\n\n- \"What are the odds Trump wins 2028?\"\n- \"Trending on Polymarket?\"\n- \"Search Polymarket for Bitcoin\"\n- \"Show me the order book for [token]\"\n- \"Buy 10 shares of YES on [market] at $0.45\"\n- \"What are my open positions?\"\n- \"Cancel all my orders\"\n\n## ⚠️ Safety Notes\n\n- **Real money.** Trades execute on Polygon with real USDC. Double-check everything.\n- **All trades require `--confirm`.** Without it, you get a preview only.\n- **The CLI is experimental.** The Polymarket team warns: \"Use at your own risk and do not use with large amounts of funds.\"\n- **Private key security.** Your key is stored in `~/.config/polymarket/config.json`. Keep it safe.\n- **Gas fees.** On-chain operations (approvals, splits, redeems) require MATIC for gas.\n\n## API\n\nRead-only commands use the public Gamma API (no auth):\n- Base URL: `https://gamma-api.polymarket.com`\n\nTrading commands wrap the official [Polymarket CLI](https://github.com/Polymarket/polymarket-cli) (Rust binary).\n","tags":{"latest":"1.2.1"},"stats":{"comments":0,"downloads":9222,"installsAllTime":79,"installsCurrent":79,"stars":22,"versions":6},"createdAt":1769068161418,"updatedAt":1778986981814},"latestVersion":{"version":"1.2.1","createdAt":1772859029726,"changelog":"Fix display name (remove Clawdbot prefix)","license":null},"metadata":{"setup":[],"os":null,"systems":null},"owner":{"handle":"mvanhorn","userId":"s17ea85t738dtyvg6gkwt7zt5h84596q","displayName":"Matt Van Horn","image":"https://avatars.githubusercontent.com/u/455140?v=4"},"moderation":null}