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.
npx skills add Tencent-RTC/agent-skills --skill trtc-callgit clone --depth 1 https://github.com/Tencent-RTC/agent-skillsWrote 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.
[](https://agentmods.dev/skills/tencent-rtc/agent-skills/trtc-call)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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.md 在 product = call 时 Read。仅支持 Flutter;
其他平台走 trtc-docs。
Python tools:python3 -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: flutter 或 flutter: |
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
- ① 查 Web 版文档 → 路由到
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.
- flows/basic-call.md 46 KB
- flows/demo-experience.md 4.6 KB
- flows/troubleshoot.md 4.3 KB
- playbooks/capability-catalog.md 6.5 KB
- playbooks/embed-in-app-backend.md 1.8 KB
- playbooks/embed-in-app-local-dev.md 11 KB
- playbooks/integration-reference.md 10 KB
- playbooks/optional-tweaks.md 9.9 KB
- templates/lib/debug/generate_test_user_sig.dart 3.8 KB
- templates/lib/trtc_call/call_auth_lifecycle.dart 2.2 KB
- templates/lib/trtc_call/call_button.dart 4.3 KB
- templates/lib/trtc_call/call_observer.dart 2.1 KB
- templates/lib/trtc_call/call_service.dart 5.3 KB
- templates/lib/trtc_call/device_control.dart 2.5 KB
- templates/lib/trtc_call/group_call.dart 2.4 KB
- templates/lib/trtc_call/login_event_listener.dart 7.2 KB
- templates/lib/trtc_call/trtc_call_bootstrap.dart 4.7 KB
- templates/snippets/android/gradle-min-sdk.groovy 248 B
- templates/snippets/android/manifest-audio.xml 128 B
- templates/snippets/android/manifest-camera.xml 60 B
- templates/snippets/auth-lifecycle/create-backend.dart 180 B
- templates/snippets/auth-lifecycle/create-local-dev.dart 195 B
- templates/snippets/auth-lifecycle/sanitize-user-id.dart 536 B
- templates/snippets/auth-lifecycle/sync-user.dart 67 B
- templates/snippets/go-router/import.dart 63 B
- templates/snippets/go-router/observers.dart 43 B
- templates/snippets/ios/info-plist-audio.xml 94 B
- templates/snippets/ios/info-plist-camera.xml 96 B
- templates/snippets/main-dart/import-local-dev.dart 89 B
- templates/snippets/main-dart/import.dart 45 B
- templates/snippets/main-dart/materialapp-params.dart 535 B
- templates/snippets/main-dart/materialapp-router-params.dart 201 B
- templates/snippets/main-dart/myapp-constructor-params-router.dart 29 B
- templates/snippets/main-dart/myapp-constructor-params.dart 58 B
- templates/snippets/main-dart/myapp-fields-router.dart 58 B
- templates/snippets/main-dart/myapp-fields.dart 103 B
- templates/snippets/main-dart/runapp-backend.dart 263 B
- templates/snippets/main-dart/runapp-local-dev-router.dart 555 B
- templates/snippets/main-dart/runapp-local-dev.dart 601 B
- templates/snippets/pubspec/local-dev.yaml 17 B
- templates/snippets/pubspec/shared.yaml 72 B
- tools/apply_plan.py 21 KB runs code
- tools/project_probe.py 21 KB runs code
- tools/verify_embed_in_app.py 33 KB runs code
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.
- today Changed f946468ed332
- 5d ago Changed · -14 lines c22e3c83e45b
- 10d ago First seen · 208 lines · 145 tokens per session scan A 31ca47027624
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.
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…
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-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-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.
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.
add-signal
Add Signal channel integration via signal-cli device-link. Native adapter — no Chat SDK bridge.