yaya-asr SKILL.md skillA

yaya-asr from eatmoreduck/yaya-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add eatmoreduck/yaya-skills/yaya-asr@v0.1.0

Pins v0.1.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
eatmoreduck/yaya-skills
Path
skills/yaya-asr/SKILL.md
Versions recorded
1
Latest version
v0.1.0, committed Oct 12, 2026
Size
4,467 bytes
Repository stars
9
License
MIT

Transcribes any audio or video file into speaker-labeled text entirely on the local machine — no cloud, no login, no API key. Outputs plain text, SRT subtitles, an A/B dialogue transcript, and structured JSON. Use when the user shares a recording (meeting, interview, podcast, lecture, voice memo) and wants a transcript, subtitles, or "谁说了什么"; or says "转写", "语音转文字", "会议纪要", "录音转文字", "做字幕", "who said what". Apple Silicon required for the fast MLX path.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# yaya-asr —— 本地语音转文字

**任意音频/视频 → 带说话人的文字稿。** 纯本地跑,音频不出你的机器;免费、零登录、不需要任何云端账号。

这是整个 yaya 系列的**原子能力**。它不认识任何业务概念(不知道什么是 Space、会议、播客)——只做一件事:音频进,文字出。

内部是**流水线**:转写(MLX/GPU)一开始就以后台进程拉起说话人分离([yaya-diarize](../yaya-diarize/),CPU),两者并行执行、互不争抢——分离已拆分为兄弟 skill,本 skill 只负责调用与合并。

## 何时使用

- 用户给你一个**录音/录像文件**(会议、访谈、播客、课程、语音备忘、手机录音)
- 用户要**字幕**(.srt)
- 用户问"**谁说了什么**"(需要说话人区分)
- 用户说"转写""录音转文字""会议纪要""做字幕"

**不适用**:想从 X Space 链接直接拿干货笔记 → 用 `yaya-xspace`(它会调用本 skill);实时录音转写(本工具处理已录好的文件)。

## 快速开始

```bash
bash {baseDir}/run.sh "/path/to/recording.m4a"
bash {baseDir}/run.sh "/path/to/meeting.mp4" --speakers 2
bash {baseDir}/run.sh "/path/to/talk.wav" -o ./output
```

首次运行自动建独立 venv、下两个模型(都免 HF token):转写模型 whisper-large-v3-turbo(**~1.5GB**,存 `~/.cache/huggingface/` 全局共享)+ 分离模型(~33MB,存本 skill `models/`)。国内拉 HF 慢可先 `export HF_ENDPOINT=https://hf-mirror.com`。

## 参数

| 参数 | 说明 |
|---|---|
| `--speakers N` | **强制聚成 N 类**(引擎语义=确切人数,**不是上限**)。素材人多就填实际活跃说话人数;人少的录音务必填真实人数;不给默认 12 类;`-1` 按阈值自动聚类(长音频易过分割) |
| `-o DIR` | 输出目录(默认与输入同目录) |
| `--no-diarize` | 只转写不分离(快,但没有 A/B 标签) |
| `--no-crosscheck` | 跳过双参数交叉校验(省一半时间) |
| `--keep-wav` | 保留中间 16k wav |

## 输出(标准格式,可被其它工具消费)

| 文件 | 内容 |
|---|---|
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add eatmoreduck/yaya-skills/yaya-asr@sha256:692113924cad74ed

The line at the top of this page pins the label v0.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_geaetdoizfslxz6v.svg)](https://markdownregistry.com/a/art_geaetdoizfslxz6v)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 12, 2026.

versioncommittedcommitsizeaudit
v0.1.0 latest2026-10-12 6c6b6f3 4,467 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4467 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

eatmoreduck/yaya-skills · 9 stars · license MIT · pushed 2026-10-27 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_geaetdoizfslxz6v
GET https://markdownregistry.com/api/v1/resolve?ref=eatmoreduck/yaya-skills/yaya-asr
GET https://markdownregistry.com/api/v1/blob/692113924cad74edaee43d815bf77a6f00a44eefb17b6068f5a3472620bf5d65

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from eatmoreduck/yaya-skills

AGENTS.md AGENTS.md file
eatmoreduck/yaya-skills · AGENTS.md
git:20261027.fffe4f6 · audit B · 9 stars
yaya-corpus SKILL.md skill
eatmoreduck/yaya-skills · skills/yaya-corpus/SKILL.md · Turns rough drafts into listenable study material — proofreads English narration scripts (or translates a Chinese…
v0.1.0 · audit A · 9 stars
yaya-diarize SKILL.md skill
eatmoreduck/yaya-skills · skills/yaya-diarize/SKILL.md · Separates speakers in any audio entirely locally — outputs a who-spoke-when timeline (sherpa-onnx voiceprint…
v0.1.0 · audit A · 9 stars
yaya-xdl SKILL.md skill
eatmoreduck/yaya-skills · skills/yaya-xdl/SKILL.md · Downloads X (Twitter) Space audio to a local m4a file — archive-first downloader. Use when the user shares an…
v0.1.0 · audit A · 9 stars
yaya-xspace SKILL.md skill
eatmoreduck/yaya-skills · skills/yaya-xspace/SKILL.md · Turns an X (Twitter) Space into a distilled Chinese notes file — orchestrates yaya-xdl (download) and yaya-asr…
v0.1.0 · audit A · 9 stars

Every file in eatmoreduck/yaya-skills

Browse by kind, by grade A, or by owner.