[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H25JSSSJPMZWZVTYPJB2H9":3,"skill-same:01M6H25JSSSJPMZWZVTYPJB2H9":99},{"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":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":58,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"01M6H25JSSSJPMZWZVTYPJB2H9","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.","jiayaoqijia\u002Fcryptoskill","jiayaoqijia","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1453879?v=4","01M6GMYTX7Q7S504VC6E756ENR","YQ","01M6GMYV1QKJ1CC75MTTGT9PR0",81,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Ftrading\u002Fbankrbot-official-agenticbets\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"token","prediction","when","down","prices","clawd","more","betting","markets","submit","tokens","go","active","claim","bankr","up","view","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-keys](https:\u002F\u002Fbankr.bot\u002Fapi-keys)\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-keys](https:\u002F\u002Fbankr.bot\u002Fapi-keys)\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":46,"description":7},{"clawdbot":47},{"emoji":48,"homepage":49,"requires":50},"?","https:\u002F\u002Fagenticbets.dev",{"bins":51},[36,33],"main","3df1d0d67b30ff15236561f8c0f9f06d33f42dfd","skills\u002Ftrading\u002Fbankrbot-official-agenticbets",17,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia","https:\u002F\u002Feth2030.com","Hardcore infra. Building @alt-research and applied cryptography.","2026-11-15 02:28:10",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add jiayaoqijia\u002Fcryptoskill --skill agenticbets",{"tool":67,"command":68},"bunx","bunx skills add jiayaoqijia\u002Fcryptoskill --skill agenticbets",{"tool":70,"command":71},"pnpm","pnpm dlx skills add jiayaoqijia\u002Fcryptoskill --skill agenticbets","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Ftrading\u002Fbankrbot-official-agenticbets\u002FSKILL.md",true,[75,81,85,91,95],{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"catalog.json","REFERENCE","参考文档",981,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Ftrading\u002Fbankrbot-official-agenticbets\u002Fcatalog.json",{"path":82,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fagent-usage.md",11289,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Ftrading\u002Fbankrbot-official-agenticbets\u002Freferences\u002Fagent-usage.md",{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"scripts\u002Fagenticbets.py","SCRIPT","脚本",11156,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Ftrading\u002Fbankrbot-official-agenticbets\u002Fscripts\u002Fagenticbets.py",{"path":92,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":93,"sourceHtmlUrl":94},"SOURCE.md",321,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Ftrading\u002Fbankrbot-official-agenticbets\u002FSOURCE.md",{"path":96,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":97,"sourceHtmlUrl":98},"TRUST.auto.yaml",2077,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Ftrading\u002Fbankrbot-official-agenticbets\u002FTRUST.auto.yaml",[100,129,151,169,182,192],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":104,"licenseFileUrl":105,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":41},"01M712C436EQYE43342Q4E7GG1","recipe-performance","Diagnose a specific MetaMask user flow's real-app performance and Sentry critical-user-flow telemetry with deterministic mm-harness recipes. Use for CUF boundaries, cold\u002Fwarm\u002Fbackground-resume behavior, latency regressions, lifecycle tags, duplicate or blocking network requests, long tasks, layout\u002Fpaint cost, screen redraws, React rerenders, or browser trace analysis where tests alone cannot prove the real app.","MIT","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fwallets\u002Fmetamask-official-recipe-performance\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fwallets\u002Fmetamask-official-recipe-performance\u002FSKILL.md",[],[109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128],"performance","recipe performance","recipe","mm","sentry","harness","app","deterministic","recipes","flow","cold","critical","analysis","tasks","react","browser","layout","screen","network","metamask",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":133,"licenseFileUrl":134,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":41},"01M70XT2F8A5CQZ81JBP98KSW3","mexc-spot-websocket","MEXC Spot WebSocket workflows for public streams, protobuf handling, depth maintenance, listen keys, and private streams without exposing API keys.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fmncrftfrcnm-mexc-spot-websocket\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fmncrftfrcnm-mexc-spot-websocket\u002FSKILL.md",[],[138,139,140,39,141,142,143,144,145,146,147,148,149,150],"mexc spot websocket","spot","websocket","workflows","public","listen","streams","depth","keys","for","api keys","maintenance","protobuf",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":133,"licenseFileUrl":155,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":41},"01M70XT0MBXN3WZY1BKN0CPNKR","mexc-spot-rest","MEXC Spot REST workflows for public data, signed account requests, orders, wallet\u002Fadmin actions, and secure signing without exposing API keys.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fmncrftfrcnm-mexc-spot-rest\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fmncrftfrcnm-mexc-spot-rest\u002FSKILL.md",[],[159,139,160,161,162,163,164,148,147,146,165,166,167,142,168,141,39],"mexc spot rest","REST","admin","signing","Wallet","requests","actions","secure","data","orders",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":133,"licenseFileUrl":173,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":41},"01M70XSYSVZ2N0N91XCAR2CAK0","mexc-futures-websocket","MEXC Futures WebSocket workflows for public streams, private account\u002Forder\u002Fposition streams, ping\u002Fpong, subscriptions, and depth maintenance.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fmncrftfrcnm-mexc-futures-websocket\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fexchanges\u002Fmncrftfrcnm-mexc-futures-websocket\u002FSKILL.md",[],[177,178,140,179,180,149,147,181,145,144,142,141],"mexc futures websocket","futures","position","ping","subscriptions",{"skillNo":183,"name":184,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":104,"licenseFileUrl":185,"sourceHtmlUrl":186,"categories":187,"keywords":188,"publishedAt":41},"01M6H0ZWHVE5W04WG2DKQE2SQC","0xklen-version-and-refresh-sanctions-lists","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-version-and-refresh-sanctions-lists\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-version-and-refresh-sanctions-lists\u002FSKILL.md",[],[189,190,191],"refresh","0xklen version and refresh sanctions lists","version",{"skillNo":193,"name":194,"nameZh":6,"description":195,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":104,"licenseFileUrl":196,"sourceHtmlUrl":197,"categories":198,"keywords":199,"publishedAt":41},"01M6H0Z28Q3R8J0S799GJQWXM3","verify-tests-cover-changed-lines","Use when a PR adds code that the existing suite may not exercise. Measures patch coverage — the share of newly changed lines hit by tests — before approving.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-verify-tests-cover-changed-lines\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-verify-tests-cover-changed-lines\u002FSKILL.md",[],[200,201,202,203,204,205,206,207,208,209,210],"tests","cover","verify tests cover changed lines","verify","coverage","pr","exercise","use","patch","code","share"]