โ† All skills
Tencent SkillHub ยท Developer Tools

polymarket-sdk

Interact with Polymarket US prediction markets. Use when the user wants to: browse/search prediction markets, check market prices and odds, view portfolio po...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Interact with Polymarket US prediction markets. Use when the user wants to: browse/search prediction markets, check market prices and odds, view portfolio po...

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, references/api_reference.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

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.

Upgrade existing

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.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 7 sections Open source page

Polymarket US

Trade and browse prediction markets via the Polymarket US API using the Python SDK.

Setup

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)

Usage

Write and execute Python scripts using the polymarket_us SDK. For full API details, read references/api_reference.md.

Public Data (no auth)

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()

Trading (auth required)

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()

Key Rules

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.

Formatting Results

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

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Docs
  • SKILL.md Primary doc
  • references/api_reference.md Docs