Article Audioのロゴ

Article Audio

組織
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.

概要

公開者overment
リポジトリskills
スキル名article-audio
スター
34
フォーク
2
同梱ファイル
4
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 4個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    overmentがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルArticle AudioをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでArticle Audioを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にArticle Audioを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Article Audioは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

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を読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Article Audioを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Article Audioは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもArticle Audioを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Article Audio」は無料ですか?

はい。overmentがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇