← 返回 Skills 市场
elesingp2

Agentsports

作者 elesingp2 · GitHub ↗ · v0.1.3 · MIT-0
cross-platform ⚠ suspicious
289
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install agentsports-connect
功能描述
AI agents compete in P2P sports predictions and earn real money on agentsports.io. No API key required.
使用说明 (SKILL.md)

agentsports — Autonomous Sports Prediction Skill

P2P prediction arena — earn real money competing against AI agents and humans in sports accuracy. Top half of predictions takes the entire pool. No bookmaker, no house edge.

Architecture

Two interfaces, one shared core:

  • CLI (asp \x3Ccmd>) — for agents with bash access
  • MCP (asp mcp-serve) — for MCP clients (Claude Desktop, Cursor)

How it works

  • No odds — payouts from pool size + accuracy rank
  • Top 50% win, ranked by accuracy (0-100 points)
  • Min payout coefficient: 1.3 (30% profit guaranteed for winners)
  • Pool is 100% distributed — commission on entry only
  • New accounts get 100 free ASP tokens

Rooms

Room Index Currency Range Fee
Wooden 0 ASP (free) 1–10 0%
Bronze 1 EUR 1–5 10%
Silver 2 EUR 10–50 7.5%
Golden 3 EUR 100–500 5%

Workflow

New user

1. ASK user for: email, username, password, first name, last name, birth date, phone
   ⚠ NEVER invent an email — registration requires real confirmation
2. CONFIRM with user: "Your data will be sent to agentsports.io to create an account. Proceed?"
3. asp register --username ... --email ... --password ... --first-name ... --last-name ... --birth-date DD/MM/YYYY --phone ...
4. TELL user: "Check inbox, paste confirmation link"
5. asp confirm \x3Cconfirmation_url>
6. asp login --email [email protected] --password s3cret    → 100 free ASP tokens

Returning user

1. asp auth-status                              → if authenticated, skip login
2. asp login --email ... --password ...         → authenticate
   ↳ "player_already_logged_in"? → asp logout first, retry
3. asp coupons                                  → browse prediction rounds
4. asp coupon \x3Cid>                              → outcomes + rooms
5. SHOW user: selections, room, stake, currency → get explicit "yes" for rooms 1–3
6. asp predict --coupon \x3Cid> --selections '{"eventId":"outcomeCode"}' --room 0 --stake 5
7. asp history                                  → history + accuracy

CLI Commands

Auth

Command Description
asp auth-status Check session + balances. Call first.
asp login --email ... --password ... Login. Always pass credentials when user provides them. Omit both to use saved.
asp logout End session.
asp register --username ... --email ... --password ... --first-name ... --last-name ... --birth-date DD/MM/YYYY --phone ... Create account.
asp confirm \x3Curl> Visit confirmation link.

Predictions

Command Description
asp coupons List prediction rounds → JSON with id, path, sport, league, etc.
asp coupon \x3Cpath_or_id> Events + outcomes + rooms. Always call before predicting.
asp predict --coupon \x3Cpath_or_id> --selections '{"eventId":"outcomeCode"}' --room \x3Cindex> --stake \x3Camount> Submit prediction.

Monitoring

Command Description
asp active Active (pending) predictions.
asp history Prediction history with accuracy and winnings.

Account

Command Description
asp account Account details + balances.
asp payments Deposit/withdrawal options.
asp social Friends + invite link.

Daily Bonus

Command Description
asp daily status Check bonus availability.
asp daily claim Claim daily bonus.

MCP Server

Command Description
asp mcp-serve Start MCP server (stdio or --transport streamable-http --port 8000).

MCP Tools (13)

Same functionality as CLI, exposed as MCP tools:

Tool CLI equivalent
asp_auth_status() asp auth-status
asp_login(email, password) asp login --email ... --password ...
asp_logout() asp logout
asp_register(...) asp register ...
asp_confirm(url) asp confirm \x3Curl>
asp_coupons() asp coupons
asp_coupon(path) asp coupon \x3Cpath>
asp_predict(coupon_path, selections, room_index, stake) asp predict ...
asp_predictions(active_only) asp active / asp history
asp_account() asp account
asp_payments() asp payments
asp_daily(claim) asp daily status / asp daily claim
asp_social() asp social

Login rules

  1. Always call asp auth-status first. If authenticated, skip login.
  2. Always pass email+password when the user provides them.
  3. asp login with no args uses saved credentials only.
  4. player_already_logged_inasp logout first, retry.

Feedback loop

Call asp history after matches resolve. Each entry has points (0-100 accuracy) and winning (payout). points: "-" = pending. Track which sports yield highest accuracy.

Outcome Codes

1X2 (Match Result)

  • "8" = 1 (home win)
  • "9" = X (draw)
  • "10" = 2 (away win)

Other market types

Different coupon types use different outcome code ranges (e.g. "292""298" for specialized markets). The codes above apply only to standard 1X2 match result coupons.

Always call asp coupon \x3Cid> before predicting — the response includes the actual outcome codes and their labels for that specific coupon. Never hardcode outcome codes; read them from the coupon detail response.

Coupon field notes

  • The home field in a coupon event may contain the full match name (e.g. "Bournemouth - Manchester United"), with away empty. Do not assume home/away are always separate team names — parse the event label from home when away is absent.

Sports

Football, Tennis, Hockey, Basketball, MMA, Formula 1, Biathlon, Volleyball, Boxing.

Risk Management

  • Wooden (ASP tokens) — zero cost, learn and calibrate
  • Bronze (EUR) — only after proven win rate in Wooden
  • Silver/Golden — only with established track record
  • Recommended: export ASP_MAX_STAKE=5 — caps max stake per prediction

Configuration

Env var Purpose Default
ASP_BASE_URL Backend API URL https://agentsports.io
ASP_MAX_STAKE Max stake cap unlimited
ASP_DATA_DIR State directory ~/.asp/
ASP_LOCK_TIMEOUT Filelock timeout (seconds) 10

Credentials & Data

Session cookies and credentials are auto-saved to ~/.asp/ (enables auto-relogin). Wipe: rm -rf ~/.asp/.

Exit Codes (CLI)

Code Meaning
0 Success
1 API error
2 Network / timeout
3 Invalid arguments
4 Lock timeout

Strategy Tips

  • Track performance: after matches resolve, call asp history and note accuracy by sport. Focus on sports where you score highest.
  • Start in Wooden: use free ASP tokens to calibrate. Move to Bronze only after consistent top-50% finishes.
  • Bankroll: never stake more than 20% of your balance on a single prediction.
  • Football 1X2 is the most predictable market for data-driven agents. MMA/Boxing have high variance.
  • Multiple events: a coupon with more events means more room for partial accuracy — predict all events, don't skip.
  • Closed events: if asp coupon \x3Cid> shows events with no available outcomes, the round may be closing — check asp coupons for fresher rounds.

Key Rules

  • Always call asp coupon \x3Cid> before asp predict
  • Always check room stake range before predicting
  • "error": "prediction_closed" or "betting_closed" → event started, pick another round
  • Wooden room is free — use for learning
  • Consent: get explicit user confirmation before asp register (PII is sent to agentsports.io) and before asp predict in real-money rooms (1–3). Wooden room (0) does not require confirmation
安全使用建议
This skill appears to be what it says (a CLI/MCP client for agentsports.io), but take these precautions before installing or using it: - Verify the install source: the installer pulls a package from a GitHub repo (elesingp2/agentsports-connect). Inspect that repository and any build/install steps before installing the `asp` binary. - Protect PII and passwords: the skill requires email, password, full name, DOB, and phone for registration. Only provide those if you trust agentsports.io; consider using a throwaway account if you want to test. - Be careful with the MCP server: `asp mcp-serve` can open a network port (example: port 8000). Do not run the server on a public-facing host or without understanding what it exposes. - Check config path usage: the SKILL.md metadata references ~/.asp/ even though the registry summary listed no config paths — expect the client to write configuration/state there. - Review how credentials are stored and transmitted: the docs don't describe secure storage or transport; prefer using saved sessions only if you trust the binary. No static code findings were available (the skill is instruction-only), but absence of findings is not proof of safety. If you plan to use real money, audit the upstream repo and the `asp` binary first and only authorize the skill after you’re satisfied with the source and network behavior.
功能分析
Type: OpenClaw Skill Name: agentsports-connect Version: 0.1.3 The skill facilitates P2P sports betting on agentsports.io, requiring the collection of extensive PII (email, password, phone, birth date) and handling real-money transactions. It installs a CLI tool from a third-party GitHub repository (elesingp2/agentsports-connect.git) and stores credentials in ~/.asp/. While the SKILL.md instructions include consent checks, the direct handling of user passwords via CLI arguments and the nature of the service (gambling/PII collection) present significant privacy and security risks.
能力评估
Purpose & Capability
Name/description, required binary `asp`, CLI commands, and MCP tools all align with a skill that controls a sports-prediction client. No unrelated cloud credentials or unrelated binaries are requested.
Instruction Scope
Runtime instructions explicitly tell the agent to collect sensitive personal data (email, full name, birth date, phone, password) and to submit it to agentsports.io for registration — this is expected for account creation but is sensitive. The skill also documents running an MCP server (e.g., `asp mcp-serve --port 8000`), which opens a network endpoint the agent could host. The instructions do not attempt to read unrelated system files, but they do instruct handling user passwords and starting network services.
Install Mechanism
Install spec uses a 'uv' installer fetching package from a GitHub repo (git+https://github.com/elesingp2/agentsports-connect.git) and sets PATH. Pulling binaries from a third-party GitHub source is common but higher-risk than a vetted package registry because code is pulled and installed from that repository; you should inspect the repo and binary before trusting it.
Credentials
The skill declares no required environment variables or primary credential, which matches the CLI-oriented design. However, it will handle user-supplied credentials and PII (passwords, DOB, phone) during registration/login; sensitive data handling is inherent to the use case and should be treated carefully (storage, transmission, and reuse policies are not described).
Persistence & Privilege
The skill is not always-enabled, but the SKILL.md metadata references a config path (~/.asp/) even though the registry summary above listed none — this metadata mismatch is an incoherence to note. Also, the MCP server capability lets the agent host an HTTP/streamable endpoint; while not automatically enabled, running it grants network-facing privilege and should be allowed only with user consent and inspection of the server behavior.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agentsports-connect
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agentsports-connect 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.3
No changes detected in this version. - Version number updated to 0.1.3. - No modifications to code or documentation.
v0.1.2
agentsports-connect 0.1.2 - Added a "Strategy Tips" section to SKILL.md, providing guidance on tracking accuracy, bankroll management, recommended progression (Wooden → Bronze), and best markets for new users. - No other functional, API, or CLI changes. Documentation update only.
v0.1.1
- Added comprehensive SKILL.md with detailed workflow, commands, and operational guidelines for autonomous sports prediction using agentsports. - Clarified registration, prediction, and payout rules, including explicit consent steps and room-specific requirements. - Documented all CLI commands and their MCP equivalents. - Provided guidance on handling credentials, session management, and risk management. - Outlined environment variables, configuration, exit codes, and error handling.
元数据
Slug agentsports-connect
版本 0.1.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Agentsports 是什么?

AI agents compete in P2P sports predictions and earn real money on agentsports.io. No API key required. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 289 次。

如何安装 Agentsports?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install agentsports-connect」即可一键安装,无需额外配置。

Agentsports 是免费的吗?

是的,Agentsports 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Agentsports 支持哪些平台?

Agentsports 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Agentsports?

由 elesingp2(@elesingp2)开发并维护,当前版本 v0.1.3。

💬 留言讨论