SAI-local-transcribe
Atomic SAI skill. Fully-local audio transcription via Whisper (mlx-whisper on Apple Silicon, faster-whisper fallback elsewhere). No audio leaves the machine; no API keys. Accepts a single audio file, a directory, or a podcast-download manifest.json. Writes one .md per input with YAML frontmatter compatible with a rag-index-updater pipeline. Use whenever you need to transcribe audio, run whisper on a file, transcribe all episodes in a folder, or any workflow needs text from audio.
- License 许可
- Apache-2.0
- 最近更新
- 2026-07-17
- Stars
- ★ 30
- Forks
- 14
01 前言 Front Matter
- name
- SAI-local-transcribe
- description
- Atomic SAI skill. Fully-local audio transcription via Whisper (mlx-whisper on Apple Silicon, faster-whisper fallback elsewhere). No audio leaves the machine; no API keys. Accepts a single audio file, a directory, or a podcast-download manifest.json. Writes one .md per input with YAML frontmatter compatible with a rag-index-updater pipeline. Use whenever you need to transcribe audio, run whisper on a file, transcribe all episodes in a folder, or any workflow needs text from audio.
02 资源文件 7
- 其他canaries.jsonl335 B
- 其他edge_cases.jsonl673 B
- 其他profiles/claude_code/canaries.jsonl642 B
- 参考文档README.md2.1 KB
- 脚本runner.py10.1 KB
- 参考文档skill.yaml2.6 KB
- 其他workflow_regression.jsonl681 B
03 SKILL.md 正文
Trigger manifest — local-transcribe (atomic, autonomous)
Code: skills/local-transcribe/
Manifest: skill.yaml (4-tier cascade)
Entry point: runner.py → run(inputs)
Cascade plan
1. pick_backend (rules) → mlx-whisper (preferred) or faster-whisper
2. collect_inputs (rules) → manifest_path | audio_path | audio_dir
3. transcribe_each (rules) → Whisper → .md with YAML frontmatter
4. summarize (rules) → counts; ready_to_propose
All tiers deterministic. No LLM calls. No network (after the model is cached).
Invocation — chained off podcast-download
.venv/bin/python3.12 \
skills/local-transcribe/runner.py run \
--inputs-json '{
"manifest_path": "~/Media/podcasts/<show-slug>/manifest.json",
"output_dir": "~/Media/transcripts/<show-slug>",
"source_label": "Podcast"
}'
Invocation — single file
.venv/bin/python3.12 \
skills/local-transcribe/runner.py run \
--inputs-json '{
"audio_path": "~/Downloads/interview.mp3",
"output_dir": "/tmp/transcripts"
}'
Invoke runners by absolute path (folder names use hyphens, so python -m won't import).
Frontmatter shape (rag-ready)
title: "Episode Title"
date: "YYYY-MM-DD"
url: "https://..."
source: "Podcast" # configurable via source_label
show_title: "..."
episode_id: "..."
language: "en"
transcribed_by: "mlx-whisper"
transcribed_at: "..."
audio_source: "/abs/path"
Composes with
- Upstream:
SAI-podcast-download - Downstream:
SAI-podcast-rag-index
04 同仓库更多 Skills
sample-glob
暂无简介
sample-alpha
Synthetic skill for sai-overlay deploy tests. Not a real skill.
sample-incoming
Fixture for PR 7 (scaffold-claude-code-skill). Simulates a Claude-Code skill discovered in the plugin-install path with no skill.yaml manifest. The scaffold subcommand reads this dir and emits a starter skill.yaml v2 with a single claude_code profile.
SAI-podcast-rag-index
Atomic SAI skill. Index a directory of transcript .md files (YAML frontmatter, one per episode) into an existing ChromaDB RAG store by delegating to a rag-index-updater-style index.py. Pure mechanism — no operator paths or collection baked in; the caller supplies indexer_scripts / manifest_path directly or via a private config_path. Hash-skips unchanged files. Use whenever you need to index transcripts, add transcripts to a RAG, or embed episodes for semantic lookup.
SAI-podcast-download
Atomic SAI skill. Download podcast episode audio from an RSS feed or a Spotify show URL (resolved to RSS via the iTunes Search API — Spotify itself blocks audio downloads). Resume-safe, retry-aware. Emits a manifest.json that downstream skills (local-transcribe, podcast-rag-index) consume. Use whenever you need to download a podcast, grab episodes of a show, pull audio for a Spotify show URL, or any workflow needs raw podcast MP3s as input.