alchaincyf/huashu-skills / huashu-douyin-script
huashu-douyin-script
Flagged抖音爆款脚本创作工作流。从竞品视频拆解到脚本生成的完整流程:下载抖音视频→Gemini视频分析→爆款公式提炼→脚本+分镜生成→AI味审校。 当用户提到"抖音脚本"、"爆款拆解"、"竞品分析"、"带货脚本"、"千川素材"、"种草脚本"、"视频拆解"、"抖音视频分析"时使用此技能。
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 13.4 KB |
| install.shexecutable | script | 1.9 KB |
| references/analysis-dimensions.md | markdown | 6.0 KB |
| references/proven-formulas.md | markdown | 6.6 KB |
| references/script-style-samples.md | markdown | 7.0 KB |
| scripts/analyze_video.py | script | 7.7 KB |
| scripts/download_douyin.py | script | 7.2 KB |
install.sh
View on GitHub#!/bin/bash
# douyin-viral-script skill 安装脚本
# 用法:bash <(curl -fsSL https://raw.githubusercontent.com/alchaincyf/Write-Prompt/master/.claude/skills/douyin-viral-script/install.sh)
set -e
SKILL_NAME="douyin-viral-script"
REPO="alchaincyf/Write-Prompt"
BRANCH="master"
SRC_PATH=".claude/skills/$SKILL_NAME"
TARGET_DIR="$HOME/.claude/skills/$SKILL_NAME"
echo "📦 安装 $SKILL_NAME skill..."
echo ""
# 检查依赖
check_dep() {
if ! command -v "$1" &>/dev/null; then
echo "❌ 需要 $1,请先安装:$2"
exit 1
fi
}
check_dep git "https://git-scm.com"
check_dep uv "curl -LsSf https://astral.sh/uv/install.sh | sh"
if ! command -v yt-dlp &>/dev/null; then
echo "⚠️ 未检测到 yt-dlp(下载抖音视频需要)"
echo " 安装方式:brew install yt-dlp 或 pip install yt-dlp"
echo ""
fi
# 创建目标目录
mkdir -p "$TARGET_DIR"
# 用临时目录做 sparse checkout
TMPDIR=$(mktemp -d)
trap "rm -rf $TMPDIR" EXIT
echo "⬇️ 从 GitHub 下载 skill 文件..."
cd "$TMPDIR"
git init -q
git remote add origin "https://github.com/$REPO.git"
git config core.sparseCheckout true
echo "$SRC_PATH/" > .git/info/sparse-checkout
git pull -q origin "$BRANCH" --depth=1
# 复制到目标位置
if [ -d "$TMPDIR/$SRC_PATH" ]; then
cp -R "$TMPDIR/$SRC_PATH/"* "$TARGET_DIR/"
echo ""
echo "✅ 安装成功!"
echo ""
echo "📁 安装位置:$TARGET_DIR"
echo ""
echo "📋 文件清单:"
find "$TARGET_DIR" -type f | while read f; do
echo " $(echo "$f" | sed "s|$TARGET_DIR/||")"
done
echo ""
echo "🔧 使用前请确保:"
echo " 1. 设置 GEMINI_API_KEY 环境变量(用于视频分析)"
echo " 2. Chrome 浏览器已登录抖音(用于视频下载)"
echo ""
echo "🚀 在 Claude Code 中输入 /douyin-viral-script 即可使用"
else
echo "❌ 下载失败,请检查网络连接"
exit 1
fi
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |