Agent skill · Backend & API

speech-recognition

Transcribe speech to text using Apple's Speech framework. Use when implementing live microphone transcription with AVAudioEngine, recognizing recorded audio files, handling speech and microphone authorization, choosing on-device vs server-backed SFSpeechRecognizer behavior, or adopting SpeechAnalyzer, SpeechTranscriber, DictationTranscriber, AssetInventory, and async result streams on iOS 26+.

Derek Pearson935★ · +23/wk · 1 repos on radarProfile →
claude-codecodexcursorNOASSERTION
Install
npx skills add dpearson2699/swift-ios-skills --skill speech-recognition --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 14 KB
Bundled scripts: none
Path: skills/speech-recognition/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 963 · +28 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Speech Recognition Transcribe live and pre-recorded audio to text using Apple's Speech framework. Covers `SpeechAnalyzer` / `SpeechTranscriber` (iOS 26+) and `SFSpeechRecognizer` (iOS 10+) fallback guidance. **Scope boundary:** Use this skill for speech-to-text recognition, speech authorization, microphone capture plumbing, and result handling. Hand off text analysis, language identification after transcription, sentiment, embeddings, and translation to `natural-language`; hand off audio playback UI to `avkit`; hand off summarization or generation over transcripts to `apple-on-device-ai`. ## Contents - [SpeechAnalyzer Strategy (iOS 26+)](#speechanalyzer-strategy-ios-26) - [SFSpeechRecognizer Setup](#sfspeechrecognizer-setup) - [Authorization](#authorization) - [Live Microphone Transcription](#live-microphone-transcription) - [Pre-Recorded Audio File Recognition](#pre-recorded-audio-file-recognition) - [On-Device vs Server Recognition](#on-device-vs-server-recognition) - [Handling Results](#handling-results) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## SpeechAnalyzer Strategy (iOS 26+) Use `SpeechAnalyzer` for modern

What's inside
Steps it walks through
  1. Contents
  2. SpeechAnalyzer Strategy (iOS 26+)
  3. SpeechAnalyzer setup checklist
  4. SFSpeechRecognizer Setup
  5. Creating a recognizer with locale
  6. Monitoring availability changes
  7. Authorization
  8. Live Microphone Transcription
  9. Pre-Recorded Audio File Recognition
  10. On-Device vs Server Recognition
  11. Handling Results
  12. Partial vs final results
  13. Accessing alternative transcriptions and confidence
  14. Adding punctuation (iOS 16+)
Ships with 2 files
  • evals/evals.json
  • references/speechanalyzer-patterns.md
More from swift-ios-skills
All skills →
About this skill
What does the speech-recognition skill do?

Transcribe speech to text using Apple's Speech framework. Use when implementing live microphone transcription with AVAudioEngine, recognizing recorded audio files, handling speech and microphone authorization, choosing on-device vs server-backed SFSpeechRecognizer behavior, or adopting SpeechAnalyzer, SpeechTranscriber, DictationTranscriber, AssetInventory, and async result streams on iOS 26+.

How do I install it?

Run `npx skills add dpearson2699/swift-ios-skills --skill speech-recognition --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From dpearson2699/swift-ios-skills, a repository with 963 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going