Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Interact with Polymarket US prediction markets. Use when the user wants to: browse/search prediction markets, check market prices and odds, view portfolio po...
Interact with Polymarket US prediction markets. Use when the user wants to: browse/search prediction markets, check market prices and odds, view portfolio po...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
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. Summarize what changed and any follow-up checks I should run.
Trade and browse prediction markets via the Polymarket US API using the Python SDK.
Ensure the SDK is installed: pip install polymarket-us API keys are needed only for trading/portfolio endpoints. Generate at https://polymarket.us/developer Store credentials as environment variables: POLYMARKET_KEY_ID โ API key UUID POLYMARKET_SECRET_KEY โ Ed25519 private key (base64)
Write and execute Python scripts using the polymarket_us SDK. For full API details, read references/api_reference.md.
from polymarket_us import PolymarketUS client = PolymarketUS() # Search markets results = client.search.query({"query": "bitcoin", "limit": 5}) # Browse trending markets markets = client.markets.list({"limit": 10, "orderBy": ["volumeNum"], "orderDirection": "desc"}) # Check price bbo = client.markets.bbo("market-slug") client.close()
import os from polymarket_us import PolymarketUS client = PolymarketUS( key_id=os.environ["POLYMARKET_KEY_ID"], secret_key=os.environ["POLYMARKET_SECRET_KEY"], ) # Check balance balances = client.account.balances() # View positions positions = client.portfolio.positions() # Preview then place order preview = client.orders.preview({"request": { "marketSlug": "some-market", "intent": "ORDER_INTENT_BUY_LONG", "type": "ORDER_TYPE_LIMIT", "price": {"value": "0.55", "currency": "USD"}, "quantity": 100, }}) # Place order (ALWAYS confirm with user before executing) order = client.orders.create({ "marketSlug": "some-market", "intent": "ORDER_INTENT_BUY_LONG", "type": "ORDER_TYPE_LIMIT", "price": {"value": "0.55", "currency": "USD"}, "quantity": 100, "tif": "TIME_IN_FORCE_GOOD_TILL_CANCEL", }) client.close()
Always preview orders before placing โ show the user what they're about to trade Always confirm with the user before placing any order โ never auto-trade Price is always the YES side โ to buy NO at $0.40, set price to $0.60 (1.00 - 0.40) In market slugs: first team = YES, second team = NO Valid price range: 0.001 to 0.999 Handle errors gracefully โ catch AuthenticationError, BadRequestError, RateLimitError, etc.
When presenting market data to the user: Show market title/question clearly Display YES/NO prices as percentages (e.g., 55ยข = 55% implied probability) For positions, show P&L and current value Keep it conversational โ this is prediction markets, make it fun
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.