用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/RonShih/social-media-bot --skill publish-tiktok命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
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).
基于 SOC 职业分类
正在显示 SKILL.md
| name | publish-tiktok |
| description | Upload a short video to TikTok via TikTok Studio. Video-only. |
Common rules:
docs/OPERATING_RULES.md. TikTok-specific quirks only.
caption: post text + hashtags merged (TikTok caption + tags share the 4000-char box, but draft-tiktok keeps caption short).hashtags: list of strings — append after caption with single spaces (the SKILL appends, drafting does not duplicate).local_video_path: absolute path.visibility: public | friends | private (default public).{ "post_url": "https://www.tiktok.com/@<handle>/video/<id>", "platform": "tiktok" }
browser_navigate → https://www.tiktok.com/tiktokstudio/upload.browser_file_upload with the video. Wait until the inline preview renders (can take 30-90s for HD).caption + " " + hashtags.join(" ").extra.cover_path is provided.visibility.contenteditable div; browser_type with the element ref works, evaluate(elem.value = ...) does not.#xxx triggers a dropdown. After typing the tag, press Escape to dismiss the dropdown — otherwise the next hashtag's first character may auto-complete to a different tag.{ "error": "tiktok challenge required", "step_failed": "verify_human" }.After the "Video posted" toast, click the "View" link in that toast (it goes straight to the public URL). Capture the URL from the page that opens (page.url() via browser_evaluate).
Fallback: navigate to socials.tiktok.url, read the first video tile (a[href*="/video/"]).
If both fail → { "post_url": null, "error": "url_extraction_failed" }.
browser_close.{ "status": "dry_run_ok", "draft_residue": "no — in-progress upload was discarded" }.delete-tiktok)TikTok deletion is immediate from the user-facing perspective but may require re-auth. If delete-tiktok returns delete_failed, the orchestrator surfaces it to the user — do not retry silently.