/ 目錄 / 演練場 / claude-shorts
● 社群 AgriciDaniel ⚡ 即開即用

claude-shorts

作者 AgriciDaniel · AgriciDaniel/claude-shorts

將長篇 Podcast 或直播轉換為可直接發佈的短影片——Claude 挑選精華片段,Remotion 為字幕製作動畫效果。

claude-shorts 是一個長影片轉短影片的處理流程,封裝為 Claude Code 技能:以逐字稿驅動的片段評分挑選候選剪輯,音訊感知的邊界對齊確保切點乾淨,Remotion 專案渲染動態字幕與游標疊加層,由 Claude 串接所有流程。輸出成品:直向短影片,無需開啟影片編輯器即可直接發佈。

為什麼要用

核心特性

即時演示

實際使用效果

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

如何將 90 分鐘的 Podcast 轉換為 10 支短影片

👤 Podcast 主持人與內容創作者 ⏱ ~90 min advanced

何時使用: 你已發佈一集長篇節目,希望以最少的精力從中產出一週份量的短影片。

前置條件
  • 已安裝 Node 20+ 供 Remotion 使用,以及 FFmpeg — nvm install 20; brew install ffmpeg
  • 已複製技能 — git clone https://github.com/AgriciDaniel/claude-shorts ~/.claude/skills/claude-shorts
步驟
  1. 轉錄並評分
    處理 podcast_ep42.mp3——轉錄並對候選短影片片段進行評分。✓ 已複製
    → 含時間戳與開頭鉤子的 20–30 個候選片段排名清單
  2. 挑選並對齊邊界
    挑選前 10 個片段,並將邊界對齊至乾淨的音訊斷點。✓ 已複製
    → 10 個已修正起訖點的片段
  3. 渲染短影片
    將附有動態字幕的直向 9:16 短影片渲染至 ./shorts/。✓ 已複製
    → 可直接上傳的 MP4 檔案

結果: 一個下午即可產出一週份量的短影片。

注意事項
  • 字幕不同步 — 使用 whisper 的逐字時間戳——此技能需要該格式
  • 3 支短影片出現相同的笑點 — 請 Claude 在渲染前依主題叢集去除重複內容
搭配使用: filesystem

從 Twitch / YouTube 直播建立精華剪輯

👤 直播主、教育工作者、研討會存檔人員 ⏱ ~60 min intermediate

何時使用: 你有一段長篇錄影,需要製作宣傳用的精華片段。

步驟
  1. 評分高潮時刻
    根據逐字稿與音訊能量,找出 15 個最具吸引力的時刻。✓ 已複製
    → 含時間戳與理由的高潮時刻排名清單
  2. 組合精華剪輯
    組合一段 60 秒、剪輯流暢的精華影片。✓ 已複製
    → 一個節奏良好的 MP4 檔案

結果: 一段能代表該場次精華的簡潔剪輯。

注意事項
  • 剪輯缺乏敘事結構 — 請 Claude 依敘事弧度排列剪輯,而非單純依分數排序
搭配使用: claude-youtube-skill

組合

與其他 MCP 搭配,撬動十倍槓桿

claude-shorts-skill + claude-youtube-skill

同一流程同時支援 YouTube 長篇影片與短影片策略

從最新一集 Podcast 中挑選 10 支短影片,並建議 YouTube Shorts 的標題與說明。✓ 已複製

自動為每支短影片生成 IG/TikTok/Threads 發文說明

針對每支已渲染的短影片,分別為 Instagram Reels 和 TikTok 產生發文說明文字。✓ 已複製

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
transcribe-and-score audio/video path 任何流程的第一步 Whisper / scoring compute
boundary-snap segment timestamps + waveform 評分完成後執行 audio analysis compute
remotion-render segments + captions + style 最後一步 Remotion render time
cursor-overlay screen-capture + cursor events 用於教學或軟體操作示範影片 0

成本與限制

運行它的成本

API 配額
除 whisper/LLM 提供商外無額外配額需求
每次呼叫 Token 數
每個長篇來源約需 ~10–30k tokens
費用
技能本身免費;渲染使用本機 CPU/GPU 運算
提示
一次完成評分,再排程於夜間批次渲染,避免佔用 UI 操作

安全

權限、密鑰、影響範圍

憑證儲存:
資料出站: 無——本機渲染

故障排查

常見錯誤與修復

Remotion render fails

確認 Node 版本(需 20+),確保 Remotion 專案可正常編譯:npx remotion render。

驗證: npx remotion --version
FFmpeg: codec not found

安裝完整版 FFmpeg:brew install ffmpeg;確認已包含 libx264。

驗證: ffmpeg -codecs | grep 264
Captions off by ~200ms

重新執行轉錄,並啟用逐字時間戳選項。

替代方案

claude-shorts 對比其他方案

替代方案何時用它替代權衡
claude-youtube-skill你需要的是 YouTube 內容策略規劃,而非自動化渲染流程策略規劃 vs 自動化流程

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

🔍 瀏覽全部 400+ MCP 伺服器和 Skills