Skip to content
Back to skills

Polymarket Comments

ASecurity

Top trending Polymarket markets and the most interesting comments from them

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
developmentgobashreactapi

Works with

  • api

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add anajuliabit/aeon --skill polymarket-comments --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Polymarket Comments?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Polymarket Comments
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anajuliabit-polymarket-comments/badge)](https://www.skillsdirectory.com/skills/anajuliabit-polymarket-comments)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Polymarket Comments
description: Top trending Polymarket markets and the most interesting comments from them
var: ""
tags: [crypto]
---
> **${var}** — Market topic to focus on (e.g. "crypto", "elections", "AI"). If empty, checks top trending markets across all categories.

Read memory/MEMORY.md for context.
Read the last 2 days of memory/logs/ to avoid repeating data.

## Sandbox note

The sandbox may block curl. For every curl call below, if it fails or returns empty, use **WebFetch** for the same URL. All Polymarket APIs are public (no auth needed), so WebFetch works as a drop-in replacement.

## Steps

### 1. Fetch trending markets

```bash
# Top markets by 24h volume
curl -s "https://gamma-api.polymarket.com/markets?closed=false&order=volume24hr&ascending=false&limit=15"
```

Each market object contains: `id`, `question`, `slug`, `outcomePrices` (JSON array — index 0 is YES), `volume24hr`, `volumeNum`, `liquidityNum`.

### 2. Pick 5 most interesting markets

Prioritize:
- High volume + active trading (something is happening)
- Controversial or polarizing questions (where comments will be spicy)
- Markets with high engagement and controversy
- Skip sports/esports games unless the line is wild
- If `${var}` is set, filter to markets matching that topic

### 3. Get event IDs for each market

Comments live on **events**, not markets. Each market belongs to an event. Extract the event slug from the market slug (usually the market slug minus any trailing date/variant suffix) and look it up:

```bash
# For each selected market, find its parent event
# The event slug is typically the market slug without trailing specifics
# e.g. market slug "us-x-iran-ceasefire-by-march-31" → event slug "us-x-iran-ceasefire-by"
curl -s "https://gamma-api.polymarket.com/events?slug=$EVENT_SLUG&limit=1"
```

The response contains the event `id` needed for the comments endpoint.

If the slug guess misses, try searching by the market question:
```bash
curl -s "https://gamma-api.polymarket.com/events?title=$MARKET_QUESTION_URL_ENCODED&limit=3"
```

### 4. Fetch comments for each event

```bash
# Fetch top comments sorted by reactions (most upvoted first)
curl -s "https://gamma-api.polymarket.com/comments?parent_entity_type=Event&parent_entity_id=$EVENT_ID&limit=20&order=reactionCount&ascending=false"
```

**Important:** `parent_entity_type` must be `Event` (capital E). Values `market` or `series` will error.

Each comment object contains:
- `body` — the comment text
- `profile.username` — commenter name (often null/anon)
- `reactionCount` — upvotes
- `createdAt` — timestamp

Also fetch the most recent comments to catch breaking takes:
```bash
curl -s "https://gamma-api.polymarket.com/comments?parent_entity_type=Event&parent_entity_id=$EVENT_ID&limit=10&order=createdAt&ascending=false"
```

### 5. Extract the best takes

From each market's comments, pick the **2-3 most interesting**:
- Contrarian positions with reasoning
- Insider-sounding analysis or news drops
- Funny or sharp observations
- Whale behavior callouts
- Resolution debates

Skip low-effort noise (one-word comments, spam, unhinged rants with no signal).

If a market has fewer than 3 good comments from the API, supplement with a quick WebSearch:
```
"[market question]" polymarket site:x.com OR site:reddit.com
```

### 6. Notify

Send via `./notify` (under 4000 chars):
```
polymarket comments — ${today}

1. "Market question?" — YES X% ($Xm vol)
- [user/anon]: "[interesting take]"
- [user/anon]: "[interesting take]"

2. "Market question?" — YES X% ($Xm vol)
- [user/anon]: "[interesting take]"
- [user/anon]: "[interesting take]"

... (5 markets)
```

### 7. Log

Append to memory/logs/${today}.md:
```
## Polymarket Comments
- **Markets covered:** 5
- **Top market:** "[question]" — $Xm volume
- **Notable take:** "[best comment excerpt]"
- **Notification sent:** yes
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…