Logo Article Audio

Article Audio

Tổ chức
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.

Tổng quan

Nhà phát hànhoverment
Kho mãskills
Tên kỹ năngarticle-audio
Sao
34
Bản fork
2
Tệp đi kèm
4
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được overment công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Article Audio trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/overment/skills/tree/main/skills/article-audio
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Article Audio trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Article Audio ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Article Audio không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Article Audio làm được gì?

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.

Vì sao nên dùng Article Audio trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Article Audio là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Article Audio trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/overment/skills/tree/main/skills/article-audio. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Article Audio?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Article Audio với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Article Audio với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Article Audio có miễn phí không?

Có. Kỹ năng này được overment phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇