Home / starchild-ai-agent / official-skills · polymarket/SKILL.md · GitHub

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

Latest version
mdr add starchild-ai-agent/official-skills/polymarket@v6.1.0
Exact content
mdr add starchild-ai-agent/official-skills/polymarket@sha256:2a5edf15a7de111d

Pin 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_6rs7yqljaegnjtsd.svg)](https://markdownregistry.com/a/art_6rs7yqljaegnjtsd)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v6.1.0 latest2026-07-14 98a8254 9,207 BA view · diff
v6.0.12026-05-27 5c30986 9,207 BA view · diff
v6.0.02026-05-27 d887b29 8,504 BA view · diff
v5.0.22026-05-26 11104dd 6,308 BA view · diff
v5.0.12026-05-21 868b4d4 5,236 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • 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

GitHub

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

1inch skill
starchild-ai-agent/official-skills · 1inch/SKILL.md · 1inch DEX aggregator: same-chain EVM swaps, SOL↔EVM cross-chain, limit orders. Use when swapping tokens with best…
v2.3.0 · audit B · 28 stars
PANews skill
starchild-ai-agent/official-skills · PANews/SKILL.md · PANews crypto news: headlines, articles, columns, events, smart money boards. Use when reading PANews coverage or…
v1.0.1 · audit A · 28 stars
shopify skill
starchild-ai-agent/official-skills · Shopify/SKILL.md · Shopify development skills: Admin GraphQL, Storefront, Hydrogen, Liquid, Polaris, Functions, POS, and more. Use when…
v1.0.0 · audit A · 28 stars
shopify-admin skill
starchild-ai-agent/official-skills · Shopify/shopify-admin/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-custom-data skill
starchild-ai-agent/official-skills · Shopify/shopify-custom-data/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-customer skill
starchild-ai-agent/official-skills · Shopify/shopify-customer/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-dev skill
starchild-ai-agent/official-skills · Shopify/shopify-dev/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-functions skill
starchild-ai-agent/official-skills · Shopify/shopify-functions/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-hydrogen skill
starchild-ai-agent/official-skills · Shopify/shopify-hydrogen/SKILL.md
git:20260914.5098bda · audit C · 28 stars
shopify-liquid skill
starchild-ai-agent/official-skills · Shopify/shopify-liquid/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-partner skill
starchild-ai-agent/official-skills · Shopify/shopify-partner/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-payments-apps skill
starchild-ai-agent/official-skills · Shopify/shopify-payments-apps/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars

Every file in starchild-ai-agent/official-skills

Other files named polymarket

polymarket skill
aiskillstore/marketplace · skills/2025emma/polymarket/SKILL.md · Comprehensive Polymarket skill covering prediction markets, API, trading, market data, and real-time WebSocket data…
git:20260113.222b7de · audit A · 427 stars

Browse by kind, by grade A, or by owner.