← 返回 Skills 市场
Sony Tv
作者
yardfarmer
· GitHub ↗
· v1.0.0
· MIT-0
88
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install sony-tv
功能描述
Control Sony Bravia TV via IP Control protocol. Send IRCC remote commands, open URLs in TV browser, kill apps, and run diagnostics. Use when controlling a So...
安全使用建议
What to consider before installing or running this skill:
- The skill does what it says (controls a Sony Bravia over the local network), but the package includes both client-side code (web UI) and a Node/express server. The SKILL.md says "No server required," yet the diagnostic flow expects a local server (http://192.168.50.170:3000) — verify whether you need to run that server and inspect test/src/server.js before running it.
- The SKILL.md and helper script (tv.sh) include a hardcoded TV IP and PSK (19890801). Treat those values as sensitive: if these are your real credentials, replace them with environment variables or prompt-based input. If they are sample values, remove them from deployed artifacts to avoid accidental reuse or leaking real credentials.
- Opening the diagnostic page on the TV causes the TV to fetch content from the specified host. If you run the included server, be aware it will expose a port on your network; review server code and run it in a safe environment (isolated LAN) if you decide to use it.
- If you will run any included server code, inspect the server (test/src/server.js) and other Node files for logging, network callbacks, or code that might collect or forward diagnostic data. The provided files look legitimate (IRCC and JSON-RPC calls to the TV), but you should confirm there is no unexpected remote exfiltration before running.
- Recommended actions: (1) Inspect test/src/server.js and tv.sh; (2) remove or replace hardcoded PSK/IP with configuration via env vars or prompts; (3) only run the server on a trusted/isolated network; (4) if you don't need the diagnostic page, you can use the curl examples or tv.sh helper directly against your TV.
If you want, I can list the exact lines/files that contain the hardcoded PSK/IP and point out where the server is used so you can inspect them further.
功能分析
Type: OpenClaw Skill
Name: sony-tv
Version: 1.0.0
The skill bundle is a comprehensive toolset for controlling Sony Bravia TVs via the IRCC-IP and REST API protocols. It includes a shell script (tv.sh), a Node.js client (SonyTVClient.js), and a web-based remote control interface with a diagnostic page (diag.html) designed to run on the TV's internal browser. While it includes high-risk capabilities such as opening arbitrary URLs on the TV and detecting proprietary Sony APIs (like DirectoryReader for USB access), these features are clearly aligned with the stated purpose of remote control and device diagnostics. The diagnostic data collection is limited to browser capabilities and is sent only to the local server (server.js). No evidence of malicious intent, data exfiltration from the host, or prompt injection was found.
能力标签
能力评估
Purpose & Capability
Name/description align with what the code and SKILL.md do: they send IRCC SOAP and JSON-RPC calls to a Sony Bravia on the local network. However, the SKILL.md says "No server required" while the repository includes a web UI and a Node/express test server (public/* and test/src/server.js) and a diagnostic page intended to be served from 192.168.50.170:3000. That discrepancy (client-only claim vs. included server-side code) is unexplained.
Instruction Scope
Runtime instructions include direct curl examples to a local TV IP and a hardcoded PSK (192.168.50.120 / PSK: 19890801). The doc also instructs opening a diagnostic URL on the TV that points to a local web server (http://192.168.50.170:3000/diag.html). That causes the TV to fetch content from the developer's local host and implies running a server to serve diag.html. The SKILL.md claiming "No server required" contradicts the diagnostic flow. The presence of hardcoded credentials and local IPs in the documentation and helper scripts (tv.sh) is a data-security risk and an operational inconsistency.
Install Mechanism
There is no install spec (instruction-only), so nothing is automatically written to disk by the platform. But the repository contains a Node test server (test/package.json, package-lock.json) and client code that expect express; running those locally will install packages from npm. No remote binary downloads or obfuscated installers were present in the skill package itself.
Credentials
The skill declares no required env vars or credentials, yet the SKILL.md and helper scripts embed a Pre-Shared Key (PSK) and explicit local IP addresses. Hardcoded secrets in docs/scripts are inappropriate: they can be outdated, accidental real credentials, or leak a secret if it was real. The skill does not request unrelated credentials, but embedding the PSK/IP in plaintext is disproportionate and risky.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and is user-invocable only. The skill can be invoked autonomously by models by default (disable-model-invocation=false), which is platform default; that alone is not flagged here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install sony-tv - 安装完成后,直接呼叫该 Skill 的名称或使用
/sony-tv触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Sony Bravia IP control skill adds direct HTTP command support and rich documentation
- New direct control of Sony Bravia TVs via IRCC-IP and REST API, no server required
- Supports sending IRCC remote commands, opening URLs in the built-in TV browser, killing apps, and running diagnostics
- Includes detailed command reference and ready-to-use shell/bash script for easy integration
- Optional local test server for diagnostics and browser capability scan
- Documents available IRCC codes, power control, HDMI switching, status queries, and TV browser capabilities
元数据
常见问题
Sony Tv 是什么?
Control Sony Bravia TV via IP Control protocol. Send IRCC remote commands, open URLs in TV browser, kill apps, and run diagnostics. Use when controlling a So... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 88 次。
如何安装 Sony Tv?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install sony-tv」即可一键安装,无需额外配置。
Sony Tv 是免费的吗?
是的,Sony Tv 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Sony Tv 支持哪些平台?
Sony Tv 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Sony Tv?
由 yardfarmer(@yardfarmer)开发并维护,当前版本 v1.0.0。
推荐 Skills