← 返回 Skills 市场
jiayun

Android TV Netflix

作者 Jiayun Zhou (Claudia) · GitHub ↗ · v1.0.0
macoslinux ⚠ suspicious
426
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install androidtv-netflix
功能描述
Search and play Netflix content on Android TV. When the user asks to play a specific Netflix title on TV, the agent looks up the title ID and executes ADB co...
使用说明 (SKILL.md)

Android TV Netflix Skill

This skill remotely controls an Android TV device to play Netflix content via ADB.

Prerequisites

If the user has not set up ADB access before, guide them through these steps:

  1. Enable Developer Options on the Android TV:

    • Go to Settings → Device Preferences → About and tap Build 7 times.
    • Go back to Settings → Device Preferences → Developer options and enable USB debugging (also called "Network debugging" on some devices).
  2. Assign a static IP to the Android TV (either method works):

    • Router-side (recommended): In the router's admin page, find DHCP reservation / static lease settings and bind a fixed IP to the Android TV's MAC address. This requires no changes on the TV itself.
    • TV-side: Go to Settings → Network & Internet → (your Wi-Fi network) → IP settings → Static and assign an address outside the DHCP range.
  3. Install ADB on the local machine:

    • macOS: brew install android-platform-tools
    • Linux (Debian/Ubuntu): sudo apt install adb
  4. Connect and authorize:

    adb connect \x3CANDROID_TV_IP>:5555
    

    A prompt will appear on the TV asking to allow USB debugging — the user must confirm on the TV (check "Always allow" to skip this next time). Verify with adb devices — it should show device, not unauthorized.

  5. Set the environment variable (optional — defaults to 192.168.125.228):

    export ANDROID_TV_IP="192.168.1.200"
    

Core Workflow

  1. Look up the title ID: Use web_search to find the Netflix Title ID for the requested content (typically an 8-digit number, search within the user's region).
  2. Ensure ADB connectivity: Verify that adb is connected to the Android TV device.
  3. Execute playback: Run scripts/play_netflix.sh \x3CTITLE_ID> for precise deep-link playback.

Tools

  • Direct playback script: scripts/play_netflix.sh \x3CID>
  • ADB basic controls (see references/adb-keycodes.md for the full list):
    • Pause / Play: adb shell input keyevent 85
    • Volume up: adb shell input keyevent 24
    • Volume down: adb shell input keyevent 25
    • Home: adb shell input keyevent 3

Troubleshooting

  • If Netflix is stuck on the profile selection screen, press Enter to confirm: adb shell input keyevent 66.
  • If the video does not auto-play, send a D-pad Center press: adb shell input keyevent 23.
安全使用建议
This skill appears to do what it claims, but consider the following before installing: (1) ADB network debugging exposes your TV to any host on the same network that can reach its IP/port — only enable wireless debugging on a trusted network and confirm the TV's authorization prompt before allowing a connection. (2) The script contains a default IP (192.168.125.228) — ensure you set ANDROID_TV_IP to your device's address to avoid targeting the wrong device. (3) Review and trust the local adb binary you run (install from official sources). (4) The SKILL.md references exporting ANDROID_TV_IP but does not declare it in requires.env — this is a minor doc mismatch; if you prefer, set the env var yourself or edit the script to require explicit input. (5) Because the skill can invoke adb commands, only allow it if you trust the skill source and are comfortable with an agent issuing commands on your local network.
功能分析
Type: OpenClaw Skill Name: androidtv-netflix Version: 1.0.0 The skill is classified as suspicious due to a shell injection vulnerability in `scripts/play_netflix.sh`. The script directly embeds the `$TITLE_ID` argument into an `adb shell am start` command without sanitization. If a malicious `TITLE_ID` (e.g., containing shell metacharacters like `; rm -rf /`) is passed to this script, it could lead to arbitrary command execution on the local machine running the OpenClaw agent, rather than just controlling the Android TV. While the overall intent of controlling Android TV for Netflix is benign, this critical vulnerability makes the skill suspicious.
能力评估
Purpose & Capability
Name/description (play Netflix on Android TV) aligns with required binary (adb) and the provided script and instructions. The included script directly implements the claimed behavior (deep-link to netflix.com/watch/<ID> via adb).
Instruction Scope
SKILL.md keeps to the task (lookup title ID, ensure adb connectivity, run the script). It references an optional ANDROID_TV_IP environment variable (and provides a default IP) but does not declare it in requires.env; this is a minor inconsistency but not evidence of hidden actions. The instructions ask the agent to use web_search to find Title IDs — that is expected for the described workflow.
Install Mechanism
There is no install spec (instruction-only) and the only runtime dependency is adb, which is reasonable. The included shell script is small and readable; nothing is being downloaded or extracted by the skill.
Credentials
The skill does not request credentials or access to unrelated services. The only environment/credential-like item is an optional ANDROID_TV_IP (used as a target for adb); requiring adb and an IP for controlling an Android TV is proportionate to the skill's purpose.
Persistence & Privilege
The skill is user-invocable, not always-on, and does not request elevated or persistent system privileges. It does not modify other skills or system-wide configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install androidtv-netflix
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /androidtv-netflix 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of androidtv-netflix. - Search and play specific Netflix titles on Android TV via ADB commands. - Automatically finds Netflix title IDs and deep-links to content. - Provides setup instructions for ADB connection and network configuration. - Supports basic playback controls and troubleshooting via ADB key events. - Compatible with macOS and Linux systems.
元数据
Slug androidtv-netflix
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Android TV Netflix 是什么?

Search and play Netflix content on Android TV. When the user asks to play a specific Netflix title on TV, the agent looks up the title ID and executes ADB co... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 426 次。

如何安装 Android TV Netflix?

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

Android TV Netflix 是免费的吗?

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

Android TV Netflix 支持哪些平台?

Android TV Netflix 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(macos, linux)。

谁开发了 Android TV Netflix?

由 Jiayun Zhou (Claudia)(@jiayun)开发并维护,当前版本 v1.0.0。

💬 留言讨论