trtc-call

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

A guide for adding Tencent Cloud TRTC Call, a real-time audio and video calling service, to a Flutter app. It covers one-to-one calls, group calls, and call buttons inside an existing chat screen.

In plain words
What is it for?
Use it when adding voice calls, video calls, incoming calls, dialing, customer-service calls, or calling features to a Flutter chat app.
Why use it?
It helps you follow the required setup and integration process without having to work out the calling flow and project-specific checks alone.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

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

Good fit Use it when adding voice calls, video calls, incoming calls, dialing, customer-service calls, or calling features to a Flutter chat app.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tencent-rtc/agent-skills/trtc-call
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-call
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-call

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tencent-rtc/agent-skills/trtc-call"><img src="https://agentmods.dev/badge/skills/tencent-rtc/agent-skills/trtc-call.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,908 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.
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.00145 $0.03908
Opus 5 $0.00072 $0.01954
Sonnet 5 $0.00029 $0.00782
Haiku 4.5 $0.00015 $0.00391

Measured today against content hash f946468ed332, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

trtc-call 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 today.

The scan reads SKILL.md. This mod also ships 3 executable files (tools/apply_plan.py, tools/project_probe.py, tools/verify_embed_in_app.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-call/SKILL.md · 194 lines

How it starts

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

trtc-call — Call 集成域 dispatcher

调用入口:本文件由 trtc/SKILL.mdproduct = call 时 Read。仅支持 Flutter; 其他平台走 trtc-docs

Python toolspython3 -m tools.* 命令必须从 trtc 域 skill 根目录执行 (例如先 cd "<当前 trtc skill 目录>")。

路径解析<当前 trtc skill 目录> = trtc 域 skill 根目录(含 tools/session.py 的那个目录)。 <trtc-call skill 目录> = trtc-call skill 根目录(与 trtc skill 同 parent,含 tools/verify_embed_in_app.py)。 路径映射规则与 trtc SKILL.md 的 Hard Boundary / IDE 路径映射表一致,禁止硬编码 .claude/

Session 写入:所有 session 字段写入必须用两步 CAS:先 read --field state_version 取 版本号 N,再 write-batch --updates '{...}' --expected-version N;exit 3 重读重试一次。 详细协议见 flows/basic-call.md §Session 写入规约。

Reporting boundary:Root/host bootstrap 统一处理本轮 Prompt、路由和 Host Stop notice;若本 Skill 被直接调用且 Host 未记录本轮,才用 stdin Prompt 入口补一次。动态澄清前保留 context --question,固定候选项仍必须用 AskUserQuestion。普通失败继续业务流程;不得调用旧 MCP 或独立 send。收到 TRTC_REPORTING_NOTICE_REQUIRED_V1 时先完成答案,由 Host Stop 展示 runtime/continuation-notice.md,模型不得自行附加或改写。


Step 0 — 平台检查

前置:先读 {project_root}/.trtc-session.yaml。若 status = active → 跳过 Step 0,直接进 Step 1。

在处理 intent 之前,确认用户项目平台。

扫描特征文件(按顺序,找到即停):

检测条件 推断平台
pubspec.yaml 存在且含 sdk: flutterflutter: flutter ✅ 支持
pubspec.yaml 存在但无 flutter 字样 dart-only(非 Flutter 项目)
package.json 存在且含 react-native react-native
build.gradle / settings.gradle 存在(无 pubspec.yaml) android-native
.xcodeproj / Podfile 存在(无 pubspec.yaml) ios-native
以上均未命中 unknown

按扫描结果确认AskUserQuestion,用扫描依据做确认语):

  • 命中 flutter

    Web-only 检测:检查目录结构 [ -d web/ ] && [ ! -d android/ ] && [ ! -d ios/ ]。若命中 → 告知:

    这个项目只有 Web target,tencent_calls_uikit 不支持 Flutter Web,需要 iOS / Android target 才能集成通话。你是要查 Web 版 TRTC SDK 的文档,还是换一个有移动端 target 的项目?

    AskUserQuestion:

    • ① 查 Web 版文档 → 路由到 ../trtc-docs/SKILL.md,STOP
    • ② 我换一个项目 → 提示用户切换目录后重试,STOP

    Web-only 未命中(正常 flutter 项目):

    我看到你的项目是 Flutter(检测到 pubspec.yaml)。你要在这个项目里集成通话能力吗?

    • ① 是,就是这个项目 → 进入 Step 1
    • ② 不是,我想用另一个项目 → 提示用户切换到正确项目目录后重试,STOP

Read the full file on GitHub · 194 lines

Files

What ships with it

44 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. today Changed f946468ed332
  2. 5d ago Changed · -14 lines c22e3c83e45b
  3. 10d ago First seen · 208 lines · 145 tokens per session scan A 31ca47027624

Subscribe to this mod's changes

trtc-call is a skill published in the GitHub repository Tencent-RTC/agent-skills (13 stars, last pushed today), licensed MIT. It adds 145 tokens to every session and 3,908 once invoked, about $0.0007 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

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

cometchat-ios-calls

CometChat Calls SDK v5 integration for native iOS (Swift; SwiftUI + UIKit hosting). Covers SDK install (SPM + CocoaPods), file-based init via cometchat-settings.json (CometChatCalls.initFromSettings, ai-agent telemetry) with builder fallback, dual-SDK ringing (Chat SDK initiateCall + Calls SDK…

cometchat/cometchat-skills · 124 tokens

cometchat-flutter-v6-events

Use when working with real-time events, SDK listeners, or UI event streams in CometChat Flutter UIKit v6. Triggers on mentions of CometChatMessageEvents, CometChatUserEvents, CometChatGroupEvents, CometChatCallEvents, CometChatConversationEvents, MessageListener, UserListener, GroupListener, CallListener…

cometchat/cometchat-skills · 168 tokens

cometchat-native-production

Production-readiness for React Native — server-minted auth tokens, user management CRUD, external-backend recipes (Express / Hono / Firebase Functions / Vercel Serverless). RN has no API routes, so the backend is always external.

cometchat/cometchat-skills · 55 tokens

build-zoom-contact-center-app

Reference skill for Zoom Contact Center. Use after routing to a contact-center workflow when implementing app, web, or native integrations; engagement context and state handling; campaigns; callbacks; or version-drift troubleshooting.

anthropics/knowledge-work-plugins · 48 tokens

add-signal

Add Signal channel integration via signal-cli device-link. Native adapter — no Chat SDK bridge.

nanocoai/nanoclaw · 22 tokens