← 返回 Skills 市场
lovefromio

Lovefromio Voice Wake Say

作者 AI · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
44
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install lovefromio-voice-wake-say
功能描述
Speak responses aloud on macOS using the built-in `say` command when user input indicates Voice Wake/voice recognition (for example, messages starting with "...
使用说明 (SKILL.md)

Voice Wake Say

Overview

Use macOS say to read the assistant's response out loud whenever the conversation came from Voice Wake/voice recognition. Do not use the tts tool (it calls cloud providers).

When to Use say (CHECK EVERY MESSAGE INDIVIDUALLY)

IF the user message STARTS WITH: User talked via voice recognition

  • Step 1: Acknowledge with say first (so the user knows you heard them)
  • Step 2: Then perform the task
  • Step 3: Optionally speak again when done if it makes sense

IF the user message does NOT start with that exact phrase

  • THEN: Do NOT use say. Text-only response only.

Critical:

  • Check EACH message individually — context does NOT carry over
  • The trigger phrase must be at the VERY START of the message
  • For tasks that take time, acknowledge FIRST so the user knows you're working

Workflow

  1. Detect Voice Wake context
  • Trigger ONLY when the latest user/system message STARTS WITH User talked via voice recognition
  • If the message instructs "repeat prompt first", keep that behavior in the response.
  1. Prepare spoken text
  • Use the final response text as the basis.
  • Strip markdown/code blocks; if the response is long or code-heavy, speak a short summary and mention that details are on screen.
  1. Speak with say (local macOS TTS)
printf '%s' "$SPOKEN_TEXT" | say

Optional controls (use only if set):

printf '%s' "$SPOKEN_TEXT" | say -v "$SAY_VOICE"
printf '%s' "$SPOKEN_TEXT" | say -r "$SAY_RATE"

Failure handling

  • If say is unavailable or errors, still send the text response and note that TTS failed.
安全使用建议
This skill appears to do what it says (speak replies using macOS 'say'), but there are a few things to check before installing: 1) It only works on macOS but the metadata doesn't declare that — avoid installing on non-macOS agents. 2) The instructions run a shell pipeline with user-controlled SPOKEN_TEXT; verify your agent runtime will properly quote/escape variables to avoid command-injection risks (or prefer an API that avoids shell interpolation). 3) SKILL.md references optional env vars (SAY_VOICE, SAY_RATE) that aren't declared — confirm whether you need to set these and that they won't leak sensitive info. 4) The included _meta.json metadata (ownerId/version) doesn't match the registry metadata — this is a packaging inconsistency; prefer skills with clear, consistent provenance. If you trust the owner and run on macOS, the functionality is reasonable; otherwise treat it cautiously or request a fixed packaging that declares OS restrictions and documents expected env vars and safe execution behavior.
功能分析
Type: OpenClaw Skill Name: lovefromio-voice-wake-say Version: 1.0.0 The voice-wake-say skill is designed to provide local text-to-speech functionality on macOS using the built-in `say` command. It triggers only when specific phrases are detected in user input and explicitly instructs the agent to avoid cloud-based TTS tools. The shell execution logic (`printf | say`) is standard for this purpose and lacks any indicators of malicious intent, data exfiltration, or persistence.
能力评估
Purpose & Capability
The skill's stated purpose (use macOS 'say' to vocalize replies when a message starts with a specific trigger) aligns with the SKILL.md instructions. However the registry metadata does not declare an OS restriction even though the tool only works on macOS — this is a packaging inconsistency that could lead to it being installed or invoked on unsupported platforms.
Instruction Scope
SKILL.md instructs the agent to run a local shell pipeline: printf '%s' "$SPOKEN_TEXT" | say. Executing local TTS is expected for this skill, but any runtime that fails to properly quote/escape SPOKEN_TEXT could be vulnerable to command injection. The instructions also reference optional env vars (SAY_VOICE, SAY_RATE) and require checking each message for the exact trigger phrase; those env vars are not declared elsewhere (see environment_proportionality).
Install Mechanism
There is no install spec and no code files — instruction-only skills are lowest-risk from an installation standpoint. Nothing is downloaded or written to disk by the skill itself.
Credentials
The skill declares no required environment variables, but SKILL.md mentions optional env vars (SAY_VOICE, SAY_RATE) that are not declared in the metadata. This is a minor mismatch; no sensitive credentials are requested, but the missing declaration reduces clarity about what the skill might read from the environment.
Persistence & Privilege
always is false and the skill has no install or persistence behavior. It does not request elevated privileges or modify other skills/configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install lovefromio-voice-wake-say
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /lovefromio-voice-wake-say 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release: Adds skill to speak assistant’s responses aloud on macOS using the built-in say command when user input comes from voice recognition. - Triggers only if user message starts with "User talked via voice recognition". - Checks each message individually; context is not retained between messages. - Acknowledges requests before performing time-consuming actions, ensuring users know they were heard. - Uses on-device macOS TTS (`say`), never cloud TTS. - Falls back to text-only response and notifies user if `say` fails.
元数据
Slug lovefromio-voice-wake-say
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Lovefromio Voice Wake Say 是什么?

Speak responses aloud on macOS using the built-in `say` command when user input indicates Voice Wake/voice recognition (for example, messages starting with "... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 44 次。

如何安装 Lovefromio Voice Wake Say?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install lovefromio-voice-wake-say」即可一键安装,无需额外配置。

Lovefromio Voice Wake Say 是免费的吗?

是的,Lovefromio Voice Wake Say 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Lovefromio Voice Wake Say 支持哪些平台?

Lovefromio Voice Wake Say 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Lovefromio Voice Wake Say?

由 AI(@lovefromio)开发并维护,当前版本 v1.0.0。

💬 留言讨论