polymarket
Skill0 starsChanged 21 days agoMITView on GitHub
Trade Polymarket US (polymarket.us, the CFTC-regulated US exchange) via the official retail REST API: discover events and markets, read orderbooks, check balances and positions, place and cancel limit orders. Use when the user wants Polymarket US trading, market prices, or portfolio status. This is NOT polymarket.com (international) — different API, auth, and custody.
- Reads credentials
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 21 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
No bundled CLI — call the official REST APIs directly with any HTTP client (e.g.
- Distinctive: line 43
Prices are in cents, 1–99: Every contract pays $1.00 if correct, $0 if wrong.
- Distinctive: line 44
Every order is real money — no sandbox exists: Before placing any order, present market / side / size / price / total cost and require the …
- Distinctive: line 46
Use the fee math in rule 3 to sanity-check cost before any first live order on a new path.
- Very specific: line 47
Verify a position exists (via positions) before closing it.
“Common” is measured: kept by at least 6 in 10 of the 21 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Polymarket US
Purpose
Manage Polymarket US event-contract trades: discover markets, inspect orderbooks, view portfolio, place and cancel orders. Polymarket US is the CFTC-regulated Designated Contract Market operated by QCX LLC — fiat USD, fully off-chain, Ed25519 API-key auth.
Tooling
No bundled CLI — call the official REST APIs directly with any HTTP client
(e.g. curl). Public market data lives on the gateway host (no auth);
trading calls go to the API host with the X-PM-* headers from the Auth
section below.
PUB=https://gateway.polymarket.us
curl -s "$PUB/v1/events?limit=10" # events (public)
curl -s "$PUB/v1/markets?limit=10" # markets (public)
curl -s "$PUB/v1/search?query=Chicago%20temperature&limit=5" # search (public)
curl -s "$PUB/v1/markets/<slug>/book" # order book (public)
curl -s "$PUB/v1/markets/<slug>/bbo" # best bid/offer (public)Authenticated calls (https://api.polymarket.us + /v1 paths):
GET /v1/account/balances, GET /v1/portfolio/positions,
GET /v1/orders/open, POST /v1/orders to place,
DELETE /v1/orders/{id} to cancel one, DELETE /v1/orders to cancel all.
Auth
Credentials come from environment variables at runtime — never hardcoded, never written to files, logs, or memory.
POLYMARKET_KEY_ID— API key UUID, from https://polymarket.us/developerPOLYMARKET_SECRET_KEY— base64 Ed25519 private key (shown once at key creation)POLYMARKET_AUTH_BASE— optional override (defaulthttps://api.polymarket.us)POLYMARKET_PUBLIC_BASE— optional override (defaulthttps://gateway.polymarket.us)
Authenticated requests sign f"{timestamp_ms}{METHOD}{path}" with Ed25519 (base64), sending X-PM-Access-Key / X-PM-Timestamp / X-PM-Signature. Timestamps must be within 30s of server time.
Operating Rules
- Prices are in cents, 1–99. Every contract pays $1.00 if correct, $0 if wrong. Long = bought YES contracts (profit if outcome occurs); short = sold YES contracts (profit if it doesn't).
- Every order is real money — no sandbox exists. Before placing any order, present market / side / size / price / total cost and require the user's explicit confirmation. Never skip this, never batch it silently.
- Fees punish taking. Taker fee is Θ=0.0695 × C × p × (1−p) (up to $1.74/100 @ 50¢); makers earn a rebate Θ=−0.0125 (up to $0.31/100 @ 50¢), credited at fill. Run the fee math before deciding to cross the spread — on most prices, posting as a maker is materially cheaper.
- Use the fee math in rule 3 to sanity-check cost before any first live order on a new path.
- Verify a position exists (via
positions) before closing it. - Rate limit: 20 req/s per API key (429 on breach) — back off, prefer the WebSocket for streaming. Orders not processed within 5s are rejected by a latency stopgap ("Global Rate Limit Exceeded" message) — retry logic must distinguish this from a real rate limit.
- Weekly maintenance window Thursday 6–8am ET — avoid scheduling sweeps then.
- Settlement sources differ from Kalshi. Polymarket US weather markets settle on NWS Climatological Reports (e.g. KMDW CLI), Kalshi on The Weather Company. Never treat same-topic cross-venue positions as arbitrage.
Also on Honeypot — a free, open index of skills for AI agents: https://honeypot-e6c.pages.dev Image: Indexed on Honeypot
Other versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 22
- math-inc/OpenGauss★ 1.3ksame name
- Tommy-yw/RunbookHermes★ 546same name
- machina-sports/sports-skills★ 262same name
- suitedaces/dorabot★ 247same name
- RedWoodOG/Hermes-Desktop★ 177same name
- Starchild-ai-agent/official-skills★ 29same name
- delorenj/skills★ 18same name
- Skate-Org/skills★ 12same name
- Samin12/skills★ 8same name
- ChainGPT-org/chaingpt-claude-skill★ 7same name
12 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use webhook-subscriptions, heartmula and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Tommy-ywSkillwebhook-subscriptions
Create and manage webhook subscriptions for event-driven agent activation, or for direct push notifications (zero LLM cost). Use when the user wants external services to trigger agent runs OR push notifications to chats.
Also in 5 projects that use this
math-incSkillheartmula
Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.
Also in 9 projects that use this
math-incSkillminecraft-modpack-server
Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.
Also in 5 projects that use this
john-data-chenSkilltouchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
Also in 5 projects that use this
TermiX-officialSkillhyperliquid
Trade perpetual futures & spot on Hyperliquid DEX — market data, orders, positions, and vaults.
Also in 3 projects that use this
mae616Skillp5js
p5.js(クリエイティブコーディング)のProcessing由来「コードでスケッチ」思想を軸に、setup/drawループ・座標系・インタラクション・パフォーマンス最適化を整理する。p5.js、Processing、クリエイティブコーディング、ジェネラティブアート、インタラクティブ表現、ビジュアルプログラミング、Canvas描画、パーティクル、フラクタル、ノイズ表現に関する相談で必ず使うこと。ユーザーが「コードでアート」「動くビジュアル」「インタラクティブな描画」と言った場合にも適用する。
Also in 8 projects that use this
- +4 more from math-inc
In this repository20 other files it gives its agents.
- llms-full.txtllms.txt
- llms.txtllms.txt
- agent-checkoutSkill
- coinbaseSkill
- context7Skill
- cronSkill
- cursorSkill
- discordSkill
- honeypotSkill
- image-optimizeSkill
- kalshiSkill
- oids-python-sdkSkill
- oidsSkill
- pdf-textSkill
- playwright-mcpSkill
- robinhood-mcpSkill
- skill_creatorSkill
- sqliteSkill
- the_odds_apiSkill
- webhooksSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

