基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/RonShih/social-media-bot --skill publish-youtube命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Per-platform top-post analysis of competitor products via fetch-reference (public).
Generate caption + hashtags + media plan + product_id for one schedule slot. Subagent-friendly: orchestrator spawns one per slot in parallel.
Convert plan.json into plan.xlsx via scripts/plan-export.mjs (exceljs).
| name | publish-youtube |
| description | Upload a video to YouTube via Studio and fill metadata. Video-only. |
Common rules:
docs/OPERATING_RULES.md. YouTube-specific quirks only.
title: ≤ 100 chars.description: full description (first 150 chars are the SERP snippet).tags: list of strings (no # prefix — YT tags are bare).local_video_path: absolute path.format: long (regular) | short (≤ 60s vertical — YT auto-detects from aspect ratio + duration, but caller declares for sanity).visibility: public | unlisted | private (default public).{ "post_url": "https://youtu.be/...", "platform": "youtube" }
For Shorts the URL form is https://youtube.com/shorts/<id> — return whichever Studio gave us.
browser_navigate → https://studio.youtube.com/.browser_file_upload with the video. Wait for the upload progress bar to start.title.description.extra.thumbnail_path is provided (then upload it).extra.playlist_id.tags.extra.cards).youtu.be/... directly).{ "error": "channel verification required", "step_failed": "channel_verify" }.The "Video published" dialog shows the short URL — read it from the displayed text or the copy-link button's data-clipboard-text attribute. If the dialog auto-closes before reading, navigate to https://studio.youtube.com/channel/<id>/videos and read the first row's "Video link" hover-link.
If both fail → { "post_url": null, "error": "url_extraction_failed" }.
browser_close.{ "status": "dry_run_ok", "draft_residue": "yes — private draft saved in Studio" } (call this out so dry-run cleanup is honest).delete-youtube)Deletion in YT Studio is "move to trash"; the video stays for 30 days before final removal. The round-trip "verified-gone" check accepts a "Video unavailable" page rather than a hard 404.