/ 目录 / 演练场 / claude-shorts
● 社区 AgriciDaniel ⚡ 即开即用

claude-shorts

作者 AgriciDaniel · AgriciDaniel/claude-shorts

Turn a long podcast or stream into ready-to-post Shorts — Claude picks the highlights, Remotion animates the captions.

claude-shorts is a longform-to-shortform video pipeline packaged as a Claude Code skill: transcript-driven segment scoring picks candidate clips, audio-aware boundary snapping cleans them up, a Remotion project renders animated captions and cursor overlays, and Claude wires it all together. Output: vertical Shorts you can post without opening a video editor.

为什么要用

核心特性

实时演示

实际使用效果

claude-shorts-skill.replay ▶ 就绪
0/0

安装

选择你的客户端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "claude-shorts-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/AgriciDaniel/claude-shorts",
        "~/.claude/skills/claude-shorts"
      ],
      "_inferred": true
    }
  }
}

打开 Claude Desktop → Settings → Developer → Edit Config。保存后重启应用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "claude-shorts-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/AgriciDaniel/claude-shorts",
        "~/.claude/skills/claude-shorts"
      ],
      "_inferred": true
    }
  }
}

Cursor 使用与 Claude Desktop 相同的 mcpServers 格式。项目级配置优先于全局。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "claude-shorts-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/AgriciDaniel/claude-shorts",
        "~/.claude/skills/claude-shorts"
      ],
      "_inferred": true
    }
  }
}

点击 Cline 侧栏中的 MCP Servers 图标,然后选 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "claude-shorts-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/AgriciDaniel/claude-shorts",
        "~/.claude/skills/claude-shorts"
      ],
      "_inferred": true
    }
  }
}

格式与 Claude Desktop 相同。重启 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "claude-shorts-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/AgriciDaniel/claude-shorts",
        "~/.claude/skills/claude-shorts"
      ]
    }
  ]
}

Continue 使用服务器对象数组,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "claude-shorts-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/AgriciDaniel/claude-shorts",
          "~/.claude/skills/claude-shorts"
        ]
      }
    }
  }
}

加入 context_servers。Zed 保存后热重载。

claude mcp add claude-shorts-skill -- git clone https://github.com/AgriciDaniel/claude-shorts ~/.claude/skills/claude-shorts

一行命令搞定。用 claude mcp list 验证,claude mcp remove 卸载。

使用场景

实战用法: claude-shorts

How to turn a 90-minute podcast into 10 Shorts

👤 Podcasters and content creators ⏱ ~90 min advanced

何时使用: You published a long episode and want a week of Shorts from it with minimal effort.

前置条件
  • Node 20+ for Remotion and FFmpeg installed — nvm install 20; brew install ffmpeg
  • Skill cloned — git clone https://github.com/AgriciDaniel/claude-shorts ~/.claude/skills/claude-shorts
步骤
  1. Transcribe and score
    Process podcast_ep42.mp3 — transcribe and score candidate Short segments.✓ 已复制
    → Ranked list of 20–30 candidates with timestamps and hooks
  2. Pick and snap
    Pick the top 10 and snap boundaries to clean audio breakpoints.✓ 已复制
    → 10 segments with cleaned-up start/end
  3. Render Shorts
    Render vertical 9:16 Shorts with animated captions to ./shorts/.✓ 已复制
    → MP4 files ready to upload

结果: A week's worth of Shorts generated in an afternoon.

注意事项
  • Captions out of sync — Use word-level timestamps from whisper — skill expects them
  • Same joke across 3 Shorts — Ask Claude to de-dupe by topic cluster before rendering
搭配使用: filesystem

Build a highlight reel from a Twitch / YouTube stream

👤 Streamers, educators, conference archivists ⏱ ~60 min intermediate

何时使用: You have a long recording and need a sampler to promote it.

步骤
  1. Score peaks
    Find the 15 most engaging moments based on transcript + audio energy.✓ 已复制
    → Ranked peaks with timestamps and reasons
  2. Assemble the reel
    Assemble a single 60-second highlight reel with smooth cuts.✓ 已复制
    → One MP4 with good pacing

结果: A concise reel that represents the best of the session.

注意事项
  • Reel has no narrative — Ask Claude to order clips for arc, not just score
搭配使用: claude-youtube-skill

组合

与其他 MCP 搭配,撬动十倍杠杆

claude-shorts-skill + claude-youtube-skill

Same pipeline feeds YouTube long-form + Shorts strategy

Pick 10 Shorts from the latest podcast and suggest YouTube Shorts titles and descriptions.✓ 已复制

Auto-caption each Short for IG/TikTok/Threads

For each rendered Short, generate posting captions for Instagram Reels and TikTok.✓ 已复制

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
transcribe-and-score audio/video path First step in any pipeline Whisper / scoring compute
boundary-snap segment timestamps + waveform After scoring audio analysis compute
remotion-render segments + captions + style Final step Remotion render time
cursor-overlay screen-capture + cursor events For tutorials or software walkthroughs 0

成本与限制

运行它的成本

API 配额
none beyond whisper/LLM provider
每次调用 Token 数
~10–30k tokens per long-form source
费用
free at the skill level; rendering uses your CPU/GPU
提示
Score in one pass, then batch-render overnight to avoid UI blocking

安全

权限、密钥、影响范围

凭据存储: none
数据出站: none — local rendering

故障排查

常见错误与修复

Remotion render fails

Check Node version (20+), ensure the Remotion project compiles: npx remotion render.

验证: npx remotion --version
FFmpeg: codec not found

Install a full FFmpeg build: brew install ffmpeg; confirm libx264.

验证: ffmpeg -codecs | grep 264
Captions off by ~200ms

Re-run transcription with word timestamps enabled.

替代方案

claude-shorts 对比其他方案

替代方案何时用它替代权衡
claude-youtube-skillYou need YouTube strategy, not automated renderingStrategy vs pipeline

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

🔍 浏览全部 400+ MCP 服务器和 Skills