Logo di Agenticbets

Agenticbets

OrganizzazionePopolare
BankrBot
agenticbets

Piazza scommesse predittive sui prezzi dei token su Base tramite AgenticBets. Usa questa skill quando l’utente vuole scommettere al RIALZO o al RIBASSO sul prezzo di un token, consultare le quote dei mercati predittivi, vedere i round di scommesse aperti o riscuotere le vincite dei round conclusi. Supporta tutti i token con mercati attivi su AgenticBets (AGBETS, CLAWD, MOLT, WCHAN e altri). Usa Bankr Submit API per eseguire le transazioni di scommessa e riscossione su Base.

Add to TypingMind

Panoramica

Pubblicato daBankrBot
Repositoryskills
Nome della skillagenticbets
Stelle
1.2K
Fork
622
File inclusi
3
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 3

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da BankrBot su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Agenticbets in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/BankrBot/skills/tree/main/agenticbets
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/BankrBot/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/agenticbets .claude/skills/agenticbets
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Agenticbets in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Agenticbets non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Agenticbets non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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:

bash
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)

bash
# 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

  1. Visit bankr.bot/api-keys
  2. Sign in with email + OTP
  3. 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:

bash
bankr wallet portfolio

Quick Start

List Open Markets

What prediction markets are open on AgenticBets?
bash
scripts/agenticbets.py list

Check Odds

What are the odds on AGBETS?
bash
scripts/agenticbets.py odds AGBETS

Place a Bet

Bet $5 UP on AGBETS
bash
scripts/agenticbets.py bet AGBETS up 5

Claim Winnings

Claim my AgenticBets winnings for AGBETS epoch 42
bash
scripts/agenticbets.py claim AGBETS 42

Script Usage

agenticbets.py

Single script that handles all AgenticBets operations. Reads and writes use the Bankr Wallet API.

scripts/agenticbets.py <command> [args...]

Commands:

CommandArgsDescription
list[status]List markets. Status: all, open, locked, settled (default: open)
odds<symbol>Show bull/bear odds and pool size for a market
info<symbol>Detailed market info including contract, epoch, time to lock
bet<symbol> <up|down> <amount>Place a bet. Amount in USDC (e.g., 5 for $5)
claim<symbol> <epoch> [epoch...]Claim winnings for settled epochs
claimable<symbol> <epoch>Check if an epoch is claimable

Environment:

VariableDefaultDescription
BANKR_CONFIG~/.bankr/config.jsonPath to Bankr config file containing apiKey

How It Works

Prediction Market Flow

  1. A round opens for a token (e.g., $AGBETS)
  2. Users bet UP (bull — price goes up) or DOWN (bear — price goes down) with USDC
  3. Betting window closes (typically 5 minutes)
  4. Price is locked at close
  5. After the round duration, price is checked again
  6. If price went up → bull wins. If down → bear wins.
  7. Winners split the entire pool proportional to their bet size (minus 3% fee)

Transaction Flow (via Bankr Submit API)

All on-chain transactions go through the Bankr Wallet API:

  1. Script fetches market data from GET https://agenticbets.dev/api/bankr/markets
  2. Script gets wallet address from GET https://api.bankr.bot/wallet/me
  3. For bets:
    • Approve USDC spend: POST https://api.bankr.bot/wallet/submit with ERC20 approve() calldata
    • Place bet: POST https://api.bankr.bot/wallet/submit with bet() calldata
  4. For claims: POST https://api.bankr.bot/wallet/submit with claim() calldata
  5. All transactions use waitForConfirmation: true and include a human-readable description

Bankr Submit API Reference

Endpoint: POST https://api.bankr.bot/wallet/submit

Headers:

X-API-Key: bk_YOUR_API_KEY
Content-Type: application/json

Request body:

json
{
  "transaction": {
    "to": "0xContractAddress",
    "chainId": 8453,
    "data": "0xCalldata...",
    "value": "0"
  },
  "description": "Place $5 UP bet on AGBETS",
  "waitForConfirmation": true
}

Success response:

json
{
  "success": true,
  "transactionHash": "0x...",
  "status": "success",
  "blockNumber": "12345678",
  "signer": "0xYourWalletAddress",
  "chainId": 8453
}

Wallet info: GET https://api.bankr.bot/wallet/me returns the wallet address and supported chains.

Contracts

ContractAddressTokens
BankrBetsPrediction V10xABADeb002247f2bd908Eeedb32918aEc304A0233CLAWD, MOLT, WCHAN
BankrBetsPrediction V20x2CD785Ba87e0841A8458141bc43d23a56a00557fAGBETS
USDC (Base)0x833589fCD6eDb6E08f4c7C32D4f71b54bdA029136 decimals

Contract Functions

bet(address _token, uint256 _amount, uint8 _position)

  • _token — token contract address
  • _amount — USDC amount in raw units (multiply by 1e6)
  • _position — 0 = Bull (UP), 1 = Bear (DOWN)
  • Selector: 0x37a02e62

claim(address _token, uint256[] _epochs)

  • _token — token contract address
  • _epochs — array of epoch numbers to claim
  • Selector: 0x45718278

claimable(address _token, uint256 _epoch, address _user) -> bool

  • Returns true if the user has unclaimed winnings for that epoch
  • Selector: 0xd3c035fc

USDC Approval

Before betting, the script approves USDC spend on the prediction contract:

ERC20.approve(predictionContractAddress, betAmount)
  • Selector: 0x095ea7b3

Token Addresses

TokenAddressPrediction Contract
AGBETS0x37d183FCf1DA460a64D21E754b3E6144C4e11BA3V2 (0x2CD785...)
All othersVaries (from API)V1 (0xABADeb...)

Use the /api/bankr/markets endpoint to get current token addresses — don't hardcode.

Markets API

GET https://agenticbets.dev/api/bankr/markets

Returns:

json
{
  "markets": [
    {
      "token": "0x37d183FCf1DA460a64D21E754b3E6144C4e11BA3",
      "symbol": "AGBETS",
      "marketUrl": "https://agenticbets.dev/market#...",
      "poolUsdc": 42.50,
      "bullPct": 61.0,
      "bearPct": 39.0,
      "lockTimestamp": 1713100000,
      "secondsToLock": 83,
      "predictionContract": "0x2CD785Ba87e0841A8458141bc43d23a56a00557f",
      "status": "open",
      "epoch": "5",
      "poolAddress": "0x...",
      "creator": "0x...",
      "createdAt": 1700000000,
      "contractVersion": "v2"
    }
  ],
  "count": 4,
  "updatedAt": "2026-04-14T12:00:00.000Z"
}

Key fields:

  • status — "open" (accepting bets), "locked" (waiting for settlement), "settled" (done)
  • secondsToLock — seconds until betting closes. null if not open.
  • poolUsdc — total USDC in the round pool
  • bullPct / bearPct — current odds split
  • predictionContract — which contract to call for this token

Strategy Tips

  • Check odds before betting. If 90% of the pool is on one side, the other side pays ~10x if it wins.
  • Pool size matters. Larger pools = more reliable odds. Small pools can swing wildly with one bet.
  • Time your bet. Betting late (< 30s to lock) lets you see the final odds but risks missing the window.
  • Minimum bet is $1 USDC. No maximum.
  • Check balance first. Make sure you have enough USDC on Base before betting (bankr wallet portfolio).

Examples

User: "What prediction markets can I bet on?"

bash
scripts/agenticbets.py list open

Response format:

Open Markets:
  $AGBETS — Pool: $42.50 | UP: 61% DOWN: 39% | Closes in 83s
  $CLAWD — Pool: $18.00 | UP: 50% DOWN: 50% | Closes in 210s

User: "Bet $10 on AGBETS going up"

bash
scripts/agenticbets.py bet AGBETS up 10

Steps:

  1. Fetch market data → get token address + prediction contract
  2. Approve USDC via Bankr Submit: ERC20.approve(0x2CD785..., 10000000)
  3. Place bet via Bankr Submit: BankrBetsPrediction.bet(0x37d183..., 10000000, 0)
  4. Return tx hashes

User: "Do I have any claimable winnings?"

bash
scripts/agenticbets.py claimable AGBETS 5

Calls claimable(token, epoch, walletAddress) — returns true/false.

User: "Claim my AGBETS winnings from epoch 5"

bash
scripts/agenticbets.py claim AGBETS 5

Steps:

  1. Call claim(0x37d183..., [5]) via Bankr Submit
  2. Return tx hash

References

  • references/agent-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)

Resources

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Agenticbets?

Piazza scommesse predittive sui prezzi dei token su Base tramite AgenticBets. Usa questa skill quando l’utente vuole scommettere al RIALZO o al RIBASSO sul prezzo di un token, consultare le quote dei mercati predittivi, vedere i round di scommesse aperti o riscuotere le vincite dei round conclusi. Supporta tutti i token con mercati attivi su AgenticBets (AGBETS, CLAWD, MOLT, WCHAN e altri). Usa Bankr Submit API per eseguire le transazioni di scommessa e riscossione su Base.

Perché usare Agenticbets su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Agenticbets è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Agenticbets in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/BankrBot/skills/tree/main/agenticbets. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Agenticbets?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Agenticbets?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Agenticbets: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Agenticbets è gratuita?

È pubblicata su GitHub da BankrBot. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇