setup-transcription

Setup instructions for automatically turning voice recordings into written transcripts saved in a voice.md file. It supports iPhone Voice Memos through iCloud on Mac and Google Drive through the Pigeon app on other platforms.

In plain words
What is it for?
Detecting the operating system, configuring Voice Memos or Google Drive transcription, setting up scheduled processing, and handling Windows-specific setup.
Why use it?
It explains how to choose and configure the recording source, including which source is available on each operating system.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/derek-larson14/delegate/setup-transcription
Clone the repo
git clone --depth 1 https://github.com/derek-larson14/delegate

Made for: Claude Code.

Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,752 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00017 $0.07752
Opus 5 $0.00009 $0.03876
Sonnet 5 $0.00003 $0.01550
Haiku 4.5 $0.00002 $0.00775

Measured 3d ago against content hash 850f3fac044c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

setup-transcription scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf /tmp/hear /tmp/hear.zip

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sL https://sveinbjorn.org/files/software/hear.zip -o /tmp/hear.zip && \
.claude/commands/setup-transcription.md · 861 lines

How it starts

The opening of the file, as written. The whole thing — 861 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Voice Transcription

Transcribe voice recordings and add them to voice.md. Supports two sources: iPhone Voice Memos (via iCloud, Mac only) and Google Drive (via Pigeon app, all platforms).

Step 0: Detect OS

uname -s 2>/dev/null || echo "Windows"

If the output contains "MINGW", "CYGWIN", "MSYS", or "Windows", this is a Windows environment. On Windows:

  • Voice Memos source is not available (iCloud/Voice Memos are Mac-only)
  • Auto-set source to "drive" (skip the source question)
  • Use PowerShell scripts (.ps1) instead of bash (.sh)
  • Use Task Scheduler instead of launchd
  • No local hear transcription — uses companion .md transcripts from Apps Script or Pigeon on-device

Step 1: Determine source

Check if source is already configured:

mkdir -p .voice && ([ -f .voice/source ] && cat .voice/source || echo "NOT_SET")

If Windows: auto-set to "drive" without asking:

mkdir -p .voice && echo "drive" > .voice/source

Tell user: "On Windows, voice transcription uses Google Drive (Pigeon app). Voice Memos is Mac-only."

If macOS and "NOT_SET", use AskUserQuestion:

"Where are your voice recordings?"

Options:

  • "Voice Memos (iPhone → iCloud → Mac)"
  • "Google Drive (Pigeon app)"
  • "Local folder (iCloud Drive, Dropbox, or any folder path)"
  • "Mac Shortcut (record directly on your Mac)"

If "Mac Shortcut", share this link and set up the folder:

Tell the user: "Install the Pigeon Shortcut: https://www.icloud.com/shortcuts/c323898b57ec44689d670aa5775b0761 — it records audio, transcribes on-device, and saves a transcript. On first run, pick your transcripts folder (default: ~/pigeon/transcripts/)."

mkdir -p ~/pigeon/transcripts
echo "mac" > .voice/source
echo "$HOME/pigeon/transcripts" > .voice/local-path

Then skip to the auto-routing section — no scheduled transcription needed since the Shortcut handles it on demand.

Save their choice:

echo "voicememos" > .voice/source   # or "drive" or "local"

Read the full file on GitHub · 861 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 861 lines · 17 tokens per session scan C 850f3fac044c

Subscribe to this mod's changes

setup-transcription is a command published in the GitHub repository derek-larson14/delegate (39 stars, last pushed 4mo ago), licensed MIT. It adds 17 tokens to every session and 7,752 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.