Logo de Article Audio

Article Audio

Organização
overment
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.

Visão geral

Publicado poroverment
Repositórioskills
Nome da habilidadearticle-audio
Estrelas
34
Forks
2
Arquivos incluídos
4
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • 4 arquivos incluídos

    Scripts, modelos de documentos e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente leitura e nunca são executados.

  • Código aberto

    Publicada por overment no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Article Audio no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/overment/skills/tree/main/skills/article-audio
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/overment/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/article-audio .claude/skills/article-audio
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Article Audio em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Article Audio automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Article Audio não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

  1. Write <dir>/script.md in the article's language (see "Write for the ear"). # Title and ## Section lines 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.
  2. split <dir> --language <code> --source <article>, with --voice <id> when the user names a voice for this article. Fix every blocked line. Check each warning, and change the text when the warning is right.
  3. If split says there is no voice yet, ask the user for one. voices lists the voices on the account and marks the default.
  4. 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 run merge <dir> --partial, which writes sample.mp3.
  5. Show the user the sample path, what to listen for, and the full cost: synth <dir> without --yes prints it. Wait for a yes.
  6. synth <dir> --yes, then merge <dir>. Report audio.mp3, its duration, and what the API billed: status prints 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 for eleven_v4 in 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 run into the next sentence: "…and MCP. Agents may…" came out with 50 ms between them. End such a line on a plain word: "Finally, MCP and the command line."
  • Square brackets are audio tags, and a tag can come out as a sound effect. Text between slashes is read as IPA. split blocks both. The one exception is IPA written as "/ˈwɜːrd/" to fix a pronunciation.
  • Capitals add stress. Write an all-capital name as a normal word ("Apex", not "APEX"). Keep acronyms that people say as letters (API, LLM).
  • Write versions, codes and ranges as they are said: "season two, episode one", "version four", "from five to ten". In Polish, write a number as words when it takes a case ending ("w dwa tysiące dwudziestym szóstym roku"), and listen for it in the sample.
  • In a Polish article, keep established English terms in English. If the sample mispronounces a term, respell it or use IPA, and fix it everywhere in the script.

Figures: say the point, not the picture

Alt text describes a picture for someone who cannot see it, so it lists shapes, colours and positions. The listener needs what the figure means. Read the figure's alt text, its caption (under the image or inside it), and the paragraphs before and after it. If you can open the image, look at it. Authoring notes, such as drawing instructions in comments, can show the intent, but never read their wording.

Then ask what the walker would lose if the figure were skipped:

  • Nothing, because the text already says it: skip the figure, or give one bridging sentence.
  • Facts, because the text points at the figure ("like this:"), builds on it, or does not have what the figure shows (an example, a grouping): give the point in one sentence, then only those facts, as a flow of who does what and in what order. Two to four sentences. A figure that maps the whole article may need a few more.
  • Data (a chart): the trend or the comparison, and the one or two numbers the text uses.

Leave out colours, shapes, arrows, positions, line styles, legends, and labels that repeat the text. Open with a light cue, so the reader can find the figure: "The diagram here shows…". Do not use "as you can see".

Alt text: "A flow diagram. A red box labelled Queue sits on the left. Three arrows lead to grey boxes labelled Worker 1, Worker 2 and Worker 3. A dashed arrow goes from each worker to a database cylinder on the right." Script: "The diagram here shows one queue feeding three workers in parallel. Each worker writes its result to the same database."

Fragments and output

split makes the fragments: whole paragraphs, never across a ## section, about 1,600 characters each (about two minutes) and never more than 2,500. That size is short enough to check by ear and cheap to regenerate (about $0.13 at list price), and long enough for natural phrasing. Request stitching keeps the voice even across fragment borders. Keep paragraphs under about 1,000 characters, so that split has places to cut.

The player reads audio.mp3 and manifest.json. The fields are in references/manifest.md. Facts, prices and sources are in references/sources.md.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Article Audio faz?

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.

Por que usar Article Audio no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Article Audio é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Article Audio no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/overment/skills/tree/main/skills/article-audio. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Article Audio?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Article Audio?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Article Audio com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Article Audio é gratuita?

Sim. A habilidade é publicada no GitHub por overment sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇