Openclaw Skill Publish

v2.0.4

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

0· 283·1 current·1 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name and description match required binaries (python3), required env vars (PROBTRADE_API_KEY/PROBTRADE_API_SECRET), and a config path for the prob.trade integration. All required items are necessary and proportional for a trading/analytics client.
Instruction Scope
SKILL.md instructs the agent to read keys from env or ~/.openclaw/skills/probtrade/config.yaml and to call prob.trade public and trading APIs. The code only reads that config and environment variables, and it only contacts https://api.prob.trade — there are no instructions to read unrelated files, scan the system, or exfiltrate data.
Install Mechanism
Install spec is a brew formula for python@3 (to provide python3). This is a standard, low-risk install mechanism for a Python-based skill and matches the declared requirement.
Credentials
The skill requests exactly two API credentials (PROBTRADE_API_KEY, PROBTRADE_API_SECRET) and a single config path under ~/.openclaw/skills/probtrade. These are appropriate for a trading client that must sign requests with an HMAC secret.
Persistence & Privilege
The skill does not request always:true, does not alter other skills, and only stores/reads its own config path. Default autonomous invocation is allowed by platform policy but is not combined with extra privileges here.
Assessment
This skill appears to do what it says: analytics + trading via prob.trade. Before installing, ensure you only provide API keys created on app.prob.trade and understand the keys' scopes. The skill stores/reads keys from ~/.openclaw/skills/probtrade/config.yaml (plain text) or from environment variables — set file permissions (e.g., chmod 600) and avoid sharing the file. Because the agent can invoke the skill and the skill can place orders, only enable it for agents/users you trust and consider funding trades conservatively. If you need stronger isolation, keep keys in environment variables or revoke/regenerate them from the prob.trade dashboard if anything looks suspicious. Finally, verify prob.trade's API docs and key permissions on their site if you need to confirm there are no withdraw/transfer capabilities tied to your key.

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

latestvk974xbsek6gd2mmbaacbvcmpvn81wd2b

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…