← 返回 Skills 市场
S2-SP-OS Vision Cast
作者
MilesXiang
· GitHub ↗
· v1.1.0
· MIT-0
178
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install s2-vision-projection
功能描述
S2-SP-OS Vision Cast. Features a universal Protocol Sniffer (AirPlay/Chromecast/DLNA) for native casting, backed by our secure S2 ephemeral push fallback. /...
安全使用建议
This skill appears coherent for LAN casting: it probes local casting ports and can fall back to an S2 push mechanism. Before installing, verify the following: (1) Source/trust — the package homepage and author are unknown; confirm the vendor and review any externally hosted receiver/service docs. (2) Token scope — find out what S2_VISION_TOKEN can do (which endpoints it authorizes and whether it allows arbitrary pushes to user devices). Limit the token's privileges if possible. (3) Network behavior — the visible code shows only local port probes and a stubbed push; ask the author for the real push implementation and endpoints so you can review where payloads are sent. (4) Consent is only an env var — S2_PRIVACY_CONSENT=1 is a simple guard; ensure agents set it intentionally and verify local policy before allowing scans on shared networks. If you need higher assurance, run the script in a controlled test environment and inspect traffic (e.g., with a packet capture) before deploying on production networks.
功能分析
Type: OpenClaw Skill
Name: s2-vision-projection
Version: 1.1.0
The skill bundle provides a framework for discovering and interacting with media casting devices (AirPlay, Chromecast, DLNA) on a local network. The core logic in `vision_cast.py` implements a port-knocking 'sniffer' that is explicitly restricted to private/LAN IP addresses to prevent SSRF or external scanning. The tool requires explicit user consent via environment variables (S2_PRIVACY_CONSENT) and follows a well-documented workflow in SKILL.md and AGENT-EXAMPLES.md that prioritizes native protocols and privacy. No indicators of data exfiltration, unauthorized execution, or malicious prompt injection were identified.
能力评估
Purpose & Capability
Name/description (protocol sniffer + secure fallback) match required binaries (python3) and env vars (S2_PRIVACY_CONSENT, S2_VISION_TOKEN). The script implements port probing of common casting ports and a fallback push; requiring a vision token for push is proportionate to the described feature.
Instruction Scope
Runtime instructions tell the agent to run local LAN port probes and optionally push an image payload to a target device. The script enforces that targets are private LAN addresses and requires explicit S2_PRIVACY_CONSENT. The SKILL.md sometimes refers to subnets and external helper tools (pychromecast/pyatv, s2-spectrum-perception) which are outside this skill — agents may rely on other components not included here. The code provided does not show the actual network push implementation (push_secure_snapshot is a stubbed return), so the real external endpoints and data flow are not visible in the repository.
Install Mechanism
No install spec; this is instruction + code only. No external downloads or archive extraction. The only runtime dependency is Python and the requests package (the code imports requests). Low install risk.
Credentials
Only two environment variables are required: S2_PRIVACY_CONSENT (consent gate) and S2_VISION_TOKEN (auth token for S2 push). Both are relevant to the declared purpose. There are no unrelated credentials or config paths requested.
Persistence & Privilege
Skill is not always-enabled and does not request persistent system/global configuration changes. It follows the normal autonomous-invocation default; no elevated privileges or modifications to other skills are requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install s2-vision-projection - 安装完成后,直接呼叫该 Skill 的名称或使用
/s2-vision-projection触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
- Added universal protocol sniffing to discover AirPlay, Chromecast, and DLNA casting capabilities before fallback.
- Improved fallback projection to use S2's secure, ephemeral (self-destructing) push when no preferred protocols are available.
- Updated documentation for clear step-by-step usage, prioritizing user device compatibility and privacy.
- Metadata and environment variable requirements clarified for setup and operation.
元数据
常见问题
S2-SP-OS Vision Cast 是什么?
S2-SP-OS Vision Cast. Features a universal Protocol Sniffer (AirPlay/Chromecast/DLNA) for native casting, backed by our secure S2 ephemeral push fallback. /... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 178 次。
如何安装 S2-SP-OS Vision Cast?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install s2-vision-projection」即可一键安装,无需额外配置。
S2-SP-OS Vision Cast 是免费的吗?
是的,S2-SP-OS Vision Cast 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
S2-SP-OS Vision Cast 支持哪些平台?
S2-SP-OS Vision Cast 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 S2-SP-OS Vision Cast?
由 MilesXiang(@spacesq)开发并维护,当前版本 v1.1.0。
推荐 Skills