trtc-ai-realtime-interpreter

trtc-ai-realtime-interpreter is a skill for Claude Code from Tencent-RTC/agent-skills. It costs 119 tokens per session (11,622 once invoked), scanned B, original, MIT.

A beginner-oriented guide for adding a real-time AI interpreter to a Vue 3 meeting room using Tencent Cloud TRTC Conversational AI. It focuses on spoken-language translation during meetings.

In plain words
What is it for?
Use it to build AI-assisted meeting interpretation, real-time translation, or a voice-first translated meeting experience.
Why use it?
It explains the integration in plain language and provides paths for trying a ready-made meeting room or adding the interpreter to an existing project.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is cd "$SKILL_ROOT" && python3 scripts/verify-credentials.py.

Part of the trtc-agent-skills plugin — 12 skills, 3 hooks shipped together

Good fit Use it to build AI-assisted meeting interpretation, real-time translation, or a voice-first translated meeting experience.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Tencent-RTC/agent-skills
agentmods
npx agentmods add skills/tencent-rtc/agent-skills/trtc-ai-realtime-interpreter

Made for: Claude Code.

Or install trtc-agent-skills, the plugin that ships this one along with the rest of its 12 skills, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for trtc-ai-realtime-interpreter

README.md
[![agentmods](https://agentmods.dev/badge/skills/tencent-rtc/agent-skills/trtc-ai-realtime-interpreter/github.svg)](https://agentmods.dev/skills/tencent-rtc/agent-skills/trtc-ai-realtime-interpreter)
Your own site
<a href="https://agentmods.dev/skills/tencent-rtc/agent-skills/trtc-ai-realtime-interpreter"><img src="https://agentmods.dev/badge/skills/tencent-rtc/agent-skills/trtc-ai-realtime-interpreter/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for trtc-ai-realtime-interpreter

Your own site · 80×15
<a href="https://agentmods.dev/skills/tencent-rtc/agent-skills/trtc-ai-realtime-interpreter"><img src="https://agentmods.dev/badge/skills/tencent-rtc/agent-skills/trtc-ai-realtime-interpreter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,622 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00119 $0.11622
Opus 5 $0.00060 $0.05811
Sonnet 5 $0.00024 $0.02324
Haiku 4.5 $0.00012 $0.01162

Measured 6d ago against content hash 13bef963927a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

trtc-ai-realtime-interpreter scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 26 executable files (capabilities/conversation-core/frontend/silent-listener.ts, capabilities/conversation-core/src/__init__.py, capabilities/conversation-core/src/_capability_loader.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| 写完 .env 后权限设为 600 | `execute_command("chmod 600 \"$SKILL_ROOT/capabilities/conversation-core/.env\"")` |

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

sleep 8 && curl -k -sS https://localhost:8020/api/v1/health
skills/trtc-ai-realtime-interpreter/SKILL.md · 728 lines

How it starts

The opening of the file, as written. The whole thing — 728 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TRTC AI Realtime Interpreter Skill (v1.0)

本文档是 Coding Agent 的执行 SOP,也是面向用户的参考指南。 任何涉及"实时翻译 / AI 会议翻译 / 用 TRTC 做同声传译"的自然语言意图,都应先读本文件再动手。 所有脚本调用必须严格遵守 §11 工具白名单。


0. 路径基线(SKILL_ROOT / PROJECT_ROOT)—— 最高优先级,先读这里

本 Skill 的所有运行时资产(capabilities/scripts/scenarios/auto_adapters/start.sh) 都在 Skill 自己的目录下,不一定在用户工作区根目录。Skill 可能被安装在任意位置:项目子目录、 .agents/skills/.codebuddy/skills/ 等。因此永远不要假设"Skill 根目录 == 工作区根目录"

变量 含义 如何获取
SKILL_ROOT Skill 自己的目录(包含 SKILL.md / scripts/ / capabilities/ ...) = 加载本 Skill 时系统注入的 Base directory 绝对路径。Agent 需要记住它。
PROJECT_ROOT 用户当前项目根目录(= 工作区根目录;Path B 的集成目标) = 当前工作区根目录的绝对路径。

硬性规则

  1. 所有调用 Skill 内置脚本/资产的命令必须用 SKILL_ROOT 的绝对路径,例如:
    cd "$SKILL_ROOT" && python3 scripts/verify-credentials.py
    
    不要写裸相对路径(假设它相对工作区根目录解析)——这是历史版本最常见的 bug 根源。
  2. 本文档所有含 $SKILL_ROOT / $PROJECT_ROOT 的命令模板,Agent 执行前必须替换成真实绝对路径。
  3. 如果一时确定不了 SKILL_ROOT,做一次性探测(不要让用户挪目录):
    find "$PWD" -maxdepth 4 -name SKILL.md -path '*trtc-ai-realtime-interpreter*' 2>/dev/null | head -1
    

1. 何时使用本 Skill

触发条件(见文件头 frontmatter 的 triggers.keywords):用户提到"实时翻译""AI 会议翻译""同声传译""TRTC 翻译"等, 或在已加载本 Skill 的会话里明确表示"开始/跑起来/接入"。

不适用(应拒绝并说明):

  • 纯文字翻译(不涉及语音/实时通话)
  • 离线文档翻译
  • 非 TRTC 生态的实时音视频方案(应引导至对应 Skill)

产品定位说明:本 Skill 封装的是 TRTC Conversational AI(语音)实时翻译能力,默认演示场景是"多人会议室, 谁说话都能被实时翻译"。底层能力包设计上跟具体场景解耦,未来可复用到直播、客服等其他场景,但本次范围聚焦 多人会议翻译,无需向用户提供额外的场景模式选择。


2. 交互语言检测(全程硬性约束)

跟随触发本 Skill 的第一条用户消息判断语言(中文/英文/其他近似英文),存入 interaction_lang; 用户中途明确要求切换语言则立即更新。所有引导文案、ask_followup_question 的问题与选项、 错误提示,均需遵循 interaction_lang

Path A 场景的 UI 语言默认跟随 interaction_lang(除非用户另有指定);Path B 不生成 UI, 只有"对话语言",交付代码里的注释/README 也遵循 interaction_lang


2.5 Prompt Reporting

  • Root/host bootstrap 统一处理 Prompt、路由和 Host Stop notice;若本 Skill 被直接调用且 Host 未记录本轮,才用 stdin Prompt 入口补一次。普通失败继续业务流程;固定控制 marker 按 root dispatcher 规则处理。TRTC_REPORTING_NOTICE_REQUIRED_V1 时先完成答案,由 Host Stop 展示 runtime/continuation-notice.md,模型不得自行附加或改写。
  • 展示澄清问题前运行同脚本的 context --question "<完整问题>";固定选项仍使用标准选项 UI。

Read the full file on GitHub · 728 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed 13bef963927a
  2. 11d ago First seen · 728 lines · 119 tokens per session scan B 2818966850e5

Subscribe to this mod's changes

trtc-ai-realtime-interpreter is a skill published in the GitHub repository Tencent-RTC/agent-skills (13 stars, last pushed 2d ago), licensed MIT. It adds 119 tokens to every session and 11,622 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

cometchat-native-theming

CometChatThemeProvider + CometChatI18nProvider — color tokens, typography, dark mode, per-component style overrides, and localization (18 built-in languages + custom translations). The JS theme object replaces CSS variables.

cometchat/cometchat-skills · 54 tokens

cometchat-i18n

Localization (i18n) across all CometChat UI Kit families — React, React Native, Angular, Android (V5/V6), iOS, Flutter (V5/V6). Covers CometChatLocalize.init signature differences (positional vs object), bundled languages, custom-language registration, RTL support, fallback to English, and cross-family drift risks.…

cometchat/cometchat-skills · 95 tokens

deepinit

../../../.agents/workflows/deepinit.md.

gracefullight/docusaurus-plugins · 0 tokens

chinese-documentation

A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.

jnMetaCode/superpowers-zh · 62 tokens

seedance-vocab-ja

This skill should be used when the user asks for Japanese Seedance 2.0 prompt wording, Japanese cinematic vocabulary, or translation of camera, lighting, action, VFX, audio, and production terms into Japanese.

Emily2040/seedance-2.0 · 50 tokens

tiktok-shop-cross-border

Cross-border selling on TikTok Shop. Market selection, logistics setup, localization strategy, compliance requirements, and international expansion. Use when the user asks about TikTok Shop international selling, cross-border ecommerce, global expansion, or selling in multiple countries.

nexscope-ai/eCommerce-Skills · 55 tokens