@tencent-rtc/trtc-agent-skills 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -1
- package/CLAUDE.md +1 -1
- package/CODEBUDDY.md +1 -1
- package/README.md +12 -76
- package/README.zh.md +12 -72
- package/bin/cli.js +200 -46
- package/knowledge-base/conference/web/index.yaml +6 -6
- package/knowledge-base/slices/conference/web/official-roomkit-api.md +119 -8
- package/package.json +1 -1
- package/skills/trtc/SKILL.md +97 -11
- package/skills/trtc-ai-oral-coach/README.ja.md +131 -0
- package/skills/trtc-ai-oral-coach/README.md +132 -0
- package/skills/trtc-ai-oral-coach/README.zh-CN.md +131 -0
- package/skills/trtc-ai-oral-coach/SKILL.md +398 -0
- package/skills/trtc-ai-oral-coach/auto_adapters/integration_templates/custom-learning-kb-sample.md +88 -0
- package/skills/trtc-ai-oral-coach/auto_adapters/integration_templates/generic-integration.md +104 -0
- package/skills/trtc-ai-oral-coach/auto_adapters/manifest.yaml +27 -0
- package/skills/trtc-ai-oral-coach/auto_adapters/python/README.md +49 -0
- package/skills/trtc-ai-oral-coach/auto_adapters/python/coach_client.py.tpl +185 -0
- package/skills/trtc-ai-oral-coach/auto_adapters/web/README.md +46 -0
- package/skills/trtc-ai-oral-coach/auto_adapters/web/oral-coach-client.js.tpl +210 -0
- package/skills/trtc-ai-oral-coach/capabilities/ability-report/manifest.yaml +52 -0
- package/skills/trtc-ai-oral-coach/capabilities/ability-report/src/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/ability-report/src/adapters/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/ability-report/src/adapters/default.py +177 -0
- package/skills/trtc-ai-oral-coach/capabilities/ability-report/src/handler.py +29 -0
- package/skills/trtc-ai-oral-coach/capabilities/ability-report/src/router.py +23 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/.env.example +59 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/manifest.yaml +46 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/requirements.txt +6 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/TLSSigAPIv2.py +275 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/_capability_loader.py +227 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/agent.py +197 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/config.py +149 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/core/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/core/report_llm.py +129 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/health.py +36 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/server.py +205 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/trtc_client.py +86 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/usersig.py +33 -0
- package/skills/trtc-ai-oral-coach/capabilities/custom-learning-kb/manifest.yaml +65 -0
- package/skills/trtc-ai-oral-coach/capabilities/custom-learning-kb/src/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/custom-learning-kb/src/adapters/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/custom-learning-kb/src/adapters/clients.py +126 -0
- package/skills/trtc-ai-oral-coach/capabilities/custom-learning-kb/src/ports.py +46 -0
- package/skills/trtc-ai-oral-coach/capabilities/custom-learning-kb/src/router.py +27 -0
- package/skills/trtc-ai-oral-coach/capabilities/quick-correct/manifest.yaml +48 -0
- package/skills/trtc-ai-oral-coach/capabilities/quick-correct/src/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/quick-correct/src/adapters/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/quick-correct/src/adapters/default.py +106 -0
- package/skills/trtc-ai-oral-coach/capabilities/quick-correct/src/handler.py +33 -0
- package/skills/trtc-ai-oral-coach/capabilities/quick-correct/src/router.py +23 -0
- package/skills/trtc-ai-oral-coach/capabilities/reply-suggestion/manifest.yaml +49 -0
- package/skills/trtc-ai-oral-coach/capabilities/reply-suggestion/src/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/reply-suggestion/src/adapters/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/reply-suggestion/src/adapters/default.py +86 -0
- package/skills/trtc-ai-oral-coach/capabilities/reply-suggestion/src/handler.py +29 -0
- package/skills/trtc-ai-oral-coach/capabilities/reply-suggestion/src/router.py +23 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/data/practice-scenarios.json +500 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/manifest.yaml +54 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/src/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/src/adapters/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/src/adapters/default.py +113 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/src/compose.py +143 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/src/defaults.py +140 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/src/handler.py +29 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/src/router.py +22 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/src/scenario_source.py +179 -0
- package/skills/trtc-ai-oral-coach/references/design-specs.md +36 -0
- package/skills/trtc-ai-oral-coach/references/evaluator-port.md +75 -0
- package/skills/trtc-ai-oral-coach/scenarios/speaking-coach/recipe.yaml +86 -0
- package/skills/trtc-ai-oral-coach/scenarios/speaking-coach/ui/avatars/friend.png +0 -0
- package/skills/trtc-ai-oral-coach/scenarios/speaking-coach/ui/avatars/listener.png +0 -0
- package/skills/trtc-ai-oral-coach/scenarios/speaking-coach/ui/avatars/local.png +0 -0
- package/skills/trtc-ai-oral-coach/scenarios/speaking-coach/ui/coach.html +1986 -0
- package/skills/trtc-ai-oral-coach/scenarios/speaking-coach/ui/i18n.js +323 -0
- package/skills/trtc-ai-oral-coach/scenarios/speaking-coach/ui/practice-scenarios.json +500 -0
- package/skills/trtc-ai-oral-coach/scenarios/speaking-coach/ui/tokens.css +100 -0
- package/skills/trtc-ai-oral-coach/scripts/add-capability.py +256 -0
- package/skills/trtc-ai-oral-coach/scripts/verify-credentials.py +96 -0
- package/skills/trtc-ai-oral-coach/start.sh +59 -0
- package/skills/trtc-ai-oral-coach/triggers.yaml +32 -0
- package/skills/trtc-ai-realtime-interpreter/README.ja.md +197 -0
- package/skills/trtc-ai-realtime-interpreter/README.md +197 -0
- package/skills/trtc-ai-realtime-interpreter/README.zh-CN.md +197 -0
- package/skills/trtc-ai-realtime-interpreter/SKILL.md +748 -0
- package/skills/trtc-ai-realtime-interpreter/auto_adapters/integration_templates/generic-rest-api.md +85 -0
- package/skills/trtc-ai-realtime-interpreter/auto_adapters/integration_templates/room-owner-authz-note.md +53 -0
- package/skills/trtc-ai-realtime-interpreter/auto_adapters/manifest.yaml +49 -0
- package/skills/trtc-ai-realtime-interpreter/auto_adapters/python/README.md +11 -0
- package/skills/trtc-ai-realtime-interpreter/auto_adapters/python/fastapi_reverse_proxy.py.tpl +84 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/conversation-core/.env.example +17 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/conversation-core/frontend/silent-listener.ts +91 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/conversation-core/manifest.yaml +110 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/conversation-core/requirements.txt +5 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/conversation-core/src/__init__.py +0 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/conversation-core/src/_capability_loader.py +89 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/conversation-core/src/agent.py +153 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/conversation-core/src/credentials.py +112 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/conversation-core/src/health.py +218 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/conversation-core/src/log_filter.py +33 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/conversation-core/src/server.py +266 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/conversation-core/src/trtc_client.py +188 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/conversation-core/src/usersig.py +53 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/meeting-ops/README.md +46 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/meeting-ops/manifest.yaml +63 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/meeting-ops/src/__init__.py +0 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/meeting-ops/src/fanout.py +149 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/meeting-ops/src/router.py +83 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/realtime-translation/frontend/subtitle-parser.ts +145 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/realtime-translation/manifest.yaml +68 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/realtime-translation/src/__init__.py +0 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/realtime-translation/src/modes.py +73 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/realtime-translation/src/router.py +83 -0
- package/skills/trtc-ai-realtime-interpreter/capabilities/realtime-translation/src/service.py +77 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/README.md +23 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/backend/app/__init__.py +0 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/backend/app/server.py +277 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/backend/requirements.txt +5 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/backend/start.sh +28 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/recipe.yaml +72 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/index.html +12 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/legacy/index.html +738 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/package-lock.json +4302 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/package.json +33 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/postcss.config.js +6 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/src/App.vue +18 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/src/api/backend.ts +82 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/src/components/SetupScreen.vue +362 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/src/components/SummaryScreen.vue +203 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/src/components/conference/ChatPanel.vue +188 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/src/components/conference/ConferenceRoom.vue +453 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/src/components/conference/ParticipantViewUI.vue +170 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/src/components/conference/PeoplePanel.vue +206 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/src/components/conference/SidePanel.vue +77 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/src/components/conference/Toolbar.vue +371 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/src/components/conference/TopBar.vue +310 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/src/components/conference/TranscriptPanel.vue +225 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/src/composables/useAiInterpreter.ts +263 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/src/composables/useConference.ts +98 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/src/env.d.ts +7 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/src/main.ts +5 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/src/store.ts +103 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/src/style.css +19 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/tailwind.config.js +25 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/tsconfig.json +25 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/tsconfig.node.json +10 -0
- package/skills/trtc-ai-realtime-interpreter/scenarios/meeting-interpreter/ui/vite.config.ts +26 -0
- package/skills/trtc-ai-realtime-interpreter/scripts/add-capability.py +163 -0
- package/skills/trtc-ai-realtime-interpreter/scripts/deploy-demo.sh +64 -0
- package/skills/trtc-ai-realtime-interpreter/scripts/lib/__init__.py +0 -0
- package/skills/trtc-ai-realtime-interpreter/scripts/lib/credential_validators.py +143 -0
- package/skills/trtc-ai-realtime-interpreter/scripts/lib/manifest_resolver.py +60 -0
- package/skills/trtc-ai-realtime-interpreter/scripts/lib/stack_detector.py +50 -0
- package/skills/trtc-ai-realtime-interpreter/scripts/post-install-patch.py +79 -0
- package/skills/trtc-ai-realtime-interpreter/scripts/verify-credentials.py +76 -0
- package/skills/trtc-ai-realtime-interpreter/start.sh +85 -0
- package/skills/trtc-ai-realtime-interpreter/triggers.yaml +29 -0
- package/skills/trtc-ai-service/README.ja.md +18 -35
- package/skills/trtc-ai-service/README.md +18 -35
- package/skills/trtc-ai-service/README.zh-CN.md +18 -35
- package/skills/trtc-ai-service/SKILL.md +194 -124
- package/skills/trtc-ai-service/capabilities/conversation-core/src/credentials.py +1 -1
- package/skills/trtc-chat/SKILL.md +1 -1
- package/skills/trtc-chat/docs/SKILL.md +1 -1
- package/skills/trtc-conference/flows/onboarding.md +6 -0
- package/skills/trtc-conference/flows/topic.md +6 -2
- package/skills/trtc-conference/playbooks/official-roomkit.md +3 -1
- package/skills/trtc-conference/tests/test_conference_index_contract.py +16 -0
- package/skills/trtc-conference/tests/test_conference_onboarding_contract.py +9 -0
- package/skills/trtc-conference/tests/test_conference_topic_flow_contract.py +16 -0
- package/skills/trtc-push/SKILL.md +118 -0
- package/skills/trtc-push/issues/ROUTER.json +429 -0
- package/skills/trtc-push/issues/cards/android/fcm-gms-domestic.md +53 -0
- package/skills/trtc-push/issues/cards/android/vendor-huawei.md +72 -0
- package/skills/trtc-push/issues/cards/common/console-certificate-quota.md +46 -0
- package/skills/trtc-push/issues/cards/common/registration-binding.md +67 -0
- package/skills/trtc-push/issues/cards/ios/aps-environment-3000.md +55 -0
- package/skills/trtc-push/issues/cards/ios/certificate-businessid.md +56 -0
- package/skills/trtc-push/issues/cards/ios/xcodegen-cocoapods-module.md +54 -0
- package/skills/trtc-push/issues/flows/android/delivered-not-displayed.md +52 -0
- package/skills/trtc-push/issues/flows/android/vendor-not-received.md +57 -0
- package/skills/trtc-push/issues/flows/common/badge.md +49 -0
- package/skills/trtc-push/issues/flows/common/console-product-limits.md +48 -0
- package/skills/trtc-push/issues/flows/common/server-api.md +51 -0
- package/skills/trtc-push/issues/flows/cross-platform/harmonyos.md +51 -0
- package/skills/trtc-push/issues/flows/cross-platform/uniapp-integration.md +57 -0
- package/skills/trtc-push/issues/flows/ios/offline-not-received.md +57 -0
- package/skills/trtc-push/references/code-templates.md +386 -0
- package/skills/trtc-push/references/hard-rules.md +112 -0
- package/skills/trtc-push/references/timpush-sdk-api.md +72 -0
- package/skills/trtc-push/references/workflow-protocol.md +82 -0
- /package/.cursor/rules/{main.mdc → ui-mode.mdc} +0 -0
package/AGENTS.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Reply in the user's language.
|
|
4
4
|
|
|
5
|
-
TRTC products covered: Conference, Chat, Call, Live, RTC Engine,
|
|
5
|
+
TRTC products covered: Conference, Chat, Call, Live, RTC Engine, Conversational AI (AI customer service / 智能客服 / voice agent / AI oral coach / 口语陪练 / speaking coach scenarios), and TIMPush (离线推送).
|
|
6
6
|
|
|
7
7
|
For any TRTC-related request, read and follow `skills/trtc/SKILL.md` first.
|
|
8
8
|
This file is an installed host bootstrap. The actual TRTC skill lives under
|
package/CLAUDE.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Reply in the user's language.
|
|
4
4
|
|
|
5
|
-
TRTC products covered: Conference, Chat, Call, Live, RTC Engine,
|
|
5
|
+
TRTC products covered: Conference, Chat, Call, Live, RTC Engine, Conversational AI (AI customer service / 智能客服 / voice agent / AI oral coach / 口语陪练 / speaking coach scenarios), and TIMPush (离线推送).
|
|
6
6
|
|
|
7
7
|
For any TRTC-related request, read and follow `skills/trtc/SKILL.md` first.
|
|
8
8
|
This file is an installed host bootstrap. The actual TRTC skill lives under
|
package/CODEBUDDY.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Reply in the user's language.
|
|
4
4
|
|
|
5
|
-
TRTC products covered: Conference, Chat, Call, Live, RTC Engine,
|
|
5
|
+
TRTC products covered: Conference, Chat, Call, Live, RTC Engine, Conversational AI (AI customer service / 智能客服 / voice agent / AI oral coach / 口语陪练 / speaking coach scenarios), and TIMPush (离线推送).
|
|
6
6
|
|
|
7
7
|
For any TRTC-related request, read and follow `skills/trtc/SKILL.md` first.
|
|
8
8
|
This file is an installed host bootstrap. The actual TRTC skill lives under
|
package/README.md
CHANGED
|
@@ -2,72 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
**English** | [简体中文](README.zh.md)
|
|
4
4
|
|
|
5
|
-
An agent skill provided by [TRTC](https://trtc.io) (Tencent Real-Time Communication) to help developers integrate real-time audio/video, live streaming,
|
|
5
|
+
An agent skill provided by [TRTC](https://trtc.io/?utm_source=github&utm_medium=skill&utm_campaign=Twitter%20AI%20%E4%B8%93%E9%A1%B9%20-%20AI%20Oral%20Coach&_channel_track_key=HIzH2eVJ) (Tencent Real-Time Communication) to help developers integrate real-time audio/video, live streaming, instant messaging, and TIMPush offline push into their apps — from first setup to production-ready code.
|
|
6
6
|
|
|
7
7
|
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.
|
|
8
8
|
|
|
9
|
-
You can use it to build scenarios like video conferencing, live streaming rooms, 1-on-1 video consultations, online classrooms,
|
|
9
|
+
You can use it to build scenarios like video conferencing, live streaming rooms, 1-on-1 video consultations, online classrooms, customer support chat, or mobile offline push — across Web, iOS, Android, Flutter, and more.
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
## About Tencent RTC
|
|
14
14
|
|
|
15
|
-
[Tencent RTC](https://trtc.io) (Real-Time Communication) powers real-time audio, video, and conversational AI experiences for thousands of businesses worldwide. With a global edge network spanning 200+ countries and regions, TRTC delivers sub-300ms ultra-low latency at scale.
|
|
15
|
+
[Tencent RTC](https://trtc.io/?utm_source=github&utm_medium=skill&utm_campaign=Twitter%20AI%20%E4%B8%93%E9%A1%B9%20-%20AI%20Oral%20Coach&_channel_track_key=HIzH2eVJ) (Real-Time Communication) powers real-time audio, video, and conversational AI experiences for thousands of businesses worldwide. With a global edge network spanning 200+ countries and regions, TRTC delivers sub-300ms ultra-low latency at scale.
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
19
19
|
## Installation
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
# Step 1 — add the TRTC plugin marketplace
|
|
25
|
-
/plugin marketplace add Tencent-RTC/agent-skills
|
|
26
|
-
|
|
27
|
-
# Step 2 — install the plugin
|
|
28
|
-
/plugin install trtc-agent-skills@trtc-marketplace
|
|
29
|
-
|
|
30
|
-
# Step 3 — activate without restarting
|
|
31
|
-
/reload-plugins
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
**Cursor**
|
|
35
|
-
|
|
36
|
-
Clone the repo into Cursor's local plugin directory:
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
git clone https://github.com/Tencent-RTC/agent-skills.git ~/.cursor/plugins/local/trtc-agent-skills
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Then press **`Cmd+Shift+P`** (Mac) / **`Ctrl+Shift+P`** (Windows/Linux) → `Reload Window` (or restart Cursor).
|
|
43
|
-
|
|
44
|
-
**Codex CLI**
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
# Step 1 — add the TRTC plugin marketplace
|
|
48
|
-
codex plugin marketplace add Tencent-RTC/agent-skills
|
|
49
|
-
|
|
50
|
-
# Step 2 — open the plugin browser inside Codex CLI:
|
|
51
|
-
/plugins
|
|
52
|
-
# Select the "TRTC Agent Skills" tab → select trtc-agent-skills → press Enter to install
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
**CodeBuddy CLI**
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
# Step 1 — add the TRTC plugin marketplace
|
|
59
|
-
/plugin marketplace add Tencent-RTC/agent-skills
|
|
60
|
-
|
|
61
|
-
# Step 2 — install the plugin
|
|
62
|
-
/plugin install trtc-agent-skills@trtc-marketplace
|
|
63
|
-
|
|
64
|
-
# Step 3 — activate without restarting
|
|
65
|
-
/reload-plugins
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
### Install via npx (any IDE, no plugin marketplace required)
|
|
69
|
-
|
|
70
|
-
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:
|
|
21
|
+
Use the npx installer. Run it inside your project directory:
|
|
71
22
|
|
|
72
23
|
```bash
|
|
73
24
|
# Default — auto-detect installed IDEs (~/.{claude,cursor,codebuddy,codex}/)
|
|
@@ -84,25 +35,6 @@ npx -y @tencent-rtc/trtc-agent-skills@latest add --ide cursor
|
|
|
84
35
|
npx -y @tencent-rtc/trtc-agent-skills@latest add --clean
|
|
85
36
|
```
|
|
86
37
|
|
|
87
|
-
## Using with MCP
|
|
88
|
-
|
|
89
|
-
This skill calls **one** optional MCP server: `tencent-rtc-skill-tool` (package
|
|
90
|
-
[`@tencent-rtc/skill-tool`](https://www.npmjs.com/package/@tencent-rtc/skill-tool)),
|
|
91
|
-
used only for lightweight, fire-and-forget usage telemetry. The skill works fully
|
|
92
|
-
without it — if it is not configured, reporting is simply skipped.
|
|
93
|
-
|
|
94
|
-
The skill does **not** read your TRTC credentials from any MCP server and does
|
|
95
|
-
**not** generate `userSig` for you. You provide your **SDKAppID** when asked, and
|
|
96
|
-
you obtain a **test UserSig** from the TRTC console:
|
|
97
|
-
|
|
98
|
-
> Find `YOUR_SDKAPPID` and generate a test UserSig on the application details
|
|
99
|
-
> page in the [console (International)](https://console.trtc.io) or
|
|
100
|
-
> [console (China)](https://console.cloud.tencent.com). A console-issued UserSig
|
|
101
|
-
> is for development only and expires; for production, issue UserSig from your own
|
|
102
|
-
> backend and keep your SecretKey on the server.
|
|
103
|
-
|
|
104
|
-
The `tencent-rtc-skill-tool` tool server is registered automatically when you install via `npx` — no manual MCP configuration needed. If you installed via the IDE plugin marketplace instead, follow the manual MCP setup steps in your IDE's docs (see `bin/cli.js` for the exact server entry).
|
|
105
|
-
|
|
106
38
|
---
|
|
107
39
|
|
|
108
40
|
## What it does
|
|
@@ -114,6 +46,9 @@ The skill activates automatically when you mention TRTC or describe a real-time
|
|
|
114
46
|
| **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"*<br>• *"I'm getting error 6206 when users join"*<br>• *"Conference is working — now I want to add screen sharing"* |
|
|
115
47
|
| **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"*<br>• *"Guide me through a 1-on-1 video consultation end to end"* |
|
|
116
48
|
| **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"*<br>• *"I want to integrate AI customer service into my existing Node.js backend"*<br>• *"Help me set up TRTC Conversational AI"* |
|
|
49
|
+
| **AI oral coach** | Builds a voice-first AI oral English speaking coach from scratch — or wires the AI backend into your existing app. Covers credential setup, capability assembly (scenario roleplay, quick correction, reply suggestions, ability report, custom learning KB), and launch | • *"Build me an AI oral English coach with TRTC"*<br>• *"I want to integrate AI speaking practice into my existing app"*<br>• *"Help me set up an AI speaking coach"* |
|
|
50
|
+
| **AI realtime interpreter** | Builds a real-time AI meeting interpreter from scratch — or wires the translation backend into your existing app. Covers credential setup, capability assembly (realtime translation, meeting fanout, bilingual subtitles, transcription), and launch | • *"Build me a real-time AI interpreter with TRTC"*<br>• *"I want to add real-time translation to my meeting room"*<br>• *"Help me set up AI meeting interpretation"* |
|
|
51
|
+
| **Push offline push** | Guides TIMPush integration and troubleshooting via `trtc-push-mcp`, covering Android, iOS, Flutter, UniApp, vendor channel setup, APNs, badge, server API, and console limit checks | • *"Help me integrate TIMPush"*<br>• *"Integrate Tencent Cloud offline push"*<br>• *"registerPush failed with 800006"* |
|
|
117
52
|
| **Docs & lookup** | Answers factual questions from the official knowledge base with cited sources | • *"What does error code 6206 mean?"*<br>• *"How much does Conference cost per participant minute?"*<br>• *"What's the max number of participants?"* |
|
|
118
53
|
|
|
119
54
|
The skill saves your progress in the project. If you close the tool and come back later, it picks up where you left off.
|
|
@@ -124,10 +59,11 @@ The skill saves your progress in the project. If you close the tool and come bac
|
|
|
124
59
|
|
|
125
60
|
| Product | Description | Availability |
|
|
126
61
|
|---------|-------------|--------------|
|
|
127
|
-
| **Conference** | Video conferencing — multi-party meetings, screen sharing, in-meeting chat | Web ✅ |
|
|
128
|
-
| **Conversational AI** | Voice-first AI customer service
|
|
62
|
+
| **Conference** | Video conferencing — multi-party meetings, screen sharing, in-meeting chat | Web ✅ (Vue3 / React) |
|
|
63
|
+
| **Conversational AI** | Voice-first AI agents — AI customer service (voice agent, knowledge base, human handoff, tool calling, session summary), AI oral coach (scenario roleplay, quick correction, reply suggestions, ability report), and AI realtime interpreter (multilingual meeting interpretation, bilingual subtitles, fanout orchestration) | Web ✅ |
|
|
129
64
|
| **Live** | Interactive live streaming — anchor/audience roles, co-hosting, barrage, gifts, beauty filters | Coming soon |
|
|
130
|
-
| **Chat** | Instant messaging — messages, conversations, groups, user profiles |
|
|
65
|
+
| **Chat** | Instant messaging — messages, conversations, groups, user profiles | Web ✅ |
|
|
66
|
+
| **Push** | Tencent Cloud IM Push / offline push — Android/iOS push setup, vendor channels, APNs, Flutter, UniApp, badge, server API, and troubleshooting | Android / iOS / Flutter / UniApp ✅ |
|
|
131
67
|
| **Call** | Audio/video calling — 1-on-1 and group calls | Coming soon |
|
|
132
68
|
| **RTC Engine** | Low-level real-time audio/video engine — room management, publishing, subscribing | Coming soon |
|
|
133
69
|
|
|
@@ -144,7 +80,7 @@ When you describe what you want to build, the skill:
|
|
|
144
80
|
- **Walks through** one capability at a time with production-ready code, waits for you to confirm it works, then moves to the next step
|
|
145
81
|
- **Saves your progress** to `.trtc-session.yaml` in your project root (auto-added to `.gitignore`) so you can resume in a later session without re-explaining what you're building
|
|
146
82
|
|
|
147
|
-
Step-by-step integration is currently available for **Conference on Web**
|
|
83
|
+
Step-by-step integration is currently available for **Conference on Web (Vue3 / React official RoomKit path)**, **Chat on Web**, **Conversational AI (AI customer service, AI oral coach & AI realtime interpreter)**, and **TIMPush offline push (Android / iOS / Flutter / UniApp)**. The Conversational AI skills use their own capability model — they do not follow the slice/scenario pipeline; instead they guide you through credential setup, capability selection, and launch in a self-contained flow. TIMPush uses the `trtc-push-mcp` workflow engine to drive platform detection, vendor setup, credential-safe local configuration, and troubleshooting. Docs lookup, error code search, and pricing questions work across all TRTC products.
|
|
148
84
|
|
|
149
85
|
### Knowledge base: Slices and Scenarios
|
|
150
86
|
|
package/README.zh.md
CHANGED
|
@@ -2,72 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
**[English](README.md)** | 简体中文
|
|
4
4
|
|
|
5
|
-
由 [TRTC](https://trtc.io)(腾讯实时音视频)提供的 Agent Skill
|
|
5
|
+
由 [TRTC](https://trtc.io/?utm_source=github&utm_medium=skill&utm_campaign=Twitter%20AI%20%E4%B8%93%E9%A1%B9%20-%20AI%20Oral%20Coach&_channel_track_key=HIzH2eVJ)(腾讯实时音视频)提供的 Agent Skill,帮助开发者将实时音视频、直播、即时通信和 TIMPush 离线推送能力集成到应用中——从零开始到可上线的代码。
|
|
6
6
|
|
|
7
7
|
不需要翻文档,用自然语言描述你要做什么,Skill 会自动匹配对应知识、问几个关键问题,然后一步步带你完成集成。
|
|
8
8
|
|
|
9
|
-
可以用来构建视频会议、直播间、1v1
|
|
9
|
+
可以用来构建视频会议、直播间、1v1 视频问诊、在线教室、客服会话、移动端离线推送等场景,支持 Web、iOS、Android、Flutter 等平台。
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
## 关于 Tencent RTC
|
|
14
14
|
|
|
15
|
-
[Tencent RTC](https://trtc.io)(实时音视频)为全球数千家企业提供实时音频、视频和对话式 AI 体验。依托覆盖 200+ 国家和地区的全球边缘网络,TRTC 提供低于 300ms 的超低延迟大规模实时通信能力。
|
|
15
|
+
[Tencent RTC](https://trtc.io/?utm_source=github&utm_medium=skill&utm_campaign=Twitter%20AI%20%E4%B8%93%E9%A1%B9%20-%20AI%20Oral%20Coach&_channel_track_key=HIzH2eVJ)(实时音视频)为全球数千家企业提供实时音频、视频和对话式 AI 体验。依托覆盖 200+ 国家和地区的全球边缘网络,TRTC 提供低于 300ms 的超低延迟大规模实时通信能力。
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
19
19
|
## 安装
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
# 第一步 — 添加 TRTC 插件市场
|
|
25
|
-
/plugin marketplace add Tencent-RTC/agent-skills
|
|
26
|
-
|
|
27
|
-
# 第二步 — 安装插件
|
|
28
|
-
/plugin install trtc-agent-skills@trtc-marketplace
|
|
29
|
-
|
|
30
|
-
# 第三步 — 无需重启,直接激活
|
|
31
|
-
/reload-plugins
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
**Cursor**
|
|
35
|
-
|
|
36
|
-
克隆仓库并安装到 Cursor 本地插件目录:
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
git clone https://github.com/Tencent-RTC/agent-skills.git ~/.cursor/plugins/local/trtc-agent-skills
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
然后按 **`Cmd+Shift+P`**(Mac)/ **`Ctrl+Shift+P`**(Windows/Linux)→ 输入 `Reload Window` 回车(或直接重启 Cursor)。
|
|
43
|
-
|
|
44
|
-
**Codex CLI**
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
# 第一步 — 添加 TRTC 插件市场
|
|
48
|
-
codex plugin marketplace add Tencent-RTC/agent-skills
|
|
49
|
-
|
|
50
|
-
# 第二步 — 在 Codex CLI 中打开插件浏览器:
|
|
51
|
-
/plugins
|
|
52
|
-
# 选择 "TRTC Agent Skills" 标签页 → 选择 trtc-agent-skills → 按 Enter 安装
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
**CodeBuddy CLI**
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
# 第一步 — 添加 TRTC 插件市场
|
|
59
|
-
/plugin marketplace add Tencent-RTC/agent-skills
|
|
60
|
-
|
|
61
|
-
# 第二步 — 安装插件
|
|
62
|
-
/plugin install trtc-agent-skills@trtc-marketplace
|
|
63
|
-
|
|
64
|
-
# 第三步 — 无需重启,直接激活
|
|
65
|
-
/reload-plugins
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
### 通过 npx 安装(任意 IDE,无需插件市场)
|
|
69
|
-
|
|
70
|
-
如果你所在的 IDE 没有插件市场,或者你希望把安装范围限定在某个具体项目里,可以用 npx 安装器。在项目根目录执行:
|
|
21
|
+
使用 npx 安装器。在项目根目录执行:
|
|
71
22
|
|
|
72
23
|
```bash
|
|
73
24
|
# 默认 — 自动检测已安装的 IDE(~/.{claude,cursor,codebuddy,codex}/)
|
|
@@ -84,21 +35,6 @@ npx -y @tencent-rtc/trtc-agent-skills@latest add --ide cursor
|
|
|
84
35
|
npx -y @tencent-rtc/trtc-agent-skills@latest add --clean
|
|
85
36
|
```
|
|
86
37
|
|
|
87
|
-
## 配置 MCP
|
|
88
|
-
|
|
89
|
-
本 Skill 只调用 **一个** 可选的 MCP Server:`tencent-rtc-skill-tool`(包
|
|
90
|
-
[`@tencent-rtc/skill-tool`](https://www.npmjs.com/package/@tencent-rtc/skill-tool)),
|
|
91
|
-
仅用于轻量的、即发即忘的使用情况上报。没有它 Skill 也能完整工作——未配置时自动跳过上报。
|
|
92
|
-
|
|
93
|
-
本 Skill **不会** 从任何 MCP 读取你的 TRTC 凭证,也 **不会** 替你生成 `userSig`。
|
|
94
|
-
你在被询问时提供 **SDKAppID**,并自行到 TRTC 控制台获取 **测试 UserSig**:
|
|
95
|
-
|
|
96
|
-
> 在[控制台(国际站)](https://console.trtc.io) / [控制台(中国站)](https://console.cloud.tencent.com)
|
|
97
|
-
> 的应用详情页获取 `YOUR_SDKAPPID`,并通过「快速跑通 / UserSig 生成&校验」生成测试 UserSig。
|
|
98
|
-
> 控制台签发的 UserSig 仅用于开发联调且会过期;生产环境必须由你自己的后端签发,SecretKey 务必只保留在服务端。
|
|
99
|
-
|
|
100
|
-
通过 `npx` 安装时,`tencent-rtc-skill-tool` 工具服务会自动注册到对应 IDE 的 MCP 配置,无需手动配置;如果是通过 IDE 插件市场安装,则需按各 IDE 的文档手动配置 MCP(具体 server entry 见 `bin/cli.js`)。
|
|
101
|
-
|
|
102
38
|
---
|
|
103
39
|
|
|
104
40
|
## 能做什么
|
|
@@ -110,6 +46,9 @@ npx -y @tencent-rtc/trtc-agent-skills@latest add --clean
|
|
|
110
46
|
| **快速上手** | 引导你跑通 Demo、从零集成、排查错误或添加新功能 | *"我想在 Web 应用里加视频会议"* · *"用户进房报错 6206"* · *"会议已接入,现在想加屏幕共享"* |
|
|
111
47
|
| **场景引导** | 加载完整场景,按顺序逐步实现每个能力,每步附代码和验证 | *"我想搭建一个会议应用"* · *"我想用 Conference 搭建一个医疗问诊场景"* |
|
|
112
48
|
| **AI 客服搭建** | 从零搭建语音优先的 AI 客服智能体,或将 AI 客服后端接入现有应用。覆盖密钥配置、能力组装(知识库、人工转接、工具调用、会话摘要)、服务启动全流程 | *"帮我用 TRTC 搭建一个 AI 客服"* · *"我想把 AI 客服能力集成到我的 Node.js 后端"* · *"帮我接入 TRTC Conversational AI"* |
|
|
49
|
+
| **AI 口语陪练** | 从零搭建语音优先的 AI 英语口语陪练教练,或将 AI 口语陪练后端接入现有应用。覆盖密钥配置、能力组装(场景角色扮演、单句纠正、接话建议、能力报告、自定义知识库)、服务启动全流程 | *"帮我用 TRTC 搭建一个 AI 口语陪练"* · *"我想把口语陪练能力集成到我的应用中"* · *"帮我搭建一个英语口语教练"* |
|
|
50
|
+
| **AI 实时翻译** | 从零搭建实时 AI 会议翻译,或将翻译后端接入现有应用。覆盖密钥配置、能力组装(实时翻译、会议扇出、双语字幕、转写记录)、服务启动全流程 | *"帮我用 TRTC 做一个 AI 实时会议翻译"* · *"我想把 AI 实时翻译能力接入我现有的会议室"* · *"帮我搭建一个同声传译系统"* |
|
|
51
|
+
| **Push 离线推送** | 通过 `trtc-push-mcp` 引导 TIMPush 集成和排障,覆盖 Android、iOS、Flutter、UniApp、厂商通道、APNs、角标、服务端 API 和控制台限制检查 | *"帮我集成 TIMPush"* · *"接入腾讯云离线推送"* · *"registerPush 报 800006"* |
|
|
113
52
|
| **文档查询** | 从官方知识库检索事实性问题,每个答案附来源引用 | *"错误码 6206 是什么意思?"* · *"Conference 按分钟怎么计费?"* · *"会议室最多支持多少人?"* |
|
|
114
53
|
|
|
115
54
|
Skill 会在项目中保存你的进度。关掉工具下次回来,可以从上次中断的地方继续,不需要重新复述你在做什么。
|
|
@@ -120,10 +59,11 @@ Skill 会在项目中保存你的进度。关掉工具下次回来,可以从
|
|
|
120
59
|
|
|
121
60
|
| 产品 | 说明 | 可用状态 |
|
|
122
61
|
|------|------|---------|
|
|
123
|
-
| **Conference** | 视频会议——多人会议、屏幕共享、会中聊天 | Web
|
|
124
|
-
| **Conversational AI** | 语音优先的 AI
|
|
62
|
+
| **Conference** | 视频会议——多人会议、屏幕共享、会中聊天 | Web ✅(Vue3 / React) |
|
|
63
|
+
| **Conversational AI** | 语音优先的 AI 智能体——AI 客服(语音对话、知识库检索、人工转接、工具调用、会话摘要)、AI 口语陪练(场景角色扮演、单句纠正、接话建议、能力报告)与 AI 实时翻译(多语言会议翻译、双语字幕、扇出编排) | Web ✅ |
|
|
125
64
|
| **Live** | 互动直播——主播/观众、连麦、弹幕、礼物、美颜 | 即将支持 |
|
|
126
|
-
| **Chat** | 即时通信——消息、会话、群组、用户资料 |
|
|
65
|
+
| **Chat** | 即时通信——消息、会话、群组、用户资料 | Web ✅ |
|
|
66
|
+
| **Push** | 腾讯云即时通信推送 / 离线推送 TIMPush——Android/iOS 推送配置、厂商通道、APNs、Flutter、UniApp、角标、服务端 API 和排障 | Android / iOS / Flutter / UniApp ✅ |
|
|
127
67
|
| **Call** | 音视频通话——1v1 和群组通话 | 即将支持 |
|
|
128
68
|
| **RTC Engine** | 实时音视频引擎——进房、推流、拉流 | 即将支持 |
|
|
129
69
|
|
|
@@ -140,7 +80,7 @@ Skill 会在项目中保存你的进度。关掉工具下次回来,可以从
|
|
|
140
80
|
- **逐步推进**,每次只处理一个能力,给出可用代码,等你确认成功后再继续
|
|
141
81
|
- **保存进度**到项目根目录的 `.trtc-session.yaml`(自动加入 `.gitignore`),支持跨 session 续接
|
|
142
82
|
|
|
143
|
-
集成引导目前支持 **Conference Web
|
|
83
|
+
集成引导目前支持 **Conference Web(Vue3 / React 官方 RoomKit 路径)**、**Chat Web**、**Conversational AI(AI 客服、AI 口语陪练 & AI 实时翻译)** 和 **TIMPush 离线推送(Android / iOS / Flutter / UniApp)**。Conversational AI Skill 拥有独立的能力模型,不走 Slice/Scenario 流水线,而是通过自闭环的引导流程完成密钥配置、能力选择和服务启动。TIMPush 通过 `trtc-push-mcp` workflow engine 驱动平台识别、厂商配置、凭据安全的本地配置写入和排障流程。文档查询、错误码搜索、计费咨询全产品可用(Conference、Live、Chat、Call、RTC Engine、TIMPush)。
|
|
144
84
|
|
|
145
85
|
### 知识库:Slice 与 Scenario
|
|
146
86
|
|