[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ESYF133NQBZTXHSH8PYAC4":3,"skill-same:01M6ESYF133NQBZTXHSH8PYAC4":85},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":54,"ownerHtmlUrl":55,"ownerBlogUrl":56,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M6ESYF133NQBZTXHSH8PYAC4","agenticbets",null,"Place prediction bets on token prices on Base via AgenticBets. Use when the user wants to bet UP or DOWN on whether a token price will go up or down, check prediction market odds, view open betting rounds, or claim winnings from settled rounds. Supports all tokens with active markets on AgenticBets (AGBETS, CLAWD, MOLT, WCHAN, and more). Uses Bankr Submit API to execute bet and claim transactions on Base.","Eskyee\u002Fagentbot-opensource","Eskyee","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F30862925?v=4","01M6ESSG1VB0FYP310V08SY08K","Esky33","01M6ESSG5ZR55BV28APEN3Y2P6",17,"MIT","https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fskills\u002Fagenticbets\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"Market","with","via","submit","tokens","token","active","claim","bankr","go","up","use","view","check","python3","open","transactions","api","dev","2026-11-10 10:12:30",false,"---\nname: agenticbets\ndescription: Place prediction bets on token prices on Base via AgenticBets. Use when the user wants to bet UP or DOWN on whether a token price will go up or down, check prediction market odds, view open betting rounds, or claim winnings from settled rounds. Supports all tokens with active markets on AgenticBets (AGBETS, CLAWD, MOLT, WCHAN, and more). Uses Bankr Submit API to execute bet and claim transactions on Base.\nmetadata:\n  {\n    \"clawdbot\":\n      {\n        \"emoji\": \"?\",\n        \"homepage\": \"https:\u002F\u002Fagenticbets.dev\",\n        \"requires\": { \"bins\": [\"python3\", \"bankr\"] },\n      },\n  }\n---\n\n# AgenticBets\n\nPrediction markets on Base. Bet UP or DOWN on token prices with USDC.\n\n## When To Use\n\nUse AgenticBets when the user wants to:\n- **Bet on whether a token price goes up or down** (e.g., \"bet $5 UP on AGBETS\")\n- **Check prediction market odds** (e.g., \"what are the odds on AGBETS?\")\n- **See which markets are open** (e.g., \"what prediction markets can I bet on?\")\n- **Claim winnings** from settled rounds\n- **Check their bet status** or claimable winnings\n\n## Prerequisites\n\n### Bankr CLI\n\nInstall the Bankr CLI and log in to get an API key:\n\n```bash\nbun install -g @bankr\u002Fcli\n# or: npm install -g @bankr\u002Fcli\n```\n\n### Bankr API Key\n\nThe scripts read the API key from `~\u002F.bankr\u002Fconfig.json` (or `$BANKR_CONFIG` if set).\n\n**Option A: CLI login (recommended)**\n\n```bash\n# Step 1 — send OTP\nbankr login email user@example.com\n\n# Step 2 — verify and generate key with write access\nbankr login email user@example.com --code 123456 --accept-terms --key-name \"AgenticBets\" --read-write\n```\n\n**Option B: Web login**\n\n1. Visit [bankr.bot\u002Fapi](https:\u002F\u002Fbankr.bot\u002Fapi)\n2. Sign in with email + OTP\n3. Generate an API key with **Wallet API** write access enabled\n\nThe API key must have **write access** (`walletApiEnabled`, not `readOnly`) to place bets and claim winnings. Read-only keys can still list markets and check odds.\n\n### USDC Balance\n\nMake sure your Bankr wallet has USDC on Base before betting. Check with:\n\n```bash\nbankr wallet portfolio\n```\n\n## Quick Start\n\n### List Open Markets\n\n```\nWhat prediction markets are open on AgenticBets?\n```\n\n```bash\nscripts\u002Fagenticbets.py list\n```\n\n### Check Odds\n\n```\nWhat are the odds on AGBETS?\n```\n\n```bash\nscripts\u002Fagenticbets.py odds AGBETS\n```\n\n### Place a Bet\n\n```\nBet $5 UP on AGBETS\n```\n\n```bash\nscripts\u002Fagenticbets.py bet AGBETS up 5\n```\n\n### Claim Winnings\n\n```\nClaim my AgenticBets winnings for AGBETS epoch 42\n```\n\n```bash\nscripts\u002Fagenticbets.py claim AGBETS 42\n```\n\n## Script Usage\n\n### agenticbets.py\n\nSingle script that handles all AgenticBets operations. Reads and writes use the Bankr Wallet API.\n\n```\nscripts\u002Fagenticbets.py \u003Ccommand> [args...]\n```\n\n**Commands:**\n\n| Command | Args | Description |\n|---|---|---|\n| `list` | `[status]` | List markets. Status: `all`, `open`, `locked`, `settled` (default: `open`) |\n| `odds` | `\u003Csymbol>` | Show bull\u002Fbear odds and pool size for a market |\n| `info` | `\u003Csymbol>` | Detailed market info including contract, epoch, time to lock |\n| `bet` | `\u003Csymbol> \u003Cup\\|down> \u003Camount>` | Place a bet. Amount in USDC (e.g., `5` for $5) |\n| `claim` | `\u003Csymbol> \u003Cepoch> [epoch...]` | Claim winnings for settled epochs |\n| `claimable` | `\u003Csymbol> \u003Cepoch>` | Check if an epoch is claimable |\n\n**Environment:**\n\n| Variable | Default | Description |\n|---|---|---|\n| `BANKR_CONFIG` | `~\u002F.bankr\u002Fconfig.json` | Path to Bankr config file containing `apiKey` |\n\n## How It Works\n\n### Prediction Market Flow\n\n1. A **round** opens for a token (e.g., $AGBETS)\n2. Users bet **UP** (bull — price goes up) or **DOWN** (bear — price goes down) with USDC\n3. Betting window closes (typically 5 minutes)\n4. Price is **locked** at close\n5. After the round duration, price is checked again\n6. If price went up → bull wins. If down → bear wins.\n7. Winners split the entire pool proportional to their bet size (minus 3% fee)\n\n### Transaction Flow (via Bankr Submit API)\n\nAll on-chain transactions go through the Bankr Wallet API:\n\n1. Script fetches market data from `GET https:\u002F\u002Fagenticbets.dev\u002Fapi\u002Fbankr\u002Fmarkets`\n2. Script gets wallet address from `GET https:\u002F\u002Fapi.bankr.bot\u002Fwallet\u002Fme`\n3. For bets:\n   - Approve USDC spend: `POST https:\u002F\u002Fapi.bankr.bot\u002Fwallet\u002Fsubmit` with ERC20 `approve()` calldata\n   - Place bet: `POST https:\u002F\u002Fapi.bankr.bot\u002Fwallet\u002Fsubmit` with `bet()` calldata\n4. For claims: `POST https:\u002F\u002Fapi.bankr.bot\u002Fwallet\u002Fsubmit` with `claim()` calldata\n5. All transactions use `waitForConfirmation: true` and include a human-readable `description`\n\n### Bankr Submit API Reference\n\n**Endpoint:** `POST https:\u002F\u002Fapi.bankr.bot\u002Fwallet\u002Fsubmit`\n\n**Headers:**\n```\nX-API-Key: bk_YOUR_API_KEY\nContent-Type: application\u002Fjson\n```\n\n**Request body:**\n```json\n{\n  \"transaction\": {\n    \"to\": \"0xContractAddress\",\n    \"chainId\": 8453,\n    \"data\": \"0xCalldata...\",\n    \"value\": \"0\"\n  },\n  \"description\": \"Place $5 UP bet on AGBETS\",\n  \"waitForConfirmation\": true\n}\n```\n\n**Success response:**\n```json\n{\n  \"success\": true,\n  \"transactionHash\": \"0x...\",\n  \"status\": \"success\",\n  \"blockNumber\": \"12345678\",\n  \"signer\": \"0xYourWalletAddress\",\n  \"chainId\": 8453\n}\n```\n\n**Wallet info:** `GET https:\u002F\u002Fapi.bankr.bot\u002Fwallet\u002Fme` returns the wallet address and supported chains.\n\n## Contracts\n\n| Contract | Address | Tokens |\n|---|---|---|\n| BankrBetsPrediction V1 | `0xABADeb002247f2bd908Eeedb32918aEc304A0233` | CLAWD, MOLT, WCHAN |\n| BankrBetsPrediction V2 | `0x2CD785Ba87e0841A8458141bc43d23a56a00557f` | AGBETS |\n| USDC (Base) | `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913` | 6 decimals |\n\n### Contract Functions\n\n**bet(address _token, uint256 _amount, uint8 _position)**\n- `_token` — token contract address\n- `_amount` — USDC amount in raw units (multiply by 1e6)\n- `_position` — `0` = Bull (UP), `1` = Bear (DOWN)\n- Selector: `0x37a02e62`\n\n**claim(address _token, uint256[] _epochs)**\n- `_token` — token contract address\n- `_epochs` — array of epoch numbers to claim\n- Selector: `0x45718278`\n\n**claimable(address _token, uint256 _epoch, address _user) -> bool**\n- Returns true if the user has unclaimed winnings for that epoch\n- Selector: `0xd3c035fc`\n\n### USDC Approval\n\nBefore betting, the script approves USDC spend on the prediction contract:\n\n```\nERC20.approve(predictionContractAddress, betAmount)\n```\n- Selector: `0x095ea7b3`\n\n## Token Addresses\n\n| Token | Address | Prediction Contract |\n|---|---|---|\n| AGBETS | `0x37d183FCf1DA460a64D21E754b3E6144C4e11BA3` | V2 (`0x2CD785...`) |\n| All others | Varies (from API) | V1 (`0xABADeb...`) |\n\nUse the `\u002Fapi\u002Fbankr\u002Fmarkets` endpoint to get current token addresses — don't hardcode.\n\n## Markets API\n\n**GET** `https:\u002F\u002Fagenticbets.dev\u002Fapi\u002Fbankr\u002Fmarkets`\n\nReturns:\n```json\n{\n  \"markets\": [\n    {\n      \"token\": \"0x37d183FCf1DA460a64D21E754b3E6144C4e11BA3\",\n      \"symbol\": \"AGBETS\",\n      \"marketUrl\": \"https:\u002F\u002Fagenticbets.dev\u002Fmarket#...\",\n      \"poolUsdc\": 42.50,\n      \"bullPct\": 61.0,\n      \"bearPct\": 39.0,\n      \"lockTimestamp\": 1713100000,\n      \"secondsToLock\": 83,\n      \"predictionContract\": \"0x2CD785Ba87e0841A8458141bc43d23a56a00557f\",\n      \"status\": \"open\",\n      \"epoch\": \"5\",\n      \"poolAddress\": \"0x...\",\n      \"creator\": \"0x...\",\n      \"createdAt\": 1700000000,\n      \"contractVersion\": \"v2\"\n    }\n  ],\n  \"count\": 4,\n  \"updatedAt\": \"2026-04-14T12:00:00.000Z\"\n}\n```\n\n**Key fields:**\n- `status` — `\"open\"` (accepting bets), `\"locked\"` (waiting for settlement), `\"settled\"` (done)\n- `secondsToLock` — seconds until betting closes. `null` if not open.\n- `poolUsdc` — total USDC in the round pool\n- `bullPct` \u002F `bearPct` — current odds split\n- `predictionContract` — which contract to call for this token\n\n## Strategy Tips\n\n- **Check odds before betting.** If 90% of the pool is on one side, the other side pays ~10x if it wins.\n- **Pool size matters.** Larger pools = more reliable odds. Small pools can swing wildly with one bet.\n- **Time your bet.** Betting late (\u003C 30s to lock) lets you see the final odds but risks missing the window.\n- **Minimum bet is $1 USDC.** No maximum.\n- **Check balance first.** Make sure you have enough USDC on Base before betting (`bankr wallet portfolio`).\n\n## Examples\n\n### User: \"What prediction markets can I bet on?\"\n\n```bash\nscripts\u002Fagenticbets.py list open\n```\n\nResponse format:\n```\nOpen Markets:\n  $AGBETS — Pool: $42.50 | UP: 61% DOWN: 39% | Closes in 83s\n  $CLAWD — Pool: $18.00 | UP: 50% DOWN: 50% | Closes in 210s\n```\n\n### User: \"Bet $10 on AGBETS going up\"\n\n```bash\nscripts\u002Fagenticbets.py bet AGBETS up 10\n```\n\nSteps:\n1. Fetch market data → get token address + prediction contract\n2. Approve USDC via Bankr Submit: `ERC20.approve(0x2CD785..., 10000000)`\n3. Place bet via Bankr Submit: `BankrBetsPrediction.bet(0x37d183..., 10000000, 0)`\n4. Return tx hashes\n\n### User: \"Do I have any claimable winnings?\"\n\n```bash\nscripts\u002Fagenticbets.py claimable AGBETS 5\n```\n\nCalls `claimable(token, epoch, walletAddress)` — returns true\u002Ffalse.\n\n### User: \"Claim my AGBETS winnings from epoch 5\"\n\n```bash\nscripts\u002Fagenticbets.py claim AGBETS 5\n```\n\nSteps:\n1. Call `claim(0x37d183..., [5])` via Bankr Submit\n2. Return tx hash\n\n## References\n\n- **[references\u002Fagent-usage.md](references\u002Fagent-usage.md)** — Full agent guide: intent mapping, example conversations, pre-flight checks, error recovery, Markets API schema, and contract reference (calldata encoding, fees, round lifecycle)\n\n## Resources\n\n- **Website:** https:\u002F\u002Fagenticbets.dev\n- **Telegram Alerts:** https:\u002F\u002Ft.me\u002Fagenticbets\n- **GitHub:** https:\u002F\u002Fgithub.com\u002Fviraj124\u002Fagentic-bets\n- **MCP Server:** `npx agenticbets-mcp` (for Claude\u002FCursor users)\n","# AgenticBets\n\nPrediction markets on Base. Bet UP or DOWN on token prices with USDC.\n\n## When To Use\n\nUse AgenticBets when the user wants to:\n- **Bet on whether a token price goes up or down** (e.g., \"bet $5 UP on AGBETS\")\n- **Check prediction market odds** (e.g., \"what are the odds on AGBETS?\")\n- **See which markets are open** (e.g., \"what prediction markets can I bet on?\")\n- **Claim winnings** from settled rounds\n- **Check their bet status** or claimable winnings\n\n## Prerequisites\n\n### Bankr CLI\n\nInstall the Bankr CLI and log in to get an API key:\n\n```bash\nbun install -g @bankr\u002Fcli\n# or: npm install -g @bankr\u002Fcli\n```\n\n### Bankr API Key\n\nThe scripts read the API key from `~\u002F.bankr\u002Fconfig.json` (or `$BANKR_CONFIG` if set).\n\n**Option A: CLI login (recommended)**\n\n```bash\n# Step 1 — send OTP\nbankr login email user@example.com\n\n# Step 2 — verify and generate key with write access\nbankr login email user@example.com --code 123456 --accept-terms --key-name \"AgenticBets\" --read-write\n```\n\n**Option B: Web login**\n\n1. Visit [bankr.bot\u002Fapi](https:\u002F\u002Fbankr.bot\u002Fapi)\n2. Sign in with email + OTP\n3. Generate an API key with **Wallet API** write access enabled\n\nThe API key must have **write access** (`walletApiEnabled`, not `readOnly`) to place bets and claim winnings. Read-only keys can still list markets and check odds.\n\n### USDC Balance\n\nMake sure your Bankr wallet has USDC on Base before betting. Check with:\n\n```bash\nbankr wallet portfolio\n```\n\n## Quick Start\n\n### List Open Markets\n\n```\nWhat prediction markets are open on AgenticBets?\n```\n\n```bash\nscripts\u002Fagenticbets.py list\n```\n\n### Check Odds\n\n```\nWhat are the odds on AGBETS?\n```\n\n```bash\nscripts\u002Fagenticbets.py odds AGBETS\n```\n\n### Place a Bet\n\n```\nBet $5 UP on AGBETS\n```\n\n```bash\nscripts\u002Fagenticbets.py bet AGBETS up 5\n```\n\n### Claim Winnings\n\n```\nClaim my AgenticBets winnings for AGBETS epoch 42\n```\n\n```bash\nscripts\u002Fagenticbets.py claim AGBETS 42\n```\n\n## Script Usage\n\n### agenticbets.py\n\nSingle script that handles all AgenticBets operations. Reads and writes use the Bankr Wallet API.\n\n```\nscripts\u002Fagenticbets.py \u003Ccommand> [args...]\n```\n\n**Commands:**\n\n| Command | Args | Description |\n|---|---|---|\n| `list` | `[status]` | List markets. Status: `all`, `open`, `locked`, `settled` (default: `open`) |\n| `odds` | `\u003Csymbol>` | Show bull\u002Fbear odds and pool size for a market |\n| `info` | `\u003Csymbol>` | Detailed market info including contract, epoch, time to lock |\n| `bet` | `\u003Csymbol> \u003Cup\\|down> \u003Camount>` | Place a bet. Amount in USDC (e.g., `5` for $5) |\n| `claim` | `\u003Csymbol> \u003Cepoch> [epoch...]` | Claim winnings for settled epochs |\n| `claimable` | `\u003Csymbol> \u003Cepoch>` | Check if an epoch is claimable |\n\n**Environment:**\n\n| Variable | Default | Description |\n|---|---|---|\n| `BANKR_CONFIG` | `~\u002F.bankr\u002Fconfig.json` | Path to Bankr config file containing `apiKey` |\n\n## How It Works\n\n### Prediction Market Flow\n\n1. A **round** opens for a token (e.g., $AGBETS)\n2. Users bet **UP** (bull — price goes up) or **DOWN** (bear — price goes down) with USDC\n3. Betting window closes (typically 5 minutes)\n4. Price is **locked** at close\n5. After the round duration, price is checked again\n6. If price went up → bull wins. If down → bear wins.\n7. Winners split the entire pool proportional to their bet size (minus 3% fee)\n\n### Transaction Flow (via Bankr Submit API)\n\nAll on-chain transactions go through the Bankr Wallet API:\n\n1. Script fetches market data from `GET https:\u002F\u002Fagenticbets.dev\u002Fapi\u002Fbankr\u002Fmarkets`\n2. Script gets wallet address from `GET https:\u002F\u002Fapi.bankr.bot\u002Fwallet\u002Fme`\n3. For bets:\n   - Approve USDC spend: `POST https:\u002F\u002Fapi.bankr.bot\u002Fwallet\u002Fsubmit` with ERC20 `approve()` calldata\n   - Place bet: `POST https:\u002F\u002Fapi.bankr.bot\u002Fwallet\u002Fsubmit` with `bet()` calldata\n4. For claims: `POST https:\u002F\u002Fapi.bankr.bot\u002Fwallet\u002Fsubmit` with `claim()` calldata\n5. All transactions use `waitForConfirmation: true` and include a human-readable `description`\n\n### Bankr Submit API Reference\n\n**Endpoint:** `POST https:\u002F\u002Fapi.bankr.bot\u002Fwallet\u002Fsubmit`\n\n**Headers:**\n```\nX-API-Key: bk_YOUR_API_KEY\nContent-Type: application\u002Fjson\n```\n\n**Request body:**\n```json\n{\n  \"transaction\": {\n    \"to\": \"0xContractAddress\",\n    \"chainId\": 8453,\n    \"data\": \"0xCalldata...\",\n    \"value\": \"0\"\n  },\n  \"description\": \"Place $5 UP bet on AGBETS\",\n  \"waitForConfirmation\": true\n}\n```\n\n**Success response:**\n```json\n{\n  \"success\": true,\n  \"transactionHash\": \"0x...\",\n  \"status\": \"success\",\n  \"blockNumber\": \"12345678\",\n  \"signer\": \"0xYourWalletAddress\",\n  \"chainId\": 8453\n}\n```\n\n**Wallet info:** `GET https:\u002F\u002Fapi.bankr.bot\u002Fwallet\u002Fme` returns the wallet address and supported chains.\n\n## Contracts\n\n| Contract | Address | Tokens |\n|---|---|---|\n| BankrBetsPrediction V1 | `0xABADeb002247f2bd908Eeedb32918aEc304A0233` | CLAWD, MOLT, WCHAN |\n| BankrBetsPrediction V2 | `0x2CD785Ba87e0841A8458141bc43d23a56a00557f` | AGBETS |\n| USDC (Base) | `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913` | 6 decimals |\n\n### Contract Functions\n\n**bet(address _token, uint256 _amount, uint8 _position)**\n- `_token` — token contract address\n- `_amount` — USDC amount in raw units (multiply by 1e6)\n- `_position` — `0` = Bull (UP), `1` = Bear (DOWN)\n- Selector: `0x37a02e62`\n\n**claim(address _token, uint256[] _epochs)**\n- `_token` — token contract address\n- `_epochs` — array of epoch numbers to claim\n- Selector: `0x45718278`\n\n**claimable(address _token, uint256 _epoch, address _user) -> bool**\n- Returns true if the user has unclaimed winnings for that epoch\n- Selector: `0xd3c035fc`\n\n### USDC Approval\n\nBefore betting, the script approves USDC spend on the prediction contract:\n\n```\nERC20.approve(predictionContractAddress, betAmount)\n```\n- Selector: `0x095ea7b3`\n\n## Token Addresses\n\n| Token | Address | Prediction Contract |\n|---|---|---|\n| AGBETS | `0x37d183FCf1DA460a64D21E754b3E6144C4e11BA3` | V2 (`0x2CD785...`) |\n| All others | Varies (from API) | V1 (`0xABADeb...`) |\n\nUse the `\u002Fapi\u002Fbankr\u002Fmarkets` endpoint to get current token addresses — don't hardcode.\n\n## Markets API\n\n**GET** `https:\u002F\u002Fagenticbets.dev\u002Fapi\u002Fbankr\u002Fmarkets`\n\nReturns:\n```json\n{\n  \"markets\": [\n    {\n      \"token\": \"0x37d183FCf1DA460a64D21E754b3E6144C4e11BA3\",\n      \"symbol\": \"AGBETS\",\n      \"marketUrl\": \"https:\u002F\u002Fagenticbets.dev\u002Fmarket#...\",\n      \"poolUsdc\": 42.50,\n      \"bullPct\": 61.0,\n      \"bearPct\": 39.0,\n      \"lockTimestamp\": 1713100000,\n      \"secondsToLock\": 83,\n      \"predictionContract\": \"0x2CD785Ba87e0841A8458141bc43d23a56a00557f\",\n      \"status\": \"open\",\n      \"epoch\": \"5\",\n      \"poolAddress\": \"0x...\",\n      \"creator\": \"0x...\",\n      \"createdAt\": 1700000000,\n      \"contractVersion\": \"v2\"\n    }\n  ],\n  \"count\": 4,\n  \"updatedAt\": \"2026-04-14T12:00:00.000Z\"\n}\n```\n\n**Key fields:**\n- `status` — `\"open\"` (accepting bets), `\"locked\"` (waiting for settlement), `\"settled\"` (done)\n- `secondsToLock` — seconds until betting closes. `null` if not open.\n- `poolUsdc` — total USDC in the round pool\n- `bullPct` \u002F `bearPct` — current odds split\n- `predictionContract` — which contract to call for this token\n\n## Strategy Tips\n\n- **Check odds before betting.** If 90% of the pool is on one side, the other side pays ~10x if it wins.\n- **Pool size matters.** Larger pools = more reliable odds. Small pools can swing wildly with one bet.\n- **Time your bet.** Betting late (\u003C 30s to lock) lets you see the final odds but risks missing the window.\n- **Minimum bet is $1 USDC.** No maximum.\n- **Check balance first.** Make sure you have enough USDC on Base before betting (`bankr wallet portfolio`).\n\n## Examples\n\n### User: \"What prediction markets can I bet on?\"\n\n```bash\nscripts\u002Fagenticbets.py list open\n```\n\nResponse format:\n```\nOpen Markets:\n  $AGBETS — Pool: $42.50 | UP: 61% DOWN: 39% | Closes in 83s\n  $CLAWD — Pool: $18.00 | UP: 50% DOWN: 50% | Closes in 210s\n```\n\n### User: \"Bet $10 on AGBETS going up\"\n\n```bash\nscripts\u002Fagenticbets.py bet AGBETS up 10\n```\n\nSteps:\n1. Fetch market data → get token address + prediction contract\n2. Approve USDC via Bankr Submit: `ERC20.approve(0x2CD785..., 10000000)`\n3. Place bet via Bankr Submit: `BankrBetsPrediction.bet(0x37d183..., 10000000, 0)`\n4. Return tx hashes\n\n### User: \"Do I have any claimable winnings?\"\n\n```bash\nscripts\u002Fagenticbets.py claimable AGBETS 5\n```\n\nCalls `claimable(token, epoch, walletAddress)` — returns true\u002Ffalse.\n\n### User: \"Claim my AGBETS winnings from epoch 5\"\n\n```bash\nscripts\u002Fagenticbets.py claim AGBETS 5\n```\n\nSteps:\n1. Call `claim(0x37d183..., [5])` via Bankr Submit\n2. Return tx hash\n\n## References\n\n- **[references\u002Fagent-usage.md](references\u002Fagent-usage.md)** — Full agent guide: intent mapping, example conversations, pre-flight checks, error recovery, Markets API schema, and contract reference (calldata encoding, fees, round lifecycle)\n\n## Resources\n\n- **Website:** https:\u002F\u002Fagenticbets.dev\n- **Telegram Alerts:** https:\u002F\u002Ft.me\u002Fagenticbets\n- **GitHub:** https:\u002F\u002Fgithub.com\u002Fviraj124\u002Fagentic-bets\n- **MCP Server:** `npx agenticbets-mcp` (for Claude\u002FCursor users)\n",{"name":5,"metadata":43,"description":7},{"clawdbot":44},{"emoji":45,"homepage":46,"requires":47},"?","https:\u002F\u002Fagenticbets.dev",{"bins":48},[33,27],"main","82fb6583c8457bf1cbf87293c95642f184e9dbaf","skills\u002Fagenticbets",2,"https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource","https:\u002F\u002Fagentbot-studio.vercel.app","https:\u002F\u002Fgithub.com\u002FEskyee","https:\u002F\u002Fagentbot.sh","London-based indie founder. \r\nCreator of Agentbot.sh - BaseFM.space","2026-11-05 10:56:50",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add Eskyee\u002Fagentbot-opensource --skill agenticbets",{"tool":65,"command":66},"bunx","bunx skills add Eskyee\u002Fagentbot-opensource --skill agenticbets",{"tool":68,"command":69},"pnpm","pnpm dlx skills add Eskyee\u002Fagentbot-opensource --skill agenticbets","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fskills\u002Fagenticbets\u002FSKILL.md",true,[73,79],{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fagent-usage.md","REFERENCE","参考文档",11284,"https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fskills\u002Fagenticbets\u002Freferences\u002Fagent-usage.md",{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"scripts\u002Fagenticbets.py","SCRIPT","脚本",11156,"https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fskills\u002Fagenticbets\u002Fscripts\u002Fagenticbets.py",[86,99,133,154,177,185],{"skillNo":87,"name":88,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":96,"publishedAt":38},"01M6ET5WZACASAB0WXF3RWEA00","provisioning-v1","https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fweb\u002Fskills\u002Fprovisioning-v1\u002FSKILL.md",[91],{"categoryNo":92,"categoryName":93,"taxonomyType":94,"taxonomyTypeDesc":95},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[97,98],"provisioning v1","provisioning",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":113,"publishedAt":38},"01M6ET5R7WW7NHX7BBH6RR41SH","get-api-docs","Use this skill when you need documentation for a third-party library, SDK, or API before writing code that uses it — for example, \"use the OpenAI API\", \"call the Stripe API\", \"use the Anthropic SDK\", \"query Pinecone\", or any time the user asks you to write code against an external service and you need current API reference. Fetch the docs with chub before answering, rather than relying on training knowledge.","https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fweb\u002Fskills\u002Fget-api-docs\u002FSKILL.md",[105,108],{"categoryNo":106,"categoryName":107,"taxonomyType":94,"taxonomyTypeDesc":95},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":109,"categoryName":110,"taxonomyType":111,"taxonomyTypeDesc":112},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[114,36,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132],"docs","get api docs","get","writing","documentation","training","code","openai","openai api","library","knowledge","write","fetch","example","pinecone","stripe","query","time","anthropic sdk",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":38},"01M6ET5MHC01R668JHR5N0HGA1","zyfai","Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial deterministic subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit\u002Fwithdraw anytime.","https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fskills\u002Fzyfai\u002FSKILL.md",[],[135,140,141,142,143,144,145,146,147,148,149,150,30,151,152,153],"passive","non-custodial","arbitrum","yield","withdraw","Optimization","deposit","defi","deterministic","base","Wallet","user","safe","ethereum",{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":161,"publishedAt":38},"01M6ET5FA594JNMY39RN003ANW","zerion","Interpreted crypto wallet data for AI agents. Use when an agent needs portfolio values, token positions, DeFi positions, NFT holdings, transaction history, PnL data, token prices, charts, gas prices, swap quotes, or DApp information across 41+ chains. Zerion transforms raw blockchain data into agent-ready JSON with USD values, protocol labels, and enriched metadata. Supports x402 pay-per-request ($0.01 USDC on Base) and API key access. Triggers on mentions of portfolio, wallet analysis, positions, transactions, PnL, profit\u002Floss, DeFi, token balances, NFTs, swap quotes, gas prices, or Zerion.","https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fskills\u002Fzerion\u002FSKILL.md",[160],{"categoryNo":106,"categoryName":107,"taxonomyType":94,"taxonomyTypeDesc":95},[156,162,163,164,165,166,167,168,24,169,170,171,150,172,173,174,175,35,176,36],"information","data","ai agents","analysis","x402","transforms","nfts","nft","across","usd","ready","portfolio","gas","access","Charts",{"skillNo":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":183,"publishedAt":38},"01M6ET5C758AY90H4E0AWAJ9JR","zapper","Placeholder for Zapper skill.","https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fskills\u002Fzapper\u002FSKILL.md",[],[179,184],"placeholder",{"skillNo":186,"name":187,"nameZh":6,"description":188,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":189,"categories":190,"keywords":191,"publishedAt":38},"01M6ET5965RAA4BZNSWEVK3MGW","yoink","Play Yoink, an onchain capture-the-flag game on Base. Yoink the flag from the current holder, check game stats and leaderboards, view player scores, and compete for the trophy. Uses Bankr for transaction execution.","https:\u002F\u002Fgithub.com\u002FEskyee\u002Fagentbot-opensource\u002Fblob\u002Fmain\u002Fskills\u002Fyoink\u002FSKILL.md",[],[187,31,192,193,194,27,149,195,32,196,197,198,199,200,201,202,203],"org","compete","transaction","onchain","capture","jq","curl","game","execution","stats","https","play"]