技能圖譜SKILLSGROVE
技能圖譜/短影片與自媒體/dreammis/social-auto-upload/youtube-upload

youtube-upload

安裝

$npx skills add https://github.com/dreammis/social-auto-upload --skill youtube-upload
$git clone --depth 1 https://github.com/dreammis/social-auto-upload.git /tmp/social-auto-upload && mkdir -p ~/.claude/skills && cp -r /tmp/social-auto-upload/skills/youtube-upload ~/.claude/skills/youtube-upload
請幫我安裝這個 Agent Skill:https://github.com/dreammis/social-auto-upload/tree/ea113097bd14956975129f0008ecccd221d02218/skills/youtube-upload ,先閱讀它的 SKILL.md 和指令碼,確認安全後再安裝到我的技能目錄。

簡介

原文描述 · MIT使用 social-auto-upload 的 `sau youtube` 登录 YouTube 并上传、安排定时或设置视频可见范围。Use when 用户要向 YouTube 发布或定时发布视频,或检查 Google/YouTube 登录状态。
以下 SKILL.md 內容轉載自 dreammis/social-auto-upload(提交 ea11309),依據 MIT 許可證轉載正文(文字未改動;僅省略檔案頭後設資料、將圖片顯示為連結,超長內容會截斷);版權歸 2023 dreammis 所有。許可證:LICENSE。僅展示說明檔案,附帶指令碼請在原倉庫檢視。

YouTube 视频发布

调用现有 sau youtube CLI。登录在浏览器中完成 Google 账号登录,不使用二维码;账号名是本地会话别名。

sau youtube login --account creator
sau youtube check --account creator
sau youtube upload-video --account creator --file videos/demo.mp4 --title "标题" --desc "简介" --tags tag1,tag2 --visibility public

标题最多 100 个字符。--visibility 可选 public、unlisted、private,默认 public;--thumbnail 指定封面,--playlist 指定已有播放列表。只有用户明确给出定时时间才传 --schedule "YYYY-MM-DD HH:MM";该选项会使用 YouTube Studio 的 Schedule 状态,需核对页面显示的日期与时间。

发布前再次核对账号、视频、标题、说明、标签、可见范围及立即/定时意图。上传或发布遇到超时时先查 YouTube Studio 中的原视频,不盲目重传。上传成功不等于审核完成或公开视频已可播放。

檢視許可證全文(MIT)
MIT License

Copyright (c) 2023 dreammis

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.