polymarket skillA
polymarket is agent-read markdown (skill) from starchild-ai-agent/official-skills: Trade on Polymarket prediction markets (CLOB V2) from a Privy EOA wallet. Search markets, place/cancel orders, manage positions. No private key handling. Use when the user wants to bet on event outcomes (e.g. "buy YES at 0.65 on the ceasefire market", "what are my open positions", "close my Trump bet")..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Polymarket Trading (CLOB V2) Script-first. Every workflow is one bash call + at most one `wallet_sign_typed_data` (which can't be scripted because it's a wallet RPC). Verified live: see Changelog v5.1.0. --- ## TL;DR — Trade in 3 steps ```bash # 1. One-time setup (idempotent — safe to re-run) python3 scripts/setup.py --all 10 # wrap 10 USDC.e -> pUSD + all approvals # 2. Find a market python3 scripts/search.py "trump" --limit 3 # returns token_ids # 3. Place order python3 scripts/prepare_order.py <token_id> BUY <price> <size> # → sign /tmp/poly_order.json via wallet_sign_typed_data python3 scripts/post_order.py <signature> ``` All scripts live in `skills/polymarket/scripts/` and assume working dir is the skill folder. --- ## Account prerequisites (one-time, on-chain) CLOB V2 settles in **pUSD** (an ERC-20 USDC wrapper), NOT raw USDC.e. Before the first order, the EOA must: 1. Hold USDC.e on Polygon (any amount ≥ what you want to trade). 2. Wrap USDC.e → pUSD via `CollateralOnramp.wrap()`. 3. `approve(pUSD, spender, MAX)` for the 3 V2 exchange spenders. 4. `setApprovalForAll(CTF, spender, true)` for the same 3 spenders (needed for SELL/redemption). …
Read the whole file at its exact version.
How to install
mdr add starchild-ai-agent/official-skills/polymarket@v6.1.0mdr add starchild-ai-agent/official-skills/polymarket@sha256:2a5edf15a7de111dPin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_6rs7yqljaegnjtsd)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v6.1.0 latest | 2026-07-14 | 98a8254 | 9,207 B | A | view · diff |
| v6.0.1 | 2026-05-27 | 5c30986 | 9,207 B | A | view · diff |
| v6.0.0 | 2026-05-27 | d887b29 | 8,504 B | A | view · diff |
| v5.0.2 | 2026-05-26 | 11104dd | 6,308 B | A | view · diff |
| v5.0.1 | 2026-05-21 | 868b4d4 | 5,236 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9207 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
starchild-ai-agent/official-skills · 28 stars · license none · pushed 2026-09-18 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_6rs7yqljaegnjtsd GET https://markdownregistry.com/api/v1/resolve?ref=starchild-ai-agent/official-skills/polymarket GET https://markdownregistry.com/api/v1/blob/2a5edf15a7de111dbbc46acb3faad6d80444950cf4d8b095b0bb0c3f9d09cef7
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
More from starchild-ai-agent/official-skills
Every file in starchild-ai-agent/official-skills