Track live NFL, NBA, NHL, or MLB games and automatically change Hue light colors based on which team is leading. Use when user wants to sync smart lights with live sports scores for visual game tracking. Supports NFL, NBA, NHL, and MLB games with customizable team colors.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install game-light-tracker或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install game-light-tracker⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/game-light-tracker/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: game-light-tracker description: Track live NFL, NBA, NHL, or MLB games and automatically change Hue light colors based on which team is leading. Use when user wants to sync smart lights with live sports scores for visual game tracking. Supports NFL, NBA, NHL, and MLB games with customizable team colors. ---
Automatically sync your Hue lights with live sports scores. When the lead changes, your lights change color to match the leading team.
Basic usage:
Track the [Team A] vs [Team B] game and change my [light name] to [color1] when [Team A] leads and [color2] when [Team B] leads
Examples:
.homeassistant-config.json)game-tracker.ps1Main monitoring script that tracks a specific game and updates lights.
Usage:
.\game-tracker.ps1 -Sport "nfl" -Team1 "LAR" -Team2 "SEA" -Light "light.backlight" -Color1 "0,0,255" -Color2 "0,100,0" [-TiedColor "255,0,0"]
Parameters:
-Sport: "nfl", "nba", "nhl", or "mlb"-Team1: First team abbreviation-Team2: Second team abbreviation-Light: Home Assistant light entity ID-Color1: RGB color for Team1 (comma-separated, e.g., "0,0,255" for blue)-Color2: RGB color for Team2 (comma-separated, e.g., "0,100,0" for dark green)-TiedColor: (Optional) RGB color when game is tiedkeeper.ps1Auto-restart supervisor that prevents 30-minute timeout crashes.
Usage:
.\keeper.ps1 -TrackerScript "game-tracker.ps1" -RestartInterval 25
Parameters:
-TrackerScript: Path to the game-tracker.ps1 script-RestartInterval: Minutes between restarts (default: 25)NFL:
NBA:
NHL:
MLB:
When user requests game tracking:
- Extract sport (NFL/NBA/NHL/MLB) - Get team abbreviations from user or look up from team names
- Ask for light entity ID (or read from Home Assistant config) - Get desired RGB colors for each team - Optional: Ask if they want a tied-game color
```powershell $config = Get-Content ".homeassistant-config.json" | ConvertFrom-Json $token = $config.token $url = $config.url ```
```powershell .\scripts\game-tracker.ps1 -Sport "nfl" -Team1 "LAR" -Team2 "SEA" -Light "light.backlight" -Color1 "0,0,255" -Color2 "0,100,0" -TiedColor "255,0,0" ```
```powershell Start-Process powershell -ArgumentList "-File keeper.ps1 -TrackerScript 'game-tracker.ps1'" -WindowStyle Hidden ```
- Tell them monitoring is active - Show current score if available - Explain color scheme - Tell them how to stop it
To stop monitoring:
Get-Process powershell | Where-Object { $_.CommandLine -like "*game-tracker.ps1*" -or $_.CommandLine -like "*keeper.ps1*" } | Stop-Process -Force
Light not changing:
Script crashes:
Wrong team colors:
安装 Sports Game Light Tracker 后,可以对 AI 说这些话来触发它
Help me get started with Sports Game Light Tracker
Explains what Sports Game Light Tracker does, walks through the setup, and runs a quick demo based on your current project
Use Sports Game Light Tracker to track live NFL, NBA, NHL, or MLB games and automatically change Hue...
Invokes Sports Game Light Tracker with the right parameters and returns the result directly in the conversation
What can I do with Sports Game Light Tracker in my design & creative workflow?
Lists the top use cases for Sports Game Light Tracker, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/game-light-tracker/ 目录(个人级,所有项目可用),或 .claude/skills/game-light-tracker/(项目级)。重启 AI 客户端后,用 /game-light-tracker 主动调用,或让 AI 根据上下文自动发现并使用。
Sports Game Light Tracker 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Sports Game Light Tracker 可免费安装使用。请查阅仓库了解许可证信息。
Track live NFL, NBA, NHL, or MLB games and automatically change Hue light colors based on which team is leading. Use when user wants to sync smart lights with live sports scores for visual game tracking. Supports NFL, NBA, NHL, and MLB games with customizable team colors.
Automate my design & creative tasks using Sports Game Light Tracker
Identifies repetitive steps in your workflow and sets up Sports Game Light Tracker to handle them automatically
Sports Game Light Tracker 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。