Skip to content
Back to skills

Speech Recognition

ASecurity

"Guides SpeechRecognition package workflows for audio loading,

  • 247 stars
  • 0 votes
  • 2 copies
  • 4 views
  • Added September 9, 2026
toolspythongobashapi

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill speech-recognition --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Speech Recognition?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Speech Recognition
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-speech-recognition/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-speech-recognition)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: speech-recognition
description: "Guides SpeechRecognition package workflows for audio loading,
  microphone capture, speech recognizer engines, CLI/model setup, and repository
  maintenance."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# SpeechRecognition Repo Skill

Use this repo skill when a task involves the Python `SpeechRecognition` package: local audio file handling, microphone capture, choosing a speech-to-text engine, setting up optional recognizer dependencies, using the `sprc` CLI, or maintaining the package repository.

## Quick package facts

- Public distribution: `SpeechRecognition`
- Import package: `speech_recognition`
- Supported Python: `>=3.10`
- Console script: `sprc`
- Current distilled version: `3.17.0`
- Minimal install:

  ```bash
  python -m pip install SpeechRecognition
  python - <<'PY'
  import speech_recognition as sr
  print(sr.__version__)
  print(sr.Recognizer())
  PY
  ```

Read [references/repo-provenance.md](references/repo-provenance.md) before checking freshness against a checkout or deciding whether to refresh this skill. Read [references/package-overview.md](references/package-overview.md) for package identity, optional extras, public entry points, and scope boundaries. Read [references/troubleshooting.md](references/troubleshooting.md) for cross-cutting install/import, FLAC, optional dependency, credential, and CLI failures.

For a non-invasive runtime probe, run:

```bash
python scripts/check_install.py --json
```

## Route by task

| User task | Read |
| --- | --- |
| Load WAV/AIFF/FLAC files, create `AudioData`, convert to raw/WAV/AIFF/FLAC bytes, segment or split oversized audio | [audio-data](sub-skills/audio-data/SKILL.md) |
| Capture microphone input, calibrate ambient noise, use `record`, `listen`, streaming chunks, background callbacks, or threaded capture | [capture-listening](sub-skills/capture-listening/SKILL.md) |
| Choose or call a transcription engine such as Google, PocketSphinx, Vosk, Whisper, OpenAI-compatible, Groq, Cohere, Google Cloud, or legacy APIs | [recognition-engines](sub-skills/recognition-engines/SKILL.md) |
| Install extras, check optional dependencies, use `sprc`, set up Vosk model files, or debug CLI/model setup | [cli-model-setup](sub-skills/cli-model-setup/SKILL.md) |
| Edit or review the SpeechRecognition repository, choose focused tests, update docs/examples, or reason about CI/release/FLAC packaging | [repo-development](sub-skills/repo-development/SKILL.md) |

## Common operating sequence

1. **Get audio.** Use `audio-data` for existing files or `capture-listening` for live microphone input. Both produce `speech_recognition.AudioData`.
2. **Prepare environment/model needs.** Use `cli-model-setup` to install the exact extra for the chosen workflow and to check `sprc`/Vosk/optional imports without unsafe downloads.
3. **Transcribe.** Use `recognition-engines` to pick one engine and handle its parameters, credentials, return shape, and errors.
4. **Validate or debug.** Use the nearest sub-skill troubleshooting reference; use root troubleshooting only for cross-cutting install, FLAC, CLI, or optional-dependency failures.
5. **If editing the repo itself,** switch to `repo-development` and choose tests from the changed surface instead of using end-user workflows as maintainer checks.

## Key boundaries

- This skill is for using and maintaining the SpeechRecognition package. It does not provide general ASR model training, diarization, TTS, or benchmark guidance outside the package's public surfaces.
- Optional engines are not base requirements. Install only the extra for the engine or workflow the user actually needs.
- Cloud/API recognizers need credentials and network access. Do not store secrets in code, skill files, or review artifacts.
- Microphone capture needs PyAudio/PortAudio plus real input hardware. Do not run interactive microphone commands in headless automation.
- `sprc download vosk` performs network download and writes into the installed package's model directory; ask before running it in a user environment.
- Runtime instructions here are self-contained. Do not rely on original repository examples or docs remaining available unless the task is explicitly repository maintenance in a checkout.

Files in this skill

  • SKILL.md4.2 KB
  • references/package-overview.md4 KB
  • references/repo-provenance.md2.4 KB
  • references/repo-routing-metadata.json337 B
  • references/troubleshooting.md4.1 KB
  • scripts/check_install.py5.1 KB
  • sub-skills/audio-data/SKILL.md1.7 KB
  • sub-skills/audio-data/references/api-reference.md7.7 KB
  • sub-skills/audio-data/references/troubleshooting.md5.7 KB
  • sub-skills/audio-data/references/workflows.md5 KB
  • sub-skills/audio-data/scripts/audio_convert.py6.8 KB
  • sub-skills/audio-data/scripts/audio_smoke.py5.2 KB
  • sub-skills/capture-listening/SKILL.md2.9 KB
  • sub-skills/capture-listening/references/troubleshooting.md8.5 KB
  • sub-skills/capture-listening/references/workflows.md8.8 KB
  • sub-skills/capture-listening/scripts/microphone_capture_template.py10.5 KB
  • sub-skills/cli-model-setup/SKILL.md2.5 KB
  • sub-skills/cli-model-setup/references/cli-reference.md5.7 KB
  • sub-skills/cli-model-setup/references/optional-dependencies.md6.4 KB
  • sub-skills/cli-model-setup/references/troubleshooting.md7.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.