360 Secure SkillHub
360 安全技能中心

yaps-transcription

通过 Node 辅助脚本调用 Yaps 的 srt generate 引擎,把音频或视频文件转写为纯文本并写入指定的新文件;会拒绝覆盖已有文件、拒绝空白语音,失败时返回带编码的错误。需本机安装并登录 Yaps 2.3.124 或更高版本。

yaps
热度 18.69
最近更新 2026-09-25 09:18:44
分类:效率依赖:代码执行 / 读写文件应用场景:文件转换 / 笔记整理 / 会议纪要

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add yaps-transcription
Metadata
name
yaps-transcription
description
Turn an audio or video file into text with Yaps. Good for interviews, podcasts, and voice memos. New users: install Yaps and sign in.

Yaps Transcription

Read the runtime guide before the first operation. It defines <yaps>, account readiness, local permissions, and file handling.

Required Yaps version: 2.3.124 or newer. Check installed command help for later capabilities.

Feature readiness: Subtitles/Whisper: inspect features list; install with features subtitles --enable only when the download is authorized.

Workflow

Choose a new .txt destination beside the input, such as Interview Transcript.txt. Write a private temporary JSON request file containing input and output, both absolute paths. Run node <skill-root>/runtime/run.mjs transcribe-file <request.json>. Remove only that request file afterwards.

The helper uses Yaps's srt generate engine, stages its SRT in an owned temporary directory, and exports the returned plain transcript. It exclusively publishes a completed text file, refuses replacement, rejects blank speech, and removes the temporary SRT. It does not require Python.

Report the returned output path, engine, duration, and word count. Read transcript contents only for a requested review or downstream task. If structured processing fails, its coded error is the result; inspect the matching CLI command for recovery guidance without automatically launching a second long job.

Boundaries

  • Use the SRT vertical when timestamps are requested; use Meetings for speaker labels.
  • Do not invent missing phrases or label a blank/partial decode as complete.
  • No silent cloud transcription fallback.