← 返回 Skills 市场
603
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install discord-local-stt-tts-installer
功能描述
(macOS) Discord voice assistant installer. Install/update discord-local-stt-tts (Discord voice, Discord local, local STT + local TTS) from GitHub Releases.
使用说明 (SKILL.md)
discord-local-stt-tts-installer (macOS)
ClawHub skill that installs/updates the discord-local-stt-tts OpenClaw plugin.
- Plugin repo: https://github.com/vilmire/discord-local-stt-tts
- Install path:
~/.openclaw/openclaw-extensions/plugins/discord-local-stt-tts
Supported platforms
- macOS only
Requirements
curlpython3(used by the installer; also needed for some local STT engines)unzipffmpeg(required by the plugin runtime)- Optional:
pnpm(if you want the installer to attempt a build)
macOS permissions
If you use Apple Speech (apple-speech) local STT, macOS may require:
- System Settings → Privacy & Security → Speech Recognition
- System Settings → Privacy & Security → Microphone
Install / Update
bash bin/install.sh
openclaw gateway restart
What the installer does
- Downloads the latest GitHub Release source zipball
- Backs up any existing plugin folder
- Installs into the OpenClaw extensions plugin directory
- If
pnpmis available, attemptspnpm i && pnpm build(best-effort)
Notes
- This skill does not modify your
openclaw.json. You still need to enable/configure the plugin.
安全使用建议
This installer largely does what it says (download a GitHub release and install it into your OpenClaw plugin folder), but be aware of two practical concerns before running it: (1) the script currently has a bug that will likely abort the install because the Python heredocs are quoted and the $LATEST_JSON path is not expanded; you can fix it by allowing variable expansion (e.g., change <<'PY' to <<PY) or call Python with the filename as an argument (python3 -c "import json,sys;print(json.load(open(sys.argv[1]))['tag_name'])" "$LATEST_JSON"). (2) If pnpm is installed, the installer will run pnpm i && pnpm build inside the downloaded repo — that executes upstream build scripts which can execute arbitrary commands on your machine. To reduce risk: inspect the repository/release contents manually before installing, run the installer in a restricted environment or VM, avoid having pnpm installed if you don't want automatic builds, or run the build step manually after reviewing package scripts. Also confirm you trust the repository owner and the GitHub release you are installing; the script downloads and extracts code from that release into your home directory (it does create a .bak backup of any existing plugin).
功能分析
Type: OpenClaw Skill
Name: discord-local-stt-tts-installer
Version: 0.1.1
The skill downloads and installs a plugin from a GitHub repository (vilmire/discord-local-stt-tts) using `curl` and `unzip`. A significant supply chain vulnerability exists in `bin/install.sh` because it executes `pnpm i && pnpm build` on the downloaded code if `pnpm` is available. This allows for arbitrary code execution via `package.json` scripts if the upstream GitHub repository were to be compromised, making it a high-risk capability, though not inherently malicious in this skill's design.
能力评估
Purpose & Capability
Name/description match the included installer script: it downloads the latest GitHub release for vilmire/discord-local-stt-tts, backs up any existing plugin, copies files to ~/.openclaw/openclaw-extensions/plugins/..., and optionally runs pnpm build. Required tools listed in SKILL.md (curl, python3, unzip, ffmpeg, optional pnpm) align with the script's behavior.
Instruction Scope
SKILL.md directs the user to run bin/install.sh which performs network downloads from api.github.com/github.com and writes into the user's ~/.openclaw plugin directory — this is expected. However the script contains a bug: the embedded Python heredocs are quoted (<<'PY') so the shell variable $LATEST_JSON will not be expanded inside the heredoc; Python will attempt to open the literal filename '$LATEST_JSON' and fail, causing the installer to exit. Also the script conditionally runs pnpm i && pnpm build inside the installed repo — that will execute upstream build scripts which can run arbitrary code from the release.
Install Mechanism
No package manager installs are declared by the skill; the script downloads release zipballs from GitHub (a well-known host) and extracts them. Download+extract from GitHub Releases is reasonable, but note the installer will execute project build scripts if pnpm is present, which elevates risk: build scripts from the repo run locally. The script writes into a user-owned application extension folder and creates a timestamped backup of any existing install.
Credentials
The skill requests no credentials or environment variables. It only uses standard shell variables (HOME, temporary dirs) and network access to GitHub, which is proportional to the stated purpose.
Persistence & Privilege
always:false and user-invocable:true. The skill does not request permanent platform-wide privileges and only modifies its own plugin directory (and creates a backup). It does not modify other skills or global agent configuration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install discord-local-stt-tts-installer - 安装完成后,直接呼叫该 Skill 的名称或使用
/discord-local-stt-tts-installer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
Improve search keywords (discord/discord voice/discord local) and document macOS permissions + ffmpeg requirement.
v0.1.0
Initial public release. Installs/updates discord-local-stt-tts plugin from GitHub Releases.
元数据
常见问题
Discord Local STT/TTS Installer (macOS) 是什么?
(macOS) Discord voice assistant installer. Install/update discord-local-stt-tts (Discord voice, Discord local, local STT + local TTS) from GitHub Releases. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 603 次。
如何安装 Discord Local STT/TTS Installer (macOS)?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install discord-local-stt-tts-installer」即可一键安装,无需额外配置。
Discord Local STT/TTS Installer (macOS) 是免费的吗?
是的,Discord Local STT/TTS Installer (macOS) 完全免费(开源免费),可自由下载、安装和使用。
Discord Local STT/TTS Installer (macOS) 支持哪些平台?
Discord Local STT/TTS Installer (macOS) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Discord Local STT/TTS Installer (macOS)?
由 vilmire(@vilmire)开发并维护,当前版本 v0.1.1。
推荐 Skills