listenhub-cli

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Purpose

用途

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 intentKeywordsRoute to
Podcast"podcast", "播客", "debate", "dialogue"
/podcast
Explainer video"explainer", "解说视频", "tutorial video"
/explainer
Slides / PPT"slides", "幻灯片", "PPT", "presentation"
/slides
TTS / Read aloud"TTS", "read aloud", "朗读", "配音", "语音合成"
/tts
Image generation"generate image", "画一张", "生成图片", "AI图"
/image-gen
Music"music", "音乐", "生成音乐", "翻唱", "cover"
/music
Content extraction"parse URL", "extract content", "解析链接"
/content-parser
Audio transcription"transcribe", "ASR", "语音转文字"
/asr
Creator workflow"创作", "写公众号", "小红书", "口播"
/creator
用户意图关键词路由目标
播客"podcast"、"播客"、"debate"、"dialogue"
/podcast
解说视频"explainer"、"解说视频"、"tutorial video"
/explainer
幻灯片/PPT"slides"、"幻灯片"、"PPT"、"presentation"
/slides
TTS/朗读"TTS"、"read aloud"、"朗读"、"配音"、"语音合成"
/tts
图像生成"generate image"、"画一张"、"生成图片"、"AI图"
/image-gen
音乐"music"、"音乐"、"生成音乐"、"翻唱"、"cover"
/music
内容提取"parse URL"、"extract content"、"解析链接"
/content-parser
音频转写"transcribe"、"ASR"、"语音转文字"
/asr
创作者工作流"创作"、"写公众号"、"小红书"、"口播"
/creator

How to Route

路由规则

  1. Read the user's message and identify which category it falls into
  2. Tell the user which skill you're routing to
  3. 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
  1. 读取用户消息,判断其所属的类别
  2. 告知用户即将路由到的技能
  3. 完全遵循该技能的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 cover

Prerequisites

前置要求

Most skills require the ListenHub CLI. Check:
bash
listenhub auth status --json
If not installed or not logged in, handle automatically — never ask the user to run install commands:
  1. Auto-install: run
    npm install -g @marswave/listenhub-cli
    silently
  2. Auto-login: run
    listenhub auth login
    (opens browser)
Exception:
/asr
runs locally and needs no CLI or API key.
大多数技能都需要ListenHub CLI,请检查:
bash
listenhub auth status --json
如果未安装或未登录,请自动处理——切勿要求用户手动执行安装命令:
  1. 自动安装:静默执行
    npm install -g @marswave/listenhub-cli
  2. 自动登录:执行
    listenhub auth login
    (会打开浏览器)
例外情况:
/asr
功能在本地运行,不需要CLI或API密钥。