Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

game-light-tracker游戏光追踪器

Agent Skill

game-light-tracker 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

54,552

周安装

2,273

GitHub Stars

1

下载量

18,184
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:game-light-tracker(游戏光追踪器)
来源仓库:https://github.com/0xadamsu/game-light-tracker
安装命令:
openclaw skills install game-light-tracker
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install game-light-tracker

简介

跟踪直播 NFL、NBA、NHL 或 MLB 比赛,并根据领先球队自动更改 Hue 灯光颜色。当用户想要将智能灯与实时体育比分同步以进行视觉比赛跟踪时使用。支持 NFL、NBA、NHL 和 MLB 比赛,并可自定义球队颜色。

SKILL.md

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.

Game Light Tracker

Automatically sync your Hue lights with live sports scores. When the lead changes, your lights change color to match the leading team.

Quick Start

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:

  • "Track the Rams vs Seahawks game and change my backlight to blue when Rams lead, green when Seahawks lead" (NFL)
  • "Monitor the Lakers vs Celtics game, purple for Lakers, green for Celtics" (NBA)
  • "Watch the Rangers vs Devils game - blue for Rangers, red for Devils" (NHL)
  • "Track the Yankees vs Red Sox game, make my living room light blue for Yankees, red for Red Sox" (MLB)

How It Works

  1. Fetches live scores from ESPN API every 20 seconds
  2. Detects lead changes
  3. Changes specified Hue light color via Home Assistant
  4. Includes auto-restart keeper to prevent timeouts
  5. Optional: Adds third color for tied games

Setup Requirements

  • Home Assistant with Hue lights configured
  • Home Assistant API token (stored in .homeassistant-config.json)
  • Light entity ID from Home Assistant

Scripts

game-tracker.ps1

Main 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 tied

keeper.ps1

Auto-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)

Common Team Abbreviations

NFL:

  • Rams: LAR, Seahawks: SEA, Chiefs: KC, Bills: BUF, Patriots: NE
  • Cowboys: DAL, Eagles: PHI, 49ers: SF, Packers: GB, Bears: CHI
  • [Full list: https://www.espn.com/nfl/teams]

NBA:

  • Lakers: LAL, Celtics: BOS, Warriors: GS, Knicks: NY, Bulls: CHI
  • Heat: MIA, Nets: BKN, 76ers: PHI, Bucks: MIL, Mavericks: DAL
  • Nuggets: DEN, Suns: PHX, Clippers: LAC, Raptors: TOR
  • [Full list: https://www.espn.com/nba/teams]

NHL:

  • Rangers: NYR, Devils: NJ, Bruins: BOS, Maple Leafs: TOR, Canadiens: MTL
  • Penguins: PIT, Capitals: WSH, Flyers: PHI, Lightning: TB, Panthers: FLA
  • Red Wings: DET, Blackhawks: CHI, Avalanche: COL, Golden Knights: VGK
  • [Full list: https://www.espn.com/nhl/teams]

MLB:

  • Yankees: NYY, Red Sox: BOS, Dodgers: LAD, Giants: SF, Mets: NYM
  • Cubs: CHC, Cardinals: STL, Astros: HOU, Braves: ATL, Phillies: PHI
  • [Full list: https://www.espn.com/mlb/teams]

Common RGB Colors

  • Blue: 0,0,255
  • Red: 255,0,0
  • Green: 0,255,0
  • Dark Green: 0,100,0
  • Orange: 255,165,0
  • Purple: 128,0,128
  • Yellow: 255,255,0
  • White: 255,255,255

Workflow

When user requests game tracking:

  1. Identify sport and teams:

- Extract sport (NFL/NBA/NHL/MLB) - Get team abbreviations from user or look up from team names

  1. Get light and color preferences:

- 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

  1. Load Home Assistant config:
   $config = Get-Content ".homeassistant-config.json" | ConvertFrom-Json
   $token = $config.token
   $url = $config.url
  1. Start game tracker:
   .\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"
  1. Start keeper for auto-restart:
   Start-Process powershell -ArgumentList "-File keeper.ps1 -TrackerScript 'game-tracker.ps1'" -WindowStyle Hidden
  1. Confirm to user:

- Tell them monitoring is active - Show current score if available - Explain color scheme - Tell them how to stop it

Stopping the Tracker

To stop monitoring:

Get-Process powershell | Where-Object { $_.CommandLine -like "*game-tracker.ps1*" -or $_.CommandLine -like "*keeper.ps1*" } | Stop-Process -Force

Troubleshooting

Light not changing:

  • Verify Home Assistant token is valid
  • Check light entity ID is correct
  • Ensure Home Assistant is accessible at the configured URL

Script crashes:

  • Keeper should auto-restart it
  • Check ESPN API is accessible
  • Verify team abbreviations are correct

Wrong team colors:

  • Double-check RGB values (must be 0-255, comma-separated)
  • Ensure colors are assigned to correct teams

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

81.99%
按下载量换算14,909

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills