Install
openclaw skills install voice-ai-integrationIntegrate Shengwang products: ConvoAI voice agents, RTC audio/video, RTM messaging, Cloud Recording, and token generation. Use when the user mentions Shengwa...
openclaw skills install voice-ai-integration⚠️ Execute this BEFORE any routing or code generation.
Check if references/docs.txt already exists. If it does, skip this step entirely.
If it does not exist, download it:
bash skills/voice-ai-integration/scripts/fetch-docs.sh
This downloads a static doc index from doc.shengwang.cn — no user data is sent.
If download fails, proceed with local reference docs and fallback URLs.
Match the user's request to a product module using the route table. If the match is clear, route directly — do not ask extra questions.
| User intent | Route to |
|---|---|
| Credentials, AppID, REST auth | general |
| Generate Token, token server, AccessToken2 | token-server |
| ConvoAI voice agent work | conversational-ai |
| RTC SDK integration | rtc |
| RTM messaging / signaling | rtm |
| Cloud Recording | cloud-recording |
| Download SDK, sample project, GitHub repo | Route to the relevant product module above |
When the user describes a use case without naming a product, use this to infer the match:
| Product | What it does | Typical user says |
|---|---|---|
| ConvoAI | AI voice agent (ASR→LLM→TTS over RTC) | "AI语音", "voice bot", "对话式AI", "AI agent", "AI 客服" |
| RTC SDK | Real-time audio/video between humans | "视频通话", "直播", "video call", "live streaming" |
| RTM | Real-time messaging / signaling | "聊天", "消息", "chat", "signaling" |
| Cloud Recording | Record RTC sessions server-side | "录制", "recording", "存档", "回看" |
| Token generation | Generate RTC / RTM tokens | "token", "鉴权", "token server" |
| Use case | Products needed |
|---|---|
| AI voice assistant | ConvoAI (primary) + RTC SDK (client) |
| AI voice assistant + chat history | ConvoAI + RTC SDK + RTM |
| 1v1 / group video call | RTC SDK |
| Video call + chat | RTC SDK + RTM |
| Live streaming with recording | RTC SDK + Cloud Recording |
| Record AI conversations | ConvoAI + RTC SDK + Cloud Recording |
| Chat / messaging only | RTM |
If the route table and recognition aid above are not enough to determine the product:
ZH:
已了解的信息
─────────────────────────────
场景: [use case]
主要产品: [primary product]
配套产品: [supporting products / 无]
─────────────────────────────
EN:
What I have so far
─────────────────────────────
Use case: [use case]
Primary: [primary product]
Supporting: [supporting products / none]
─────────────────────────────
Do not stop for a separate confirmation step — continue to the product module automatically.
Each product module follows its own workflow. Do not duplicate implementation logic here.
Common pattern across modules:
references/ firstbash and curl for local doc-fetch helper scriptsgit for sample-repo inspection when the sample-aligned path is chosendoc.shengwang.cn, doc-mcp.shengwang.cn, and gitee.comNetwork behavior:
fetch-docs.sh downloads a static file from doc.shengwang.cn/llms.txt — no user data is sentfetch-doc-content.sh fetches a single doc page by URI from doc-mcp.shengwang.cn — only the doc URI is sent, no user contextgit clone is used only for sample repo inspection from gitee.com — only the repo URL is sentCredential and service-activation requirements vary by product — see each product module and general/credentials-and-auth.md for details. Never hardcode credentials.
git clone --depth 1 <url> with HTTPS repo root URLs only