voice-tts

Convert typed text into spoken audio locally using pyttsx3.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/AP3X-Dev/AGENT --skill voice-tts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: voice-tts
Source: https://github.com/AP3X-Dev/AGENT/tree/main/skills/voice-tts
Command: npx skills add https://github.com/AP3X-Dev/AGENT --skill voice-tts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyttsx3, and includes scripts (resource) components.

What problem does it solve?

This skill provides local, on-device text-to-speech output, turning written text into audible speech without needing cloud services.

Core Features & Use Cases

  • Cross-platform TTS: Uses pyttsx3 to work on Windows, macOS, and Linux.
  • Voice selection: List available voices and speak text with a chosen voice.
  • Offline operation: Runs entirely offline on the host when a TTS engine is available.
  • Use cases include accessibility, hands-free reading, and conversational assistants.

Quick Start

Use the tts skill to speak a line of text from the command line. For example:

  • Speak text: python scripts/tts.py speak "Hello, I am your assistant."
  • List voices: python scripts/tts.py voices

Frequently Asked Questions about voice-tts

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

FAQPage Schema
How do I convert text to speech offline using Python?

You can convert text to speech offline by using the pyttsx3 library, which automates turning typed text into spoken audio on your local device without needing cloud services.

Can I use pyttsx3 for text-to-speech on Windows, macOS, and Linux?

Yes, pyttsx3 supports cross-platform text-to-speech, allowing you to generate spoken audio offline on Windows, macOS, and Linux when system voices are available.

How do I list available system voices for local TTS output?

You can list available system voices by running the voices command in the TTS script, which queries the pyttsx3 engine for all installed offline audio voices on your host.

Does offline text-to-speech require an internet connection to operate?

Offline text-to-speech does not require an internet connection, as the pyttsx3 engine runs entirely on the local host and uses pre-installed system voices for audio output.

What are the limitations of using pyttsx3 for text-to-speech?

The main limitation of pyttsx3 for text-to-speech is its complete dependency on the availability of local system voices, meaning it cannot generate audio if no TTS engine is installed on the host.

When should I use offline TTS instead of cloud-based text-to-speech services?

You should use offline TTS instead of cloud-based text-to-speech services for accessibility, hands-free reading, or voice-enabled interactions where local privacy and operation without internet connectivity are required.