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 (12,031 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-ai-setup plugin — 16 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-ai-setup, the plugin that ships this one along with the rest of its 16 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 12,031 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.12031
Opus 5.5 $0.00048 $0.04812
Sonnet 5.5 $0.00024 $0.02406
Haiku 4.5 $0.00012 $0.01203

Measured 23d ago against content hash 4a2f2be8deed, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 23d 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.

cd "$SKILL_ROOT/capabilities/conversation-core" && (test -f .env || cp .env.example .env) && chmod 600 .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 · 722 lines

How it starts

The opening of the file, as written. The whole thing — 722 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、路由和隐私提示;若直接进入且本轮尚未尝试前台 Prompt 入口,才按 Root §-1 补一次。普通失败继续业务流程;固定控制 marker 按 root dispatcher 规则处理。TRTC_REPORTING_NOTICE_REQUIRED_V1 时按 Root 的首次可见消息边界,先在对话中原样展示 <当前 trtc skill 目录>/runtime/continuation-notice.md 的对应语言文案,并结束当前回合等待用户回复;同意或拒绝保存成功后按 Root 恢复原任务,不能在展示后继续交接、业务提问或调用业务工具;不等整套接入/审批完成,不等 Host Stop,同轮已展示则不在最终回答重复。沿用 Root §-1 的本轮前台入口和最终 owner invoke,不因交接重复调用。
  • 展示澄清问题前运行同脚本的 context --question "<完整问题>";固定选项仍使用标准选项 UI。

Read the full file on GitHub · 722 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. 23d ago Changed 4a2f2be8deed
  2. 1mo ago Changed 669cabdeeadc
  3. 1mo ago Changed · -31 lines b368f0cf2f8a
  4. 2mo ago Changed · +25 lines 5c682853eb8b
  5. 3mo ago Changed 13bef963927a
  6. 3mo 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 (16 stars, last pushed 4d ago), licensed MIT. It adds 119 tokens to every session and 12,031 once invoked, about $0.0005 per session on Opus 5.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

trtc-ai-realtime-interpreter compared with skills from other repositories

trtc-ai-realtime-interpreter next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
trtc-ai-realtime-interpreterTencent-RTC/agent-skillsSkill164d agoMITB119Claude Code
cometchat-i18ncometchat/cometchat-skillsSkill18422d agoMITA155Claude Code
deepinitgracefullight/docusaurus-pluginsSkill232mo agoMITA0Claude Code
edit-sitemicrosoft/power-platform-skillsSkill1.2ktodayMITA104Claude Code
localization-testingnexscope-ai/eCommerce-SkillsSkill1.6kyesterdayMITA0Claude Code, Codex
asc-subscription-localizationrorkai/app-store-connect-cli-skillsSkill1.2k3d agoMITA60Claude Code
seedance-vocab-jaEmily2040/seedance-2.0Skill8.5k2mo agoMITA50Claude Code