Funasr Transcribe — Development skill for Claude Code
本地语音转文字 Agent Skill:FunASR + SenseVoiceSmall,完全本地运行、不需要 API Key · Local speech-to-text Agent Skill (FunASR + SenseVoiceSmall), fully offline, no API key.
How to install Funasr Transcribe
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open zc790-hub/funasr-transcribe and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Funasr Transcribe does
本地语音转文字 Agent Skill:FunASR + SenseVoiceSmall,完全本地运行、不需要 API Key · Local speech-to-text Agent Skill (FunASR + SenseVoiceSmall), fully offline, no API key.
Alternatives in Development
- Speech — Generate spoken audio from text using OpenAI's API with built-in voices 14.6k ★
- Ccusage — CLI for analyzing Claude Code/Codex usage from local JSONL files 11.8k ★
- JWT Scan — JWT attack toolkit (offline) — alg:none forgery, RS256→HS256 algorithm confusion, weak-secret crack, static cl 4.5k ★
README
funasr-transcribe · 本地语音转文字 Skill
**中文** | [English](#english)
一个 **Agent Skill**([什么是 Skill](https://docs.claude.com/en/docs/claude-code/skills))。把录音(m4a / mp3 / wav…)转成文字,可进一步整理成 结构化会议记录。基于 [FunASR](https://github.com/modelscope/FunASR) + SenseVoiceSmall, **完全本地运行、不上传云端、不需要 API Key**。
**不挑厂商、不调任何大模型 API、不用 API Key**——模型在本地跑,因此 Claude Code、 OpenClaw、WorkBuddy 等任何能读 [Agent Skills](https://docs.claude.com/en/docs/claude-code/skills) 的 agent 都能用,装进对应的 skills 目录即可。
它能做什么
- 中文为主、支持 50+ 语言的语音识别(SenseVoiceSmall)
- 自动切分长音频(VAD)、自动加标点、自动去语气词
- 可选说话人分离(
--spk,cam++ 声纹聚类):标出谁在说话 - 任意音频格式自动转码(ffmpeg / macOS afconvert)
- 设备自动选择:Apple Silicon (MPS) / NVIDIA (CUDA) / CPU
一键安装(推荐)
curl -fsSL https://raw.githubusercontent.com/zc790-hub/funasr-transcribe/main/install.sh | bash
自动探测你的 skills 目录(`~/.claude/skills` 或 `~/.workbuddy/skills`)、clone 进去、 装好运行环境。需 Python 3.9–3.11。首次转写时自动下载模型(约 1.2G),之后离线可用。
**用别的 agent / 自定义目录**:把目录作为参数或环境变量传进去即可——
bash install.sh ~/你的agent/skills
# 或
SKILLS_DIR=~/你的agent/skills bash install.sh
让 agent 自己装(把下面整段复制给你的 agent)
请帮我安装并使用这个语音转文字 skill:https://github.com/zc790-hub/funasr-transcribe 把它 clone 进我的 skills 目录(Claude Code 是 `~/.claude/skills/`),然后运行其中的 `setup.sh` 装好环境。装完用自带的 `examples/asr_example.wav` 跑一次确认能用 (期望输出「每一天都要快乐。」)。之后我给你音频文件时,按 SKILL.md 帮我转写。
手动安装
# 1. clone 进 skills 目录
git clone https://github.com/zc790-hub/funasr-transcribe \
~/.claude/skills/funasr-transcribe
# 2. 装环境
bash ~/.claude/skills/funasr-transcribe/setup.sh
验证装好没(自检)
source /venv/bin/activate
python /scripts/transcribe.py /examples/asr_example.wav
# 期望输出:每一天都要快乐。
直接命令行用
source /venv/bin/activate
python /scripts/transcribe.py 录音.m4a --out 结果.txt
| 参数 | 说明 |
|---|---|
--out FILE |
结果写入文件(默认只打印到屏幕) |
--no-punc |
不加标点,更快 |
--keep-fillers |
保留「嗯/啊」等语气词 |
--spk |
说话人分离(cam++),输出带 [说话人N] 标注 |
通过 agent 用
装好后直接对 age
Related Skills
Whisper Transcribe Pi
Speech-to-text application for Raspberry Pi using OpenAI Whisper
V Memory Refresh
(Re)index docs/superpowers prose into the local V-memory cache so recall is current. Incremental by file hash;
Claude Code Reset
Backup-first CLI to inspect and reset Claude Code local state (credentials, account/billing cache, telemetry,
Local Computer Use Agent
Free, fully offline computer-use agent (Set-of-Marks grounding + crop-zoom super-resolution) that drives a rea
Elevenlabs
Text-to-speech narration and two-host podcast generation from documents using ElevenLabs API.
Doubao Asr
Agent Skill: Transcribe audio files via ByteDance Volcengine Seed-ASR 2.0 (豆包录音文件识别模型2.0). Best-in-class Chine
Related Agents
API Data Specialist
Implements and reviews API clients, repositories, data models and DTOs, local persistence, offline queues and
Jira Agent
Use this agent for anything involving the Jira Cloud REST API v3 - fetching an issue by key, extracting its pl
LLM Orchestrator
Use this agent for LLM integration work — prompt engineering, multi-provider abstraction (OpenRouter, Gemini,