jpskill.com
💬 コミュニケーション コミュニティ

polybaskets-overview

Use when the agent or user needs to understand what PolyBaskets is, how baskets work, the index calculation, the payout model, or the settlement lifecycle. Do not use when the task is to execute an on-chain action.

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o polybaskets-overview.zip https://jpskill.com/download/9667.zip && unzip -o polybaskets-overview.zip && rm polybaskets-overview.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/9667.zip -OutFile "$d\polybaskets-overview.zip"; Expand-Archive "$d\polybaskets-overview.zip" -DestinationPath $d -Force; ri "$d\polybaskets-overview.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して polybaskets-overview.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → polybaskets-overview フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1
📖 Claude が読む原文 SKILL.md(中身を展開)

この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。

PolyBaskets Overview

What Is PolyBaskets

PolyBaskets is an ETF-style prediction market aggregator on Vara Network. It bundles multiple Polymarket outcomes into a single weighted basket — a portfolio in one trade.

The Agent Loop

Claim CHIP  →  Search markets  →  Build basket  →  Create on-chain  →  Bet  →  Wait  →  Claim payout
  1. Claim CHIP — free daily token claim with streak bonuses (consecutive days = more CHIP)
  2. Search Polymarket — find interesting active markets via the Gamma API
  3. Build your basket — pick 1-10 markets, choose YES/NO for each, assign percentage weights (must sum to 100%)
  4. Create basket on-chain — submit your basket to the BasketMarket contract (returns a basket ID)
  5. Approve + Bet — approve CHIP spend for BetLane, get a signed quote, place your bet (one bet covers the whole basket)
  6. Wait — markets resolve on Polymarket, settler proposes on-chain settlement
  7. Claim — if settlement index > your entry index, you profit. Collect payout.
  8. Repeat — claim more CHIP tomorrow, bet on your own or someone else's basket

You can also skip steps 2-4 and bet on an existing basket created by another user.

CHIP Token

CHIP is the platform's free betting token (BetToken contract). Agents earn CHIP through:

  • Daily claim — call BetToken/Claim once per day
  • Streak bonuses — each consecutive day increases the claim amount by streak_step up to streak_cap_days
  • Winning bets — payouts from settled baskets

CHIP is used to bet on baskets via the BetLane contract (approve CHIP → place bet).

Core Concepts

Basket

A named collection of 1-10 Polymarket outcomes with percentage weights (must sum to 100%). Each item specifies:

  • A Polymarket market (by numeric ID and slug)
  • A selected outcome (YES or NO)
  • A weight in basis points (e.g. 40% = 4000 bps, all must sum to 10000 bps = 100%)

Basket Index

The index is a weighted probability score:

index = sum( weight_bps[i] / 10000 * probability[i] )

Ranges from 0.0 to 1.0. When a user bets, the current index is recorded on their Position as index_at_creation_bps (u16, 1-10000). The basket itself does not store an index — it is computed from live Polymarket prices.

See ../references/index-math.md for formulas and worked examples.

Position

A user's bet on a basket. Records:

  • shares — amount of VARA (or BET tokens) wagered
  • index_at_creation_bps — the basket index when the bet was placed (entry price)
  • claimed — whether payout has been collected

Payout

After settlement:

payout = shares * (settlement_index / entry_index)

If settlement index > entry index: profit. If lower: loss.

Settlement Lifecycle

Active  →  SettlementPending  →  Settled
           (12-min challenge)     (users can claim)
  1. Active — basket accepts bets
  2. SettlementPending — settler proposes resolution with each item's final outcome from Polymarket. A challenge window begins (duration configured by liveness_ms, default 12 minutes).
  3. Settled — after the challenge window, settler finalizes. Users can now claim payouts.

Three Programs

Program Role
BasketMarket Core contract: baskets, VARA bets, settlements, claims
BetToken Fungible token (BET) with daily claim and streak bonuses
BetLane Alternative betting lane using BET tokens instead of VARA

Two Asset Kinds

Each basket has an asset_kind set at creation:

  • Bet (CHIP) — the default. Users bet with CHIP tokens via BetLane (claim daily → approve → bet). This is the primary path for agents.
  • Vara — users bet with native TVARA tokens via BasketMarket. May be disabled on some deployments.

The asset kind determines which program handles bets and claims for that basket.

Where to Go Next

Full flow (recommended):

  1. Claim CHIP tokens: ../basket-bet/SKILL.md (Step 1)
  2. Search markets and create a basket: ../basket-create/SKILL.md
  3. Approve and bet on your basket: ../basket-bet/SKILL.md (Steps 4-5)
  4. Browse baskets and check positions: ../basket-query/SKILL.md
  5. Claim payout: ../basket-claim/SKILL.md

Settler role only:

  • Settle a basket: ../basket-settle/SKILL.md