跳到正文
cccskills
免费在 GitHub 公开

audio-transcribe

Transcribes local audio into Markdown with Gemini 3.5 Transcribe, including speaker labels and provider timestamps. Use for interviews, meetings, lectures, podcasts, voice notes, and similar recordings.

中文简介正在准备中。当前显示原文说明。

iurysza/herdr-pane-layouts星标 4(GitHub 4 + cccskills 0)
集成工具Gemini

实测评分 未实测

查看安装方法

包含的文件(4)

  • SKILL.md4.1 KB
  • scripts/package.json176 B
  • scripts/transcribe.test.ts3.2 KB
  • scripts/transcribe.ts17.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Audio Transcription

The bundled CLI normalizes audio, uploads each chunk to Gemini 3.5 Transcribe, and writes one Markdown transcript. Default output uses Gemini's speaker diarization and word-level timestamps.

Setup

Resolve paths relative to this SKILL.md. Do not assume a global skill directory.

bun install --cwd <skill-directory>/scripts --no-save
export GEMINI_API_KEY='...'

GOOGLE_API_KEY and OPENCODE_GOOGLE_API_KEY are fallbacks. Set GEMINI_TRANSCRIBE_MODEL only to select a compatible replacement model. The default is gemini-3.5-transcribe.

Before transcription

  1. Confirm the input exists and uses a supported format.
  2. Use ffprobe to inspect duration.
  3. Agree on an output path when the user does not provide one.
  4. Warn before an unexpectedly long or costly transcription.
  5. Ask for language hints and domain terms when they are known and likely to improve recognition.

Do not upload media without the user's explicit transcription request.

Run

bun run <skill-directory>/scripts/transcribe.ts \
  ./interview.m4a \
  --language en-US \
  --vocabulary "SumUp" \
  --output ./interview-transcript.md

Options:

  • --chunk-minutes N: chunk duration. The default is 30.
  • --language CODE: BCP-47 language hint. Repeat the option for each known language. Omit it for automatic language detection and code-switching.
  • --vocabulary TERM: domain term, acronym, or proper name. Repeat the option for each term. Use it with --smart. Gemini accepts up to 1,000 terms. It normally performs best with a short, targeted list.
  • --smart: return a cleaned transcript. This removes filler words, repetitions, and false starts, but Gemini does not provide speaker labels or timestamps in this mode.
  • --output PATH: exact Markdown output path.
  • --keep: retain normalized audio and chunk files beside the transcript.
  • --help: show usage.

Default verbatim mode requests speaker diarization and word timestamps. Gemini limits those requests to 30 minutes of audio per request, so the CLI splits longer recordings. The live API rejects custom vocabulary with word timestamps, so the CLI fails clearly when --vocabulary is used without --smart. --smart supports chunks up to 60 minutes because it does not request either feature. If Gemini returns a rate-limit delay, the CLI waits for that delay and retries the interaction once.

Supported inputs: MP3, WAV, M4A, OGG, FLAC, and WebM.

Output

Default output contains source metadata, duration, model, mode, language hints, custom vocabulary, chunk count, speaker-labelled turns, and timestamps from Gemini's word annotations. The CLI orders annotations by their audio timestamps before it formats turns. The CLI deletes each remote Gemini upload after its transcription request. It warns if that deletion fails.

--smart produces clean text from interaction.output_text. It does not invent timestamps or speaker identity that the API did not return.

Speaker labels identify distinct voices within one Gemini request, not verified people. The CLI adds a heading for each chunk because Gemini can reset labels after a split. Preserve labels such as Speaker 1 when names are uncertain. Do not present inferred identities as facts.

Verification

After transcription:

  1. Confirm that the command succeeded.
  2. Confirm that the Markdown file exists and is non-empty.
  3. Inspect the beginning, one middle section, and the end for missing chunks, speaker changes, or malformed timestamps.
  4. Report the exact path and disclose failed or partial processing.

The CLI does not write a transcript after a failed API request. It removes local normalized audio unless --keep is set. Never print API keys or add private media and generated transcripts to the skill repository.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

better-ui

免费

Design engineering principles for making interfaces feel polished. Use when building UI components, reviewing frontend code, implementing animations, hover states, shadows, borders, micro-interactions, enter/exit animations, choosing or reviewing icons, or any visual detail work. Triggers on UI polish, design details, "make it feel better", "feels off", stagger animations, theme switch transitions, border radius, optical alignment, image outlines, box shadows, icons, icon stroke weight, icon states, motion restraint.

中文简介正在准备中。当前显示原文说明。

iurysza/herdr-pane-layouts42026年10月21日 更新

Explores and validates a feature, component, workflow, or behavior change before implementation. Use when work needs clarified intent, compared approaches, and an approved direction.

中文简介正在准备中。当前显示原文说明。

iurysza/herdr-pane-layouts42026年10月21日 更新

bro

免费

Restates the previous response in plain, concise language. Use only when the user invokes bro or explicitly asks for a simpler explanation.

中文简介正在准备中。当前显示原文说明。

iurysza/herdr-pane-layouts42026年10月21日 更新

Generates or edits raster images through OpenAI's Image API. Use for text-to-image work, reference-based edits, masks, transparent assets, and product or editorial visuals.

中文简介正在准备中。当前显示原文说明。

iurysza/herdr-pane-layouts42026年10月21日 更新

Applies language-neutral engineering standards when writing or reviewing code, especially around boundaries, failures, domain models, dependencies, tests, and type safety.

中文简介正在准备中。当前显示原文说明。

iurysza/herdr-pane-layouts42026年10月21日 更新

deslopify

免费

Removes generic AI mannerisms, inflated phrasing, and repetition from prose while preserving the author's voice. Use when the user asks to deslopify or naturalize a draft.

中文简介正在准备中。当前显示原文说明。

iurysza/herdr-pane-layouts42026年10月21日 更新

查看 iurysza 的全部技能

报告此技能的问题