polymarket-profile

polymarket-profile is a skill for Claude Code from runesleo/polymarket-toolkit. It costs 51 tokens per session (3,917 once invoked), scanned A, original, MIT.

A Polymarket address profiler. Polymarket is a prediction market where people trade contracts on possible future events; the profiler uses public APIs to summarize a wallet's trading activity.

In plain words
What is it for?
Use it to view profit and loss, win rate, current positions, category breakdowns, and top trades for a Polymarket wallet.
Why use it?
It provides a trading overview without requiring a local database or API key, and can resolve a username or profile URL to an address.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument; built for openclaw.

Good fit Use it to view profit and loss, win rate, current positions, category breakdowns, and top trades for a Polymarket wallet.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/runesleo/polymarket-toolkit/polymarket-profile
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 runesleo/polymarket-toolkit --skill polymarket-profile
Clone the repo
git clone --depth 1 https://github.com/runesleo/polymarket-toolkit

Made for: Claude Code.

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-profile

README.md
[![agentmods](https://agentmods.dev/badge/skills/runesleo/polymarket-toolkit/polymarket-profile/github.svg)](https://agentmods.dev/skills/runesleo/polymarket-toolkit/polymarket-profile)
Your own site
<a href="https://agentmods.dev/skills/runesleo/polymarket-toolkit/polymarket-profile"><img src="https://agentmods.dev/badge/skills/runesleo/polymarket-toolkit/polymarket-profile/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-profile

Your own site · 80×15
<a href="https://agentmods.dev/skills/runesleo/polymarket-toolkit/polymarket-profile"><img src="https://agentmods.dev/badge/skills/runesleo/polymarket-toolkit/polymarket-profile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,917 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00051 $0.03917
Opus 5 $0.00026 $0.01959
Sonnet 5 $0.00010 $0.00783
Haiku 4.5 $0.00005 $0.00392

Measured 9d ago against content hash 91f65e33eaf3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

polymarket-profile scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Bash(curl:*) Bash(node:*) Read Write Edit
skills/polymarket-profile/SKILL.md · 337 lines

How it starts

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

Polymarket Address Profile

Generate a complete trading profile for any Polymarket address. All data comes from public APIs in real-time — no local database or API key required.

Trigger

User provides a Polymarket identity and wants analysis, profile, or trading overview.

Input Resolution

The skill requires a 0x proxy wallet address. Users may provide:

Input Type Example How to handle
0x address 0x63ce3421... Use directly
Profile URL polymarket.com/profile/Theo4 Extract username from URL, then resolve via leaderboard lookup (see below)
Username Theo4 Resolve via leaderboard lookup (see below)

When user provides a username or URL (not 0x address)

Step 1: Try leaderboard lookup — Search lb-api.polymarket.com/profit to resolve username → address.

# Paginate through the leaderboard searching for the username
# Start with offset=0, increment by 500 until found or no more results
curl -s "https://lb-api.polymarket.com/profit?window=all&limit=500&offset=0"

Response is an array of objects with name, pseudonym, and proxyWallet fields. Search for a case-insensitive match on name or pseudonym.

  • Found → use the proxyWallet as the 0x address, continue to Step 1 of execution
  • Not found after 3 pages (1500 users) → the account is likely unranked, fall back to Step 2

Step 2: Manual fallback (only if leaderboard lookup fails)

"This username isn't in the Polymarket leaderboard (only ranked users can be auto-resolved). You can find the 0x address by:

  1. Open the profile page on Polymarket
  2. Click the address/wallet icon near the username — it copies the 0x address
  3. Or check the browser URL — some profile pages show the address"

NOTE: Leaderboard lookup covers all users with a PnL ranking (tens of thousands). Only very new or inactive accounts with zero trading history won't be found.

API Endpoints

All endpoints are public, no authentication needed.

Read the full file on GitHub · 337 lines

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. 9d ago First seen · 337 lines · 51 tokens per session scan A 91f65e33eaf3

Subscribe to this mod's changes

polymarket-profile is a skill published in the GitHub repository runesleo/polymarket-toolkit (192 stars, last pushed 19d ago), licensed MIT. It adds 51 tokens to every session and 3,917 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.