首页龙虾技能列表 › Sdk — 技能工具

Sdk — 技能工具

v1.0.2

[自动翻译] AI-powered sports betting simulations with Monte Carlo analysis

0· 62·0 当前·0 累计
by @cannedoxygen·MIT-0
下载技能包
License
MIT-0
最后更新
2026/3/30
安全扫描
VirusTotal
无害
查看报告
OpenClaw
可疑
medium confidence
The SDK's code and runtime instructions match its betting/payment purpose, but it requests a full Solana private key (highly sensitive) and the package/source metadata is not clearly verified — proceed with caution.
评估建议
This package appears to be a legitimate SDK for paid sports-simulation calls that uses Solana payments, and the code shows local transaction signing and API polling — which is expected. However: 1) Do NOT provide your main Solana private key to the agent. A private key in an environment variable gives full control of that wallet (ability to transfer funds). 2) Verify the package source and integrity (npm page, repository, checksums). The skill metadata here shows 'Source: unknown' even though pa...
详细分析 ▾
用途与能力
The skill is an SDK that runs paid Monte Carlo simulations and performs on-chain payments via Solana. Requiring Node and a Solana private key is coherent with the stated purpose (it needs a wallet to pay $0.50 USDC per simulation). The codebase contains expected services (games, payment, simulation, picks) and constants for the API and treasury address.
指令范围
SKILL.md explicitly instructs using process.env.SOLANA_PRIVATE_KEY to construct the client and to fund simulations; the instructions and included code reference api.edgebets.fun endpoints and the x402 payment flow only. There are no obvious instructions to read unrelated system files or to exfiltrate arbitrary data. However the SKILL.md and package README both instruct the agent (or developer) to provide the wallet secret in environment or file form — that grants the skill full control of that wallet.
安装机制
There is no external install script that downloads arbitrary binaries or runs remote installers. The package contains source and a built dist/ bundle and would be installed via npm (edgebets-sdk). No network downloads from untrusted shorteners or extract/install steps are present in the skill metadata.
凭证需求
The skill requires a single environment variable: SOLANA_PRIVATE_KEY. This is proportionate to performing on-chain payments, but a private key is extremely sensitive. Supplying it to the agent or storing it in an environment variable gives the SDK (and anything that can use the SDK) the ability to sign and submit arbitrary Solana transactions. The skill also includes a hard-coded treasury wallet address for payments — users should verify that address before sending funds.
持久化与权限
The skill does not request 'always: true' and does not declare system config paths or other skills' credentials. It operates when invoked and does not assert permanent elevated presence in the agent.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.22026/3/30

Added pick of the day and track record features

● 无害

安装命令 点击复制

官方npx clawhub@latest install sdk
镜像加速npx clawhub@latest install sdk --registry https://cn.clawhub-mirror.com

技能文档

Run professional-grade Monte Carlo simulations for sports betting analysis. Get win probabilities, projected scores, spread predictions, and edge detection for NBA, NFL, MLB, and MLS games.

Quick Start

npm install edgebets-sdk
import { createClient } from 'edgebets-sdk';

const client = createClient(JSON.parse(process.env.SOLANA_PRIVATE_KEY));

// Get today's games (FREE) const games = await client.getGames('nba');

// Run simulation ($0.50 USDC) const result = await client.simulate('nba', games[0].id);

When to Use This Skill

Use EdgeBets when the user asks about:

  • Sports game predictions or analysis
  • Win probabilities for upcoming games
  • Betting odds comparison and value detection
  • Monte Carlo simulations for sports
  • NBA, NFL, MLB, or MLS game analysis
  • Pick of the day or daily betting picks
  • Track record of past picks

Available Actions

1. Browse Today's Games (FREE)

Show available games without any payment required.

Trigger phrases:

  • "What NBA games are on today?"
  • "Show me today's NFL matchups"
  • "List MLS games"
  • "What baseball games are playing?"

Response format:

Today's NBA Games:
  • Lakers vs Celtics - 7:30 PM ET
  • Warriors vs Suns - 10:00 PM ET
...

2. Run Simulation ($0.50 USDC)

Execute 10,000 Monte Carlo simulations with full analysis.

Trigger phrases:

  • "Simulate the Lakers game"
  • "Run analysis on game 1"
  • "What are the odds for Warriors vs Suns?"
  • "Analyze the Chiefs game"

Response format:

Simulation Results: Lakers vs Celtics

Win Probabilities:

  • Lakers: 45.2%
  • Celtics: 54.8%

Projected Score: Lakers 108 - Celtics 112 Projected Total: 220 points Predicted Spread: Celtics -4

Edge Analysis:

  • Value detected on Lakers ML (+3.2% edge)
  • Kelly recommends 2.1% bankroll

3. Get Pick of the Day (FREE)

Get the daily expert pick with analysis. No payment required.

Trigger phrases:

  • "What's the pick of the day?"
  • "Give me today's pick"
  • "What should I bet on today?"
  • "Show me the daily pick"

Response format:

Pick of the Day: Lakers ML

Game: Celtics @ Lakers - 7:30 PM ET Pick: Lakers Moneyline (-110) Confidence: HIGH Win Probability: 58.2% Edge vs Market: +4.1%

Analysis: Lakers are 8-2 at home in their last 10...

If game already played:

Today's pick (Lakers ML) has been graded: WIN
New pick available at 2 AM Central.

4. Get Track Record (FREE)

View the historical performance of daily picks.

Trigger phrases:

  • "What's your track record?"
  • "How are the picks doing?"
  • "Show me past picks"

Response format:

Track Record: 45-32-3 (58.4%)
Current Streak: 4W
Recent: W W W W L W L W

5. Check Balance

Verify USDC balance before running simulations.

Trigger phrases:

  • "Check my balance"
  • "Do I have enough for a simulation?"

Payment Information

  • Cost: $0.50 USDC per simulation
  • Network: Solana mainnet
  • Protocol: x402 (automatic with SDK)

Environment Setup

Set your Solana wallet private key:

export SOLANA_PRIVATE_KEY='[your_private_key_array]'

The wallet needs:

  • At least $0.50 USDC for each simulation
  • Small amount of SOL for transaction fees (~0.001 SOL)

API Reference

Get Games

// Today's games
const games = await client.getGames('nba');

// Tomorrow's games const tomorrow = await client.getTomorrowGames('nfl');

// Specific game const game = await client.getGameDetails('mlb', 'mlb-2026-03-28-nyy-bos');

Run Simulation

const result = await client.simulate('nba', gameId, {
  onStatus: (status) => console.log(status), // 'paying', 'processing', 'complete'
});

// Result includes: // - homeWinProbability, awayWinProbability // - averageHomeScore, averageAwayScore // - predictedSpread, averageTotalPoints // - edgeAnalysis (value detection) // - bettingInsights (fair odds) // - factorBreakdown (what's driving the prediction)

Check Balance

const balance = await client.checkBalance();
// { usdc: 5.25, sol: 0.05, sufficient: true }

Get Pick of the Day

const pick = await client.getTodaysPick();
// {
//   hasPick: true,
//   isTodaysPick: true,
//   pick: {
//     sport: 'nba',
//     pick: 'Lakers',
//     pickType: 'moneyline',
//     winProbability: 0.582,
//     confidence: 'high',
//     result: 'pending'  // or 'win', 'loss', 'push'
//   },
//   message: null,
//   nextPickTime: null
// }

// If game already played: // { // hasPick: true, // pick: { ... result: 'win' ... }, // message: "Today's pick has been graded: WIN. New pick at 2 AM Central.", // nextPickTime: "2:00 AM Central" // }

Get Track Record

const record = await client.getTrackRecord();
// {
//   wins: 45,
//   losses: 32,
//   pushes: 3,
//   winRate: 58.4,
//   streak: 4,
//   streakType: 'W',
//   recentPicks: [...]
// }

Supported Sports

SportCodeEndpoint
NBAnbaBasketball
NFLnflFootball
MLBmlbBaseball
MLSmlsSoccer

Links

  • Website: https://edgebets.fun
  • API Docs: https://api.edgebets.fun/api/v1/x402
  • OpenAPI Spec: https://api.edgebets.fun/api/v1/x402/openapi.json
  • npm Package: https://www.npmjs.com/package/edgebets-sdk
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务