listenhub-cli
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePurpose
用途
This is a router skill. When users trigger a general ListenHub action, this skill identifies the intent and delegates to the appropriate specialized skill.
这是一个路由技能。当用户触发通用的ListenHub操作时,该技能会识别用户意图,并将请求分发到对应的专用技能。
Routing Table
路由表
| User intent | Keywords | Route to |
|---|---|---|
| Podcast | "podcast", "播客", "debate", "dialogue" | |
| Explainer video | "explainer", "解说视频", "tutorial video" | |
| Slides / PPT | "slides", "幻灯片", "PPT", "presentation" | |
| TTS / Read aloud | "TTS", "read aloud", "朗读", "配音", "语音合成" | |
| Image generation | "generate image", "画一张", "生成图片", "AI图" | |
| Music | "music", "音乐", "生成音乐", "翻唱", "cover" | |
| Content extraction | "parse URL", "extract content", "解析链接" | |
| Audio transcription | "transcribe", "ASR", "语音转文字" | |
| Creator workflow | "创作", "写公众号", "小红书", "口播" | |
| 用户意图 | 关键词 | 路由目标 |
|---|---|---|
| 播客 | "podcast"、"播客"、"debate"、"dialogue" | |
| 解说视频 | "explainer"、"解说视频"、"tutorial video" | |
| 幻灯片/PPT | "slides"、"幻灯片"、"PPT"、"presentation" | |
| TTS/朗读 | "TTS"、"read aloud"、"朗读"、"配音"、"语音合成" | |
| 图像生成 | "generate image"、"画一张"、"生成图片"、"AI图" | |
| 音乐 | "music"、"音乐"、"生成音乐"、"翻唱"、"cover" | |
| 内容提取 | "parse URL"、"extract content"、"解析链接" | |
| 音频转写 | "transcribe"、"ASR"、"语音转文字" | |
| 创作者工作流 | "创作"、"写公众号"、"小红书"、"口播" | |
How to Route
路由规则
- Read the user's message and identify which category it falls into
- Tell the user which skill you're routing to
- Follow that skill's SKILL.md completely
If the intent is ambiguous, ask the user to clarify:
Question: "What would you like to create?"
Options:
- "Podcast" — Audio discussion on a topic
- "Explainer Video" — Narrated video with AI visuals
- "Slides" — Slide deck / presentation
- "Music" — AI-generated music or cover- 读取用户消息,判断其所属的类别
- 告知用户即将路由到的技能
- 完全遵循该技能的SKILL.md文档执行操作
如果意图不明确,请询问用户澄清:
Question: "What would you like to create?"
Options:
- "Podcast" — Audio discussion on a topic
- "Explainer Video" — Narrated video with AI visuals
- "Slides" — Slide deck / presentation
- "Music" — AI-generated music or coverPrerequisites
前置要求
Most skills require the ListenHub CLI. Check:
bash
listenhub auth status --jsonIf not installed or not logged in, handle automatically — never ask the user to run install commands:
- Auto-install: run silently
npm install -g @marswave/listenhub-cli - Auto-login: run (opens browser)
listenhub auth login
Exception: runs locally and needs no CLI or API key.
/asr大多数技能都需要ListenHub CLI,请检查:
bash
listenhub auth status --json如果未安装或未登录,请自动处理——切勿要求用户手动执行安装命令:
- 自动安装:静默执行
npm install -g @marswave/listenhub-cli - 自动登录:执行 (会打开浏览器)
listenhub auth login
例外情况: 功能在本地运行,不需要CLI或API密钥。
/asr