douyin-upload

douyin-upload is a skill for Claude Code, Codex from dreammis/social-auto-upload. It costs 93 tokens per session (771 once invoked), scanned A, original, MIT.

A workflow for using the sau command-line tool to log in to Douyin, the Chinese short-video platform, check account cookies, and publish videos or image-and-text posts.

In plain words
What is it for?
Use it to refresh or verify Douyin login data, upload videos, or publish image-and-text posts with titles, descriptions or notes, and tags.
Why use it?
It organizes login, account checks, and publishing into clear commands, helping avoid invalid sessions and incorrect posting options.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to refresh or verify Douyin login data, upload videos, or publish image-and-text posts with titles, descriptions or notes, and tags.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dreammis/social-auto-upload/douyin-upload
About the project

social-auto-upload is an automation tool for uploading and scheduling videos across social media platforms including Douyin, Bilibili, Xiaohongshu, TikTok, and YouTube. Content creators and operators use it for repeatable multi-platform publishing, while its catalogue skills expose these upload workflows to coding agents.

dreammis/social-auto-upload · 14,876 stars · on GitHub · sap-doc.nasdaddy.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dreammis/social-auto-upload --skill douyin-upload
Clone the repo
git clone --depth 1 https://github.com/dreammis/social-auto-upload

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for douyin-upload

README.md
[![agentmods](https://agentmods.dev/badge/skills/dreammis/social-auto-upload/douyin-upload/github.svg)](https://agentmods.dev/skills/dreammis/social-auto-upload/douyin-upload)
Your own site
<a href="https://agentmods.dev/skills/dreammis/social-auto-upload/douyin-upload"><img src="https://agentmods.dev/badge/skills/dreammis/social-auto-upload/douyin-upload/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for douyin-upload

Your own site · 80×15
<a href="https://agentmods.dev/skills/dreammis/social-auto-upload/douyin-upload"><img src="https://agentmods.dev/badge/skills/dreammis/social-auto-upload/douyin-upload.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 771 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00093 $0.00771
Opus 5 $0.00046 $0.00385
Sonnet 5 $0.00019 $0.00154
Haiku 4.5 $0.00009 $0.00077

Measured 11d ago against content hash 2f3d73379b35, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

douyin-upload scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/examples/douyin_cli_template.py, scripts/examples/douyin_commands.ps1, scripts/examples/douyin_commands.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/douyin-upload/SKILL.md · 71 lines

What it actually says

抖音上传 Skill

优先把 sau 作为主接口。

不要假设当前环境一定能读取仓库源码。 不要一开始就去读 uploader/。 只有在命令不可用或 CLI 执行失败时,才回退到故障排查说明。

功能概览

功能 命令入口 说明
抖音登录 sau douyin login --account <name> 生成或刷新指定账号的 cookie
cookie 校验 sau douyin check --account <name> 检查指定账号 cookie 是否有效
视频上传 sau douyin upload-video ... 上传并发布抖音视频
图文上传 sau douyin upload-note ... 上传并发布抖音图文

元数据约定:

  • 视频使用 title + desc + tags
  • 图文使用 title + note + tags

默认工作流

  1. 先确认 references/runtime-requirements.md 里的运行前提。
  2. 再确认 references/cli-contract.md 里的命令契约。
  3. 执行匹配的 sau douyin ... 命令。
  4. 如果命令失败,再看 references/troubleshooting.md

支持动作

  • 使用 sau douyin login --account <name> 登录抖音
  • 使用 sau douyin check --account <name> 校验 cookie 是否有效
  • 使用 sau douyin upload-video ... 上传抖音视频
  • 使用 sau douyin upload-note ... 上传抖音图文

命令选择建议

  • 当用户需要新的 cookie,或现有 cookie 已失效时,使用 login
  • 当用户只需要确认 cookie 状态时,使用 check
  • 当用户要发布视频时,使用 upload-video
  • 当用户要发布图文时,使用 upload-note

执行前检查

  • 先确认当前 shell 里是否可以调用 sau
  • 如果 sau 不可用,按 references/runtime-requirements.md 里的回退方式处理
  • 当用户明确指定无头或有头模式时,显式传 --headless--headed
  • 只有用户明确要求定时发布时,才使用 --schedule
  • 如果登录流程生成了本地二维码图片,不要只把图片路径告诉用户
  • 二维码图片本身就是给用户扫码的,优先直接把本地图片展示/发送给用户

模板文件

当你需要稳定的命令模板时,使用 scripts/examples/ 下的文件:

  • douyin_commands.ps1
  • douyin_commands.sh
  • douyin_cli_template.py

参考文档

  • 运行前提:references/runtime-requirements.md
  • CLI 契约:references/cli-contract.md
  • 故障排查:references/troubleshooting.md
Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 71 lines · 93 tokens per session scan A 2f3d73379b35

Subscribe to this mod's changes

douyin-upload is a skill published in the GitHub repository dreammis/social-auto-upload (14,876 stars, last pushed 8d ago), licensed MIT. It adds 93 tokens to every session and 771 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories