Agent skill · Audited from source
Agenticbets
skill · BankrBot/skillsLicence not declaredAudited 9 Oct 2026 · source 4029e336cef5
Is it safe? With care — CAUTION, grade B (89/100). We read this skill's source at commit 4029e336cef5 and observed network access and no hard-coded secrets. The audit raised 2 findings, 1 critical or high. 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…
Cite
Cite this page
ModelsAtlas. “Agenticbets (BankrBot/skills)”. Retrieved 9 Oct 2026. https://modelsatlas.com/skills/bankrbot/agenticbets
Trust audit
Audit 0.4.1 · source read 9 Oct 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkDeclared5 observations
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | FAIL | 2 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (2)
HIGHPrompt injectionprompt.credential_read · SKILL.md:41
The scripts read the API key from `~/.bankr/config.json` (or `$BANKR_CONFIG` if set).
- Why
- asks the agent to read credentials
- Fix
- —
INFOPrompt injectionprompt.credential_read · references/agent-usage.md:97
| `Read-only API key` | API key lacks write permission | Regenerate with `--read-write` |
- Why
- asks the agent to read credentials
- Fix
- —
Audit 0.4.1 · source sha 4029e336cef5 · 9 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublisherBankrBot GitHub organizationOwner of the repository this skill is read from
- Source folderBankrBot/skills/agenticbetsThe exact folder we audited
- LicenceNot declaredAs the repository states it
- Commit pinned for this verdict4029e336cef5A new audit runs when the source changes
- Repository statusNot archivedLast push 3 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: 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…
---
name: agenticbets
description: 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.
metadata:
{
"clawdbot":
{
"emoji": "🎲",
"homepage": "https://agenticbets.dev",
"requires": { "bins": ["python3", "bankr"] },
},
}
---
# 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 [email protected]
# Step 2 — verify and generate key with write access
bankr login email [email protected] --code 123456 --accept-terms --key-name "AgenticBets" --read-write
```
**Option B: Web login**
1. Visit [bankr.bot/api-keys](https://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:**
| Command | Args | Description |
|---|---|---|
| `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:**
| Variable | Default | Description |
|---|---|---|
| `BANKR_CONFIG` | `~/.bankr/config.json` | Path 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
| Contract | Address | Tokens |
|---|---|---|
| BankrBetsPrediction V1 | `0xABADeb002247f2bd908Eeedb32918aEc304A0233` | CLAWD, MOLT, WCHAN |
| BankrBetsPrediction V2 | `0x2CD785Ba87e0841A8458141bc43d23a56a00557f` | AGBETS |
| USDC (Base) | `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913` | 6 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 _toExcerpt, first 6,001 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 4029e33
git clone https://github.com/BankrBot/skills git -C skills checkout 4029e336cef5
The author documents no install command, so this uses the repository directly. Our verdict covers commit 4029e336cef5 only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Cursor | Mentioned in its text, not tested | Skills for Cursor · About Cursor |
Audit history
Every audit, every source change
- !CAUTION B 89 / 100
first audit · source
4029e336cef5
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/bankrbot/agenticbets/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
obra/superpowers
Use when creating new skills, editing existing skills, or verifying skills work before deployment
obra/superpowers
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions…
obra/superpowers
Use when you have a spec or requirements for a multi-step task, before touching code
obra/superpowers
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions
obra/superpowers
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback
obra/superpowers
Use when implementing any feature or bugfix, before writing implementation code
Add this badge to your README
[](https://modelsatlas.com/skills/bankrbot/agenticbets/)
<a href="https://modelsatlas.com/skills/bankrbot/agenticbets/"><img src="https://modelsatlas.com/skills/bankrbot/agenticbets/badge.svg" alt="ModelsAtlas: CAUTION B"></a>
Questions about Agenticbets
What does the Agenticbets skill do?
Is Agenticbets safe to install?
What can Agenticbets access on my machine?
Which assistants does Agenticbets work with?
How current is this page?
Sources
- github.com/BankrBot/skills/tree/main/agenticbets — the audited source at commit 4029e336cef5 and every finding aboveObserved · 9 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Agenticbets skill do?
- Is Agenticbets safe to install?
- What can Agenticbets access on my machine?