polymarket-alpha-bot: Skill for Claude Code

.claude/skills/alphapoly-enter-position/SKILL.md

Entering an Alphapoly Position is a skill for Claude Code from chainstacklabs/polymarket-alpha-bot. It costs 77 tokens per session (667 once invoked), scanned A, original, Apache-2.0.

A guided procedure for opening a covered pair trade on Polymarket, a prediction-market platform, by placing a target position together with a covering position.

In plain words
What is it for?
Use it when buying, trading, opening a position, placing an order, or acting on a portfolio opportunity in the Alphapoly system.
Why use it?
It adds checks, cost estimates, confirmation, and position recording before a trade is placed, while requiring the wallet and funds to be ready.

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-enter-position/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 Entering an Alphapoly Position

README.md
[![agentmods](https://agentmods.dev/badge/skills/chainstacklabs/polymarket-alpha-bot/alphapoly-enter-position/github.svg)](https://agentmods.dev/skills/chainstacklabs/polymarket-alpha-bot/alphapoly-enter-position)
Your own site
<a href="https://agentmods.dev/skills/chainstacklabs/polymarket-alpha-bot/alphapoly-enter-position"><img src="https://agentmods.dev/badge/skills/chainstacklabs/polymarket-alpha-bot/alphapoly-enter-position/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 Entering an Alphapoly Position

Your own site · 80×15
<a href="https://agentmods.dev/skills/chainstacklabs/polymarket-alpha-bot/alphapoly-enter-position"><img src="https://agentmods.dev/badge/skills/chainstacklabs/polymarket-alpha-bot/alphapoly-enter-position.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 667 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. 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.00077 $0.00667
Opus 5.5 $0.00031 $0.00267
Sonnet 5.5 $0.00015 $0.00133
Haiku 4.5 $0.00008 $0.00067

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

Security

Grade A, and why

Entering an Alphapoly Position 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 2mo 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.

.claude/skills/alphapoly-enter-position/SKILL.md · 38 lines

How it starts

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

Entering an Alphapoly Position

Enter a hedged pair position (target + cover) from a detected alphapoly portfolio.

Prerequisites

  1. Backend running on http://localhost:8000
  2. Wallet unlocked — check GET /wallet/status for "unlocked": true; unlock via POST /wallet/unlock with {"password": "<password>"}
  3. Deposit wallet ready — trades sign as sigtype-3 through a per-user deposit wallet, so GET /wallet/status must show "relayer_set": true and "deposit_wallet_deployed": true. If not: attach the relayer key (POST /wallet/set-relayer), then deploy (POST /wallet/deploy-deposit-wallet). Without this, buy-pair fails at order placement.
  4. Sufficient pUSD in the deposit wallet — the balance must sit in the deposit wallet (deposit_wallet_address from status), not the signer EOA; total cost is amount_per_position * 2. The relayer pays gas, so no POL is needed.

7-Step Flow

  1. List portfolios — GET /data/portfolios; note pair_id, market IDs, and position sides
  2. Pick a pair — select by pair_id
  3. Set amount — choose amount_per_position in pUSD
  4. Estimate (required) — POST /trading/buy-pair/estimate; show result to user; stop if sufficient_balance: false
  5. Confirm — require explicit user approval before proceeding
  6. Execute — POST /trading/buy-pair; check success: true on both legs; surface any warnings
  7. Record — position is recorded automatically on success; manual POST /positions only needed for imports

For full request/response schemas, see api-reference.md.

Safety Rules

These trades involve real pUSD on Polygon — transactions are irreversible once submitted on-chain. The estimate step is the only chance to catch problems before money moves.

  • Always run /trading/buy-pair/estimate before /trading/buy-pair — the estimate reveals actual costs, slippage, and balance issues before committing funds
  • Never execute without explicit user confirmation — the user needs to see the estimate and agree to the cost
  • Never proceed if sufficient_balance: false — the transaction will fail on-chain and may leave partial state
  • If warnings are non-empty after execution, surface them — the user may hold unwanted tokens that need selling via GET /positions
  • skip_clob_sell: true only when the user explicitly requests it

Read the full file on GitHub · 38 lines

Files

What ships with it

1 file 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. 2mo ago First seen · 38 lines · 77 tokens per session scan A 9a473be7bee7

Subscribe to this mod's changes

Entering an Alphapoly Position is a skill published in the GitHub repository chainstacklabs/polymarket-alpha-bot (184 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 77 tokens to every session and 667 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Entering an Alphapoly Position compared with skills from other repositories

Entering an Alphapoly Position next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Entering an Alphapoly Positionchainstacklabs/polymarket-alpha-botSkill1843mo agoApache-2.0A77Claude Code
polymarket-profilerunesleo/polymarket-toolkitSkill2033d agoMITA51Claude Code
moonpay-prediction-marketmoonpay/skillsSkill11217d agoMITA37Claude Code
polymarketStarchild-ai-agent/official-skillsSkill327d agononeA84Claude Code, Codex
moonpay-fund-polymarketmoonpay/skillsSkill11217d agoMITD30Claude Code
polymarket-pluginokx/plugin-storeSkill121mo agoMITD304Claude Code
token-unlock-treasuryHKUDS/Vibe-TradingSkill38kyesterdayMITA42Claude Code, Codex