Agenticbets
Place prediction bets on token prices on Base via AgenticBets.
Install
npx skills add BankrBot/skills --skill agenticbets -g -a claude-code -y- Repository
- BankrBot/skills1.2k
- Category
- Engineering
- Updated
- 5d ago
- License
- See repository
- Context cost
- Mediumabout 2,238 tokens
- Runs scripts
- Yes, review before use
What it does
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.
AgenticBets
Prediction markets on Base. Bet UP or DOWN on token prices with USDC.
When To Use
Use AgenticBets when the user wants to:
- Bet on whether a token price goes up or down (e.g., "bet $5 UP on AGBETS")
- Check prediction market odds (e.g., "what are the odds on AGBETS?")
- See which markets are open (e.g., "what prediction markets can I bet on?")
- Claim winnings from settled rounds
- Check their bet status or claimable winnings
Prerequisites
Bankr CLI
Install the Bankr CLI and log in to get an API key:
bun install -g @bankr/cli
# or: npm install -g @bankr/cli
Bankr API Key
The scripts read the API key from ~/.bankr/config.json (or $BANKR_CONFIG if set).
Option A: CLI login (recommended)
# Step 1, send OTP
bankr login email user@example.com
# Step 2, verify and generate key with write access
bankr login email user@example.com --code 123456 --accept-terms --key-name "AgenticBets" --read-write
Option B: Web login
- Visit bankr.bot/api-keys
- Sign in with email + OTP
- Generate an API key with Wallet API write access enabled
The 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.
USDC Balance
Make sure your Bankr wallet has USDC on Base before betting. Check with:
bankr wallet portfolio
Quick Start
List Open Markets
What prediction markets are open on AgenticBets?
scripts/agenticbets.py list
Check Odds
What are the odds on AGBETS?
scripts/agenticbets.py odds AGBETS
Place a Bet
Bet $5 UP on AGBETS
scripts/agenticbets.py bet AGBETS up 5
Claim Winnings
Claim my AgenticBets winnings for AGBETS epoch 42
scripts/agenticbets.py claim AGBETS 42
