Token导航 LogoToken导航

Agent Skill · 开发

assemblyai(技能安全扫描)

assemblyai 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

assemblyai 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 11,272。

总安装 1,858周安装 79GitHub Stars 7下载 651核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:assemblyai(技能安全扫描)
来源仓库:https://github.com/assemblyai/assemblyai-skill
仓库路径:skills/assemblyai
安装命令:
npx skills add https://github.com/assemblyai/assemblyai-skill --skill assemblyai
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/assemblyai/assemblyai-skill --skill assemblyai

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

assemblyai 提供 AssemblyAI 语音转文本 API 的正确调用方式与常见陷阱规避。适用于构建实时字幕、语音助手与音频分析等 NLP 应用场景。它强调 API key 直接使用而非 Bearer 前缀,这是最常见的认证错误。

支持流式 WebSocket 与异步 REST 两种模式,满足不同延迟要求项目需求。输出为典型代码片段,实际集成时应处理网络超时与重试机制保障稳定性。

来源仓库内路径:skills/assemblyai

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/assemblyai/assemblyai-skill --skill assemblyai;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

assemblyai 怎么安装?

在终端执行 npx skills add https://github.com/assemblyai/assemblyai-skill --skill assemblyai。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

assemblyai 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

assemblyai 需要什么权限?

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

assemblyai 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

assemblyai 用的人多吗?

公开数据是累计安装 1,858 次,近一周安装 79 次,下载 651 次,GitHub 7 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

assemblyai 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
assemblyai

技能安全扫描 · 本页

1,8587接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

AssemblyAI Speech-to-Text and Voice AI

AssemblyAI provides speech-to-text APIs, audio intelligence models, and an LLM Gateway for applying language models to transcripts. This skill corrects common mistakes that training data gets wrong — deprecated APIs, discontinued SDKs, and non-obvious auth patterns.

Authentication

All endpoints use the same header:

Authorization: YOUR_API_KEY

NOT Authorization: Bearer... — just the raw API key, no Bearer prefix. This is the #1 mistake.

Base URLs

ServiceUSEU
REST APIhttps://api.assemblyai.comhttps://api.eu.assemblyai.com
LLM Gatewayhttps://llm-gateway.assemblyai.com/v1https://llm-gateway.eu.assemblyai.com/v1
Streaming v3wss://streaming.assemblyai.com/v3/wswss://streaming.eu.assemblyai.com/v3/ws
Streaming v2 (legacy)wss://api.assemblyai.com/v2/realtime/ws—
Voice Agent APIwss://agents.assemblyai.com/v1/ws—

SDKs

LanguagePackageStatus
Pythonpip install assemblyaiActive
JavaScript/TypeScriptnpm i assemblyaiActive
Rubyassemblyai gemActive
Javaassemblyai-java-sdkDiscontinued April 2025
Goassemblyai-go-sdkDiscontinued April 2025
C#.NETAssemblyAI NuGetDiscontinued April 2025

Only Python, JS/TS, and Ruby SDKs are maintained. For Java, Go, or C#, use the REST API directly.

Speech-to-Text Models

Pre-Recorded

ModelLanguagesBest For
Universal-3 Pro6 (en, es, de, fr, pt, it)Highest accuracy, promptable transcription, keyterms up to 1,000 words
Universal-299Broadest language coverage, keyterms up to 200 words

Use speech_models as a priority list with fallback: ["universal-3-pro", "universal-2"].

Streaming

ModelLanguagesBest For
universal-streaming-english1 (English)Voice agents, ~300ms latency
universal-streaming-multilingual6Per-utterance language detection
whisper-rt99+Broadest streaming language support, auto-detect only
u3-rt-pro6Voice agents — punctuation-based turn detection, promptable

Medical Mode (Add-On)

domain: "medical-v1" enables Medical Mode — an add-on that improves accuracy for medical terminology (medications, procedures, conditions, dosages). Works with both pre-recorded and streaming models.

  • Pre-recorded: Universal-3 Pro (domain: "medical-v1" in request body), Universal-2
  • Streaming: u3-rt-pro, universal-streaming-english, universal-streaming-multilingual
  • Supported languages: English, Spanish, German, French (4 languages only)
  • Billed as a separate add-on. If used with an unsupported language, the API ignores domain and returns a warning — transcript still completes and you are NOT charged for Medical Mode.

Prompting (Universal-3 Pro only)

Two mutually exclusive customization parameters:

  • prompt (string, up to 1500 words): Natural language instructions for transcription style
  • keyterms_prompt (string[], up to 1000 terms): Domain vocabulary for proper nouns, brands, technical terms

Prompting best practices:

  • Use positive, authoritative instructions — NEVER use negative phrasing ("Don't", "Avoid", "Never") as the model gets confused
  • Limit to 3-6 instructions for best results
  • Prefix critical instructions with "Non-negotiable:" or "Required:"

LeMUR is Deprecated

LeMUR is deprecated (sunset March 31, 2026 — already sunset). Use the LLM Gateway instead. The LLM Gateway is an OpenAI-compatible API. Key difference: you pass transcript text directly in messages (no transcript_ids). Transcribe first, then include transcript.text in your prompt.

See references/llm-gateway.md for models, tool calling, structured outputs, and examples.

Key Gotchas

GotchaDetails
prompt + keyterms_promptMutually exclusive — use one or the other
summarization / auto_chaptersDeprecated. Use LLM Gateway instead (transcribe → send text to LLM)
PII redaction scopeOnly redacts words in text — other feature outputs (entities, summaries) may still expose sensitive data
Upload key scopingFiles uploaded with one API key project cannot be transcribed with a different project's key
Structured outputsSupported by OpenAI, Gemini, Claude 4.5+, Qwen, and Kimi — Claude 3.x does NOT support json_schema structured outputs
U3 Pro turn detectionUses punctuation (. ? !), NOT confidence thresholds — end_of_turn_confidence_threshold has no effect
Negative promptsNever use "Don't" or "Avoid" in prompts — rephrase as positive instructions
PII audio redaction methodoverride_audio_redaction_method: "silence" replaces PII with silence instead of default beep
Language detectionRequires minimum 15 seconds of spoken audio for reliable results
LLM Gateway EU regionOnly Anthropic Claude and Google Gemini models available — OpenAI models are NOT supported in EU
Disfluenciesdisfluencies: true works on Universal-2 only; for U3 Pro, use prompting instead
Medical Mode unsupported languageAPI silently skips Medical Mode and does not charge for it — check for warning in response
Voice Agent API URLThe Voice Agent endpoint is wss://agents.assemblyai.com/v1/ws — NOT /v1/voice (renamed April 2026), /v1/realtime (older), or speech-to-speech.us.assemblyai.com (very old)
Voice Agent tool.call fieldThe argument dict is named arguments, not args (renamed April 2026)
Voice Agent turn detection fieldsUse min_silence (default 600ms) and max_silence (default 1500ms) under session.input.turn_detection — min_turn_silence/max_turn_silence are the streaming/LiveKit/Pipecat field names, not Voice Agent API

Common Mistakes

MistakeCorrection
Authorization: Bearer KEYAuthorization: KEY (no Bearer prefix) — BUT the Voice Agent API (agents.assemblyai.com) uses Authorization: Bearer KEY
Using LeMUR APIDeprecated. Use LLM Gateway instead
Using summarization or auto_chaptersDeprecated. Use LLM Gateway instead (transcribe then summarize via LLM)
LeMUR transcript_ids with LLM GatewayPass transcript text in messages, not IDs
anthropic/claude-... model IDsNo provider prefix: claude-sonnet-4-5-20250929 not anthropic/claude-sonnet-4-5-20250929
Using Java/Go/C# SDKsDiscontinued. Use Python, JS/TS, Ruby, or raw API
word_boost parameterUse keyterms_prompt instead
Hardcoding v2 streaming URLv3 (/v3/ws) is current; v2 still works but is legacy
Omitting speech_models / speech_modelRequired — no default exists. Omitting causes the request to fail. Use ["universal-3-pro", "universal-2"] for pre-recorded, "u3-rt-pro" for streaming
aai.SpeechModel.universal_3_pro in Python SDKUse raw strings: "universal-3-pro", "universal-2" — these enum aliases don't exist in the SDK
S2S session.update without "session" keyMust wrap config: {"type":"session.update","session":{...}}
S2S tool schema using {"function":{...}} nestingS2S tools are flat: {"type":"function","name":"...","description":"...","parameters":{...}}
Voice Agent S2S URLCorrect URL: wss://agents.assemblyai.com/v1/ws — not /v1/voice (renamed April 2026), /v1/realtime (older), or speech-to-speech.us.assemblyai.com (very old)
Voice Agent tool.call args fieldRenamed to arguments — event["arguments"] is the parameter dict
Medical Mode domain: "medical"Correct value is domain: "medical-v1"
LLM Gateway tool result role: "function_call_output"Correct role is "tool" — use {"role": "tool", "tool_call_id": "...", "content": "..."}

Reference Files

Read the relevant reference file based on what the user needs:

FileWhen to read
references/python-sdk.mdPython SDK patterns and examples
references/js-sdk.mdJavaScript/TypeScript SDK patterns
references/streaming.mdReal-time/streaming STT, v3 protocol, temp tokens, error codes
references/voice-agents.mdVoice agent integrations: LiveKit, Pipecat, turn detection, latency optimization
references/llm-gateway.mdApplying LLMs to transcripts, tool calling, available models
references/speech-understanding.mdTranslation, speaker identification, custom formatting
references/audio-intelligence.mdPII redaction, diarization, summarization, sentiment, chapters
references/api-reference.mdFull parameter list, export endpoints, webhooks, upload, PII policies

API Spec Source of Truth

https://github.com/AssemblyAI/assemblyai-api-spec

平台分布

Codex

37.64%
按下载量换算245

Claude

33.12%
按下载量换算216

Cursor

17.36%
按下载量换算113

Gemini CLI

9.49%
按下载量换算62

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills