← Back to Skills Marketplace
fourthdensity

SAM TTS

by fourthdensity · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
859
Downloads
2
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install sam-tts
Description
Generate retro robotic speech audio using SAM (Software Automatic Mouth), the classic C64 text-to-speech synthesizer. Use for /sam command to generate voice messages. Supports /sam on/off toggle mode where all responses are spoken in SAM voice. Supports pitch, speed, mouth, and throat parameters for voice customization.
Usage Guidance
This skill appears to do exactly what it claims: local SAM TTS via a Node.js wrapper calling the sam-js npm package. Before installing: (1) review the sam-js package on npm/GitHub to ensure you trust that dependency (supply-chain risk exists for any npm package); (2) run npm install in a sandbox or CI with npm audit if possible; (3) be aware that enabling “SAM mode” causes the agent to call the Node script for every response (performance and file I/O implications) and that the skill will create/update memory/sam-mode.json and write WAV files to the provided output paths; (4) the skill warns to ask before installing ffmpeg — require explicit user approval if conversion tools are needed. No credentials or network endpoints are requested by the skill itself.
Capability Analysis
Type: OpenClaw Skill Name: sam-tts Version: 1.0.0 The skill provides text-to-speech functionality using the `sam-js` Node.js library. While the `SKILL.md` instructs the agent to pass user-provided text to a Node.js script (`scripts/sam-tts-wrapper.js`), the script itself processes this input as data via a JavaScript function call (`sam.buf8()`), not as a shell command. This design prevents shell injection vulnerabilities. The skill's file system access is limited to temporary WAV files in `/tmp` and its own state file (`memory/sam-mode.json`). The `SKILL.md` also explicitly instructs the agent to seek user consent before installing optional dependencies like `ffmpeg`, demonstrating good security practice. No evidence of data exfiltration, persistence, or other malicious intent was found.
Capability Assessment
Purpose & Capability
Name/description (SAM TTS) match the actual code and install: node + npm package sam-js are used to generate WAV audio. No unrelated binaries, environment variables, or external services are requested.
Instruction Scope
Runtime instructions stay within TTS scope: they read/write a local memory/sam-mode.json for mode/parameters, and invoke the bundled Node scripts to produce WAV files. This grants the skill authority to convert every response to audio when SAM mode is enabled (agent will call node per response), which is expected for this feature but worth noting for performance/IO implications. There are no instructions to read unrelated system files or transmit data to external endpoints.
Install Mechanism
Install is an npm dependency (sam-js) pulled from the public registry (package metadata and package-lock reference npmjs.org). Using npm is appropriate for a Node TTS implementation, but npm packages carry normal supply-chain risk; this is expected and not disproportionate.
Credentials
The skill requests no environment variables or credentials. File writes are limited to skill memory (memory/sam-mode.json) and the explicit output paths provided to the CLI; this aligns with the described functionality.
Persistence & Privilege
always is false and the skill does not request persistent platform-wide privileges. It creates/updates only its own memory/sam-mode.json and output WAV files; it does not modify other skills or system-wide agent configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install sam-tts
  3. After installation, invoke the skill by name or use /sam-tts
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release with toggle mode, voice parameters, and platform integration guide
Metadata
Slug sam-tts
Version 1.0.0
License
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is SAM TTS?

Generate retro robotic speech audio using SAM (Software Automatic Mouth), the classic C64 text-to-speech synthesizer. Use for /sam command to generate voice messages. Supports /sam on/off toggle mode where all responses are spoken in SAM voice. Supports pitch, speed, mouth, and throat parameters for voice customization. It is an AI Agent Skill for Claude Code / OpenClaw, with 859 downloads so far.

How do I install SAM TTS?

Run "/install sam-tts" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is SAM TTS free?

Yes, SAM TTS is completely free (open-source). You can download, install and use it at no cost.

Which platforms does SAM TTS support?

SAM TTS is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created SAM TTS?

It is built and maintained by fourthdensity (@fourthdensity); the current version is v1.0.0.

💬 Comments