{
  "schemaVersion": "1.0",
  "item": {
    "slug": "game-light-tracker",
    "name": "Sports Game Light Tracker",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/0xadamsu/game-light-tracker",
    "canonicalUrl": "https://clawhub.ai/0xadamsu/game-light-tracker",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/game-light-tracker",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=game-light-tracker",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/game-light-tracker"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/game-light-tracker",
    "agentPageUrl": "https://openagent3.xyz/skills/game-light-tracker/agent",
    "manifestUrl": "https://openagent3.xyz/skills/game-light-tracker/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/game-light-tracker/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Game Light Tracker",
        "body": "Automatically sync your Hue lights with live sports scores. When the lead changes, your lights change color to match the leading team."
      },
      {
        "title": "Quick Start",
        "body": "Basic usage:\n\nTrack the [Team A] vs [Team B] game and change my [light name] to [color1] when [Team A] leads and [color2] when [Team B] leads\n\nExamples:\n\n\"Track the Rams vs Seahawks game and change my backlight to blue when Rams lead, green when Seahawks lead\" (NFL)\n\"Monitor the Lakers vs Celtics game, purple for Lakers, green for Celtics\" (NBA)\n\"Watch the Rangers vs Devils game - blue for Rangers, red for Devils\" (NHL)\n\"Track the Yankees vs Red Sox game, make my living room light blue for Yankees, red for Red Sox\" (MLB)"
      },
      {
        "title": "How It Works",
        "body": "Fetches live scores from ESPN API every 20 seconds\nDetects lead changes\nChanges specified Hue light color via Home Assistant\nIncludes auto-restart keeper to prevent timeouts\nOptional: Adds third color for tied games"
      },
      {
        "title": "Setup Requirements",
        "body": "Home Assistant with Hue lights configured\nHome Assistant API token (stored in .homeassistant-config.json)\nLight entity ID from Home Assistant"
      },
      {
        "title": "game-tracker.ps1",
        "body": "Main monitoring script that tracks a specific game and updates lights.\n\nUsage:\n\n.\\game-tracker.ps1 -Sport \"nfl\" -Team1 \"LAR\" -Team2 \"SEA\" -Light \"light.backlight\" -Color1 \"0,0,255\" -Color2 \"0,100,0\" [-TiedColor \"255,0,0\"]\n\nParameters:\n\n-Sport: \"nfl\", \"nba\", \"nhl\", or \"mlb\"\n-Team1: First team abbreviation\n-Team2: Second team abbreviation\n-Light: Home Assistant light entity ID\n-Color1: RGB color for Team1 (comma-separated, e.g., \"0,0,255\" for blue)\n-Color2: RGB color for Team2 (comma-separated, e.g., \"0,100,0\" for dark green)\n-TiedColor: (Optional) RGB color when game is tied"
      },
      {
        "title": "keeper.ps1",
        "body": "Auto-restart supervisor that prevents 30-minute timeout crashes.\n\nUsage:\n\n.\\keeper.ps1 -TrackerScript \"game-tracker.ps1\" -RestartInterval 25\n\nParameters:\n\n-TrackerScript: Path to the game-tracker.ps1 script\n-RestartInterval: Minutes between restarts (default: 25)"
      },
      {
        "title": "Common Team Abbreviations",
        "body": "NFL:\n\nRams: LAR, Seahawks: SEA, Chiefs: KC, Bills: BUF, Patriots: NE\nCowboys: DAL, Eagles: PHI, 49ers: SF, Packers: GB, Bears: CHI\n[Full list: https://www.espn.com/nfl/teams]\n\nNBA:\n\nLakers: LAL, Celtics: BOS, Warriors: GS, Knicks: NY, Bulls: CHI\nHeat: MIA, Nets: BKN, 76ers: PHI, Bucks: MIL, Mavericks: DAL\nNuggets: DEN, Suns: PHX, Clippers: LAC, Raptors: TOR\n[Full list: https://www.espn.com/nba/teams]\n\nNHL:\n\nRangers: NYR, Devils: NJ, Bruins: BOS, Maple Leafs: TOR, Canadiens: MTL\nPenguins: PIT, Capitals: WSH, Flyers: PHI, Lightning: TB, Panthers: FLA\nRed Wings: DET, Blackhawks: CHI, Avalanche: COL, Golden Knights: VGK\n[Full list: https://www.espn.com/nhl/teams]\n\nMLB:\n\nYankees: NYY, Red Sox: BOS, Dodgers: LAD, Giants: SF, Mets: NYM\nCubs: CHC, Cardinals: STL, Astros: HOU, Braves: ATL, Phillies: PHI\n[Full list: https://www.espn.com/mlb/teams]"
      },
      {
        "title": "Common RGB Colors",
        "body": "Blue: 0,0,255\nRed: 255,0,0\nGreen: 0,255,0\nDark Green: 0,100,0\nOrange: 255,165,0\nPurple: 128,0,128\nYellow: 255,255,0\nWhite: 255,255,255"
      },
      {
        "title": "Workflow",
        "body": "When user requests game tracking:\n\nIdentify sport and teams:\n\nExtract sport (NFL/NBA/NHL/MLB)\nGet team abbreviations from user or look up from team names\n\n\n\nGet light and color preferences:\n\nAsk for light entity ID (or read from Home Assistant config)\nGet desired RGB colors for each team\nOptional: Ask if they want a tied-game color\n\n\n\nLoad Home Assistant config:\n$config = Get-Content \".homeassistant-config.json\" | ConvertFrom-Json\n$token = $config.token\n$url = $config.url\n\n\n\nStart game tracker:\n.\\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\"\n\n\n\nStart keeper for auto-restart:\nStart-Process powershell -ArgumentList \"-File keeper.ps1 -TrackerScript 'game-tracker.ps1'\" -WindowStyle Hidden\n\n\n\nConfirm to user:\n\nTell them monitoring is active\nShow current score if available\nExplain color scheme\nTell them how to stop it"
      },
      {
        "title": "Stopping the Tracker",
        "body": "To stop monitoring:\n\nGet-Process powershell | Where-Object { $_.CommandLine -like \"*game-tracker.ps1*\" -or $_.CommandLine -like \"*keeper.ps1*\" } | Stop-Process -Force"
      },
      {
        "title": "Troubleshooting",
        "body": "Light not changing:\n\nVerify Home Assistant token is valid\nCheck light entity ID is correct\nEnsure Home Assistant is accessible at the configured URL\n\nScript crashes:\n\nKeeper should auto-restart it\nCheck ESPN API is accessible\nVerify team abbreviations are correct\n\nWrong team colors:\n\nDouble-check RGB values (must be 0-255, comma-separated)\nEnsure colors are assigned to correct teams"
      }
    ],
    "body": "Game Light Tracker\n\nAutomatically sync your Hue lights with live sports scores. When the lead changes, your lights change color to match the leading team.\n\nQuick Start\n\nBasic usage:\n\nTrack the [Team A] vs [Team B] game and change my [light name] to [color1] when [Team A] leads and [color2] when [Team B] leads\n\n\nExamples:\n\n\"Track the Rams vs Seahawks game and change my backlight to blue when Rams lead, green when Seahawks lead\" (NFL)\n\"Monitor the Lakers vs Celtics game, purple for Lakers, green for Celtics\" (NBA)\n\"Watch the Rangers vs Devils game - blue for Rangers, red for Devils\" (NHL)\n\"Track the Yankees vs Red Sox game, make my living room light blue for Yankees, red for Red Sox\" (MLB)\nHow It Works\nFetches live scores from ESPN API every 20 seconds\nDetects lead changes\nChanges specified Hue light color via Home Assistant\nIncludes auto-restart keeper to prevent timeouts\nOptional: Adds third color for tied games\nSetup Requirements\nHome Assistant with Hue lights configured\nHome Assistant API token (stored in .homeassistant-config.json)\nLight entity ID from Home Assistant\nScripts\ngame-tracker.ps1\n\nMain monitoring script that tracks a specific game and updates lights.\n\nUsage:\n\n.\\game-tracker.ps1 -Sport \"nfl\" -Team1 \"LAR\" -Team2 \"SEA\" -Light \"light.backlight\" -Color1 \"0,0,255\" -Color2 \"0,100,0\" [-TiedColor \"255,0,0\"]\n\n\nParameters:\n\n-Sport: \"nfl\", \"nba\", \"nhl\", or \"mlb\"\n-Team1: First team abbreviation\n-Team2: Second team abbreviation\n-Light: Home Assistant light entity ID\n-Color1: RGB color for Team1 (comma-separated, e.g., \"0,0,255\" for blue)\n-Color2: RGB color for Team2 (comma-separated, e.g., \"0,100,0\" for dark green)\n-TiedColor: (Optional) RGB color when game is tied\nkeeper.ps1\n\nAuto-restart supervisor that prevents 30-minute timeout crashes.\n\nUsage:\n\n.\\keeper.ps1 -TrackerScript \"game-tracker.ps1\" -RestartInterval 25\n\n\nParameters:\n\n-TrackerScript: Path to the game-tracker.ps1 script\n-RestartInterval: Minutes between restarts (default: 25)\nCommon Team Abbreviations\n\nNFL:\n\nRams: LAR, Seahawks: SEA, Chiefs: KC, Bills: BUF, Patriots: NE\nCowboys: DAL, Eagles: PHI, 49ers: SF, Packers: GB, Bears: CHI\n[Full list: https://www.espn.com/nfl/teams]\n\nNBA:\n\nLakers: LAL, Celtics: BOS, Warriors: GS, Knicks: NY, Bulls: CHI\nHeat: MIA, Nets: BKN, 76ers: PHI, Bucks: MIL, Mavericks: DAL\nNuggets: DEN, Suns: PHX, Clippers: LAC, Raptors: TOR\n[Full list: https://www.espn.com/nba/teams]\n\nNHL:\n\nRangers: NYR, Devils: NJ, Bruins: BOS, Maple Leafs: TOR, Canadiens: MTL\nPenguins: PIT, Capitals: WSH, Flyers: PHI, Lightning: TB, Panthers: FLA\nRed Wings: DET, Blackhawks: CHI, Avalanche: COL, Golden Knights: VGK\n[Full list: https://www.espn.com/nhl/teams]\n\nMLB:\n\nYankees: NYY, Red Sox: BOS, Dodgers: LAD, Giants: SF, Mets: NYM\nCubs: CHC, Cardinals: STL, Astros: HOU, Braves: ATL, Phillies: PHI\n[Full list: https://www.espn.com/mlb/teams]\nCommon RGB Colors\nBlue: 0,0,255\nRed: 255,0,0\nGreen: 0,255,0\nDark Green: 0,100,0\nOrange: 255,165,0\nPurple: 128,0,128\nYellow: 255,255,0\nWhite: 255,255,255\nWorkflow\n\nWhen user requests game tracking:\n\nIdentify sport and teams:\n\nExtract sport (NFL/NBA/NHL/MLB)\nGet team abbreviations from user or look up from team names\n\nGet light and color preferences:\n\nAsk for light entity ID (or read from Home Assistant config)\nGet desired RGB colors for each team\nOptional: Ask if they want a tied-game color\n\nLoad Home Assistant config:\n\n$config = Get-Content \".homeassistant-config.json\" | ConvertFrom-Json\n$token = $config.token\n$url = $config.url\n\n\nStart game tracker:\n\n.\\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\"\n\n\nStart keeper for auto-restart:\n\nStart-Process powershell -ArgumentList \"-File keeper.ps1 -TrackerScript 'game-tracker.ps1'\" -WindowStyle Hidden\n\n\nConfirm to user:\n\nTell them monitoring is active\nShow current score if available\nExplain color scheme\nTell them how to stop it\nStopping the Tracker\n\nTo stop monitoring:\n\nGet-Process powershell | Where-Object { $_.CommandLine -like \"*game-tracker.ps1*\" -or $_.CommandLine -like \"*keeper.ps1*\" } | Stop-Process -Force\n\nTroubleshooting\n\nLight not changing:\n\nVerify Home Assistant token is valid\nCheck light entity ID is correct\nEnsure Home Assistant is accessible at the configured URL\n\nScript crashes:\n\nKeeper should auto-restart it\nCheck ESPN API is accessible\nVerify team abbreviations are correct\n\nWrong team colors:\n\nDouble-check RGB values (must be 0-255, comma-separated)\nEnsure colors are assigned to correct teams"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/0xadamsu/game-light-tracker",
    "publisherUrl": "https://clawhub.ai/0xadamsu/game-light-tracker",
    "owner": "0xadamsu",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/game-light-tracker",
    "downloadUrl": "https://openagent3.xyz/downloads/game-light-tracker",
    "agentUrl": "https://openagent3.xyz/skills/game-light-tracker/agent",
    "manifestUrl": "https://openagent3.xyz/skills/game-light-tracker/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/game-light-tracker/agent.md"
  }
}