YJLi-new

Douyin Upload Skill

内容创作v0.1.0
作者:YJLi-new更新于 2026-05-18douyin-upload-skill@clawhub_yjli-new/douyin-upload-skill
自媒体运营短视频脚本#Local Files#Speech-to-Text#Audio

据 AlphaMoat 统计,截至 2026-09,Douyin Upload Skill 累计下载 1,504 次、获 0 个星标,在全部 5,078 个 AI 技能中排名第 4,767 位,在「内容创作」分类(362 个)中排名第 331 位。

累计安装
143
累计下载
1,504
星标
-
全站排名
#4,767
全站前 94% · 「内容创作」前 92%
平台累计安装累计下载星标评论
ClawHub ↗391,396--
SkillHub ↗1431,504-—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

流程涵盖依赖检查、OAuth 授权、转录与文案草拟,并要求用户确认最终文案后发布。令牌保存在本地且经加密;发布权限不可用时,可导出供手动发布的素材包。 API 转录模式可能将音频发送到外部,应检查 ASR 模式和端点。保持发布确认开启,并保护或清理转录缓存与备用文件。

资料发布于 2026-10-29

可以用来做什么

  • 检查发布依赖
  • 准备视频转录和文案候选
  • 确认文案后发布或导出素材包

什么时候用

  • 需要从本地视频准备抖音发布内容时
  • 授权或发布前先核实权限、配置与目标账号

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

说明从本地视频准备发布草稿的步骤,并指出需要用户确认的环节。

月度数据趋势

累计下载1,504
3899881,5872026-03 · 累计下载 4722026-05 · 累计下载 9212026-07 · 累计下载 1,2102026-08 · 累计下载 1,3172026-09 · 累计下载 1,50426-0326-09
星标-
0112026-03 · 星标 -2026-05 · 星标 -2026-07 · 星标 -2026-08 · 星标 -2026-09 · 星标 -26-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-091,504—-
2026-081,317+8.8%-
2026-071,210—-
2026-05921—-
2026-03472—-

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

3.1 KB · ClawHub v0.1.0
---
name: douyin-upload-skill
description: Login and publish Douyin (China mainland) videos from local files with OAuth, local speech-to-text, and generated caption drafts. Use when users ask to authorize Douyin accounts, upload local videos, auto-generate title/description from video audio, confirm content, and publish via official Douyin OpenAPI with fallback export when publish permissions are missing.
---

# Douyin Upload Skill

## Overview

Use this skill to publish local videos to Douyin with a deterministic CLI flow:
展开全部(共 94 行)
1. Validate local dependencies and env.
2. OAuth authorize and store encrypted token locally.
3. Prepare video metadata and transcript from local audio.
4. Generate 3 caption candidates in chat from transcript.
5. Confirm or edit caption, then publish.
6. If official publish permission is unavailable, export an outbox package for manual publish.

Use the script at `<skill_root>/scripts/douyin.js`.

## Required Environment

Set these environment variables before `auth` or `publish`:
- `DOUYIN_CLIENT_KEY`
- `DOUYIN_CLIENT_SECRET`
- `DOUYIN_REDIRECT_URI`

Optional overrides:
- `DOUYIN_SCOPE`
- `DOUYIN_TOKEN_ENC_KEY`
- `DOUYIN_ASR_MODE` (`api` / `whisper-gpu` / `whisper-cpu`)
- `DOUYIN_ASR_API_URL`
- `DOUYIN_ASR_API_MODEL`
- `DOUYIN_ASR_API_KEY`
- `DOUYIN_WHISPER_BIN`
- `DOUYIN_WHISPER_MODEL_PATH`
- `DOUYIN_FFMPEG_BIN`
- `DOUYIN_FFPROBE_BIN`

## Workflow

1. Run dependency checks:
```bash
node <skill_root>/scripts/douyin.js doctor
```

2. Authorize account (manual code paste flow):
```bash
node <skill_root>/scripts/douyin.js auth
```

3. Prepare transcript and metadata from a local video path. Accept both Linux and Windows path formats.
```bash
node <skill_root>/scripts/douyin.js prepare --video "E:\\videos\\demo.mp4"
```

4. Create 3 caption candidates from `transcript.text` with this structure:
- Line 1: title hook
- Line 2-3: concise description
- Final line: 2-5 hashtags

5. Ask user to select or edit one final caption.

6. Publish with explicit visibility and confirmation policy:
```bash
node <skill_root>/scripts/douyin.js publish \
  --video "E:\\videos\\demo.mp4" \
  --text "<final caption>" \
  --private-status 0 \
  --auto-confirm false
```

## Command Behavior

- `doctor`: reports dependency and env readiness plus install hints.
- `auth`: opens OAuth URL, accepts pasted callback URL or `code`, stores encrypted token.
- `prepare`: returns metadata, transcript, and ASR failure detail (without stopping publish flow).
- `publish`: uploads and creates video via official API. If permission-like API errors occur, writes fallback files under outbox and returns `mode: fallback`.
- `config`: stores persistent settings (`defaultPrivateStatus`, `autoConfirm`, `whisperBin`, `whisperModelPath`, `outboxDir`, etc.).

## Caption Rules

Before publish:
- Keep final text length <= 1000.
- Always show the final draft to the user.
- If `auto-confirm` is false, require explicit user confirmation in terminal.

## Output Contracts

Treat script stdout as JSON. Always parse and branch by:
- `ok`
- `command`
- `mode` (`official` or `fallback` for `publish`)
- `asrError` (optional in `prepare`)

「内容创作」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。