Audio Transcription logo

Audio Transcription

Community
jinchenma94
audio-transcription

将本地音频、视频或 HTTPS 媒体确定性转写为统一、可校验的 Transcript Bundle;单人口播使用硅基流动 SenseVoice,多人会议、访谈或播客使用阿里云 Paraformer Speaker Diarization。用户要求语音转文字、视频逐字稿、多人说话人分离,或其他 Skill 需要独立 ASR 能力时使用;Provider 或单人/多人未明确时先集中确认,不负责下载业务来源或知识库入库。

Overview

Publisherjinchenma94
Repositoryjinchenma-knowledge-base
Skill nameaudio-transcription
Stars
29
Forks
4
Bundled files
5
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by jinchenma94 on GitHub. Read the source before you install it.

Installation

Install the Audio Transcription AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/jinchenma94/jinchenma-knowledge-base/tree/main/skills/audio-transcription
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jinchenma94/jinchenma-knowledge-base.git /tmp/jinchenma-knowledge-base
mkdir -p .claude/skills
cp -r /tmp/jinchenma-knowledge-base/skills/audio-transcription .claude/skills/audio-transcription
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Audio Transcription in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Audio Transcription on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Audio Transcription is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Audio Transcription

遵守公共契约。本 Skill 只负责把明确输入转换为统一 Bundle;来源获取、正式页面、说话人身份确认和实体传播由调用方负责。

选择门

  1. 调用方已明确 provider 与 mode 时直接执行,不重复询问。
  2. 单人口播使用 provider=siliconflow mode=single;多人会议、访谈、通话或播客使用 provider=aliyun mode=multi。
  3. 信息不足时按整批只确认一次。不得根据声音自动猜测、不得静默切换 Provider。
  4. 底层脚本不交互;首次提交必须显式传入 --provider 和 --mode。

执行

先确认 ${brain_root},再运行:

bash
python3 "${agent_root}/skills/audio-transcription/scripts/transcribe_audio.py" \
  --input '<local-path-or-https-url>' \
  --provider siliconflow|aliyun \
  --mode single|multi \
  --output-root "${brain_root}/.临时/音频转录" \
  [--speaker-count N]

中断的阿里云异步任务使用首次回执中的 Bundle 路径恢复:

bash
python3 "${agent_root}/skills/audio-transcription/scripts/transcribe_audio.py" \
  --resume '<bundle-path>'

脚本只从 ${agent_root}/config/credentials.local.json 读取 Key,并要求权限为 600。阿里云协议与限制见 Aliyun Paraformer,硅基流动协议见 SiliconFlow SenseVoice。

--resume 也可重新校验并返回任一 Provider 的已完成 Bundle;只有未完成任务的网络恢复仍限于阿里云。调用方显式传入已完成 Bundle 时不得重复提交。

Bundle 契约

成功目录固定包含 manifest.json、transcript.txt、segments.json 和 provider-response.json。下游只信任 manifest.json 中声明的相对路径、字节数和 SHA-256,并重新计算校验值。

  • single:transcript.txt 保存连续正文;Segments 的 speaker_id、起止时间为空。
  • multi:每段使用 Speaker <chunk>/<speaker> HH:MM:SS.mmm 标题;不同 Chunk 的同号 Speaker 不视为同一人。
  • 阿里云处理中状态为 submitted;只允许使用 --resume 续跑,不重复创建任务。
  • Provider 响应为空、子任务失败、哈希不一致或正文为空时返回失败,不生成伪造 Transcript。

清理边界

  • 脚本保留原始下载、转码切片和 Bundle,不自行删除上游来源。
  • 调用方只有在正式逐字稿写入、复读且哈希一致,并完成下游结构化页面与传播验证后,才可删除 Manifest 中 cleanup_allowed: true 的上游临时录音、Bundle work/ 原始副本和转码切片。
  • 失败、中断或正式写入未验证时必须保留临时文件用于恢复。

完成门

  • 四个固定文件存在且可解析;Transcript 非空。
  • Manifest 的正文与 Segments 哈希、字节数与磁盘一致。
  • 多人模式每个 Segment 都有命名空间化 Speaker、毫秒时间范围和非空正文。
  • 回执报告 Provider、模型、模式、时长、分段数、Speaker 数、Bundle 路径与恢复入口。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Audio Transcription AI skill do?

将本地音频、视频或 HTTPS 媒体确定性转写为统一、可校验的 Transcript Bundle;单人口播使用硅基流动 SenseVoice,多人会议、访谈或播客使用阿里云 Paraformer Speaker Diarization。用户要求语音转文字、视频逐字稿、多人说话人分离,或其他 Skill 需要独立 ASR 能力时使用;Provider 或单人/多人未明确时先集中确认,不负责下载业务来源或知识库入库。

Why use Audio Transcription on TypingMind?

Because you install it once and use it with any model. Audio Transcription is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Audio Transcription in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jinchenma94/jinchenma-knowledge-base/tree/main/skills/audio-transcription. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Audio Transcription?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Audio Transcription?

As many as you like. As long as a model supports skills, you can use Audio Transcription with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Audio Transcription AI skill free?

It is published on GitHub by jinchenma94. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇