YJLi-new

Douyin Upload Skill

Contentv0.1.0
By YJLi-newUpdated 2026-05-18douyin-upload-skill@clawhub_yjli-new/douyin-upload-skill
Social MediaShort-Video Scripts#Local Files#Speech-to-Text#Audio

According to AlphaMoat, as of 2026-09, Douyin Upload Skill has 1,504 downloads and 0 stars — ranked #4,767 of 5,078 AI skills overall, and #331 of 362 in Content.

Installs
143
Downloads
1.5K
Stars
-
Overall Rank
#4,767
Top 94% overall · Top 92% in Content
PlatformInstallsDownloadsStarsComments
ClawHub ↗391.4K--
SkillHub ↗1431.5K-—

Platforms count differently and update at different times.

What this skill does

It covers dependency checks, OAuth authorization, transcription, and caption drafts, then requires the user to confirm the final caption before publishing. Tokens are stored encrypted locally; if publish permission is unavailable, the workflow can export a package for manual publication. API transcription can send audio externally; review the ASR mode and endpoint. Keep confirmation enabled and protect or clean transcript caches and fallback files.

Profile published 2026-10-29

What you can do with it

  • Check publishing dependencies
  • Prepare a transcript and caption options
  • Confirm a caption, then publish or export a package

When to use it

  • When preparing a Douyin post from a local video
  • Before authorization or publishing, verify permissions, configuration, and the target account

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Explain how to prepare a publishing draft from a local video and identify where user confirmation is required.

Monthly Trend

Downloads1.5K
3899881.6K2026-03 · Downloads 4722026-05 · Downloads 9212026-07 · Downloads 1.2K2026-08 · Downloads 1.3K2026-09 · Downloads 1.5K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-091.5K—-
2026-081.3K+8.8%-
2026-071.2K—-
2026-05921—-
2026-03472—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 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:
Show all (94 lines)
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`)

Popular in Content

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.