AGENT SKILL

polymarket

Read-only Polymarket market data: events, markets, prices, order books. No trading, no key needed. Trigger phrases: polymarket, prediction markets, market odds, event prices.

License 许可
MIT
所属仓库
TanNhatCMS/jarvis
最近更新
2026-11-07
Stars
★ 0
Forks
1

01 前言 Front Matter

name
polymarket
tagline
Read-only prediction market data: events, markets, prices, order books. No trading, no API key needed.
metadata
{ "includeInPrompt": true }
description
Read-only Polymarket market data: events, markets, prices, order books. No trading, no key needed. Trigger phrases: polymarket, prediction markets, market odds, event prices.
catalog_auth
none, public API
catalog_hosts
[ "gamma-api.polymarket.com" ]

02 资源文件 1

03 SKILL.md 正文

Polymarket

Purpose

Read public Polymarket market data with no key and no account: search and list markets, fetch one market, pull price history, snapshot a public order book, and list or fetch events. Reach for this when the user wants prediction-market odds, event discovery, or price context. This connector cannot trade, place orders, or touch positions.

Tooling

All commands go through bin/polymarket.py. No auth, no environment flags:

bin/polymarket.py markets --limit 25                    # list markets
bin/polymarket.py markets --search "bitcoin"            # search markets
bin/polymarket.py markets --active --order volume24hr   # active, sorted by 24h volume
bin/polymarket.py market-get --condition-id COND_ID     # one market by condition id
bin/polymarket.py market-get --slug fed-decision-in-october  # one market by slug
bin/polymarket.py prices --condition-id COND_ID --interval 1d  # price history
bin/polymarket.py orderbook --token-id TOKEN_ID         # public order-book snapshot
bin/polymarket.py events --limit 25                     # list events
bin/polymarket.py events --slug fed-decision-in-october # one event by slug

Market objects carry outcomes, outcomePrices, and clobTokenIds (the Yes/No token ids, needed for orderbook), plus bestBid, bestAsk, lastTradePrice, spread, and oneDayPriceChange for quick pricing without extra calls.

Auth

  • Provider id: none. The Gamma API is public and requires no key.
  • This connector never touches the credential helper and never handles a secret. There is nothing to collect and nothing to store.
  • Allowed hosts: gamma-api.polymarket.com, clob.polymarket.com
  • Status check: bin/polymarket.py events --limit 1 (a successful response proves reachability)

Operating Rules

  1. Trading is intentionally out of scope. No order placement, no positions, no signed calls ship in this connector. Market data informs; money movement needs a separate, explicit build.
  2. Order books are public snapshots. The CLI pulls them from the CLOB REST endpoint (clob.polymarket.com/book), top 10 levels each side. Not a live stream.
  3. The Gamma API is public but still rate-limited; keep request volume modest and reuse results instead of re-polling.
  4. Two things stayed unverified. The /markets/slug/{slug} path never appeared in the docs I read, so use --condition-id if it errors. The price-history interval values (1h, 6h, 1d, 1w, max) come from community docs, not the official reference; the API errors on values it does not support.

Files

Maturity

Draft: written from Polymarket's public Gamma docs; not yet live-tested end-to-end.

04 同仓库更多 Skills

TanNhatCMS
TanNhatCMS/jarvis

web-scrape

Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open/fetch fails on JS-heavy pages, or when you need clean markdown/structured extraction from a site. Requires FIRECRAWL_API_KEY.

★ 0
TanNhatCMS
TanNhatCMS/jarvis

design-taste-frontend

tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML/CSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, "AI-made", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.

★ 0
TanNhatCMS
TanNhatCMS/jarvis

test-driven-development

Use when implementing any feature or bugfix, before writing implementation code

★ 0
TanNhatCMS
TanNhatCMS/jarvis

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

★ 0
TanNhatCMS
TanNhatCMS/jarvis

requesting-code-review

Use when completing tasks, implementing major features, or before merging to verify work meets requirements

★ 0
TanNhatCMS
TanNhatCMS/jarvis

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).

★ 0