article-audio
Turns a long Markdown article into one narrated audio file with ElevenLabs Eleven v4 and ffmpeg, keeping each fragment and a manifest so single parts can be…
от overment★ 43 звезды на GitHub
Установить article-audio в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Article Audio
Without this skill, agents strip the Markdown and read what is left. Figure alt text comes out as a tour of boxes and arrows, file paths come out as "slash" and "dot", and nothing stops the run before it spends credits. Your job is the script: rewrite the article for the ear. scripts/article-audio.mjs does the fragile parts: splitting, Eleven v4 requests with request stitching, and a gapless, loudness-normalised merge.
What invoking it authorises
The skill is explicit-only: disable-model-invocation: true for Claude Code and Cursor, agents/openai.yaml for Codex. Invoking it authorises the spoken script, the dry run, and one sample of at most 3,000 characters (about $0.25). The full run and every regeneration need a fresh yes after the user sees the estimate.
The key comes from ELEVENLABS_API_KEY, or from ~/.config/elevenlabs/api_key when the variable is not set. Without a key, stop after the dry run and say that the audio waits for the key.
The default voice comes from ELEVENLABS_VOICE_ID, or from ~/.config/elevenlabs/voice_id. A voice id belongs to one account, so when the user names a voice to use from now on, write it to that file, not into the skill. The voice's stored stability and similarity are used unless the user asks for other values; for a cloned voice, they are its owner's tuning.
Steps
Run the script with node or bun. <dir> is the output folder: audio/ next to the article unless the user names another place.
- Write
<dir>/script.mdin the article's language (see "Write for the ear").# Titleand## Sectionlines are not spoken: they name the audio and its chapters. Text before the first##becomes an opening chapter named after the title. A heading that only holds a list, such as an outline, folds into the section around it. Blank lines separate paragraphs.<!-- notes -->are not spoken. split <dir> --language <code> --source <article>, with--voice <id>when the user names a voice for this article. Fix everyblockedline. Check eachwarning, and change the text when the warning is right.- If
splitsays there is no voice yet, ask the user for one.voiceslists the voices on the account and marks the default. - Sample: pick the hardest content (terms, numbers, a figure), at most 3,000 characters: one section, or some fragments of a longer one. Run
synth <dir> --only <ids> --yes, where<ids>are section ids (s03) or fragment ids (s03-f01). Then runmerge <dir> --partial, which writessample.mp3. - Show the user the sample path, what to listen for, and the full cost:
synth <dir>without--yesprints it. Wait for a yes. synth <dir> --yes, thenmerge <dir>. Reportaudio.mp3, its duration, and what the API billed:statusprints the total for every take. The estimate prices every character sent at list price, and the API can bill fewer: one Creator account was billed 44% of the characters foreleven_v4in October 2026.
To fix a fragment later, change its words in script.md and run split: only the fragments whose text changed lose their audio. Change words, not only line breaks: with the same seed, a fragment with an added paragraph break came back as the same take. For a bad take of unchanged text, run synth <dir> --only <id> --force --yes, which uses a new seed. Then run merge. Both need the user's yes, as in step 5.
Write for the ear
The script is a new text for a listener, not the article without its marks. Picture two listeners: one reads the article while listening, one walks with headphones and no screen. Every line must work for the walker, and no line may bore the reader. Keep the author's words and order wherever they already work aloud. Rewrite only what the ear cannot follow. Do not summarise and do not add claims.
Ask of each passage:
- Does the listener know where they are? Open with the title, and each section with its heading, as a short spoken line. Before a list of three or more items, say how many there are.
- Does a sentence point at the page ("below", "this table", "click here")? Make it work without the page.
- Is something read that nobody says aloud? File names, paths, commands and identifiers become the words people say: "the agents file", "the memory save tool". Keep the literal spelling only when the listener must type it.
- Is there a parenthesis, or a label with a colon ("State: holds the thread")? Make it a sentence of its own ("State holds the thread"), or drop it.
- Is it a code block or a table? Say what the code does, or what the table shows, and the one or two details the text relies on. Never read code or cells.
Eleven v4 facts that change the text:
- It has no SSML and no speed or style setting. Pauses come from punctuation: a sentence end gives about 0.3 to 0.6 s, and a paragraph break adds nothing. The merge adds exact pauses between fragments and before each section, so do not add pause marks.
- A short line that ends in an acronym can r
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- agents/openai.yaml
- references/manifest.md
- references/sources.md
- scripts/article-audio.mjs
FAQ
Что делает скилл article-audio?
Turns a long Markdown article into one narrated audio file with ElevenLabs Eleven v4 and ffmpeg, keeping each fragment and a manifest so single parts can be checked and regenerated. It spends API credits, so it runs only when invoked by name.
Как установить скилл article-audio?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл article-audio запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…