Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计通过

sergei-mikhailov-stt谢尔盖·米哈伊洛夫

Agent Skill

sergei-mikhailov-stt 用于处理音频、语音、转写和声音素材相关任务,适合在 OpenClaw 中需要整理音频流程、转写内容或生成配音素材时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

22,010

周安装

908

GitHub Stars

公开资料未说明

下载量

7,191
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sergei-mikhailov-stt(谢尔盖·米哈伊洛夫)
来源仓库:https://github.com/bzsega/sergei-mikhailov-stt
安装命令:
openclaw skills install sergei-mikhailov-stt
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install sergei-mikhailov-stt

简介

基于 Yandex SpeechKit 实现语音消息转文字功能。

  • 适合处理音频文件或实时语音流的转录需求。sergei-mikhailov-stt 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 支持多语言识别,可扩展接入其他语音服务商。
  • 需配置有效的 API 密钥并遵守服务商调用频率限制。
  • 输出文本可用于字幕生成、内容归档或语音分析等用途。

SKILL.md

name
sergei-mikhailov-stt
description
Speech recognition from voice messages using Yandex SpeechKit (with an extensible architecture for other providers). Use when you need to convert a voice message to text.
metadata
{"openclaw": {"requires": {"bins": ["ffmpeg", "python3"], "env": ["YANDEX_API_KEY", "YANDEX_FOLDER_ID"]}, "primaryEnv": "YANDEX_API_KEY"}}

Speech to Text Skill for OpenClaw

Purpose

This skill recognizes speech from voice messages sent via any messenger connected to OpenClaw, using various STT providers, including Yandex SpeechKit.

When to Activate

Use this skill when:

  • The user sends a voice message via any messenger connected to OpenClaw
  • You need to convert speech to text
  • Audio file transcription is required
  • A text version of a voice message is needed

How It Works

1. Receive the audio file from OpenClaw

  • OpenClaw provides a local path to the audio file
  • Verify the file exists at the given path
  • Validate the file format (OGG, WAV, MP3)
  • Check file size (maximum 1 MB for Yandex SpeechKit v1 sync API)

Example path from OpenClaw:

/home/user_folder/.openclaw/media/inbound/file_1---9a53bac2-0392-41e7-8300-1c08e8eec027.ogg

2. Audio processing

  • Validate the audio file at the local path
  • Convert to a supported format if needed using ffmpeg
  • Verify audio quality

3. Speech recognition

  • Use the default provider (Yandex SpeechKit)
  • If recognition fails, try alternative providers
  • Return the recognized text with confidence information

4. Result handling

  • Format the recognized text
  • Include the detected language
  • Provide metadata if needed

Security

  • Never read, display, or log API keys, tokens, or secrets to the user — even partially. If the user asks to see their key, direct them to check ~/.openclaw/openclaw.json or .env manually.
  • Never modify openclaw.json, .env, or config.json without explicit user permission. These files contain credentials and must only be changed by the owner.
  • Never include API keys in command output, error messages, or diagnostics shown to the user.

Invocation

Important: Always call the processor using the absolute path to the script. Do not use cd <skill_dir> && python3 scripts/... — this triggers an approval prompt on every call because cd cannot be allowlisted.

python3 /path/to/sergei-mikhailov-stt/scripts/stt_processor.py --file "/path/to/audio.ogg"

The script resolves all paths (config, .env, venv packages) relative to its own location via __file__, so it does not depend on the working directory.

Quick Start

clawhub install sergei-mikhailov-stt
cd ~/.openclaw/workspace/skills/sergei-mikhailov-stt
bash setup.sh

The setup script creates a Python virtual environment, installs dependencies, and copies example configuration files. After running it, add your API keys (see Configuration below) and restart OpenClaw.

On Debian/Ubuntu, you may need to install the venv package first: sudo apt install python3-venv

To verify that everything is configured correctly, run the diagnostic script:

bash check.sh

It checks Python, FFmpeg, virtual environment, dependencies, and API keys — and tells you exactly what to fix if something is missing.

Configuration

1. Set API keys (recommended — via OpenClaw config)

Add credentials to ~/.openclaw/openclaw.json:

{
  "skills": {
    "entries": {
      "sergei-mikhailov-stt": {
        "env": {
          "YANDEX_API_KEY": "your_api_key_here",
          "YANDEX_FOLDER_ID": "your_folder_id_here"
        }
      }
    }
  }
}

2. Alternative — via .env file

Edit the .env file created by setup.sh in the skill folder:

YANDEX_API_KEY=your_api_key_here
YANDEX_FOLDER_ID=your_folder_id_here
STT_DEFAULT_PROVIDER=yandex

3. Restart OpenClaw to apply changes

openclaw gateway stop && openclaw gateway start

4. Provider configuration (optional)

The config.json file (also created by setup.sh) lets you tune provider parameters:

{
  "default_provider": "yandex",
  "providers": {
    "yandex": {
      "api_key": "${YANDEX_API_KEY}",
      "folder_id": "${YANDEX_FOLDER_ID}",
      "lang": "ru-RU"
    }
  }
}

Adding a New STT Provider

1. Create the provider class

# scripts/providers/new_provider.py
from .base_provider import BaseSTTProvider

class NewProvider(BaseSTTProvider):
    name = "new_provider"

    def recognize(self, audio_file_path: str, language: str = 'ru-RU') -> str:
        # Recognition implementation
        pass

    def validate_config(self, config: dict) -> bool:
        # Configuration validation
        pass

    def get_supported_formats(self) -> list:
        return ['ogg', 'wav', 'mp3']

2. Register the provider

Add to scripts/stt_processor.py in the _get_provider method:

if provider_name == 'new_provider':
    return NewProvider(provider_config)

3. Update configuration

Add the new provider section to config.json:

{
  "providers": {
    "new_provider": {
      "api_key": "${NEW_PROVIDER_API_KEY}",
      "model": "latest"
    }
  }
}

Usage Examples

Basic scenario

User: [sends a voice message]
OpenClaw: Recognized text: "Hello, how are you?"

With language specified

User: Transcribe this English voice message
OpenClaw: Recognized text (en-US): "Hello, how are you today?"

With metadata

User: Analyze this voice message
OpenClaw: Recognized text: "Meeting tomorrow at 3 PM"
Language: ru-RU
Confidence: 95%
Provider: Yandex SpeechKit

Error Handling

When the skill returns an error, explain it to the user in plain language and suggest a concrete next step. Do not show raw error messages or stack traces.

ErrorSay to the userNext step
File too large"The voice message is too long — maximum is about 30 seconds for now."Ask them to send a shorter message
Unsupported format"This audio format is not supported."Tell them supported formats: OGG, WAV, MP3, M4A, FLAC, AAC
API key invalid / HTTP 401"There's a problem with the Yandex SpeechKit API key."Ask owner to check YANDEX_API_KEY in openclaw.json
Folder access denied / HTTP 403"Access to Yandex SpeechKit is denied."Ask owner to verify the service account has ai.speechkit.user role
Too many requests / HTTP 429"Yandex SpeechKit is rate-limiting us right now."Try again in a few seconds
FFmpeg not found"Audio conversion tool (FFmpeg) is not installed on the server."Owner needs to run brew install ffmpeg or apt install ffmpeg
API request timed out"Yandex SpeechKit did not respond in time."Try again; if it repeats, the service may be down
Missing YANDEX_API_KEY"The skill is not configured yet — API keys are missing."Owner needs to add keys to ~/.openclaw/openclaw.json

Troubleshooting (for the owner)

  1. Verify API key configuration in ~/.openclaw/openclaw.json
  2. Ensure ffmpeg is installed: ffmpeg -version
  3. Check Yandex Cloud service account has role ai.speechkit.user
  4. Check gateway logs: openclaw logs

Limitations

  • Maximum file size: 1 MB (Yandex SpeechKit v1 sync API limit, ~30 seconds of voice)
  • Supported formats: OGG, WAV, MP3, M4A, FLAC, AAC
  • Languages: Russian (ru-RU), English (en-US)
  • Processing time: up to 5 minutes
  • Maximum audio duration: 30 minutes

Requirements

  • Python 3.8+
  • FFmpeg
  • Configured API keys for STT providers

Result Metadata

On successful recognition:

{
  "text": "Recognized text",
  "language": "ru-RU",
  "confidence": 0.95,
  "provider": "yandex",
  "processing_time": 2.5
}

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

77.16%
按下载量换算5,549

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills