Openclaw Skill

Polymarket prediction markets: analytics, trading, hot markets, price movements, top traders, and market search. Powered by prob.trade.

MIT-0 · Free to use, modify, and redistribute. No attribution required.
3 · 292 · 0 current installs · 0 all-time installs
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
Name/description match the actual code and dependencies: a Python CLI that queries prob.trade public and trading APIs and places orders. Required binary (python3), required env vars (PROBTRADE_API_KEY, PROBTRADE_API_SECRET), and the documented config path are all relevant to the stated purpose.
Instruction Scope
Runtime instructions ask you to store API key/secret in ~/.openclaw/skills/probtrade/config.yaml or env vars and to run the included Python scripts. The SKILL.md has contradictory statements about whether analytics endpoints require auth (some places say 'public API (no auth)' while other places and the Setup section state 'All commands require a prob.trade API key'). The code supports both (it will sign requests if keys are present), but the documentation inconsistency is worth noting.
Install Mechanism
Install spec only pulls a known package (brew formula python@3 to provide python3). No downloads from unknown hosts or archives; code is included in the skill bundle. This is low-risk for installation mechanism.
Credentials
The skill requires an API key and secret for trading; these are used to compute local HMAC signatures. The declared env vars exactly match what's used in code. No unrelated credentials (AWS, GitHub, etc.) are requested. The skill also reads a config file in the skill directory and ~/.openclaw/skills/probtrade/config.yaml as expected.
Persistence & Privilege
always is false, the skill does not request system-wide config changes, and it only reads its own config path. It does not modify other skills or system settings.
Assessment
This skill appears to be what it claims: a Python-based client for prob.trade analytics and trading. Before installing, confirm you trust prob.trade (https://app.prob.trade) and are comfortable granting it an API key and secret. Notes: - The skill stores/reads keys from ~/.openclaw/skills/probtrade/config.yaml or from PROBTRADE_API_KEY / PROBTRADE_API_SECRET; the code signs requests locally using HMAC and does not send the secret in requests (only the signature and the public key header). - SKILL.md/README contain minor contradictions about whether analytics endpoints need auth; the implementation handles both modes. If you expect unauthenticated analytics, you can omit keys and the code will call public endpoints without signing. - Source owner is an unknown registry ID; if provenance matters, prefer installing from an authoritative source (prob.trade or a verified ClawHub repo) or review the shipped files yourself (they are small and readable). If you're concerned, run the skill in a restricted/sandboxed environment or inspect network traffic to confirm requests go only to api.prob.trade/app.prob.trade. - You can revoke API keys from the prob.trade dashboard if needed.

Like a lobster shell, security has layers — review code before you run it.

Current versionv2.0.5
Download zip
latestvk97fk35psw9yav78xbbnn5a1md82aht0

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

📊 Clawdis
Binspython3
EnvPROBTRADE_API_KEY, PROBTRADE_API_SECRET
Config~/.openclaw/skills/probtrade/config.yaml

Install

Install Python 3
Bins: python3
brew install python@3

SKILL.md

prob.trade — Polymarket Analytics & Trading

Get real-time prediction market intelligence and trade on Polymarket from prob.trade. Browse trending markets, discover price movements, see what top traders are doing, and place orders.

Setup (required for all commands)

All commands require a prob.trade API key. Configure it in ~/.openclaw/skills/probtrade/config.yaml:

api_key: "ptk_live_..."
api_secret: "pts_..."

Generate keys at https://app.prob.trade (Settings → API Keys). Free account required.

Analytics Commands

Use the scripts below to query the prob.trade Public API.

Market Overview

Get a quick snapshot of the prediction market landscape:

python3 {baseDir}/scripts/probtrade.py overview

Returns: market stats, top 10 hot markets, breaking price movements, and newest markets.

Hot Markets

See the most actively traded markets right now:

python3 {baseDir}/scripts/probtrade.py hot [--limit N]

Breaking Markets

Markets with the biggest price movements in the last 24 hours:

python3 {baseDir}/scripts/probtrade.py breaking [--limit N]

New Markets

Recently created prediction markets:

python3 {baseDir}/scripts/probtrade.py new [--limit N] [--days N]

Search Markets

Find markets about a specific topic:

python3 {baseDir}/scripts/probtrade.py search "Trump" [--limit N]

Market Details

Get detailed information about a specific market by its condition ID:

python3 {baseDir}/scripts/probtrade.py market <condition_id>

Market Statistics

Category breakdown and overall market counts:

python3 {baseDir}/scripts/probtrade.py stats

Top Traders

See the most profitable prediction market traders:

python3 {baseDir}/scripts/probtrade.py traders [--limit N] [--sort pnl|roi|volume|winRate] [--period all|30d|7d|24h]

Trading Commands

Trade on Polymarket using the same API key configured above.

Place Order

python3 {baseDir}/scripts/probtrade.py order --market <condition_id> --side BUY --outcome Yes --type LIMIT --price 0.55 --amount 10

Cancel Order

python3 {baseDir}/scripts/probtrade.py cancel --order-id <orderId>

View Positions

python3 {baseDir}/scripts/probtrade.py positions

View Balance

python3 {baseDir}/scripts/probtrade.py balance

View Open Orders

python3 {baseDir}/scripts/probtrade.py orders

Security: API secret never leaves your machine. Only HMAC signatures are sent. No withdraw/transfer endpoints exist.

Output Format

All commands output structured JSON for easy parsing by AI agents. Key fields:

  • condition_id: Unique market identifier (use for trading on Polymarket)
  • question: The prediction market question
  • tokens: Current prices for Yes/No outcomes
  • volume_24hr: Trading volume in last 24 hours
  • liquidity: Available liquidity for trading
  • end_date_iso: When the market resolves

Links

Files

4 total
Select a file
Select a file to preview.

Comments

Loading comments…