← Back to Skills Marketplace
S2-SP-OS Vision Cast
by
MilesXiang
· GitHub ↗
· v1.1.0
· MIT-0
178
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install s2-vision-projection
Description
S2-SP-OS Vision Cast. Features a universal Protocol Sniffer (AirPlay/Chromecast/DLNA) for native casting, backed by our secure S2 ephemeral push fallback. /...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install s2-vision-projection - After installation, invoke the skill by name or use
/s2-vision-projection - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 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. /... It is an AI Agent Skill for Claude Code / OpenClaw, with 178 downloads so far.
How do I install S2-SP-OS Vision Cast?
Run "/install s2-vision-projection" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is S2-SP-OS Vision Cast free?
Yes, S2-SP-OS Vision Cast is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does S2-SP-OS Vision Cast support?
S2-SP-OS Vision Cast is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created S2-SP-OS Vision Cast?
It is built and maintained by MilesXiang (@spacesq); the current version is v1.1.0.
More Skills