Article Audio 标志

Article Audio

组织
overment
article-audio

使用 ElevenLabs Eleven v4 和 ffmpeg 将较长的 Markdown 文章转换为一个配音音频文件,同时保留每个片段和清单,以便检查并重新生成单个片段。此操作会消耗 API 额度,因此仅在按名称调用时运行。

概览

发布者overment
代码仓库skills
技能名称article-audio
星标数
34
复刻数
2
附带文件
4
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 overment 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Article Audio AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/overment/skills/tree/main/skills/article-audio
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Article Audio,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Article Audio。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Article Audio 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Article Audio AI 技能有什么作用?

使用 ElevenLabs Eleven v4 和 ffmpeg 将较长的 Markdown 文章转换为一个配音音频文件,同时保留每个片段和清单,以便检查并重新生成单个片段。此操作会消耗 API 额度,因此仅在按名称调用时运行。

为什么在 TypingMind 中使用 Article Audio?

因为您只需安装一次,就能搭配任何模型使用。Article Audio 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Article Audio?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/overment/skills/tree/main/skills/article-audio。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Article Audio?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Article Audio 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Article Audio 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Article Audio AI 技能免费吗?

是的。overment 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇