[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FCNZEE9G5FG6B1KFTSQ096":3,"skill-same:01M6FCNZEE9G5FG6B1KFTSQ096":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M6FCNZEE9G5FG6B1KFTSQ096","betting",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fmachina-sports\u002Fsports-skills\u002Fbetting\u002FSKILL.md",[],[5],"2026-11-10 10:12:30",false,"# Betting Analysis\n\nBefore writing queries, consult `references\u002Fapi-reference.md` for odds formats, command parameters, and key concepts.\n\n## Quick Start\n\n```bash\nsports-skills betting convert_odds --odds=-150 --from_format=american\nsports-skills betting devig --odds=-150,+130 --format=american\nsports-skills betting find_edge --fair_prob=0.58 --market_prob=0.52\nsports-skills betting evaluate_bet --book_odds=-150,+130 --market_prob=0.52\nsports-skills betting find_arbitrage --market_probs=0.48,0.49\nsports-skills betting parlay_analysis --legs=0.58,0.62,0.55 --parlay_odds=600\nsports-skills betting line_movement --open_odds=-140 --close_odds=-160\n```\n\nPython SDK:\n```python\nfrom sports_skills import betting\n\nbetting.convert_odds(odds=-150, from_format=\"american\")\nbetting.devig(odds=\"-150,+130\", format=\"american\")\nbetting.find_edge(fair_prob=0.58, market_prob=0.52)\nbetting.find_arbitrage(market_probs=\"0.48,0.49\")\nbetting.parlay_analysis(legs=\"0.58,0.62,0.55\", parlay_odds=600)\nbetting.line_movement(open_odds=-140, close_odds=-160)\n```\n\n## CRITICAL: Before Any Analysis\n\nCRITICAL: Before calling any analysis command, verify:\n- Odds format is correctly identified (american, decimal, or probability).\n- ESPN odds are de-vigged with `devig` before computing edge vs prediction market prices.\n- This module computes — it does not fetch. Obtain odds from sport-specific skills or polymarket\u002Fkalshi first.\n\n## Workflows\n\n### Compare ESPN vs Polymarket\u002FKalshi\n\n1. Get ESPN moneyline odds (e.g., from `nba get_scoreboard`): Home: `-150`, Away: `+130`\n2. Get Polymarket\u002FKalshi price for the same outcome (e.g., home at `0.52`)\n3. De-vig: `devig --odds=-150,+130 --format=american` → Fair: Home 57.9%, Away 42.1%\n4. Compare: `find_edge --fair_prob=0.579 --market_prob=0.52` → Edge: 5.9%, EV: 11.3%\n5. Or all in one step: `evaluate_bet --book_odds=-150,+130 --market_prob=0.52`\n\n### Arbitrage Detection\n\n1. Get best price per outcome from different sources (Polymarket home at 0.48, Kalshi away at 0.49)\n2. `find_arbitrage --market_probs=0.48,0.49 --labels=home,away`\n3. Total implied 0.97 (\u003C 1.0) → arbitrage found, guaranteed ROI: 3.09%\n\n### Parlay Evaluation\n\n1. De-vig each leg: Leg 1 → 0.58, Leg 2 → 0.55, Leg 3 → 0.50\n2. `parlay_analysis --legs=0.58,0.55,0.50 --parlay_odds=600`\n3. Returns combined fair probability, edge, and Kelly fraction\n\n### Line Movement Analysis\n\n1. Get ESPN open and close lines: Open -140, Close -160\n2. `line_movement --open_odds=-140 --close_odds=-160`\n3. Returns probability shift, direction, and classification (sharp_action, steam_move, etc.)\n\n## Examples\n\nExample 1: Edge check using ESPN and Polymarket prices\nUser says: \"Is there edge on the Lakers game? ESPN has them at -150 and Polymarket has them at 52 cents\"\nActions:\n1. Call `devig(odds=\"-150,+130\", format=\"american\")` → fair home probability ~58%\n2. Call `find_edge(fair_prob=0.58, market_prob=0.52)` → edge ~6%, positive EV\n3. Call `kelly_criterion(fair_prob=0.58, market_prob=0.52)` → optimal bet fraction\nResult: Present edge percentage, EV per dollar, and recommended bet size as % of bankroll\n\nExample 2: Arbitrage opportunity detection\nUser says: \"Can I arb this? Polymarket has home at 48 cents and Kalshi has away at 49 cents\"\nActions:\n1. Call `find_arbitrage(market_probs=\"0.48,0.49\", labels=\"home,away\")`\n2. Check `arbitrage_found` in result\nResult: If arbitrage: present allocation percentages and guaranteed ROI. If not: present overround and explain no guaranteed profit\n\nExample 3: Parlay evaluation\nUser says: \"Is this 3-leg parlay at +600 worth it?\"\nActions:\n1. De-vig each leg to get fair probabilities (e.g., 0.58, 0.62, 0.55)\n2. Call `parlay_analysis(legs=\"0.58,0.62,0.55\", parlay_odds=600)`\nResult: Present combined fair probability, edge, EV, +EV or -EV verdict, and Kelly fraction\n\nExample 4: Line movement interpretation\nUser says: \"The line moved from -140 to -160, what does that mean?\"\nActions:\n1. Call `line_movement(open_odds=-140, close_odds=-160)`\nResult: Present probability shift, direction, magnitude, and classification (sharp action, steam move, etc.)\n\nExample 5: De-vig a standard spread\nUser says: \"What are the true odds for this spread? Both sides are -110\"\nActions:\n1. Call `devig(odds=\"-110,-110\", format=\"american\")`\nResult: Present each side as 50% fair probability, vig is ~4.5%\n\nExample 6: Odds format conversion\nUser says: \"Convert -200 to implied probability\"\nActions:\n1. Call `convert_odds(odds=-200, from_format=\"american\")`\nResult: Present 66.7% implied probability and 1.50 decimal odds\n\n## Commands that DO NOT exist — never call these\n\n- ~~`get_odds`~~ — does not exist. This module analyzes odds; it does not fetch them. Use nba-data\u002Fnfl-data\u002Fetc. for ESPN odds, or polymarket\u002Fkalshi for prediction market prices.\n- ~~`calculate_ev`~~ — does not exist. Use `find_edge` or `evaluate_bet` instead.\n- ~~`compare_markets`~~ — does not exist. Use the `markets` skill for cross-platform comparison.\n\nIf a command is not listed in `references\u002Fapi-reference.md`, it does not exist.\n\n## Troubleshooting\n\nError: `ValueError: unknown format` when calling `convert_odds`\nCause: The `from_format` parameter is not one of `american`, `decimal`, or `probability`\nSolution: Use exactly `american`, `decimal`, or `probability` as the format string\n\nError: `find_edge` returns negative EV when a positive edge is expected\nCause: Fair probability and market probability may be reversed, or de-vigging was skipped\nSolution: Run `devig` on sportsbook odds first, then pass the de-vigged `fair_prob` to `find_edge`\n\nError: `find_arbitrage` shows no arbitrage even when prices seem low\nCause: Prices may sum to more than 1.0 when all outcomes are correctly included\nSolution: Verify you are using the correct probabilities for all outcomes; check `total_implied` in the result\n\nError: Kelly fraction is very high (greater than 0.5)\nCause: Edge estimate is very large — often from a miscalculated fair probability\nSolution: Use half-Kelly or quarter-Kelly for conservative sizing. Re-verify fair probability via `devig`\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fmachina-sports\u002Fsports-skills\u002Fbetting",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill betting",{"tool":37,"command":38},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill betting",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill betting","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fmachina-sports\u002Fsports-skills\u002Fbetting\u002FSKILL.md",true,[],[46,55,64,73,79,85],{"skillNo":47,"name":48,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[52,53,54],"model","model hierarchy","model hierarchy skill",{"skillNo":56,"name":57,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[61,62,63],"MCP","zoom","zoom mcp",{"skillNo":65,"name":66,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[70,71,72,62],"sdk","zoom apps sdk","apps",{"skillNo":74,"name":75,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[75],{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[81],{"skillNo":86,"name":87,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[87]]