Communitygithub.com

YouTube 影片下載器

以可自訂的品質與格式選項下載 YouTube 影片。當使用者要求下載、儲存或抓取 YouTube 影片時使用此技能。支援多種畫質設定(最佳、1080p、720p、480p、360p)、多種格式(mp4、webm、mkv)以及純音訊 MP3 下載。

YouTube 影片下載器 是什麼?

此技能為 AI 代理提供從 YouTube 下載影片或音訊的標準化介面,透過命令列工具 `yt-dlp` 實現。主要用途是讓使用者能以簡潔的指令檢索並儲存 YouTube 內容,並完全控制下載參數,包括影片畫質(從 360p 到最佳可用)、容器格式(mp4、webm、mkv)以及純音訊 MP3 模式。其設計支援 Claude Code、Cursor、Codex 等代理平台,因為它依賴一個標準的 Python 腳本 (`scripts/download_video.py`) 和輸出目錄 (`/mnt/user-data/outputs/`),這與常見的代理工作流程相符。對於開發者和進階使用者來說,此技能可消除重複手動操作,直接透過自然語言或 CLI 命令觸發下載。其工作流程為:安裝或確認 `yt-dlp`、擷取影片資訊、根據參數選擇最佳串流、合併視音訊(若需要),並將檔案儲存到指定位置,並自動從影片標題產生檔案名稱。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ibada0410/CLAUDE-SKILLS/tree/HEAD/Research-and-Productivity/video-downloader

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

YouTube 影片下載器 是做什麼的?

以完整的品質與格式控制下載 YouTube 影片。

快速開始

最簡單的下載方式:

python scripts/download_video.py "https://www.youtube.com/watch?v=VIDEO_ID"

這會以最佳可用畫質,將影片下載為 MP4 格式並儲存至 /mnt/user-data/outputs/。

選項

畫質設定

使用 -q 或 --quality 指定影片畫質:

  • best(預設):最高可用畫質
  • 1080p:Full HD
  • 720p:HD
  • 480p:標準畫質
  • 360p:較低畫質
  • worst:最低可用畫質

範例:

python scripts/download_video.py "URL" -q 720p

格式選項

使用 -f 或 --format 指定輸出格式(僅限影片下載):

  • mp4(預設):相容性最佳
  • webm:現代格式
  • mkv:Matroska 容器

範例:

python scripts/download_video.py "URL" -f webm

純音訊

使用 -a 或 --audio-only 僅下載音訊為 MP3:

python scripts/download_video.py "URL" -a

自訂輸出目錄

使用 -o 或 --output 指定不同的輸出目錄:

python scripts/download_video.py "URL" -o /path/to/directory

完整範例

  1. 將影片以 1080p 畫質下載為 MP4:
python scripts/download_video.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ" -q 1080p
  1. 僅下載音訊為 MP3:
python scripts/download_video.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ" -a
  1. 將影片以 720p 畫質下載為 WebM 到自訂目錄:
python scripts/download_video.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ" -q 720p -f webm -o /custom/path

運作原理

此技能使用 yt-dlp,一個功能強大的 YouTube 下載器,其特性包括:

  • 若未安裝則自動安裝
  • 在下載前先擷取影片資訊
  • 選擇符合條件的最高可用串流
  • 必要時合併視訊與音訊串流
  • 支援多種 YouTube 影片格式

重要注意事項

  • 預設下載儲存至 /mnt/user-data/outputs/
  • 影片檔名會根據影片標題自動產生
  • 腳本會自動處理 yt-dlp 的安裝
  • 僅下載單一影片(預設跳過播放清單)
  • 較高畫質的影片可能需較長下載時間,並佔用更多磁碟空間

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

ibada0410/CLAUDE-SKILLS

Automate Klipfolio tasks via Rube MCP (Composio). Always search tools first for current schemas.

ibada0410/CLAUDE-SKILLS

When the user wants to optimize, improve, or increase conversions on any marketing page — including homepage, landing pages, pricing pages, feature pages, or blog posts. Also use when the user says "CRO," "conversion rate optimization," "this page isn't converting," "improve conversions," or "why isn't this page working." For signup/registration flows, see signup-flow-cro. For post-signup activation, see onboarding-cro. For forms outside of signup, see form-cro. For popups/modals, see popup-cro.

ibada0410/CLAUDE-SKILLS

Build and maintain one coherent company story across all audiences — employees, investors, customers, candidates, and partners. Detects narrative contradictions and ensures the same truth is framed for each audience's needs. Use when preparing investor updates, all-hands presentations, board communications, recruiting narratives, crisis communications, or when user mentions company narrative, messaging consistency, storytelling, all-hands, investor update, or crisis communication.

ibada0410/CLAUDE-SKILLS

Generates high-converting landing pages as complete Next.js/React (TSX) components with Tailwind CSS. Creates hero sections, feature grids, pricing tables, FAQ accordions, testimonial blocks, and CTA sections using proven copy frameworks (PAS, AIDA, BAB). Outputs SEO meta tags, structured data, and performance-optimised code targeting Core Web Vitals (LCP < 1s, CLS < 0.1). Use when the user asks to create a landing page, marketing page, homepage, single-page site, lead capture page, campaign page, promo page, or conversion-optimised web page — or when they want to A/B test landing page variants or replace a static page with one designed to convert.

ibada0410/CLAUDE-SKILLS

Use when planning video content strategy, writing video scripts, optimizing YouTube channels, building short-form video pipelines (Reels, TikTok, Shorts), or repurposing long-form content into video. Triggers: 'start a YouTube channel', 'video content strategy', 'write a video script', 'repurpose into video', 'YouTube SEO', 'short-form video'. NOT for written blog content (use content-production). NOT for social captions without video (use social-media-manager).

相關技能