Xpersona
B

Betting

CLAWHUB · Unverified

Betting analysis — odds conversion, de-vigging, edge detection, Kelly criterion, arbitrage detection, parlay analysis, and line movement. Pure computation, n... Skill: Betting Owner: antonelli182 Summary: Betting analysis — odds conversion, de-vigging, edge detection, Kelly criterion, arbitrage detection, parlay analysis, and line movement. Pure computation, n... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-11T19:19:39.779Z | auto - Initial release of the betting analysis skill with computation-only functionality. - Supports odds conversion, de-vigging, edge and expe

62
Rank
84
Safety
953
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 953 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1723h1tj3z971jmzpyq2g910d84mph4:sports-skills-betting
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-antonelli182-sports-skills-betting/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

12,888 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: betting
description: |
  Betting analysis — odds conversion, de-vigging, edge detection, Kelly criterion, arbitrage detection, parlay analysis, and line movement. Pure computation, no API calls. Works with odds from any source: ESPN (American odds), Polymarket (decimal probabilities), Kalshi (integer probabilities).

  Use when: user asks about bet sizing, expected value, edge analysis, Kelly criterion, arbitrage, parlays, line movement, odds conversion, or comparing odds across sources. Also use when you have odds from ESPN and a prediction market price and want to evaluate whether a bet has positive expected value.
  Don't use when: user asks for live odds or market data — use polymarket, kalshi, or the sport-specific skill to fetch odds first, then use this skill to analyze them.
license: MIT
metadata:
  author: machina-sports
  version: "0.2.0"
---

# Betting Analysis

Before writing queries, consult `references/api-reference.md` for odds formats, command parameters, and key concepts.

## Quick Start

```bash
sports-skills betting convert_odds --odds=-150 --from_format=american
sports-skills betting devig --odds=-150,+130 --format=american
sports-skills betting find_edge --fair_prob=0.58 --market_prob=0.52
sports-skills betting evaluate_bet --book_odds=-150,+130 --market_prob=0.52
sports-skills betting find_arbitrage --market_probs=0.48,0.49
sports-skills betting parlay_analysis --legs=0.58,0.62,0.55 --parlay_odds=600
sports-skills betting line_movement --open_odds=-140 --close_odds=-160
```

Python SDK:
```python
from sports_skills import betting

betting.convert_odds(odds=-150, from_format="american")
betting.devig(odds="-150,+130", format="american")
betting.find_edge(fair_prob=0.58, market_prob=0.52)
betting.find_arbitrage(market_probs="0.48,0.49")
betting.parlay_analysis(legs="0.58,0.62,0.55", parlay_odds=600)
betting.line_movement(open_odds=-140, close_odds=-160)
```

## CRITICAL: Before Any Analysis

CRITICAL: Before calling any analysis command, verify:
- Odds format is correctly identified (american, decimal, or probability).
- ESPN odds are de-vigged with `devig` before computing edge vs prediction market prices.
- This module computes — it does not fetch. Obtain odds from sport-specific skills or polymarket/kalshi first.

## Workflows

### Compare ESPN vs Polymarket/Kalshi

1. Get ESPN moneyline odds (e.g., from `nba get_scoreboard`): Home: `-150`, Away: `+130`
2. Get Polymarket/Kalshi price for the same outcome (e.g., home at `0.52`)
3. De-vig: `devig --odds=-150,+130 --format=american` → Fair: Home 57.9%, Away 42.1%
4. Compare: `find_edge --fair_prob=0.579 --market_prob=0.52` → Edge: 5.9%, EV: 11.3%
5. Or all in one step: `evaluate_bet --book_odds=-150,+130 --market_prob=0.52`

### Arbitrage Detection

1. Get best price per outcome from different sources (Polymarket home at 0.48, Kalshi away at 0.49)
2. `find_arbitrage --market_probs=0.48,0.49 --labels=home,away`
3. Total implied 0.97 (< 1.0) → arbitrage found, guarante

_meta.json

{
  "ownerId": "kn71rx1m8k9nq4kk340kd8pvs980a4j8",
  "slug": "sports-skills-betting",
  "version": "1.0.0",
  "publishedAt": 1775935179779
}

references/api-reference.md

# Betting Analysis — API Reference

## Odds Formats

| Format | Example | Description |
|---|---|---|
| American | `-150`, `+130` | US sportsbook standard. Negative = favorite, positive = underdog |
| Decimal | `1.67`, `2.30` | European standard. Payout per $1 (includes stake) |
| Probability | `0.60`, `0.43` | Direct implied probability (0-1). Polymarket uses this format |

**Conversion rules:**
- American negative: prob = -odds / (-odds + 100). Example: -150 → 150/250 = 0.600
- American positive: prob = 100 / (odds + 100). Example: +130 → 100/230 = 0.435
- Decimal: prob = 1 / odds. Example: 1.67 → 0.599
- Kalshi prices (0-100 integer): divide by 100 to get probability format

## Commands

| Command | Required | Optional | Description |
|---|---|---|---|
| `convert_odds` | odds, from_format | | Convert between American, decimal, probability |
| `devig` | odds | format | Remove vig from sportsbook odds → fair probabilities |
| `find_edge` | fair_prob, market_prob | | Compute edge, EV, and Kelly from two probabilities |
| `kelly_criterion` | fair_prob, market_prob | | Kelly fraction for optimal bet sizing |
| `evaluate_bet` | book_odds, market_prob | book_format, outcome | Full pipeline: devig → edge → Kelly |
| `find_arbitrage` | market_probs | labels | Detect arbitrage across outcomes from multiple sources |
| `parlay_analysis` | legs, parlay_odds | odds_format, correlation | Multi-leg parlay EV and Kelly analysis |
| `line_movement` | | open_odds, close_odds, open_line, close_line, market_type | Analyze open-to-close line movement |

## Key Concepts

- **Vig/Juice**: The sportsbook's margin. A -110/-110 line implies 52.4% + 52.4% = 104.8% total (4.8% overround). De-vigging removes this to get fair probabilities.
- **Edge**: The difference between your estimated true probability and the market price. Positive edge = profitable in expectation.
- **Kelly Criterion**: Optimal bet sizing. f* = (fair_prob - market_prob) / (1 - market_prob). For conservative sizing, use half-Kelly (×0.5) or quarter-Kelly (×0.25).
- **Expected Value (EV)**: Average return per dollar bet. EV = fair_prob / market_prob - 1.
- **Arbitrage**: When prices across sources don't sum to 100%, you can bet all outcomes and guarantee profit regardless of the result.
- **Parlay**: Multi-leg bet where all legs must win. Combined probability = product of individual leg probabilities. Higher risk, higher reward.
- **Line Movement**: How odds change between open and close. Large moves toward one side suggest sharp/professional money. Reverse line movement (ML and spread moving opposite directions) suggests a public vs sharp split.

skill-card.md

## Description:

Betting analysis for odds conversion, de-vigging, edge detection, Kelly criterion, arbitrage detection, parlay analysis, and line movement using odds from external sources.

This skill is ready for commercial/non-commercial use.

## Publisher:

[antonelli182](https://clawhub.ai/user/antonelli182)

### License/Terms of Use:

MIT-0

## Use Case:

Agents and users use this skill to analyze already-supplied sportsbook or prediction-market odds for expected value, stake sizing, arbitrage, parlays, and line movement. It is computation-only and does not fetch live odds or market data.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Bet sizing, edge, EV, arbitrage, and Kelly outputs may be mistaken for guaranteed profit or financial advice.

Mitigation: Treat outputs as informational, verify inputs independently, use conservative bankroll limits, and follow applicable gambling laws and responsible-gambling safeguards.

Risk: Incorrect odds formats or skipped de-vigging can produce misleading edge calculations.

Mitigation: Confirm the odds format before analysis and de-vig sportsbook odds before comparing against prediction-market probabilities.

## Reference(s):

- [Betting Analysis API Reference](references/api-reference.md)
- [ClawHub Skill Page](https://clawhub.ai/antonelli182/skills/sports-skills-betting)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, guidance]

**Output Format:** [Markdown with computed betting-analysis results and inline command examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [No network fetching; outputs depend on user-supplied odds and probabilities.]

## Skill Version(s):

1.0.0 (source: server release metadata; artifact metadata.version is 0.2.0)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Betting and adjacent AI workflows.