Skip to content
Back to skills

Stt

ASecurity

"Operate the STT local speech-to-text app for setup, browser

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
developmentpythonbashflaskdebuggingapibackend

Works with

  • cli
  • api

Security analysis

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

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

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Stt?

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

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

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: stt
description: "Operate the STT local speech-to-text app for setup, browser
  uploads, HTTP transcription APIs, and CUDA-aware troubleshooting."
metadata:
  disco-role: operating
disable-model-invocation: true
license: GPL 3.0
---

# STT repo skill

Use this skill when the task is about the `jianchang512/stt` local speech-to-text app: installing it, launching the local server, transcribing audio/video through the browser UI, calling its HTTP APIs, or debugging ffmpeg/model/CUDA failures.

The app is a Flask/gevent service around `faster-whisper`. It exposes a browser UI plus a legacy `/api` endpoint and an OpenAI-compatible `/v1/audio/transcriptions` endpoint. It can run on CPU by default and can use NVIDIA CUDA when the runtime and model stack are prepared.

## First route the task

- **Setup, launch, config, and backend checks:** read `sub-skills/setup/SKILL.md` when the user asks how to install dependencies, choose Python, place models, configure `set.ini`, verify `ffmpeg`/`ffprobe`, launch the local server, or enable/diagnose CUDA.
- **Transcription usage and clients:** read `sub-skills/transcription/SKILL.md` when the user wants browser upload steps, batch exports, request fields for `/api`, OpenAI SDK/client integration, or response-format parsing.
- **Cross-cutting diagnosis:** read `references/troubleshooting.md` when symptoms span launch and request handling, such as model downloads, empty output, update-check noise, or backend warnings.
- **Repo context and staleness:** read `references/overview.md` for the component map and `references/repo-provenance.md` before assuming the generated skill matches a newer checkout.

## Quick operating context

- Default local service address is `127.0.0.1:9977` unless the runtime config changes it.
- Supported result formats are `text`, `json`, and `srt`.
- The browser flow uploads files, converts them to mono 16 kHz WAV through ffmpeg, queues transcription, polls progress, and renders/export results.
- The legacy API wraps results in `{code, msg, data}`; the OpenAI-compatible endpoint uses the `/v1/audio/transcriptions` route and OpenAI-style multipart fields.
- Model choices are controlled by the runtime model list; larger models improve quality but raise CPU/GPU memory pressure.
- Once model files and ffmpeg are present, transcription can run locally; first-run model download and update checks may touch the network.

## Install and minimal verification

For a fresh source checkout, create an isolated Python environment, install the runtime dependencies, and run the lightweight runtime probe before launching:

```bash
python -m pip install -r requirements.txt
python scripts/check-runtime.py --repo-root <checkout>
```

If CUDA needs to be checked, use `sub-skills/setup/scripts/check-cuda.py` after the runtime probe. Then route to `sub-skills/setup/SKILL.md` or `sub-skills/transcription/SKILL.md` for the detailed workflow.

## Bundled helpers

Use these helpers instead of relying on source examples directly:

- `scripts/check-runtime.py` checks core imports and `ffmpeg`/`ffprobe` availability from a candidate checkout.
- `sub-skills/setup/scripts/check-cuda.py` reports optional CUDA/CuDNN/CTranslate2 visibility without blocking when CUDA is absent.
- `sub-skills/setup/scripts/launch-server.py` wraps the repo launcher with sanity checks.
- `sub-skills/transcription/scripts/api-smoke.py` adapts the repo's API example into an argument-driven client smoke test.

## What not to use this skill for

- Generic speech AI tasks that do not involve this STT app.
- TTS, voice cloning, diarization, forced alignment, audio enhancement, or model training unrelated to the app.
- Maintaining vendored static assets or release packaging unless the user explicitly asks for repository maintenance rather than app operation.

## Evidence-backed constraints

- The source checkout has no standard Python packaging metadata; prepare dependencies from the documented runtime requirement set and then run the app from a checkout.
- The code currently exposes `cuda_com_type` in config but does not pass that key into `WhisperModel`; do not promise it changes compute type unless the code changes.
- The browser worker path and API helper path do not use every config key identically; check `sub-skills/setup/references/configuration.md` before diagnosing a config setting that appears ignored.

## Router metadata

`references/repo-routing-metadata.json` places this skill in the `speech-ai-modeling-and-audio-workflows` scenario for managed repo-skill import. This run was requested as **not import**, so treat that metadata as ready for later verification/import tooling, not as evidence that import already happened.

Files in this skill

  • SKILL.md4.6 KB
  • references/overview.md2.8 KB
  • references/repo-provenance.md1.5 KB
  • references/repo-routing-metadata.json314 B
  • references/troubleshooting.md2.7 KB
  • scripts/check-runtime.py4.3 KB
  • sub-skills/setup/SKILL.md2.9 KB
  • sub-skills/setup/references/configuration.md3.8 KB
  • sub-skills/setup/references/install-and-launch.md3.5 KB
  • sub-skills/setup/references/troubleshooting.md4.7 KB
  • sub-skills/setup/scripts/check-cuda.py2.9 KB
  • sub-skills/setup/scripts/launch-server.py4.3 KB
  • sub-skills/transcription/SKILL.md3.5 KB
  • sub-skills/transcription/references/api-reference.md3.8 KB
  • sub-skills/transcription/references/troubleshooting.md3.1 KB
  • sub-skills/transcription/references/web-ui.md2.7 KB
  • sub-skills/transcription/scripts/api-smoke.py3.2 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.