{
  "schemaVersion": "1.0",
  "item": {
    "slug": "polymarket",
    "name": "Polymarket",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/mvanhorn/polymarket",
    "canonicalUrl": "https://clawhub.ai/mvanhorn/polymarket",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/polymarket",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=polymarket",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "_meta.json",
      "scripts/polymarket.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "polymarket",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T04:17:55.122Z",
      "expiresAt": "2026-05-10T04:17:55.122Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=polymarket",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=polymarket",
        "contentDisposition": "attachment; filename=\"polymarket-1.2.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "polymarket"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/polymarket"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/polymarket",
    "agentPageUrl": "https://openagent3.xyz/skills/polymarket/agent",
    "manifestUrl": "https://openagent3.xyz/skills/polymarket/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/polymarket/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Polymarket",
        "body": "Query Polymarket prediction markets and trade from the terminal."
      },
      {
        "title": "Setup",
        "body": "Read-only commands work immediately (no install needed).\n\nFor trading, order books, and price history, install the Polymarket CLI:\n\ncurl -sSL https://raw.githubusercontent.com/Polymarket/polymarket-cli/main/install.sh | sh\n\nFor trading, set up a wallet:\n\npython3 {baseDir}/scripts/polymarket.py wallet-setup\n\nOr manually configure ~/.config/polymarket/config.json with your private key. See the CLI docs for details."
      },
      {
        "title": "Browse Markets (no CLI needed)",
        "body": "# 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"
      },
      {
        "title": "Order Book & Prices (CLI required, no wallet)",
        "body": "# 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"
      },
      {
        "title": "Wallet (CLI required)",
        "body": "python3 {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"
      },
      {
        "title": "Trading (CLI + wallet required)",
        "body": "All trades require --confirm to execute. Without it, the order is previewed only.\n\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"
      },
      {
        "title": "Orders & Positions (CLI + wallet required)",
        "body": "# 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"
      },
      {
        "title": "Example Chat Usage",
        "body": "\"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\""
      },
      {
        "title": "⚠️ Safety Notes",
        "body": "Real money. Trades execute on Polygon with real USDC. Double-check everything.\nAll trades require --confirm. Without it, you get a preview only.\nThe CLI is experimental. The Polymarket team warns: \"Use at your own risk and do not use with large amounts of funds.\"\nPrivate key security. Your key is stored in ~/.config/polymarket/config.json. Keep it safe.\nGas fees. On-chain operations (approvals, splits, redeems) require MATIC for gas."
      },
      {
        "title": "API",
        "body": "Read-only commands use the public Gamma API (no auth):\n\nBase URL: https://gamma-api.polymarket.com\n\nTrading commands wrap the official Polymarket CLI (Rust binary)."
      }
    ],
    "body": "Polymarket\n\nQuery Polymarket prediction markets and trade from the terminal.\n\nSetup\n\nRead-only commands work immediately (no install needed).\n\nFor trading, order books, and price history, install the Polymarket CLI:\n\ncurl -sSL https://raw.githubusercontent.com/Polymarket/polymarket-cli/main/install.sh | sh\n\n\nFor trading, set up a wallet:\n\npython3 {baseDir}/scripts/polymarket.py wallet-setup\n\n\nOr manually configure ~/.config/polymarket/config.json with your private key. See the CLI docs for details.\n\nCommands\nBrowse Markets (no CLI needed)\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\nOrder Book & Prices (CLI required, no wallet)\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\nWallet (CLI required)\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\nTrading (CLI + wallet required)\n\nAll trades require --confirm to execute. Without it, the order is previewed only.\n\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\nOrders & Positions (CLI + wallet required)\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\nExample Chat Usage\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⚠️ Safety Notes\nReal money. Trades execute on Polygon with real USDC. Double-check everything.\nAll trades require --confirm. Without it, you get a preview only.\nThe CLI is experimental. The Polymarket team warns: \"Use at your own risk and do not use with large amounts of funds.\"\nPrivate key security. Your key is stored in ~/.config/polymarket/config.json. Keep it safe.\nGas fees. On-chain operations (approvals, splits, redeems) require MATIC for gas.\nAPI\n\nRead-only commands use the public Gamma API (no auth):\n\nBase URL: https://gamma-api.polymarket.com\n\nTrading commands wrap the official Polymarket CLI (Rust binary)."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/mvanhorn/polymarket",
    "publisherUrl": "https://clawhub.ai/mvanhorn/polymarket",
    "owner": "mvanhorn",
    "version": "1.2.1",
    "license": null,
    "verificationStatus": "Editorially verified"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/polymarket",
    "downloadUrl": "https://openagent3.xyz/downloads/polymarket",
    "agentUrl": "https://openagent3.xyz/skills/polymarket/agent",
    "manifestUrl": "https://openagent3.xyz/skills/polymarket/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/polymarket/agent.md"
  }
}