trtc

trtc is a skill for Claude Code from Tencent-RTC/agent-skills. It costs 273 tokens per session (6,522 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-agent-skills plugin — 12 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-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

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 273 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,522 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.00273 $0.06522
Opus 5 $0.00137 $0.03261
Sonnet 5 $0.00055 $0.01304
Haiku 4.5 $0.00027 $0.00652

Measured 3d ago against content hash 5756280811a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 3d ago.

The scan reads SKILL.md. This mod also ships 49 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 · 398 lines

How it starts

The opening of the file, as written. The whole thing — 398 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 客服 / Conversational AI 场景,是则路由到 trtc-ai-service/SKILL.md
  3. 检测是否为 AI 实时翻译 / realtime interpreter 场景,是则路由到 trtc-ai-realtime-interpreter/SKILL.md
  4. 检测是否为 AI 口语陪练 / oral coach 场景,是则路由到 trtc-ai-oral-coach/SKILL.md
  5. 检测是否为 TIMPush / 离线推送场景,是则路由到 trtc-push/SKILL.md
  6. 用共享工具识别 product / intent,路由到正确 owner:trtc-conference/SKILL.mdtrtc-chat/SKILL.mdtrtc-chat/docs/SKILL.mdtrtc-call/SKILL.mdtrtc-docs/SKILL.md
  7. Call Flutter guided integration:product = callplatform = flutter 时路由到 trtc-call/SKILL.md
  8. 对显式日志请求和文档无法解决的运行时症状,路由到 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 根目录执行 (例如先 cd "<当前 trtc skill 目录>")。不要依赖客户项目根目录存在 tools/ 包,也不要让客户项目自己的 tools 包抢占解析。 Session 例外:虽然仍需从 Skill 根目录运行,但所有 tools.sessioncreate/read/write/write-batch/reset/status/validate/migrate 命令都必须携带 --project-root "<projectRoot>",或在命令前设置 TRTC_PROJECT_ROOT="<projectRoot>"。这样 session 不会误写到 .claude/skills/trtc/.codex/skills/trtc/ 等安装目录。

    <当前 trtc skill 目录> 解析规则:npx 安装器根据 IDE 将 skills 安装到 不同目录,trtc skill 的实际位置是:

    • Claude Code:<project>/.claude/skills/trtc/
    • Cursor:<project>/.cursor/skills/trtc/
    • CodeBuddy:<project>/.codebuddy/skills/trtc/
    • Codex:<project>/.codex/skills/trtc/

    不要硬编码 .claude/ 前缀——根据当前 IDE 选择正确路径。如果无法确定,用 find 回退定位包含 skills/trtc/SKILL.md 的技能根目录。

  • 当前 guided integration 支持 (conference, web)(chat, web)(call, flutter); TIMPush 由 trtc-push 的独立流程承接。

  • 除 TIMPush 外的其他产品若用户要”接入 / 搭建 / 加功能 / 逐步带我做”,明确告知当前 仅支持 Conference Web / Chat Web / Call Flutter 的引导式集成,并导向文档查询路径。

Read the full file on GitHub · 398 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. 3d ago Changed · +13 lines · +13 tokens per session 5756280811a9
  2. 9d ago First seen · 385 lines · 260 tokens per session scan A 0898b87f7d73

Subscribe to this mod's changes

trtc is a skill published in the GitHub repository Tencent-RTC/agent-skills (12 stars, last pushed 4d ago), licensed MIT. It adds 273 tokens to every session and 6,522 once invoked, about $0.0014 per session on Opus 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

Other skills, from other repositories

chat-sdk

Build multi-platform chat bots with Chat SDK (chat npm package). Use when developers want to scaffold a bot with create-chat-sdk, build a Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear, or WhatsApp bot, handle mentions, direct messages, subscribed threads, reactions, slash commands, cards, modals, files…

vercel/chat · 108 tokens

stream-flutter

Build and integrate Stream Chat, Video, and Feeds in Flutter apps. Use for Flutter/Dart project work with Stream package setup, auth wiring, and widget blueprints. Supports streamchatflutter (pre-built Chat UI), streamchatfluttercore (custom Chat UI), streamvideoflutter (Video calling and livestreaming), and…

GetStream/agent-skills · 112 tokens

waniwani-sdk

MCP distribution SDK: build sales funnels, lead generation, booking flows, insurance quote flows, pricing quote flows, and any multi-step conversational MCP app with @waniwani/sdk. Open source createFlow engine (no API key required) with pluggable state backends (in-memory, Redis, Upstash, Cloudflare KV, DynamoDB, or…

WaniWani-AI/sdk · 199 tokens

stream-feeds-migration

Generate the v2 -> v3 sync mapping for a Stream Activity Feeds app by sampling its live v2 activities and reactions. Use when setting up a Feeds v2 to v3 migration, when asked to build, review, or debug a v3 sync mapping, when someone asks 'what mapping do we need for our app?', or when a migrated activity lands in v3…

GetStream/agent-skills · 150 tokens

scaffold-ai-app

Scaffold a Veryfront app with AI tools, agent definitions, and knowledge base.

veryfront/veryfront-code · 22 tokens

stream

Stream router for Chat, Video, Feeds, and Moderation. Use when the user wants to build a new app with Stream, scaffold a project, add Chat/Video/Feeds/Moderation to an existing app, integrate Stream, audit or migrate an integration, build for Swift/SwiftUI/UIKit/iOS/Xcode/Android/Kotlin/React Native/Expo/Flutter…

GetStream/agent-skills · 149 tokens