Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计提醒

assemblyai技能安全扫描

Agent Skill

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

总安装

1,858

周安装

79

GitHub Stars

7

下载量

651
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 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

简介

assemblyai 提供 AssemblyAI 语音转文本 API 的正确调用方式与常见陷阱规避。

  • 适用于构建实时字幕、语音助手与音频分析等 NLP 应用场景。
  • 它强调 API key 直接使用而非 Bearer 前缀,这是最常见的认证错误。
  • 支持流式 WebSocket 与异步 REST 两种模式,满足不同延迟要求项目需求。
  • 输出为典型代码片段,实际集成时应处理网络超时与重试机制保障稳定性。

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_detectionmin_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 argumentsevent["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

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

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、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills