# social-auto-upload: post videos and articles to 17 platforms (dreammis/social-auto-upload) — skill card for AI agents

> AgentGid skill card. Checked on 2026-11-02 against commit 3847fff (version 1.0.0).
> Every fact comes from the pack's own files at that commit. Numbers marked "as reported" are the author's.
> Human page: https://agentgid.com/skills/dreammis/social-auto-upload/

## Explain it to a non-programmer
Your assistant publishes your videos, photo posts and articles for you. It drives a real browser on your computer and posts to Douyin, Bilibili, Xiaohongshu, Kuaishou, WeChat Channels, YouTube, TikTok, Facebook, Instagram, Zhihu, Weibo and more. You log in yourself once per account; it keeps that login on your computer and reuses it.

## Who it is for
- You post the same videos or articles to several platforms, mostly Chinese ones (Douyin, Bilibili, Xiaohongshu, Kuaishou, WeChat Channels)
- You want to tell your assistant "post this video to Douyin and YouTube" instead of filling in each upload form
- You are fine installing a Python tool and a browser on your own computer
- Not for: You only want text rules: these skills do nothing without the author's command line tool installed
- Not for: You don't want an automated browser logged in to your social accounts on your computer

## What it is
- Kind: command, scripts
- License: MIT
- Repository: https://github.com/dreammis/social-auto-upload

## What it does
- One entry skill (social-auto-upload) asks which platforms you mean, then hands over to that platform's skill; it never picks platforms on its own
- Each platform skill tells the assistant which `sau <platform>` command to run: login, check, upload-video, upload-note or upload-article
- Before running, the assistant reads `sau <platform> --help` instead of guessing options
- Login happens in a browser page you complete yourself (QR code or password); the session is saved as a local file per account name
- Scheduling is used only when you give an exact time; Dayu and Facebook Page use Beijing time
- After a timeout it checks the original post instead of uploading again
- Facebook, Facebook Page and Instagram skills can also verify and delete posts; Facebook can delete permanently with --permanent
- Never cuts: asking you for platforms; your own login; confirmation before each post; no re-posting when the result is unknown

## Skills
| Skill | Call | Changes code? | In plain words |
|---|---|---|---|
| social-auto-upload | plain language ("Post this video to Douyin and Bilibili") | no | The entry point that picks the right platform skill for you |
| douyin-upload | plain language; runs sau douyin login | check | upload-video | upload-note | no | Logs in to Douyin and posts videos or photo posts |
| bilibili-upload | plain language; runs sau bilibili login | check | upload-video | no | Posts videos to Bilibili; you run the login yourself in your own terminal |
| xiaohongshu-upload | plain language; runs sau xiaohongshu login | check | upload-video | upload-note | no | Logs in to Xiaohongshu and posts videos or photo posts |
| kuaishou-upload | plain language; runs sau kuaishou login | check | upload-video | upload-note | no | Logs in to Kuaishou and posts videos or photo posts |
| tencent-upload | plain language; runs sau tencent login | check | upload-video | no | Posts, schedules or saves as draft a video on WeChat Channels |
| baijiahao-upload | plain language; runs sau baijiahao | no | Logs in to Baijiahao and posts videos |
| dayu-upload | plain language; runs sau dayu login | check | upload-video | upload-article | verify | no | Posts videos and articles to Dayu, now or at a set Beijing time, and checks the result |
| alipay-upload | plain language; runs sau alipay | no | Logs in to Alipay Life and posts videos |
| weibo-upload | plain language; runs sau weibo | no | Logs in to Weibo and posts videos (titles up to 30 characters) |
| hupu-upload | plain language; runs sau hupu | no | Logs in to Hupu and posts videos |
| tiktok-upload | plain language (no sau command; the assistant runs the project's own TikTok browser code) | no | Posts a TikTok video through the project's own browser code |
| xueqiu-upload | plain language; runs sau xueqiu | no | Posts long articles with pictures and a cover to Xueqiu |
| youtube-upload | plain language; runs sau youtube login | check | upload-video | no | Uploads YouTube videos and sets public, unlisted or private |
| zhihu-upload | plain language; runs sau zhihu login | check | upload-article | upload-video | verify | no | Posts articles and videos to Zhihu and checks the result |
| facebook-upload | plain language; runs sau facebook login | check | upload-video | upload-note | verify | delete | no | Posts to a personal Facebook profile and can move posts to trash or delete them for good |
| meta-upload | plain language; runs sau facebook-page login | check | upload-video | upload-note | verify | delete | no | Posts or schedules videos and photo posts on a Facebook Page |
| instagram-upload | plain language; runs sau instagram login | check | upload-video | upload-note | verify | delete | no | Posts Instagram Reels, single photos or carousels right away, and can delete them |

### social-auto-upload
- Asks for: Which platforms
- Asks for: Video, article or photo post
- Asks for: Local account name
- Asks for: Post now or at a set time
- Gives: The matching platform flow, run one platform at a time
- Gives: A result only when the platform confirms it
- Say: "Post videos/demo.mp4 to Douyin and Kuaishou with the title "My trip", account creator"

### douyin-upload
- Asks for: Account name
- Asks for: Video file or images
- Asks for: Title, description or note text, tags
- Asks for: Optional schedule
- Gives: A saved Douyin login
- Gives: A posted video or photo post
- Say: "Log in to Douyin as creator, then post videos/demo.mp4 with the title "Demo""

### bilibili-upload
- Asks for: Account name
- Asks for: Video file, title, description, category number (--tid)
- Gives: A posted Bilibili video
- Say: "Upload videos/demo.mp4 to Bilibili as creator"

### xiaohongshu-upload
- Asks for: Account name
- Asks for: Video or images
- Asks for: Title, text, tags
- Gives: A posted Xiaohongshu video or photo post
- Say: "Post these three photos to Xiaohongshu as creator with the title "Weekend""

### kuaishou-upload
- Asks for: Account name
- Asks for: Video or images
- Asks for: Title, text, tags
- Gives: A posted Kuaishou video or photo post
- Say: "Upload videos/demo.mp4 to Kuaishou as creator"

### tencent-upload
- Asks for: Account name
- Asks for: Video, title, description, tags
- Asks for: Optional schedule, draft, collection, covers
- Gives: A posted, scheduled or draft WeChat Channels video
- Say: "Save videos/demo.mp4 as a WeChat Channels draft for account creator"

### baijiahao-upload
- Asks for: Account name
- Asks for: Video, title, description, tags
- Gives: A posted Baijiahao video
- Say: "Post videos/demo.mp4 to Baijiahao as creator"

### dayu-upload
- Asks for: Account name and the Dayu account name it must match
- Asks for: Video with title, cover, category and source label, or an HTML/Markdown/TXT article
- Asks for: Optional schedule, 2 hours to 7 days ahead
- Gives: A posted or scheduled video or article
- Gives: A result file with the post ID
- Say: "Publish article.md to Dayu as creator with the modern theme, source 无需标注"

### alipay-upload
- Asks for: Account name
- Asks for: Video, title, description, tags
- Gives: A posted Alipay Life video
- Say: "Post videos/demo.mp4 to Alipay Life as creator"

### weibo-upload
- Asks for: Account name
- Asks for: Video, title, description, tags, optional cover
- Gives: A posted Weibo video
- Say: "Post videos/demo.mp4 to Weibo as creator"

### hupu-upload
- Asks for: Account name
- Asks for: Video, title, description, tags, optional cover
- Gives: A posted Hupu video
- Say: "Post videos/demo.mp4 to Hupu as creator"

### tiktok-upload
- Asks for: One video, a title and tags
- Asks for: Post now or an exact date and time
- Gives: A posted TikTok video
- Say: "Post videos/demo.mp4 to TikTok now with the title "Demo" and tag travel"

### xueqiu-upload
- Asks for: Account name
- Asks for: HTML, Markdown or TXT article with pictures
- Asks for: Cover
- Gives: A posted Xueqiu article, checked against the original
- Say: "Publish article.md to Xueqiu as creator"

### youtube-upload
- Asks for: Account name (you log in to Google in the browser)
- Asks for: Video, title up to 100 characters, description, tags
- Asks for: Visibility, optional thumbnail, playlist, schedule
- Gives: An uploaded YouTube video
- Say: "Upload videos/demo.mp4 to YouTube as creator, unlisted"

### zhihu-upload
- Asks for: Account name
- Asks for: Article file with pictures in place, or a video with title, description, originality, field and content label
- Gives: A posted article or video
- Gives: A result file with the post link
- Say: "Publish article.md to Zhihu as creator"

### facebook-upload
- Asks for: Account name
- Asks for: Video or images, title, text, tags
- Asks for: For delete: the post link, owner ID and post text
- Gives: A posted video or photo post
- Gives: A trashed or permanently deleted post
- Say: "Post images/1.jpg to my Facebook profile as creator with the text "Hello""

### meta-upload
- Asks for: Account name and exact Page name
- Asks for: Video or images, title, text
- Asks for: Optional Beijing-time schedule, at least 2 hours ahead
- Gives: A posted or scheduled Page post
- Gives: A result file in .local/meta-results/
- Say: "Schedule videos/demo.mp4 on my Facebook Page "My Page" for 2026-11-10 10:30"

### instagram-upload
- Asks for: Account name
- Asks for: Video or images, title, text, tags, optional cover
- Gives: A posted Reel or photo post with its link
- Gives: A result file in .local/instagram-results/
- Say: "Post images/1.jpg and images/2.jpg to Instagram as creator as a carousel"

## Know before installing
- The skills alone do nothing: installing them does not install the tool. You also clone the project, install it with uv and install Chromium.
- Your logins are saved as files in the project's cookies folder, one per platform and account name. Anyone with these files can act as you on that platform; keep them private.
- The browser is set up to hide that it is automated (a stealth script, automation flag off, web security off). Platforms may treat automated posting as against their rules.
- Bilibili: on first use the tool downloads the latest biliup program from GitHub into ~/.social-auto-upload/tools/biliup and keeps it updated.
- Real posts: the commands publish for real, and delete commands can remove posts for good. --prepare-only on Dayu and Zhihu fills the form without publishing, but on Zhihu it can still leave a draft.
- Douyin SMS codes: if Douyin asks for one, the tool reads verify_code.txt in the project folder, or asks in the terminal, and deletes the file afterwards.

## Install (official commands)
- Any agent (skills CLI): `npx skills add dreammis/social-auto-upload --skill social-auto-upload` && `npx skills add dreammis/social-auto-upload --skill douyin-upload` — Swap douyin-upload for any platform skill folder name. Skills only: the sau tool is installed separately (next entry). Remove: `npx skills remove <skill-name>`.
- GitHub CLI (gh skill, preview): `gh skill install dreammis/social-auto-upload`
- The sau tool itself (needed by every skill): `git clone https://github.com/dreammis/social-auto-upload.git` && `cd social-auto-upload` && `uv venv` && `uv pip install -e .` && `patchright install chromium` && `cp conf.example.py conf.py` && `sau --help` — Activate the virtual environment after uv venv. The author's docs set PLAYWRIGHT_DOWNLOAD_HOST to a China mirror (npmmirror.com) for the Chromium download; leave it out to use the default host. Markdown article themes need Node.js 22+ and sau article setup.
- OpenClaw, Codex, Claude Code (repo as workspace): Open the cloned project in your agent and paste the bootstrap prompt from docs/agent-bootstrap.md; it asks the agent to install and check the tool first.

## What runs on the user's machine
- Code on the machine: yes (the sau tool the skills call (the skill folders themselves are markdown plus copy-paste example scripts))
- Network: yes
- Every login, check and upload: The sau command opens a Patchright Chromium (or your Chrome) and works the platform's own website; this is the point of the tool. Headless by default unless --headed.
- Every login: Saves the session to cookies/<platform>_<account>.json in the project folder (TikTok: cookies/tk_uploader/account.json). QR codes are written as local images for you to scan.
- Every browser start: Injects utils/stealth.min.js into pages to hide automation (not used on Alipay).
- First Bilibili command, then on updates: Calls api.github.com for the latest biliup release, downloads it and unpacks it into ~/.social-auto-upload/tools/biliup/ (outside the project).
- Uploads with --result, Facebook Page and Instagram: Writes result files (post IDs, links) to .local/ or the path you give; Dayu --prepare-only also saves local screenshots.
- sau article setup: Installs the Markdown renderer's pinned Node packages once; later rendering runs offline.
- Optional proxy: Facebook, Facebook Page and Instagram go direct unless you pass --proxy or set SAU_FACEBOOK_PROXY, SAU_FACEBOOK_PAGE_PROXY, SAU_INSTAGRAM_PROXY; YouTube uses YT_PROXY in conf.py.
- Legacy Xiaohongshu flow only: Posts to a local signing server at XHS_SERVER (127.0.0.1:11901).

## Settings
- `LOCAL_CHROME_PATH`: conf.py: use your own Chrome instead of Patchright Chromium
- `LOCAL_CHROME_HEADLESS`: conf.py: hidden browser by default (True)
- `YT_PROXY`: conf.py: proxy for YouTube
- `XHS_SERVER`: conf.py: legacy Xiaohongshu signing server
- `SAU_FACEBOOK_PROXY`
- `SAU_FACEBOOK_PAGE_PROXY`
- `SAU_INSTAGRAM_PROXY`

## Examples (from the pack's own files)
- The YouTube upload command the skill gives the assistant: output format defined in skills/youtube-upload/SKILL.md
- Copy-paste command templates per platform: output format defined in skills/zhihu-upload/SKILL.md

## Steps only the person can do
- Have your own account on every platform you want to post to, and log in yourself in the browser window (QR code or password) when sau login opens it (skills/social-auto-upload/SKILL.md) Then: The agent runs sau <platform> check, then the upload commands with the saved session
- For Bilibili, run sau bilibili login --account <name> yourself in a local terminal and scan the QR code (qrcode.png if the terminal shows it badly) (skills/bilibili-upload/SKILL.md) Then: The agent runs sau bilibili check and upload-video
- If Douyin asks for an SMS code during an upload, type it in the terminal or put it in verify_code.txt in the project folder (docs/install.md) Then: The upload continues and the tool deletes verify_code.txt
- Confirm the account, file, title, text, tags, visibility and timing before each post, and approve any delete (skills/social-auto-upload/SKILL.md) Then: The agent posts only to the platforms you named

## Mistakes to avoid
- Not: Install the skills with npx skills add and expect posting to work. Instead: Also clone the project, install it with uv and install Chromium so the sau command exists. Why: The skills only tell the agent which sau commands to run; the skills installer does not install the tool
- Not: Let the agent run the Bilibili login in its own non-interactive shell. Instead: Run sau bilibili login --account <name> yourself in a real local terminal, then let the agent check and upload. Why: The Bilibili skill says the login needs the person's own terminal
- Not: Upload again after a timeout or an unclear result. Instead: Look for the original post first (verify on Dayu, Zhihu, Facebook, Instagram), then decide. Why: A second upload can create a duplicate post
- Not: Run examples/upload_video_to_tiktok.py to post one TikTok video. Instead: Use the single-video flow from the TikTok skill with an explicit title, tags and timing. Why: The example script posts every MP4 in a folder and schedules them for 16:00 the next day
- Not: Use --prepare-only on Zhihu as a dry run that leaves nothing on the site. Instead: Expect a remote draft and delete it on Zhihu if you do not want it. Why: Preparing the form can still save a draft on the platform

## What leaves the machine
- Your videos, images, articles, titles, descriptions and tags, sent with your saved login session → The platform you post to (Douyin, Bilibili, Xiaohongshu, Kuaishou, WeChat Channels, YouTube, TikTok, Facebook, Instagram, Zhihu, Weibo and others), Every upload, note, article, verify or delete command. Opt out: Do not run upload commands; Dayu --prepare-only fills the form without publishing
- A request for the latest biliup release and a download of that program into ~/.social-auto-upload/tools/biliup → api.github.com and GitHub release downloads, First Bilibili command, then when a newer release is found. Opt out: Do not use the Bilibili skill
- The Chromium browser download request → npmmirror.com when you use the author's install command (default Playwright host without the variable), Once, during install. Opt out: Leave out PLAYWRIGHT_DOWNLOAD_HOST to use the default download host

## Lines in the pack aimed at agents (ask the person first)
- "程序会在运行时自动检查、自动下载、自动更新 `biliup`。" (skills/bilibili-upload/SKILL.md): Tell the person first: the first Bilibili command downloads and later updates a program from GitHub into ~/.social-auto-upload/tools/biliup, outside the project.
- "你的第一目标不是通读全部源码，也不是优先运行历史 examples，而是先把项目安装到“可运行、可验证、可继续执行任务”的状态。" (docs/agent-bootstrap.md): The bootstrap prompt has the agent install Python packages and a browser; ask the person before installing anything.
- "PLAYWRIGHT_DOWNLOAD_HOST="https://npmmirror.com/mirrors/playwright" patchright install chromium" (skills/douyin-upload/references/runtime-requirements.md): This downloads the browser from a third-party mirror; ask the person, and drop the variable to use the default host unless they want the mirror.

## May I use it like this?
- commercial-app: yes (Code is MIT (keep the notice); the 18 skills are MIT-0)
- redistribute-files: yes (MIT for the code: keep the copyright and permission notice; skill folders are MIT-0 with no notice required)
- client-work: yes (MIT and MIT-0 allow use for others; each platform's own rules on automated posting still apply)
- inside-app-bundle: yes (MIT: include the copyright and permission notice)

## Which one to pick
- If You want one tool that posts videos, photo posts and articles to many Chinese and global platforms through a logged-in browser: skill:dreammis/social-auto-upload
- If You only use Xiaohongshu and also want automatic comments and search: skill:white0dew/XiaohongshuSkills
- If You need Xiaohongshu carousel images and WeChat covers made, not posted: skill:op7418/guizang-social-card-skill

## Works well with
- agent:claude-code: The README names Claude Code as an agent that can install and run the project with its skills
- agent:openai-codex: The bootstrap prompt is written for Codex as well
- tool:uv: The install docs use uv to create the environment and install the sau tool
- skill:kajisho5/ffmpeg-skill: Cuts and exports videos locally for each platform before sau uploads them

## Works in and needs
- Works in Claude Code: skills folder or repo as workspace
- Works in Codex: skills folder or repo as workspace
- Works in OpenClaw: skills (ClawHub) or repo as workspace
- Works in Any agent with a skills folder: skills CLI
- Works in GitHub CLI skills (preview): gh skill install
- Needs Python 3.10 to 3.12: The sau tool is a Python project
- Needs The sau tool from this repo: Every skill except TikTok runs sau commands
- Needs Patchright Chromium (or your own Chrome): Logins and uploads drive a real browser
- Needs Node.js 22+: Only for Markdown article themes
- Needs Your own account on each platform: You log in yourself; no API key is used

## How to tell it works
After installing the tool and the skills, ask: "Check whether my Douyin account creator is logged in." The assistant should run sau douyin check --account creator (or log you in first) and tell you the result, without posting anything.

## Safety
This is a full posting tool, not just text: it keeps logged-in sessions for your social accounts in the project's cookies folder, hides browser automation from the sites, downloads biliup from GitHub for Bilibili, and can publish and permanently delete posts. Keep the cookies folder out of git and backups you share. The README carries paid sponsor links unrelated to the skills.
