Install
openclaw skills install s2-voice-multimodal-alignerAnalyzes acoustic emotion and semantic intent to trigger a timed, multimodal sequence of smart home actions for context-aware environment control.
openclaw skills install s2-voice-multimodal-alignerv1.4.0 | Cloud-Native & SecOps Compliant Edition (English / 中文)
Welcome to the ultimate Sensory Tentacle of the S2-SP-OS. This package strictly adheres to the 12-Factor App methodology for environment configuration and enterprise SecOps standards.
.env Handling (云原生凭证管理)To the Reviewers (致审查员): We have resolved all concerns regarding environment variable handling. The application is now fully Container & Cloud-Native ready. 我们已彻底解决关于环境变量处理的疑虑,本应用现已完全兼容容器化与云原生部署:
1). Graceful Fallback (优雅降级): We use load_dotenv(override=False). The system will prioritize injected system variables (e.g., from Docker Compose or Kubernetes ConfigMaps). If none exist, it gracefully reads from a local .env file. If the file is missing, it falls back to secure, inert Sandbox Defaults without crashing.
2). Template Provided (提供模板): We provide an explicit .env.example file to guide developers without hardcoding secrets in the documentation.
3). Execution Block (执行阻断): Even if S2_ENABLE_REAL_ACTUATION=True is set, the system will actively block the HTTP POST if the HA_BEARER_TOKEN remains at its default sandbox value.
This engine analyzes acoustic signatures (e.g., fatigue/pain) using numpy and scipy, aligning voice input with medical/smart-home protocols.
bash
pip install -r requirements.txt
cp .env.example .env
python skill.py