本文へ移動
cccskills
無料GitHub で公開

ra-video-download

Download source video or audio from Douyin, YouTube, Bilibili, Twitter/X, Xiaohongshu, and other yt-dlp-supported URLs into the content-creation workspace. Use when the user says 下载视频, 下载音频, 保存这个链接, 把源视频拉下来, or when another video workflow needs a local source file before transcription, frame analysis, editing, reference replication, or archiving.

インストール方法を見る

含まれるファイル(3)

  • SKILL.md3.5 KB
  • agents/openai.yaml264 B
  • scripts/download_media.py11.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

视频下载

Download source media only. Do not transcribe, rewrite, edit, or publish it.

Storage rules

  • Keep source URLs, source titles, source metadata, and downloaded reference media inside 01-内容生产/视频工作台/.internal/ by default.
  • Use 01-内容生产/视频工作台/制作中/<日期-主题>/原始素材/ only when the caller explicitly names a production project and the media is an approved production input.
  • Never place source information in a handoff, finished script, final archive, or public document.
  • Never overwrite an existing file. Let the downloader add a stable suffix or stop.

Workflow

  1. Confirm that the URL is source media and that downloading it is within the user's request.
  2. Run the bundled downloader. It uses this order:
    • Douyin: TikHub media URL, then yt-dlp with browser cookies, then plain yt-dlp.
    • Other supported sites: plain yt-dlp, optionally with browser cookies when required.
  3. Inspect the returned local path and media probe. A successful HTTP response alone is not delivery.
  4. Require a playable audio or video stream and a non-zero duration. Report the local path, duration, dimensions, and selected download method.
  5. If every route fails, preserve the concise failure log and state the missing prerequisite. Do not claim that the video was downloaded.

Command

Use the Python interpreter that can import tikhub for the best Douyin path. In this workspace, prefer /opt/homebrew/bin/python3 when available.

/opt/homebrew/bin/python3 scripts/download_media.py '<url>'

Useful options:

# Explicit production input directory
/opt/homebrew/bin/python3 scripts/download_media.py '<url>' --output-dir '01-内容生产/视频工作台/制作中/<日期-主题>/原始素材/<项目>'

# Extract audio only
/opt/homebrew/bin/python3 scripts/download_media.py '<url>' --audio-only

# Use an authenticated browser profile for a protected public page
/opt/homebrew/bin/python3 scripts/download_media.py '<url>' --cookies-from-browser chrome

Resolve scripts/download_media.py relative to this SKILL.md; do not assume the current directory is the skill directory.

Safety and failure handling

  • Use browser cookies only for the requested public media. Do not print, copy, or persist raw cookies.
  • Read TIKHUB_API_KEY from the environment or the workspace-root .env; never print it.
  • Do not bypass private-account access controls, paywalls, DRM, or deleted/private media.
  • Treat TikHub and browser cookies as acquisition fallbacks, not as proof that reuse rights exist.
  • Keep the original source file untouched after download.
  • If ffprobe fails, reject the file even if it has an .mp4 extension.

Handoff

Return a compact result containing:

  • local media path
  • source metadata path
  • method used (tikhub, yt-dlp-cookie, or yt-dlp)
  • duration, resolution, and codecs
  • any limitation such as watermark, missing audio, or authentication failure

Then route onward only when requested: ra-逐字稿提取skill for source speech extraction, video-use for editing, or ra-video-production-director for production.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

口播视频转录和口误识别。生成审查稿和删除任务清单。触发词:剪口播、处理视频、识别口误

日本語の概要は準備中です。原文の説明を表示しています。

Pluviobyte/rnskill1,6432026年9月21日 更新

将法天象地、同源巨大法相或角色力量显现的视觉参考制作成连续关键帧,再使用用户选择或可用的图生视频工具分段生成、检查和合成动作视频,不绑定成片平台。适用于本体与法相同框、领域展开、凝实与同步出招;不负责整部小说改编或普通图片轮播。

日本語の概要は準備中です。原文の説明を表示しています。

Pluviobyte/rnskill1,6432026年9月21日 更新

口播基础素材包生成。转录口播、识别口误、生成审核页;用户确认后剪出新视频,Agent 再基于剪后视频重新转写、AI 校对字幕,输出后续口播成片可用的 source_cut.mp4 和 subtitles.srt。触发词:剪口播、处理口播素材、准备口播素材、识别口误、基础素材包

日本語の概要は準備中です。原文の説明を表示しています。

Pluviobyte/rnskill1,6432026年9月21日 更新

口播视频成片 Skill。把文章/口播稿/SRT、剪后视频和 HTML/图片素材串成分镜稿、时间线预览和最终 MP4;成片比例和动画风格从用户配置读取,动画默认使用小黑风格。触发词:口播成片、做分镜稿、时间线预览、合成口播视频、导出竖屏MP4

日本語の概要は準備中です。原文の説明を表示しています。

Pluviobyte/rnskill1,6432026年9月21日 更新

自进化 skills。记录用户反馈,更新方法论和规则。触发词:更新规则、记录反馈、改进skill

日本語の概要は準備中です。原文の説明を表示しています。

Pluviobyte/rnskill1,6432026年9月21日 更新

dbs

無料

dontbesilent 商业工具箱主入口。双模式:任务前路由(你的问题该用哪个 skill)+ 任务后导航(刚做完诊断,下一步该干什么)。 触发方式:/dbs、/商业、「帮我看看」、「下一步怎么走」 Main entry point for dontbesilent business toolkit. Dual mode: pre-task routing + post-task navigation. Trigger: /dbs, "help me with my business", "what's next"

日本語の概要は準備中です。原文の説明を表示しています。

Pluviobyte/rnskill1,6432026年9月21日 更新

Pluviobyte のスキルをすべて見る

このスキルの問題を報告する