text-to-speech

Convert textual input into audible speech using macOS say or Linux espeak.

2|1|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/dalehurley/phpbot --skill text-to-speech-dalehurley
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: text-to-speech
Source: https://github.com/dalehurley/phpbot/tree/main/skills/text-to-speech
Command: npx skills add https://github.com/dalehurley/phpbot --skill text-to-speech-dalehurley

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convert textual input into audible speech that plays through the computer speakers, enabling spoken feedback and accessibility.

Core Features & Use Cases

  • OS-native TTS invocation (macOS say, Linux espeak) for immediate, no-dependency speech.
  • API-based synthesis for higher quality voices when available.
  • Playback verification and fallback handling to ensure audio is produced.
  • Use cases include voice responses in chatbots, accessibility assistance, and loud-announcement style alerts.

Quick Start

Speak the given text aloud using the system's TTS voices.

Frequently Asked Questions about text-to-speech

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert text to speech output on macOS and Linux?

You can convert text to speech on macOS and Linux by invoking OS-native commands like macOS say or Linux espeak, which play audible speech directly through your computer speakers without extra dependencies.

Can I use API-based voices for higher quality text-to-speech synthesis?

Yes, API-based text-to-speech synthesis is supported for higher quality voices, providing an alternative to native OS voices when enhanced audio fidelity is required for your speech output.

Does text-to-speech playback verification handle audio output failures?

Text-to-speech playback verification ensures audio is produced by applying fallback handling, which checks that speech output is successfully generated and played through the computer speakers.

What are the best use cases for text-to-speech on desktop environments?

Text-to-speech on desktop environments supports accessibility assistance, voice responses in chatbots, and loud-announcement style alerts, providing spoken feedback across macOS and Linux systems.

Do I need additional dependencies to use native TTS commands like say and espeak?

No additional dependencies are required for native text-to-speech commands, as macOS say and Linux espeak provide immediate, no-dependency speech synthesis directly through the operating system.