polymarket

polymarket is a skill for Claude Code, Codex from godmakereth/vibe-coding-tw. It costs 46 tokens per session (1,438 once invoked), scanned A, a copy of polymarket, MIT.

A development guide and client for Polymarket, a website where people trade contracts based on predictions about future events. It covers the site’s API, trading, market data, and live WebSocket feeds, which continuously send updates.

In plain words
What is it for?
Use it to build market-data applications, trading strategies, and monitoring tools for live trades, orders, market changes, comments, quote requests, and crypto prices.
Why use it?
It provides patterns for working with prediction-market data and live activity without having to piece together the platform’s interfaces yourself.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build market-data applications, trading strategies, and monitoring tools for live trades, orders, market changes, comments, quote requests, and crypto prices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/godmakereth/vibe-coding-tw/polymarket
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add godmakereth/vibe-coding-tw --skill polymarket
Clone the repo
git clone --depth 1 https://github.com/godmakereth/vibe-coding-tw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for polymarket

README.md
[![agentmods](https://agentmods.dev/badge/skills/godmakereth/vibe-coding-tw/polymarket/github.svg)](https://agentmods.dev/skills/godmakereth/vibe-coding-tw/polymarket)
Your own site
<a href="https://agentmods.dev/skills/godmakereth/vibe-coding-tw/polymarket"><img src="https://agentmods.dev/badge/skills/godmakereth/vibe-coding-tw/polymarket/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for polymarket

Your own site · 80×15
<a href="https://agentmods.dev/skills/godmakereth/vibe-coding-tw/polymarket"><img src="https://agentmods.dev/badge/skills/godmakereth/vibe-coding-tw/polymarket.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,438 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 98% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.01438
Opus 5.5 $0.00018 $0.00575
Sonnet 5.5 $0.00009 $0.00288
Haiku 4.5 $0.00005 $0.00144

Measured 3mo ago against content hash 452040563505, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

polymarket scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

98% identical to polymarket — 1 line differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/polymarket/SKILL.md · 234 lines

How it starts

The opening of the file, as written. The whole thing — 234 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Polymarket Comprehensive Skill

Complete assistance with Polymarket development - covering the full platform (API, trading, market data) and the real-time data streaming client (WebSocket subscriptions for live market activity).

When to Use This Skill

This skill should be triggered when:

Platform & API:

  • Working with Polymarket prediction markets
  • Using Polymarket API for market data
  • Implementing trading strategies
  • Building applications with Polymarket services
  • Learning Polymarket best practices

Real-Time Data Streaming:

  • Connecting to Polymarket's WebSocket service
  • Building prediction market monitoring tools
  • Processing live trades, orders, and market updates
  • Monitoring market comments and social reactions
  • Tracking RFQ (Request for Quote) activity
  • Integrating crypto price feeds

Quick Reference

Real-Time Data Client Setup

Installation:

npm install @polymarket/real-time-data-client

Basic Usage:

import { RealTimeDataClient } from "@polymarket/real-time-data-client";

const onMessage = (message: Message): void => {
    console.log(message.topic, message.type, message.payload);
};

const onConnect = (client: RealTimeDataClient): void => {
    client.subscribe({
        subscriptions: [{
            topic: "activity",
            type: "trades"
        }]
    });
};

new RealTimeDataClient({ onMessage, onConnect }).connect();

Supported WebSocket Topics

1. Activity (activity)

  • trades - Completed trades
  • orders_matched - Order matching events
  • Filters: {"event_slug":"string"} OR {"market_slug":"string"}

2. Comments (comments)

  • comment_created, comment_removed
  • reaction_created, reaction_removed
  • Filters: {"parentEntityID":number,"parentEntityType":"Event"}

3. RFQ (rfq)

  • Request/Quote lifecycle events
  • No filters, no auth required

4. Crypto Prices (crypto_prices, crypto_prices_chainlink)

  • update - Real-time price feeds
  • Filters: {"symbol":"BTC"} (optional)

Read the full file on GitHub · 234 lines

Files

What ships with it

11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 234 lines · 46 tokens per session scan A 452040563505

Subscribe to this mod's changes

polymarket is a skill published in the GitHub repository godmakereth/vibe-coding-tw (47 stars, last pushed 11mo ago), licensed MIT. It adds 46 tokens to every session and 1,438 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 98% identical to polymarket, differing in 1 line, and is treated as a copy.

Related

polymarket compared with skills from other repositories

polymarket next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
polymarketgodmakereth/vibe-coding-twSkill4711mo agoMITA46Claude Code, Codex
sector-rotationHKUDS/Vibe-TradingSkill40kyesterdayMITA39Claude Code, Codex
strategy-pivot-designertradermonty/claude-trading-skillsSkill9.7kyesterdayMITA28Claude Code, Codex
twitter-readerhimself65/finance-skillsSkill3.6k1mo agoMITA110Claude Code
energy-procurementhashgraph-online/awesome-codex-pluginsSkill1.6kyesterdayApache-2.0A93Claude Code, Codex
airdrop-hunting-guidenirholas/three.wsSkill289todayApache-2.0A54Claude Code, Codex
cim-teardownmicrosoft/cat-agent-skillsSkill124todayMITA139Claude Code, Codex