Token导航 LogoToken导航

Agent Skill · 研究检索

clawtv(clawtv 控制)

clawtv 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

clawtv 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 5,573。

总安装 25,284周安装 1,013GitHub Stars 公开资料未说明下载 8,185核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.2

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install clawtv

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

由 AI 驱动的 Apple TV 遥控器,利用视觉自动导航应用程序、播放内容、控制播放和管理设置。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install clawtv;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

clawtv 怎么安装?

在终端执行 openclaw skills install clawtv。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

clawtv 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

clawtv 需要什么权限?

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

clawtv 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

clawtv 用的人多吗?

公开数据是累计安装 25,284 次,近一周安装 1,013 次,下载 8,185 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

clawtv 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
clawtv

clawtv 控制 · 本页

25,284—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
clawtv
description
AI-powered Apple TV remote control with vision — navigate any app autonomously.
homepage
https://github.com/akivasolutions/clawtv
metadata

ClawTV

AI-powered Apple TV remote that can see the screen and navigate any app autonomously using vision + remote control.

When to use (trigger phrases)

Use this skill immediately when the user asks:

  • "play [movie/show] on Apple TV"
  • "search for [content] on [Netflix/Plex/YouTube/etc]"
  • "open [app] on the TV"
  • "turn on subtitles" / "go to TV settings"
  • "what's playing on Apple TV?"
  • "take a screenshot of the TV"
  • Any Apple TV navigation or control task

Quick start

# AI agent mode — tell it what you want in plain English
python3 ~/Developer/clawtv/clawtv.py do "open Plex and play Fight Club"
python3 ~/Developer/clawtv/clawtv.py do "search for Stranger Things on Netflix"
python3 ~/Developer/clawtv/clawtv.py do "go to settings and turn on subtitles"

# Direct Plex control (instant, no vision loop)
python3 ~/Developer/clawtv/clawtv.py plex play "Fight Club"
python3 ~/Developer/clawtv/clawtv.py plex play "Westworld" -s 2 -e 6

# Manual remote commands
python3 ~/Developer/clawtv/clawtv.py cmd up down select
python3 ~/Developer/clawtv/clawtv.py type "breaking bad"
python3 ~/Developer/clawtv/clawtv.py launch com.plexapp.plex

# Screenshot
python3 ~/Developer/clawtv/clawtv.py screenshot

# Status
python3 ~/Developer/clawtv/clawtv.py playing

Required Credentials

ANTHROPIC_API_KEY (Required for AI/Vision Mode)

The do command (AI agent mode) requires an Anthropic API key to access Claude's vision API for screenshot analysis and navigation decisions.

export ANTHROPIC_API_KEY=sk-ant-...

Or add to your shell profile (~/.zshrc, ~/.bashrc).

Note: This is only required for the do command. Manual commands (cmd, type, launch) and plex direct control do not use the API.

Plex Credentials (Optional)

For instant Plex playback without the vision loop, add these to ~/.clawtv/config.json:

{
  "plex_url": "http://192.168.1.100:32400",
  "plex_token": "your-plex-token",
  "plex_client": "Living Room"
}
  • plex_url: Your Plex server address (local or remote)
  • plex_token: Authentication token from your Plex account
  • plex_client: Name of the Plex client on your Apple TV

Get your Plex token: https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/

Privacy & Data

What Data is Collected and Sent

Screenshots:

  • ClawTV captures screenshots of your Apple TV screen using QuickTime Player or Xcode
  • Screenshots are saved locally to ~/.clawtv/screenshots/ with timestamps
  • When using the do command (AI agent mode), screenshots are sent to Anthropic's Claude API for vision analysis
  • Screenshots may contain sensitive on-screen content including:

- Content you're watching (movie/show titles, thumbnails) - Search queries - Account information visible in app UIs - Any other content displayed on your TV screen

Anthropic API:

  • Only the do command sends data to Anthropic
  • Data sent: screenshots (JPEG compressed) + your goal/instruction + conversation history
  • Anthropic's data retention policy: https://support.anthropic.com/en/articles/7996885-how-long-do-you-store-personal-data
  • Manual commands (cmd, type, launch) and Plex direct control do NOT send any data to external APIs

Credential Storage

Apple TV Pairing Credentials:

  • Stored unencrypted in ~/.clawtv/config.json in your home directory
  • Contains device identifiers and pairing tokens for remote control
  • File permissions: readable only by your user account (standard Unix permissions)

Plex Tokens (if configured):

  • Stored unencrypted in the same ~/.clawtv/config.json file
  • Grants full access to your Plex server and library
  • Can be used to play, pause, search, and control any Plex client

Anthropic API Key:

  • Stored in environment variables or your shell profile
  • Grants access to your Anthropic account and incurs API usage charges

Recommendations

  1. Use a budget-limited API key: Set spending limits on your Anthropic account to prevent unexpected charges
  2. Review config file permissions: Ensure ~/.clawtv/config.json is only readable by your user
  3. Be aware of screenshot content: Screenshots are sent to Anthropic's API and may contain sensitive information
  4. Monitor API usage: The do command can make multiple API calls per task (5-20 steps typical)
  5. Use manual commands when possible: cmd, type, and launch have zero API cost and send no data externally

Security Considerations

Plaintext Credential Storage

  • Apple TV pairing credentials and Plex tokens are stored in plaintext in ~/.clawtv/config.json
  • The file is in your user home directory (~/.clawtv/) with standard Unix file permissions
  • Any process running as your user can read these credentials
  • If your Mac is compromised, these credentials are accessible
  • Consider this when deciding whether to configure Plex integration

Screenshot Privacy

  • Screenshots may contain sensitive content visible on your TV screen
  • Screenshots are saved locally to ~/.clawtv/screenshots/ and persist until manually deleted
  • When using AI agent mode (do), screenshots are transmitted to Anthropic's servers
  • DRM content (Netflix, Disney+, etc.) cannot be captured via QuickTime, but works with Xcode method
  • Review screenshot history periodically and delete sensitive captures

API Cost and Autonomous Behavior

  • The do command runs in a loop (up to 20 steps) and makes Claude API calls automatically
  • Each step = 1 API call with screenshot (~$0.01-0.02 per step depending on model)
  • A stuck or confused agent could consume all 20 steps before giving up
  • Cost implications: Complex tasks can cost $0.10-0.20; monitor your Anthropic usage dashboard
  • Recommendation: Set spending limits on your Anthropic account

Manual Commands are API-Free

  • cmd, type, launch, and plex commands do not use the Claude API
  • No screenshots are sent externally when using these commands
  • Zero cost, zero external data transmission
  • Use these for privacy-sensitive operations

Network Exposure

  • ClawTV communicates with your Apple TV over your local network using the Companion protocol
  • Plex integration (if configured) communicates with your Plex server (local or remote)
  • No external network access except:

- Anthropic API (when using do command) - Plex server (if remote URL configured)

Setup (first-time only)

1. Install dependencies

cd ~/Developer/clawtv
pip install -r requirements.txt

For QuickTime screenshot method (recommended):

pip install pyobjc-framework-Quartz

2. Pair with Apple TV (remote control)

python3 ~/Developer/clawtv/clawtv.py scan    # Find your Apple TV on network
python3 ~/Developer/clawtv/clawtv.py pair    # Enter 4-digit PIN shown on TV

Pairing credentials are saved to ~/.clawtv/config.json.

3. Set up screenshots

QuickTime (recommended):

python3 ~/Developer/clawtv/clawtv.py screenshot --method quicktime
  • QuickTime Player opens and selects your Apple TV as video source
  • Accept the AirPlay pairing on your TV (one-time PIN)
  • Subsequent runs reuse the existing mirror instantly (~0.6s per screenshot)

Xcode (fallback for DRM apps):

  1. On Apple TV: Settings > Privacy & Security → enable "Share with App Devs"
  2. Then Settings > Remotes and Devices > Remote App and Devices
  3. On Mac: Open Xcode, press Cmd+Shift+2 (Devices)
  4. Click your Apple TV in sidebar, enter pairing code
  5. Keep Xcode Devices window open while using ClawTV

4. Set API key

export ANTHROPIC_API_KEY=sk-ant-...

Or add to your shell profile (~/.zshrc, ~/.bashrc).

5. Optional: Plex direct control setup

For instant Plex playback without vision loop, add to ~/.clawtv/config.json:

{
  "plex_url": "http://192.168.1.100:32400",
  "plex_token": "your-plex-token",
  "plex_client": "Living Room"
}

Get your Plex token: https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/

Commands

AI Agent Mode (do)

Tell ClawTV what you want and it figures out the rest using vision + reasoning.

python3 ~/Developer/clawtv/clawtv.py do "<goal>"

How it works:

  1. Takes screenshot of Apple TV
  2. Sends to Claude vision API to analyze UI
  3. Decides what to do (navigate, select, type, launch app)
  4. Sends remote commands
  5. Takes another screenshot to verify
  6. Repeats until goal is accomplished (max 20 steps)

Examples:

python3 ~/Developer/clawtv/clawtv.py do "open Plex and play Fight Club"
python3 ~/Developer/clawtv/clawtv.py do "search for Stranger Things on Netflix"
python3 ~/Developer/clawtv/clawtv.py do "open YouTube and find lo-fi beats"
python3 ~/Developer/clawtv/clawtv.py do "go to settings and turn on subtitles"
python3 ~/Developer/clawtv/clawtv.py do "open Spotify and play my liked songs"

Token optimizations (automatic):

  • Plex goals bypass vision entirely via direct API (instant, pennies)
  • Sliding window: only last 2 screenshots kept in context (~70% token reduction)
  • Images compressed to JPEG 800px q50 (~40% fewer image tokens)
  • System prompt cached via cache_control (90% savings on steps 2+)
  • Haiku 4.5 for routine steps, auto-escalates to Sonnet 4.5 when stuck

Playback pattern: Navigate → start playback → verify playing → skip intro if visible → disconnect → report done

Remote Commands (cmd)

Send direct remote control commands without AI.

python3 ~/Developer/clawtv/clawtv.py cmd <commands...>

Available commands: up, down, left, right, select, menu, home, play, pause, play_pause, next, previous, volume_up, volume_down, top_menu

Examples:

python3 ~/Developer/clawtv/clawtv.py cmd up
python3 ~/Developer/clawtv/clawtv.py cmd down down right select
python3 ~/Developer/clawtv/clawtv.py cmd select sleep:1.5 down    # with timing

Timing: Insert sleep:X between commands to add delays (in seconds).

Type Text (type)

Type text into a focused search/text field on the TV.

python3 ~/Developer/clawtv/clawtv.py type "<text>"

Example:

python3 ~/Developer/clawtv/clawtv.py type "breaking bad"

Note: The text field must already be focused. Use cmd to navigate to search first, or use do for full automation.

Launch App (launch)

Launch an app by bundle ID.

python3 ~/Developer/clawtv/clawtv.py launch <bundle_id>

Example:

python3 ~/Developer/clawtv/clawtv.py launch com.plexapp.plex

Common bundle IDs:

AppBundle ID
Plexcom.plexapp.plex
YouTubecom.google.ios.youtube
HBO Maxcom.wbd.stream
Prime Videocom.amazon.aiv.AIVApp
Apple TVcom.apple.TVWatchList
Spotifycom.spotify.client
ESPNcom.espn.ScoreCenter
Twitchtv.twitch
Pluto TVtv.pluto.ios
NFLcom.nfl.gamecenter
Disney+com.disney.disneyplus
Hulucom.hulu.plus
Netflixcom.netflix.Netflix

Use python3 ~/Developer/clawtv/clawtv.py apps for the full list on your device.

Plex Direct Control (plex)

Bypass the entire vision loop using Plex API directly. Searches your library and tells the Plex client on Apple TV to play. Instant playback, zero vision cost.

# Play a movie
python3 ~/Developer/clawtv/clawtv.py plex play "Fight Club"

# Play a specific episode
python3 ~/Developer/clawtv/clawtv.py plex play "Westworld" -s 2 -e 6

# Search your library
python3 ~/Developer/clawtv/clawtv.py plex search "matrix"

# List Plex clients
python3 ~/Developer/clawtv/clawtv.py plex clients

# List libraries
python3 ~/Developer/clawtv/clawtv.py plex libraries

Requirements:

  • plex_url, plex_token, and plex_client in ~/.clawtv/config.json
  • Plex server running and accessible from Mac
  • Plex client running on Apple TV

Auto-detection: The do command automatically detects Plex goals (e.g., "play Fight Club on Plex") and routes through this path without any vision API calls.

Screenshot (screenshot)

Take a screenshot of the Apple TV and save to ~/.clawtv/screenshots/.

python3 ~/Developer/clawtv/clawtv.py screenshot [--method auto|quicktime|lookout|xcode]

Screenshot methods:

MethodSpeedDRM AppsRequires
QuickTime (default)~0.6s❌ Kills mirror (DRM)QuickTime Player, pyobjc-framework-Quartz
Lookout~0.1s❌ Only captures Lookout appLookout tvOS app running on Apple TV
Xcode (legacy)~2.5s✅ Works with all appsXcode Devices window open

DRM apps (YouTube, Netflix, Disney+, HBO Max) enforce HDCP and terminate the QuickTime AirPlay mirror entirely. Use Xcode method for these apps, or use Lookout for its own UI.

Configuration: Set default method in ~/.clawtv/config.json:

{
  "screenshot_method": "auto"
}

Values: auto (tries quicktime → lookout → xcode), quicktime, lookout, xcode

Disconnect QuickTime (disconnect)

Close the QuickTime mirror and auto-resume playback on the TV.

python3 ~/Developer/clawtv/clawtv.py disconnect

Why: QuickTime mirroring shows a red recording border on the TV and routes audio to the Mac. After starting playback, always disconnect to remove the border and restore audio to the TV.

Auto-resume: Sends play command twice to ensure playback resumes.

Status Commands

# What's currently playing
python3 ~/Developer/clawtv/clawtv.py playing

# Find Apple TVs on network
python3 ~/Developer/clawtv/clawtv.py scan

# List installed apps with bundle IDs
python3 ~/Developer/clawtv/clawtv.py apps

Important Notes

DRM Limitations

DRM apps (YouTube, Netflix, Disney+, HBO Max) terminate the QuickTime AirPlay mirror entirely. When this happens:

  • QuickTime method shows a black screen
  • ClawTV auto-detects the disconnection in auto mode
  • Falls back to Xcode method automatically
  • Or manually use: --method xcode

Apps that work with QuickTime: Plex (local media), Settings, home screen, Apple TV+, most non-DRM apps.

QuickTime Side Effects

When QuickTime mirror is active:

  • Red recording border appears on TV
  • Audio routes to Mac instead of TV speakers
  • DRM apps may refuse to play

Solution: Always run disconnect after starting playback. The do command does this automatically.

Cost

Vision loop (AI agent mode): Uses Claude API for every see-think-act step. Each step = 1 API call with screenshot.

  • Typical task: 5-10 steps = few cents
  • Complex navigation: up to 20 steps = ~$0.10-0.20
  • Uses Haiku 4.5 (cheap) with auto-escalation to Sonnet 4.5 when stuck

Plex direct control: 2 API calls total (pennies) — no vision loop.

Manual commands (cmd, type, launch): Zero API cost.

Config File

~/.clawtv/config.json stores:

{
  "devices": {
    "Living Room": {
      "identifier": "...",
      "credentials": "..."
    }
  },
  "screenshot_method": "auto",
  "plex_url": "http://192.168.1.100:32400",
  "plex_token": "your-plex-token",
  "plex_client": "Living Room"
}

Companion Project

Lookout — tvOS app with built-in HTTP screenshot server at port 8080. Fastest possible screenshot method (~100ms) but only captures Lookout's own UI, not other apps.

Requirements

  • macOS (uses AppleScript for automation)
  • Apple TV 4K (gen 2 or later, tvOS 16+) on same network as Mac
  • Python 3.9+
  • Anthropic API key for Claude vision
  • QuickTime Player (built-in) or Xcode (free from App Store)

Troubleshooting

"No Apple TV found"

  • Run python3 ~/Developer/clawtv/clawtv.py scan to verify device is on network
  • Check that Apple TV and Mac are on same WiFi/LAN
  • Verify Apple TV is awake (not in sleep mode)

"QuickTime mirror disconnected"

  • DRM app killed the mirror — use --method xcode instead
  • Or use Plex direct control to bypass vision entirely

"Screenshot failed"

  • QuickTime: Ensure AirPlay pairing is accepted on TV
  • Xcode: Verify Devices window is open and Apple TV is connected
  • Try --method auto to fall back automatically

"API key not found"

  • Set export ANTHROPIC_API_KEY=sk-ant-... in your shell
  • Or add to ~/.zshrc or ~/.bashrc

"Plex not found"

  • Verify plex_url, plex_token, and plex_client in config
  • Run python3 ~/Developer/clawtv/clawtv.py plex clients to verify client name
  • Ensure Plex server is running and accessible

Architecture

clawtv.py            — Single-file CLI: pairing, remote, screenshots, AI agent
~/.clawtv/
  config.json        — Device pairing credentials + settings
  screenshots/       — Screenshot history (timestamped PNGs)

Stack:

  • pyatv — Apple TV remote control (Companion protocol)
  • QuickTime Player — AirPlay mirror for screenshots (primary)
  • Xcode — Developer device screenshots (fallback)
  • Claude — Vision + reasoning for autonomous navigation
  • python-plexapi — Plex direct control

License

MIT — see LICENSE

平台分布

OpenClaw

91.28%
按下载量换算7,471

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

接触敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills