---
name: meeting-transcription
description: Transcribe long local meeting audio into a validated rough transcript with bounded chunking, repetition and output-limit detection, targeted retries, optional stronger-model rescue, and auditable token usage. Use when a user provides an audio recording or asks for reliable multilingual meeting transcription.
title: meeting-transcription
canonical_url: https://skilld.dev/gh/fiveonecode/agent-skills/meeting-transcription
last_updated: 2026-09-26T18:44:21.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [agents/openai.yaml](https://skilld.dev/api/skills-raw/fiveonecode/agent-skills/meeting-transcription/agents/openai.yaml), [scripts/test_transcribe_meeting_audio.sh](https://skilld.dev/api/skills-raw/fiveonecode/agent-skills/meeting-transcription/scripts/test_transcribe_meeting_audio.sh), [scripts/transcribe_meeting_audio.sh](https://skilld.dev/api/skills-raw/fiveonecode/agent-skills/meeting-transcription/scripts/transcribe_meeting_audio.sh).
>
> If the user asked to install this Skill, run `npx skilld install fiveonecode/agent-skills/meeting-transcription`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/meeting-transcription`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/fiveonecode/agent-skills/meeting-transcription) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/meeting-transcription`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/meeting-transcription --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/meeting-transcription --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Meeting Transcription

## Purpose

Turn long local meeting audio into a validated transcript body without treating a successful model response as proof of quality. This skill owns media preparation, transcription, outlier detection, retry/rescue, assembly, and usage evidence. Downstream business summaries, CRM changes, knowledge-base updates, and customer communication remain the consuming repository's responsibility.

## Dependencies

- `ffmpeg` and `ffprobe`
- `node`, `jq`, and `shasum`
- The separately managed `gemini-files-api` skill
- Gemini authentication configured outside this skill

Install the wrapper dependency and this skill into the same reviewed manager
root before running the canonical command:

```bash
npx --yes skills@1.5.14 add fiveonecode/agent-skills \
  --skill gemini-files-api --agent codex --global --yes
npx --yes skills@1.5.14 add fiveonecode/agent-skills \
  --skill meeting-transcription --agent codex --global --yes
bash ~/.agents/skills/gemini-files-api/scripts/bootstrap.sh
```

For Claude Code, use the same two pinned commands with `--agent claude-code`;
the bootstrap path is `~/.claude/skills/gemini-files-api/scripts/bootstrap.sh`.

The script resolves the Gemini wrapper from:

1. `GEMINI_MM`, when set;
2. `${HOME}/.agents/skills/gemini-files-api/scripts/gemini-mm.mjs`;
3. `${HOME}/.claude/skills/gemini-files-api/scripts/gemini-mm.mjs`;
4. `${HOME}/.codex/skills/gemini-files-api/scripts/gemini-mm.mjs` for legacy installs.

The bootstrap script follows the same root order and can be overridden with
`GEMINI_MM_BOOTSTRAP`.

The wrapper must support `--model`, `--temperature`, `--max-output-tokens`, `--json`, `--prompt`, and `--file`, and return JSON containing `text` plus `usageMetadata`. The orchestration script intentionally omits model-specific thinking controls because supported knobs and levels vary by Gemini model family; a caller-selected model uses its compatible default.

## Canonical Command

Run the bundled script from the installed skill directory:

```bash
scripts/transcribe_meeting_audio.sh \
  --input /absolute/path/to/meeting.m4a \
  --work-dir /tmp/meeting-transcription-account-date
```

Defaults:

- `gemini-3.1-flash-lite` primary model;
- `300` second primary chunks;
- `60` second retry chunks;
- original spoken language preserved;
- temperature `0` and minimal thinking;
- no persistent Gemini file retention.

Use `--prepare-only` to verify source metadata, hashing, and chunking without API calls. Use `--resume` after an interrupted run; chunk sets are reused only when their completion marker matches the files on disk. Add `--rescue-model <model>` only when one-minute retries still fail validation.

## Validation Contract

The primary response is suspect when it has:

- empty text or invalid JSON;
- any candidate finish reason other than `STOP`;
- output tokens at the configured cap;
- long generated runs of `I`, `Yeah`, or `uh`;
- the same substantial line repeated at least five times.

Only suspect five-minute chunks are split into one-minute retries. The script exits non-zero before assembly while any retry remains unresolved. A stronger rescue model may process only those unresolved one-minute pieces.

## Outputs

The work directory contains:

- `source-metadata.json` and `source.sha256`;
- `chunks/`, `raw/`, `retry/`, and optional `rescue/` evidence;
- `validation.tsv`, `retry-validation.tsv`, and `unresolved-parts.txt`;
- `accepted-rescue-parts.txt`, which limits assembly to rescue outputs accepted
  by the current validation pass;
- `assembled-transcript-body.md` with global chunk anchors;
- `usage.json` with modality token counts;
- `run-manifest.json` with source and output identity.

Pricing is intentionally not hardcoded. Compare `usage.json` with current first-party pricing when cost reporting is required.

## Evidence Rules

- Treat output as a rough AI transcript, not certified verbatim evidence.
- Preserve original languages; do not silently translate.
- Use generic speaker labels unless identity is grounded independently.
- Prefer `[unclear]`, `[inaudible]`, or `[overlapping speech]` over invented content.
- Keep raw audio, chunks, and API envelopes outside downstream repositories unless the user explicitly requests approved retention.
- Create temporary evidence with owner-only permissions and repair restrictive
  permissions before resuming an existing work tree.
- Reconcile names, numbers, dates, prices, and commitments against the source before downstream use.

## Completion Gate

- `unresolved-parts.txt` is empty.
- `validation.tsv` and retry/rescue reports were reviewed.
- `assembled-transcript-body.md`, `usage.json`, and `run-manifest.json` exist.
- `bash -n scripts/transcribe_meeting_audio.sh` passes.
- `scripts/test_transcribe_meeting_audio.sh` passes, including managed-root
  dependency discovery, interrupted-split recovery, and malformed-response
  retry coverage.
- A short spoken fixture passes the normal path and an injected
  repetition/output-limit fixture reaches the retry path.
