← 返回 Skills 市场
iglemanyte-ctrl

greyghound

作者 iglemanyte-ctrl · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
281
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install greyhound
功能描述
Analyzes greyhound races, fetches data, and predicts winners/placings for upcoming races based on form, odds, and simple models.
使用说明 (SKILL.md)

\r \r

Instructions for Greyhound Predictor Skill\r

\r When activated (e.g., user says "predict Monmore R5 greyhounds" or "upcoming greyhound predictions"), follow these steps:\r \r

  1. Parse user input: Extract race details like track (e.g., Monmore, Towcester), race number/date, or "upcoming" for today's races.\r \r
  2. Fetch data: \r
    • Use web_search or browse_page to get upcoming race cards from sites like gbgb.org.uk, sportinglife.com/greyhounds, or timeform.com/greyhounds.\r
    • Example: Browse "https://www.gbgb.org.uk/racing/todays-trials-meetings/" for today's races, or API like "https://api.gbgb.org.uk/api/results?page=1&date={today}&track={track}" for form.\r
    • Gather: Dog names, traps, recent form (e.g., 12131 = positions in last 5 races), best times, odds, trainer form.\r \r
  3. Analyze data: \r
    • Calculate basic metrics: Win rate (wins/races), average position, recent speed (time/distance), trap bias (e.g., inside traps win more in sprints).\r
    • Use rules: Favor dogs with form like 111 (recent wins), low traps in short races (270-480m), wide traps in stayers (650m+).\r
    • If code_execution available, run a simple Python model (see script below) on fetched data to score probabilities.\r \r
  4. Predict:\r
    • Winner: Dog with highest score (e.g., best form + trap advantage).\r
    • Second: Strong chaser (good recent places, stalking trap).\r
    • Output: "Winner: [Dog Name] (Trap X) - Reasons: Recent wins, trap bias. Second: [Dog Name] (Trap Y) - Consistent placer."\r \r
  5. Handle errors: If no data, say "Couldn't fetch race info—try specifying track/date."\r \r

Sample Python Code for Prediction (if code_execution tool enabled)\r

If your OpenClaw supports code_execution, include this in instructions to run a basic model. Paste data into a DataFrame.\r \r import pandas as pd\r from sklearn.linear_model import LogisticRegression\r from sklearn.model_selection import train_test_split\r from sklearn.preprocessing import StandardScaler\r \r

Sample data (replace with fetched race data)\r

data = pd.DataFrame({\r 'trap': [1, 2, 3, 4, 5, 6],\r 'win_rate': [0.4, 0.3, 0.35, 0.2, 0.45, 0.25], # Wins/races\r 'avg_position': [2.1, 3.0, 2.5, 4.0, 1.8, 3.5],\r 'recent_form_score': [0.8, 0.6, 0.7, 0.4, 0.9, 0.5] # Custom score from form\r })\r data['winner'] = [1, 0, 0, 0, 0, 0] # Dummy target for training (use historic data)\r \r

Train simple model\r

X = data[['trap', 'win_rate', 'avg_position', 'recent_form_score']]\r y = data['winner']\r X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)\r scaler = StandardScaler().fit(X_train)\r X_train = scaler.transform(X_train)\r model = LogisticRegression().fit(X_train, y_train)\r \r

Predict for new race\r

new_data = pd.DataFrame(...) # Fill with fetched data\r preds = model.predict_proba(scaler.transform(new_data))[:, 1]\r top_dog = new_data.iloc[preds.argmax()]['dog_name']\r print(f"Predicted winner: {top_dog}")

安全使用建议
This skill appears coherent and limited to public web scraping plus optional local modeling. Before installing, consider: 1) The skill will fetch pages from external sites (make sure you are comfortable with that traffic and the sites' terms of service). 2) If the agent's code_execution/Python environment runs the sample, it may expect libraries like pandas and scikit-learn which may not be available — the model should fall back to rule-based output if execution isn't possible. 3) The skill requests no secrets or installs, so there is low privilege risk. Also note a minor name typo ("greyghound" vs "greyhound"), which is harmless but may be worth confirming the source if you care about provenance.
功能分析
Type: OpenClaw Skill Name: greyhound Version: 1.0.0 The Greyhound Predictor skill is designed to analyze race data and predict outcomes using web browsing and Python-based modeling. The instructions in skill.md and the sample code for data analysis are consistent with the stated purpose, utilizing legitimate domains like gbgb.org.uk and standard libraries like pandas and sklearn without any signs of malicious intent or data exfiltration.
能力评估
Purpose & Capability
Name/description match the instructions: the skill fetches public greyhound race data and runs simple analyses. Requested tools (web_search, browse_page, optional code_execution) are appropriate for that task and no unrelated env vars/binaries/config paths are required.
Instruction Scope
SKILL.md confines actions to fetching public race cards/APIs and running local analysis. It does not instruct the agent to read local files, environment secrets, or transmit data to unexpected endpoints. The only slightly open-ended element is use of the code_execution tool to run Python models if available.
Install Mechanism
Instruction-only skill with no install spec and no downloaded code; nothing will be written to disk by an installer. This is the lowest-risk install profile.
Credentials
No environment variables, credentials, or config paths are requested — proportional to the stated purpose. The skill relies only on public web data and optional in-agent code execution.
Persistence & Privilege
always is false and the skill does not request persistent system privileges or modify other skills or system-wide settings. Autonomous invocation is enabled by platform default but is not combined with any broad credential access.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install greyhound
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /greyhound 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Greyhound Predictor 1.0.0 – Initial Release - Enables analysis and prediction for upcoming greyhound races using form, odds, and simple models. - Fetches live race card data from popular greyhound racing sites. - Calculates win rates, average positions, recent speed, and considers trap biases. - Predicts likely winner and second place, with concise reasoning for each pick. - Supports optional Python-based modeling if code execution is available.
元数据
Slug greyhound
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

greyghound 是什么?

Analyzes greyhound races, fetches data, and predicts winners/placings for upcoming races based on form, odds, and simple models. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 281 次。

如何安装 greyghound?

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

greyghound 是免费的吗?

是的,greyghound 完全免费(开源免费),可自由下载、安装和使用。

greyghound 支持哪些平台?

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

谁开发了 greyghound?

由 iglemanyte-ctrl(@iglemanyte-ctrl)开发并维护,当前版本 v1.0.0。

💬 留言讨论