trtc

trtc is a skill for Claude Code from Tencent-RTC/agent-skills. It costs 276 tokens per session (12,145 once invoked), scanned A, original, MIT.

A routing guide for Tencent Real-Time Communication (TRTC), a service for live audio, video, meetings, calls, chat, and streaming.

In plain words
What is it for?
Use it when deciding how to build, integrate, troubleshoot, compare, price, or learn about TRTC features, including calls, meetings, chat, streaming, and related AI scenarios.
Why use it?
It helps determine which TRTC guide or integration path matches the user’s product and request. It keeps the main entry point focused on routing instead of generating integration code itself.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PROJECT_DIR} variable. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Part of the trtc-ai-setup plugin — 16 skills, 3 hooks shipped together

Good fit Use it when deciding how to build, integrate, troubleshoot, compare, price, or learn about TRTC features, including calls, meetings, chat, streaming, and related AI scenarios.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tencent-rtc/agent-skills/trtc
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Tencent-RTC/agent-skills --skill trtc
Clone the repo
git clone --depth 1 https://github.com/Tencent-RTC/agent-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/tencent-rtc/agent-skills/trtc/github.svg)](https://agentmods.dev/skills/tencent-rtc/agent-skills/trtc)
Your own site
<a href="https://agentmods.dev/skills/tencent-rtc/agent-skills/trtc"><img src="https://agentmods.dev/badge/skills/tencent-rtc/agent-skills/trtc/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tencent-rtc/agent-skills/trtc"><img src="https://agentmods.dev/badge/skills/tencent-rtc/agent-skills/trtc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 276 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,145 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 55
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00276 $0.12145
Opus 5.5 $0.00110 $0.04858
Sonnet 5.5 $0.00055 $0.02429
Haiku 4.5 $0.00028 $0.01214

Measured 2d ago against content hash 21e8810511e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

trtc scanned grade A with 0 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 2d ago.

The scan reads SKILL.md. This mod also ships 48 executable files (hooks/gate_slice_read.py, hooks/gate_slice_write.py, hooks/stop_require_apply_evidence.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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/trtc/SKILL.md · 582 lines

How it starts

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

TRTC Integration Assistant

Language rule: Always reply in the same language the user writes in. If the user writes Chinese, respond in Chinese throughout the entire session. If the user writes English, respond in English. Keep product names, API identifiers, SDK package names, and error codes in their original form regardless of language. This rule applies to all responses, confirmations, questions, and error messages — including those triggered by sub-skills.

你负责做九件事:

  1. 读取 session,判断是否要恢复已有 flow。
  2. 检测是否为 AI 客服场景,是则路由到 trtc-ai-service/SKILL.md(owner name:trtc-ai-customer-service-skill)。
  3. 检测是否为 AI 实时翻译 / realtime interpreter 场景,是则路由到 trtc-ai-realtime-interpreter/SKILL.md。
  4. 检测是否为 AI 口语陪练 / oral coach 场景,是则路由到 trtc-ai-oral-coach/SKILL.md(owner name:ai-oral-coach-skill)。
  5. 以上 AI 场景都未命中、但有 Conversational AI / voice agent 接入意图(用户未指明场景)时,路由到 trtc-voice-ai-starter/SKILL.md(owner name:trtc-voice-ai-starter)。
  6. 检测是否为 TIMPush / 离线推送场景,是则路由到 trtc-push/SKILL.md。
  7. 用共享工具识别 product / intent,路由到正确 owner:trtc-conference/SKILL.md、trtc-chat/SKILL.md、trtc-chat-android/SKILL.md、trtc-chat-ios/SKILL.md、trtc-chat-ohos/SKILL.md、trtc-chat/docs/SKILL.md、trtc-call/SKILL.md 或 trtc-docs/SKILL.md。
  8. Call guided integration:product = call 且 platform ∈ {flutter, ios, android} 时路由到 trtc-call/SKILL.md(iOS / Android 由 call skill 内部转交 platforms/ios/ROUTER.md / platforms/android/ROUTER.md)。
  9. 对显式日志请求和文档无法解决的运行时症状,路由到 trtc-sdk-log-analysis/SKILL.md;1.0 只做路径指引、用户提供和离线分析。

Hard Boundary

  • root 只路由,不直接生成 TRTC 集成代码。
  • search 是工具,不是 skill:一律通过 python3 -m tools.search ... 调用。
  • apply 是工具,不是 skill:一律通过 python3 -m tools.apply ... 调用。
  • 执行任何 python3 -m tools.* 命令时,必须从当前 trtc skill 根目录执行。 如果当前工作目录已经是该目录,直接运行命令;只有不在该目录时才先切换目录。 绝不能把 .claude/skills/trtc、.cursor/skills/trtc、.codebuddy/skills/trtc 或 .codex/skills/trtc 再拼接到已经位于 skill 根目录的路径上。-m 后面是 Python 模块名(例如 tools.reporting),不带 .py 后缀。不要依赖客户项目 根目录存在 tools/ 包,也不要让客户项目自己的 tools 包抢占解析。 Session 例外:虽然仍需从 Skill 根目录运行,但所有 tools.session 的 create/read/write/write-batch/reset/status/validate/migrate 命令都必须携带 --project-root "<projectRoot>",或在命令前设置 TRTC_PROJECT_ROOT="<projectRoot>"。这样 session 不会误写到 .claude/skills/trtc/、.codex/skills/trtc/ 等安装目录。

Read the full file on GitHub · 582 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. 2d ago Changed · +8 lines 21e8810511e3
  2. 9d ago Changed 1f1c0bf18967
  3. 14d ago Changed 264a7fdd496e
  4. 21d ago Changed · +46 lines · +3 tokens per session a2688579256d
  5. 29d ago Changed · +11 lines 6cee898164b5
  6. 1mo ago Changed · +93 lines c61b67a46e90
  7. 1mo ago Changed · +21 lines 34a763f1ae84
  8. 2mo ago Changed · +5 lines 2497324d8d7c
  9. 2mo ago Changed 3ae4dbfc68d5
  10. 3mo ago First seen · 398 lines · 273 tokens per session scan A 5756280811a9

Subscribe to this mod's changes

trtc is a skill published in the GitHub repository Tencent-RTC/agent-skills (16 stars, last pushed 3d ago), licensed MIT. It adds 276 tokens to every session and 12,145 once invoked, about $0.0011 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

trtc compared with skills from other repositories

trtc next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
trtcTencent-RTC/agent-skillsSkill163d agoMITA276Claude Code
chat-sdkvercel/chatSkill2.5ktodayMITA108Claude Code, Codex
eddi-datalabsai/EDDISkill393todayApache-2.0A46Claude Code
cometchat-ios-callscometchat/cometchat-skillsSkill18421d agoMITA70Claude Code
cometchat-securitycometchat/cometchat-skillsSkill18421d agoMITA153Claude Code
cometchat-flutter-v6-eventscometchat/cometchat-skillsSkill18421d agoMITA107Claude Code
sent-integration-startersentdm/sent-pluginSkill403d agoMITA100Claude Code, Codex