polymarket-alpha-bot: Skill for Claude Code

.claude/skills/alphapoly-portfolios/SKILL.md

Browsing Alphapoly Portfolios is a skill for Claude Code from chainstacklabs/polymarket-alpha-bot. It costs 73 tokens per session (306 once invoked), scanned C, original, Apache-2.0.

A tool for viewing current hedging portfolio opportunities from the Alphapoly backend. A portfolio is a group of related market positions intended to reduce exposure to one outcome.

In plain words
What is it for?
Use it to list available portfolios, inspect market question pairs, and find opportunities to trade. It requires the Alphapoly backend to be running locally.
Why use it?
It avoids manually querying and interpreting the backend when looking for available trades. It organizes opportunities by pair, coverage, cost, expected profit, and tier.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is chainstacklabs/polymarket-alpha-bot's own configuration. It tells Claude Code how to work on polymarket-alpha-bot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything polymarket-alpha-bot configures →

Reuse

Borrowing it

Nothing to install: this file belongs to chainstacklabs/polymarket-alpha-bot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/chainstacklabs/polymarket-alpha-bot/main/.claude/skills/alphapoly-portfolios/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/chainstacklabs/polymarket-alpha-bot

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 Browsing Alphapoly Portfolios

README.md
[![agentmods](https://agentmods.dev/badge/skills/chainstacklabs/polymarket-alpha-bot/alphapoly-portfolios.svg)](https://agentmods.dev/skills/chainstacklabs/polymarket-alpha-bot/alphapoly-portfolios)
Your own site
<a href="https://agentmods.dev/skills/chainstacklabs/polymarket-alpha-bot/alphapoly-portfolios"><img src="https://agentmods.dev/badge/skills/chainstacklabs/polymarket-alpha-bot/alphapoly-portfolios.svg" alt="Measured on agentmods" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 306 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00073 $0.00306
Opus 5 $0.00036 $0.00153
Sonnet 5 $0.00015 $0.00061
Haiku 4.5 $0.00007 $0.00031

Measured 8d ago against content hash 2b8cca49037c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade C, and why

Browsing Alphapoly Portfolios scanned grade C with 2 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 8d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s http://localhost:8000/data/portfolios | python3 -m json.tool

Makes network callslowCapability

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

curl -s http://localhost:8000/data/portfolios | python3 -m json.tool
.claude/skills/alphapoly-portfolios/SKILL.md · 33 lines

What it actually says

Browsing Alphapoly Portfolios

Fetch and display current portfolio opportunities from the running backend.

Requires

Backend running at localhost:8000 — start with make backend

Fetch

curl -s http://localhost:8000/data/portfolios | python3 -m json.tool

Display as a formatted table with:

  • pair_id — use this to enter positions
  • Tier (1=HIGH ≥95%, 2=GOOD 90-95%, 3=MODERATE 85-90%)
  • Target and cover market questions
  • Coverage % and total cost (USDC)
  • Expected profit

Tier Reference

Tier Label Coverage Description
1 HIGH ≥95% Near-arbitrage
2 GOOD 90-95% Strong hedge
3 MODERATE 85-90% Decent hedge

To enter a position from the list, use the alphapoly-enter-position skill.

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. 8d ago First seen · 33 lines · 73 tokens per session scan C 2b8cca49037c

Subscribe to this mod's changes

Browsing Alphapoly Portfolios is a skill published in the GitHub repository chainstacklabs/polymarket-alpha-bot (176 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 73 tokens to every session and 306 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

polymarket

Query Polymarket: markets, prices, orderbooks, history.

NousResearch/hermes-agent · 18 tokens

polymarket-profile

Polymarket address profiler — input any 0x address, get a complete trading profile with PnL, win rate, positions, category breakdown, and top trades. All data from public APIs, no local database needed.

runesleo/polymarket-toolkit · 51 tokens

polymarket-brier

Brier Score calculator for Polymarket addresses — measures prediction accuracy independent of PnL. Separates skilled predictors from market makers and arbitrageurs.

runesleo/polymarket-toolkit · 37 tokens

polymarket-pnl

Precise PnL calculator for any Polymarket address — reconstructs profit/loss from Data API cashflow (BUY/SELL/REDEEM/MERGE/SPLIT/REBATE) plus unrealized position value. Matches official /profit within 0.2% MAPE on leaderboard validation. Bring-your-own Python (httpx).

runesleo/polymarket-toolkit · 77 tokens

quotient

Prediction-market intelligence for Polymarket agents. Quotient runs a multi-role AI forecasting pipeline over 1,600+ sources and publishes daily trade signals with side, entry prices, conviction tiers, capacity, and convergence reads. Pull forecasts (with what-changed deltas), recent sources (articles + X posts), the…

BankrBot/skills · 201 tokens

moonpay-scout

Prediction market arbitrage & alpha scout. Searches Polymarket and Kalshi for the same event, runs cross-platform arb math (including fees), and ranks opportunities by profitability. Use when asked to "find arb", "scout markets", "find edge", or scan a specific topic across prediction markets.

moonpay/skills · 66 tokens