English | 简体中文
An agent skill provided by TRTC (Tencent Real-Time Communication) to help developers integrate real-time audio/video, live streaming, and instant messaging into their apps — from first setup to production-ready code.
Instead of reading through long documentation, you describe what you want to build in plain language. The skill routes your request to the right knowledge, asks a few clarifying questions, and walks you through the integration step by step.
You can use it to build scenarios like video conferencing, live streaming rooms, 1-on-1 video consultations, online classrooms, or customer support chat — across Web, iOS, Android, Flutter, and more.
If your IDE doesn't have a plugin marketplace, or you'd rather pin the install to a specific project, use the npx installer. Run it inside your project directory:
# Default — auto-detect installed IDEs (~/.{claude,cursor,codebuddy,codex}/)
# and install for each one found. Falls back to claude if none detected.
npx -y @tencent-rtc/trtc-agent-skills@latest add
# Force install for every supported IDE (even ones you don't have)
npx -y @tencent-rtc/trtc-agent-skills@latest add --ide all
# Install only for one specific IDE
npx -y @tencent-rtc/trtc-agent-skills@latest add --ide cursor
# Wipe a previous install before re-installing
npx -y @tencent-rtc/trtc-agent-skills@latest add --cleanThe skill activates automatically when you mention TRTC or describe a real-time communication use case. No slash commands needed — just ask in plain language.
| What it does | Example prompts | |
|---|---|---|
| Get started | Guides you through demo setup, SDK integration, troubleshooting, or adding a new feature — step by step | • "I want to add video conferencing to my web app" • "I'm getting error 6206 when users join" • "Conference is working — now I want to add screen sharing" |
| Scenario walkthrough | Loads a complete feature scenario and walks you through each capability in order, with code and checkpoints | • "Walk me through building a complete conference room from scratch" • "Guide me through a 1-on-1 video consultation end to end" |
| AI customer service | Builds a voice-first AI customer service agent from scratch — or wires the AI backend into your existing app. Covers credential setup, capability assembly (knowledge base, human handoff, tool calling, session summary), and launch | • "Build me an AI customer service agent with TRTC" • "I want to integrate AI customer service into my existing Node.js backend" • "Help me set up TRTC Conversational AI" |
| Docs & lookup | Answers factual questions from the official knowledge base with cited sources | • "What does error code 6206 mean?" • "How much does Conference cost per participant minute?" • "What's the max number of participants?" |
The skill saves your progress in the project. If you close the tool and come back later, it picks up where you left off.
| Product | Description | Availability |
|---|---|---|
| Conference | Video conferencing — multi-party meetings, screen sharing, in-meeting chat | Web ✅ |
| Conversational AI | Voice-first AI customer service agent — voice agent, knowledge base lookup, human handoff, tool calling, session summary | Web ✅ |
| Live | Interactive live streaming — anchor/audience roles, co-hosting, barrage, gifts, beauty filters | Coming soon |
| Chat | Instant messaging — messages, conversations, groups, user profiles | Coming soon |
| Call | Audio/video calling — 1-on-1 and group calls | Coming soon |
| RTC Engine | Low-level real-time audio/video engine — room management, publishing, subscribing | Coming soon |
When you describe what you want to build, the skill:
- Identifies your TRTC product and platform — from your message or by reading your project files
- Asks what you're trying to do: run a demo, start a new integration, troubleshoot an error, or add a feature to an existing project
- For integrations, picks a scenario from the knowledge base that matches your use case and shows you the full capability list — what will be implemented, in what order — before starting
- Walks through one capability at a time with production-ready code, waits for you to confirm it works, then moves to the next step
- Saves your progress to
.trtc-session.yamlin your project root (auto-added to.gitignore) so you can resume in a later session without re-explaining what you're building
Step-by-step integration is currently available for Conference on Web and Conversational AI (AI customer service). The Conversational AI skill uses its own capability model — it does not follow the slice/scenario pipeline; instead it guides you through credential setup, capability selection, and launch in a self-contained flow. Docs lookup, error code search, and pricing questions work across all TRTC products.
The skill's knowledge is structured into two layers:
Slices are atomic capability units — one slice per feature, such as conference/join-room, conference/screen-share, or live/barrage. Each slice has two levels:
- A product-level overview (concepts, best practices, troubleshooting, cross-platform notes)
- A platform-level implementation (exact APIs, code samples, platform-specific gotchas)
Scenarios are curated sequences of slices for complete use cases. For example, the Conference Room scenario chains multiple slices — from authentication and room creation through screen sharing, member management, and cleanup — in the order a real implementation would follow.