MCPInstall

slides

Create slide decks from topics, URLs, or text. Triggers on: "幻灯片", "PPT", "slides", "slide deck", "做幻灯片", "create slides", "presentation".

Installs
569
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/marswaveai/skills --skill slides
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads slides automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

When to Use

  • User wants to create a slide deck or presentation
  • User asks for "slides", "幻灯片", "PPT", or "presentation"
  • User wants visual content organized into slides from a topic or URL

When NOT to Use

  • User wants a narrated video without slides (use /explainer)
  • User wants audio-only content (use /speech or /podcast)
  • User wants a podcast-style discussion (use /podcast)
  • User wants to generate a standalone image (use /image-gen)

Purpose

Generate slide decks with AI-generated visuals from topics, URLs, or text. By default, slides are generated without audio narration. Narration can be optionally enabled. Ideal for presentations, summaries, and visual storytelling.

Hard Constraints

  • Always read config following shared/config-pattern.md before any interaction
  • Follow shared/cli-patterns.md for execution modes, error handling, and interaction patterns
  • Always follow shared/cli-authentication.md for auth checks
  • Follow shared/speaker-selection.md when narration is enabled
  • Never hardcode speaker IDs — always fetch from the speakers CLI when the user wants to change voice
  • Never save files to ~/Downloads/ or .listenhub/ — save artifacts to the current working directory with friendly topic-based names (see shared/config-pattern.md § Artifact Naming)
  • Mode is always slides — never info or story (those are for /explainer)
  • Only 1 speaker supported (when narration is enabled)
  • Default behavior: skip audio (no narration). Only add narration when the user explicitly requests it via --no-skip-audio
<HARD-GATE> Use the AskUserQuestion tool for every multiple-choice step — do NOT print options as plain text. Ask one question at a time. Wait for the user's answer before proceeding to the next step. After all parameters are collected, summarize the choices and ask the user to confirm. Do NOT call any CLI command until the user has explicitly confirmed. </HARD-GATE>

Step -1: CLI Auth Check

Follow shared/cli-authentication.md. If the CLI is not installed or the user is not logged in, auto-install and auto-login — never ask the user to run commands manually.

Step 0: Config Setup

Follow shared/config-pattern.md Step 0 (Zero-Question Boot).

If file doesn't exist — silently create with defaults and proceed:

mkdir -p ".listenhub/slides"
echo '{"outputMode":"inline","language":null,"defaultSpeakers":{}}' > ".listenhub/slides/config.json"
CONFIG_PATH=".listenhub/slides/config.json"
CONFIG=$(cat "$CONFIG_PATH")

Do NOT ask any setup questions. Proceed directly to the Interaction Flow.

If file exists — read config silently and proceed:

CONFIG_PATH=".listenhub/slides/config.json"
[ ! -f "$CONFIG_PATH" ] && CONFIG_PATH="$HOME/.listenhub/slides/config.json"
CONFIG=$(cat "$CONFIG_PATH")

Setup Flow (user-initiated reconfigure only)

Only run when the user explicitly asks to reconfigure. Display current settings:

当前配置 (slides):
  输出方式:{inline / download / both}
  语言偏好:{zh / en / 未设置}
  默认主播:{speakerName / 使用内置默认}

Then ask:

  1. outputMode: Follow shared/output-mode.md § Setup Flow Question.

  2. Language (optional): "默认语言?"

    • "中文 (zh)"
    • "English (en)"
    • "每次手动选择" → keep null

After collecting answers, save immediately:

NEW_CONFIG=$(echo "$CONFIG" | jq --arg m "$OUTPUT_MODE" '. + {"outputMode": $m}')
echo "$NEW_CONFIG" > "$CONFIG_PATH"
CONFIG=$(cat "$CONFIG_PATH")

Interaction Flow

Step 1: Topic / Content

Free text input. Ask the user:

What would you like to create slides about?

Accept: topic description, text content, URL(s), or any combination.

Step 2: Language

If config.language is set, pre-fill and show in summary — skip this question. Otherwise ask:

Question: "What language?"
Options:
  - "Chinese (zh)" — Content in Mandarin Chinese
  - "English (en)" — Content in English
  - "Japanese (ja)" — Content in Japanese

Step 3: Narration

Ask:

Question: "需要语音旁白吗?(默认否)"
Options:
  - "不需要" — Slides only, no narration
  - "需要" — Add voice narration to slides

Default is no narration. If the user says yes, proceed to Step 4. Otherwise skip to Step 5.

Step 4: Speaker Selection (only if narration enabled)

Skip this step entirely if narration is not enabled.

Follow shared/speaker-selection.md:

  • If config.defaultSpeakers.{language} is set → use saved speaker silently
  • If not set → use built-in default from shared/speaker-selection.md for the language
  • Show the speaker in the confirmation summary (Step 5) — user can change from there if desired
  • Only show the full speaker list if the user explicitly asks to change voice

Only 1 speaker is supported for slides narration.

Step 5: Confirm & Generate

Summarize all choices:

Without narration:

Ready to generate slides:

  Topic: {topic}
  Language: {language}
  Narration: No

  Proceed?

With narration:

Ready to generate slides:

  Topic: {topic}
  Language: {language}
  Narration: Yes
  Speaker: {speaker name}

  Proceed?

Wait for explicit confirmation before running any CLI command.

Workflow

  1. Submit (background): Run the CLI command with run_in_background: true and timeout: 660000:

    Without narration (default):

    listenhub slides create \
      --query "{topic}" \
      --lang {en|zh|ja} \
      --image-size 2K \
      --aspect-ratio 16:9 \
      --timeout 600 \
      --json
    

    With narration:

    listenhub slides create \
      --query "{topic}" \
      --lang {en|zh|ja} \
      --image-size 2K \
      --aspect-ratio 16:9 \
      --no-skip-audio \
      --speaker "{name}" \
      --timeout 600 \
      --json
    

    If the user provided a source URL, add --source-url "{url}".

    The CLI handles polling internally and returns the final result when generation completes.

  2. Tell the user the task is submitted and that they will be notified when it finishes.

  3. When notified of completion, parse and present the result:

    Parse the CLI JSON output for key fields:

    EPISODE_ID=$(echo "$RESULT" | jq -r '.episodeId')
    AUDIO_URL=$(echo "$RESULT" | jq -r '.audioUrl // empty')
    CREDITS=$(echo "$RESULT" | jq -r '.credits // empty')
    

    Read OUTPUT_MODE from config. Follow shared/output-mode.md for behavior.

    Without narration:

    inline or both: Present the online link.

    幻灯片已生成!
    
    在线查看:https://listenhub.ai/app/slides/{episodeId}
    消耗积分:{credits}
    

    download or both: Also save the script file. Generate a topic slug following shared/config-pattern.md § Artifact Naming.

    • Save as {slug}-slides.md in cwd (dedup if exists)
    • Present the save path in addition to the above summary.

    With narration:

    inline or both: Display audio URL as a clickable link.

    幻灯片已生成!
    
    在线查看:https://listenhub.ai/app/slides/{episodeId}
    音频链接:{audioUrl}
    消耗积分:{credits}
    

    download or both: Also save files. Generate a topic slug following shared/config-pattern.md § Artifact Naming.

    • Create {slug}-slides/ folder (dedup if exists)
    • Write script.md inside
    • Download audio:
      curl -sS -o "{slug}-slides/audio.mp3" "{audioUrl}"
      
    • Present:
      已保存到当前目录:
        {slug}-slides/
          script.md
          audio.mp3
      

After Successful Generation

Update config with the choices made this session:

NEW_CONFIG=$(echo "$CONFIG" | jq \
  --arg lang "{language}" \
  '. + {"language": $lang}')
echo "$NEW_CONFIG" > "$CONFIG_PATH"

If narration was used, also save the speaker:

NEW_CONFIG=$(echo "$CONFIG" | jq \
  --arg lang "{language}" \
  --arg speakerId "{speakerId}" \
  '. + {"language": $lang, "defaultSpeakers": (.defaultSpeakers + {($lang): [$speakerId]})}')
echo "$NEW_CONFIG" > "$CONFIG_PATH"

Estimated times:

  • Slides without narration: 2-4 minutes
  • Slides with narration: 4-8 minutes

Resources

  • CLI authentication: shared/cli-authentication.md
  • CLI patterns: shared/cli-patterns.md
  • Speaker query: shared/cli-speakers.md
  • Speaker selection guide: shared/speaker-selection.md
  • Config pattern: shared/config-pattern.md
  • Output mode: shared/output-mode.md

Composability

  • Invokes: speakers CLI (for speaker selection when narration enabled)
  • Invoked by: content-planner (Phase 3)

Example

User: "帮我做一个关于量子计算的幻灯片"

Agent workflow:

  1. Topic: "量子计算"
  2. Language: pre-filled from config or ask → "zh"
  3. Narration: ask → "不需要"
  4. Confirm and generate
listenhub slides create \
  --query "量子计算" \
  --lang zh \
  --image-size 2K \
  --aspect-ratio 16:9 \
  --timeout 600 \
  --json

Wait for CLI to return result, then present the online link.

User: "Create slides about React hooks with narration"

Agent workflow:

  1. Topic: "React hooks"
  2. Language: ask → "en"
  3. Narration: ask → "需要"
  4. Speaker: use built-in default for English
  5. Confirm and generate
listenhub slides create \
  --query "React hooks" \
  --lang en \
  --image-size 2K \
  --aspect-ratio 16:9 \
  --no-skip-audio \
  --speaker "Mars" \
  --timeout 600 \
  --json

Wait for CLI to return result, then present the online link and audio link.

FAQ

What does the slides skill do?

Create slide decks from topics, URLs, or text. Triggers on: "幻灯片", "PPT", "slides", "slide deck", "做幻灯片", "create slides", "presentation".

How do I install slides?

Run npx skills add https://github.com/marswaveai/skills --skill slides in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/slides/ (personal) or .claude/skills/slides/ (project).

Which AI agents can use slides?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is slides safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains slides?

It is published by marswaveai in marswaveai/skills. It has 569 recorded installs.

More from marswaveai/skills

View all →

listenhub

marswaveai/skills

ListenHub CLI skills router. Routes to the correct skill based on user intent. Triggers on: "make a podcast", "explainer video", "read aloud", "TTS", "generate image", "generate video", "做播客", "解说视频", "朗读", "生成图片", "生成视频", "幻灯片", "slides", "音乐", "music", "generate music", "翻唱", "混音", "remix", "续写", "extend", "纯音乐", "instrumental", "配乐", "soundtrack", "分轨", "stem", "识别歌词", "克隆人声", "vocal clone", "cover song", "pixverse", "口型", "lipsync", "对口型", "parse URL", "解析链接", "提取内容".

Media & Creative1.5K installs

tts

marswaveai/skills

Text-to-speech and voice narration. Triggers on: "朗读这段", "配音", "TTS", "语音合成", "text to speech", "read this aloud", "convert to speech", "voice narration", "read aloud".

Media & Creative1.4K installs

asr

marswaveai/skills

Transcribe audio files to text using local speech recognition. Triggers on: "转录", "transcribe", "语音转文字", "ASR", "识别音频", "把这段音频转成文字".

Media & Creative1.3K installs

image-gen

marswaveai/skills

Generate AI images from text prompts. Triggers on: "生成图片", "画一张", "AI图", "generate image", "配图", "create picture", "draw", "visualize", "generate an image".

Media & Creative1.2K installs

podcast

marswaveai/skills

Create podcasts from topics, URLs, or text. Triggers on: "做播客", "podcast", "播客", "录一期节目", "chat about", "discuss", "debate", "dialogue", "make a podcast about".

Media & Creative1.2K installs

explainer

marswaveai/skills

Create explainer videos with narration and AI-generated visuals. Triggers on: "解说视频", "explainer video", "explain this as a video", "tutorial video", "introduce X (video)", "解释一下XX(视频形式)".

Media & Creative1.1K installs

Popular docs & writing skills

View category →

grill-with-docs

mattpocock/skills

A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

Docs & Writing1.2M installs

lark-markdown

open.feishu.cn

飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。

Docs & Writing778.7K installs

writing-beats

mattpocock/skills

Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.

Docs & Writing490.7K installs

writing-shape

mattpocock/skills

Writing, exploit: shape raw material into an article, paragraph by paragraph.

Docs & Writing490.2K installs

writing-fragments

mattpocock/skills

Writing, explore: mine raw fragments, no structure yet.

Docs & Writing489.6K installs

writing-for-agents

mattpocock/skills

Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.

Docs & Writing479.3K installs