Vig Calculator

v1.1.0

Calculate vig (juice/overround/hold) for any sportsbook market. Convert odds to no-vig fair lines. Rank books by efficiency. Use when asked about vig, juice,...

0· 148·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for rsquaredsolutions2026/vig-calculator.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Vig Calculator" (rsquaredsolutions2026/vig-calculator) from ClawHub.
Skill page: https://clawhub.ai/rsquaredsolutions2026/vig-calculator
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required binaries: python3
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install vig-calculator

ClawHub CLI

Package manager switcher

npx clawhub@latest install vig-calculator
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (vig calculator) align with required binary (python3) and the provided one-line Python calculation; nothing requested that is unrelated to sportsbook vig calculations.
Instruction Scope
SKILL.md contains a single Python one-liner that computes implied probabilities, vig, hold, and no-vig fair lines from provided odds; it does not read files, access environment variables, or transmit data externally.
Install Mechanism
No install spec or external downloads; instruction-only skill that relies on an existing python3 binary — low risk and proportionate.
Credentials
Requires no environment variables or credentials; requested resources are minimal and appropriate for the stated computation task.
Persistence & Privilege
Does not request always:true or any persistent/system-wide changes; default invocation model is allowed but not elevated beyond normal skill behavior.
Assessment
This skill is instruction-only and locally runs a Python one-liner to compute vig and fair probabilities — minimal risk. Before installing, ensure python3 is the expected interpreter on your system. Verify you trust the skill owner if you plan to follow external links in the documentation (the SKILL.md references agentbets.ai) but note the skill does not automatically fetch or send data to that site. If you require stricter isolation, run the command in a sandbox or inspect the one-liner locally before use.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

🧮 Clawdis
Binspython3
agentbetsvk979aj42aksjayq0r2t3zg530583kb8qbettingvk979aj42aksjayq0r2t3zg530583kb8qlatestvk979aj42aksjayq0r2t3zg530583kb8qopenclawvk979aj42aksjayq0r2t3zg530583kb8qprediction-marketsvk979aj42aksjayq0r2t3zg530583kb8qsports-bettingvk979aj42aksjayq0r2t3zg530583kb8q
148downloads
0stars
2versions
Updated 1mo ago
v1.1.0
MIT-0

Vig Calculator

Calculate the vig (juice/overround) for any sportsbook market and rank books by efficiency.

When to Use

Use this skill when the user asks about:

  • Vig, juice, or overround on a market
  • Hold percentage for a sportsbook
  • Removing vig to find fair/true odds
  • Ranking sportsbooks by efficiency or sharpness
  • Which book has the lowest juice
  • The AgentBets Vig Index

Operations

1. Calculate Vig for a Two-Way Market

Given American odds for both sides:

python3 -c "
import sys
odds = [int(x) for x in sys.argv[1:]]
probs = []
for o in odds:
    if o < 0:
        probs.append(abs(o) / (abs(o) + 100))
    else:
        probs.append(100 / (o + 100))
total = sum(probs)
vig = (total - 1) * 100
hold = (1 - 1/total) * 100
print(f'Implied probs: {[round(p*100,2) for p in probs]}%')
print(f'Sum: {round(total*100,2)}%')
print(f'Vig (overround): {round(vig,2)}%')
print(f'Hold: {round(hold,2)}%')
fair = [round(p/total*100,2) for p in probs]
print(f'No-vig fair probs: {fair}%')
" ODDS_SIDE_A ODDS_SIDE_B

## About

Built by [AgentBets](https://agentbets.ai) — full tutorial at [agentbets.ai/guides/openclaw-vig-calculator-skill/](https://agentbets.ai/guides/openclaw-vig-calculator-skill/).

Part of the [OpenClaw Skills series](https://agentbets.ai/guides/#openclaw-skills) for the [Agent Betting Stack](https://agentbets.ai/guides/agent-betting-stack/).

Comments

Loading comments...