explaingit

ferrants/skill-tts

Analysis updated 2026-07-25

1PythonAudience · vibe coderComplexity · 2/5Setup · easy

TLDR

A Claude Code plugin that turns written text into spoken audio using OpenAI's text-to-speech. It narrates documents, saves MP3s, and handles long texts by splitting them into chunks.

Mindmap

mindmap
  root((repo))
    What it does
      Converts text to speech
      Plays audio or saves file
      Rewrites text for speaking
    How it works
      Uses OpenAI TTS API
      Chunks long text
      Fixes speed locally
    Requirements
      Python 3
      OpenAI API key
      ffmpeg for long text
    Use cases
      Narrate articles
      Create voiceovers
      Listen instead of read
    Caveats
      Text sent to OpenAI
      Must disclose AI voice

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Narrate a long article or document so you can listen instead of read.

USE CASE 2

Generate an MP3 voiceover file for a video or podcast.

USE CASE 3

Have text read aloud through your speakers while you work.

USE CASE 4

Convert bullet points and code blocks into natural-sounding spoken audio.

What is it built with?

PythonOpenAI APIClaude Codeffmpeg

How does it compare?

ferrants/skill-tts0xustaz/streamgatea-bissell/unleash-lite
Stars111
LanguagePythonPythonPython
Setup difficultyeasyhardhard
Complexity2/54/54/5
Audiencevibe coderdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires an OpenAI API key stored in a file in your home directory, plus ffmpeg installed for longer texts.

The license is not mentioned in the repository explanation.

In plain English

{"i": 0, "repo": "ferrants/skill-tts", "stars": 1, "lang": "Python", "ok": true, "char_count": 1850, "text": "This is a plugin for Claude Code that converts written text into spoken audio using OpenAI's text-to-speech service. You can use it to narrate a document, create a voiceover for a video, or simply listen to something instead of reading it on screen.\n\nInstallation is a single command using the skills package manager. You can install it globally or scope it to a specific project. To use it, you need an OpenAI API key stored in a file in your home directory. The setup instructions include a clever trick to keep the key out of your shell history, which is a nice security touch.\nThe main skill, called tts, does more than just call the API. It tries to figure out your intent from how you phrase things. If you say \"read this to me,\" it plays the audio through your speakers. If you say \"generate an mp3,\" it saves a file without playing anything. It also rewrites text to sound natural when spoken aloud, converting tables, bullet points, and code blocks into something a person would actually say. You can ask it to read verbatim when the exact wording matters, like with ad copy or legal text.\nLong texts are handled automatically. The OpenAI API limits input to about 4,000 characters, so the script breaks longer content into chunks, processes them in parallel, and stitches the audio back together. A 6,000-word article takes seconds. The script also works around a quirk where the newer voice model ignores speed settings, fixing the tempo locally while preserving pitch.\nThere are a few caveats worth noting. Your text is sent to OpenAI's servers for processing, so you should be careful with confidential documents or anything under a nondisclosure agreement. The audio file itself is created and stored on your own machine. Also, OpenAI requires you to disclose that a voice is AI-generated if you publish the audio, which matters for ads, videos, or podcasts but not for personal use.\nThe tool requires Python 3, though it uses only the standard library so there is nothing extra to install. A program called ffmpeg is needed for longer texts and speed adjustments. A media player is optional if you want to play audio directly from the command line.", "error": null}

Copy-paste prompts

Prompt 1
Read the text in this file aloud to me using the tts skill: [paste file path]
Prompt 2
Generate an mp3 audio file from this text and save it to my desktop: [paste text]
Prompt 3
Narrate this 6,000-word article using the tts skill and play it through my speakers: [paste text]
Prompt 4
Convert this document into natural spoken audio, reading it verbatim without rewriting anything: [paste text]

Frequently asked questions

What is skill-tts?

A Claude Code plugin that turns written text into spoken audio using OpenAI's text-to-speech. It narrates documents, saves MP3s, and handles long texts by splitting them into chunks.

What language is skill-tts written in?

Mainly Python. The stack also includes Python, OpenAI API, Claude Code.

What license does skill-tts use?

The license is not mentioned in the repository explanation.

How hard is skill-tts to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is skill-tts for?

Mainly vibe coder.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.