/trtc-ai-setup:trtc-chat-ohosfrom trtc-ai-setup
Integrates TUIKit AtomicX Chat UI into HarmonyOS NEXT / OpenHarmony ArkTS Stage projects. Handles login, conversation list, chat page, text messaging, and default CallKit setup or removal.
Ships in trtc-ai-setup. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
trtc/SKILL.md 完成本轮 guard、意图确认及适用的 SDKAppID 收集后进入;若宿主先加载了本技能,先交回 Root,复用本轮已有前台入口结果。Root 不存在的独立安装可直接承接业务,但不另建上报通道。写入仍以本文件的文件级方案授权为准。platform=ohos;若目标是 iOS、Android、Flutter、Web 或其他平台,交回 Root 分流。适用 HarmonyOS ArkTS Stage 工程。事实基线是公开仓库 Tencent-RTC/TUIKit_Harmony(GitHub https://github.com/Tencent-RTC/TUIKit_Harmony.git,CNB https://cnb.cool/tencent/cloud/trtc/TUIKit_Harmony,官方文档 https://cloud.tencent.com/document/product/269/125128):仓库根下 atomic_x/(@tencentcloud/atomicx,src/main/Index.ets 导出 AtomicX 组件)、chat/uikit/(chatuikit,导出 ContactsPage、ConversationsPage、ChatPage、ChatDialog)、call/(@tencentcloud/tuicallkit)、chat/demo/(示例);@tencentcloud/atomicxcore 由 ohpm 中心仓库安装。下文源码路径均相对于该仓库根;客户若引用内部或改名的源码布局,以其实际 oh-package.json5 / build-profile.json5 为准。不得搬运 Android View/Compose 的 setup、Gradle、renderer DSL 或 Insets API。conversationID → 聊天页 → 双向文本收发;默认把 CallKit 源码依赖、宿主生命周期 attach/detach 和 call.startCall 消费一并列入方案,不另问是否需要 Call。客户完成集成后明确不要 Call,按集成成套移除。../trtc/tools/reporting.py;Host / Root / 本 owner 共用每轮一次前台 Prompt 入口及一次重试预算。尚未尝试入口时按 Root §-1 通过 JSON stdin 传 route_hint=trtc-chat-ohos、product=chat、framework=ohos;已成功入口不重报。业务结束后执行一次共享最终 invoke --skillname trtc-chat-ohos --product chat --framework ohos,已执行则复用结果;转交其他 owner 时按实际最终 owner 归因。收到 Runtime 展示标记后,先按 Root 的首次可见消息边界原样展示固定询问并结束当前回合等待用户回复,不能继续交接、业务提问或调用业务工具;同意或拒绝保存成功后按 Root 恢复原任务;不等整套接入结束,不交给 Stop,同轮已展示则不在最终回答重复。不上报任何控制回复,不将模糊回复当作同意;上报失败不扩大权限,Prompt 不进入 shell argv。sdkAppID/userID/userSig 仅按客户账号链路使用,与“体验数据上报”严格隔离;创建体验消息的 REST 请求是客户单独确认的业务操作,不视作上报同意。详情见公共约束与体验数据。product=chat, platform=ohos, active_domain_skill=trtc-chat-ohos。复用 Root 已收集的 SDKAppID,不重复询问、不清空;缺失时返回 Root §B.2,不另造收集流程。明确暂停 / 完成时维护相应状态;纯 IM 事实 / REST / 计费 / API 咨询交给 trtc-chat/docs/SKILL.md,不为上报新建集成 session。AskUserQuestion),找不到时继续检查宿主内置工具发现能力;不得为提问安装/调用 MCP 或第三方服务。按此方案执行(推荐) / 调整方案 / 暂不执行。只有展示方案后的明确“按此方案执行”才能写入;用户初始“直接改”、批准宽泛计划或仅选择源码版本均不能替代授权。方案改变就重新审批。拒绝/停止则结束,不反复追问。oh-package.json5、build-profile.json5、hvigorfile.ts、锁文件、入口 UIAbility、现有登录、导航和窗口;不扫描整个 home。发现引用的 TUIKit 本地源码,先按集成的源码版本核对检查身份与上游默认分支;无法确认时明确写出未知并让客户选择保留或独立引入最新源码,不能默认最新版或原地覆盖。工程内没有源码时,出方案前可把公开上游只读克隆到客户工程外的系统临时目录核对真实 API,授权后再按空白工程最小模板复制进工程。LoginStore.shared().login(...)、ConversationsPage、ChatDialog/ChatPage 与 CallKit;不造假消息、不写 stub。使用客户工程现有 ohpm/hvigor/DevEco 工具构建或可行静态检查;不主动启动 App/模拟器。按排障检查本次改动的 ID、生命周期、重复请求、分页和失效对象。现在准备(推荐) / 暂不准备;不得两种阶段都问,不说“造数/灌数据/seed/dry-run”。同意后先确定客户实际登录 userID,再按体验数据预览并再次确认;拒绝不追问。references/blank-project-template.md (opens in a new tab)references/boundaries.md (opens in a new tab)references/constraints.md (opens in a new tab)references/customization.md (opens in a new tab)references/demo-data.md (opens in a new tab)references/integration.md (opens in a new tab)references/suite-integration.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
14 skills in this plugin
/trtcUse for TRTC/Tencent RTC requests to integrate, build, troubleshoot, compare, price, migrate, or query SDK/API/docs. Also trigger when the request omits “TRTC” but concerns audio/video, chat, calls, meetings, live, voice rooms, offline push, or AI. Route by product/platform/intent. Products: Chat/IM/TUIKit, Conference/TUIRoom/TUIRoomKit/RoomKit, Call/TUICallKit, Live/TUILiveKit, RTC Engine, TIMPush, and Conversational AI on Web/Android/iOS/HarmonyOS/Flutter/Electron. Signals: UserSig, REST API, Webhook, SDK names, errors 6206/6208/70001, or 接入、集成、搭建、音视频、视频会议、语音房、直播、 通话、群聊、实时翻译、口语陪练、AI客服、智能客服、对话式AI、离线推送、计费、套餐、错误码. TIMPush: 腾讯云 push/离线推送、registerPush、800006、APNs/FCM; route to trtc-push. SDK logs: /sdk-log、SDK 日志排障、客户端日志、日志分析、黑屏、无声、掉线; use manual log workflow.
/ai-oral-coach-skillBuild an AI English speaking coach powered by Tencent Cloud TRTC Conversational AI (voice-first).
Agent-driven — users never touch a terminal. Two paths:
Path A Quick Start — 3-screen SPA (scenario practice + sentence correction + reply suggestions + 4-dimension report)
Path B Integrate — backend inbound API + integration code, no UI generated
/trtc-ai-realtime-interpreterBuild real-time AI interpretation powered by Tencent Cloud TRTC Conversational AI (voice-first).
Designed for beginners — no coding experience required. Plain-language guidance throughout.
Two paths available:
Quick Start —— Ready-to-use Vue3 meeting room with real-time AI interpreter (for first-timers who want to see results fast)
Integrate into My System —— Add TRTC-based real-time interpretation backend capabilities to your existing project (no UI generated)
The Coding Agent drives the entire process in the chat window. Users never touch a terminal or run scripts manually.
npx claudepluginhub tencent-rtc/agent-skills --plugin trtc-ai-setupOther plugins' skills for the same job