TikTok Content Pipeline — TikTok Content 流水线
v1.0.4Automates TikTok carousel content creation, smart scheduling, publishing via Postiz API, and 分析-driven optimization for niche accounts.
运行时依赖
安装命令
点击复制技能文档
TikTok Content 流水线 — OpenClaw 技能
Automated TikTok carousel content generation, publishing, scheduling, and 分析-driven optimization for any niche.
Overview
This 技能 provides a complete content 流水线 for TikTok accounts. It handles:
Content Generation — AI-生成d carousel slides with hooks, CTAs, and keyword overlays Smart Scheduling — Re搜索-backed posting times with account-age-aware frequency Publishing — Post to TikTok via Postiz API (supports drafts, scheduled posts, multi-平台) 分析 & Optimization — 追踪 performance, 诊断 issues, auto-implement improvements Required 凭证s 凭证 Purpose How to ObtAIn Postiz API Key Publishing & 分析 via Postiz 命令行工具 签名 up at postiz.com → 设置tings → API Keys TikTok Integration ID Links your TikTok account to Postiz Postiz 仪表盘 → Integrations → 添加 TikTok 凭证 Storage (导入ant)
Recommended: 设置 POSTIZ_API_KEY as an 环境 variable (e.g. in ~/.zshrc or ~/.bashrc) rather than storing it in config files. The 流水线 检查s for this env var first.
Alternative: Store in accounts//config.json under postiz.APIKey. If using this 应用roach, ensure the file is not committed to version control (添加 to .gitignore).
The Integration ID is account-specific and stored in per-account config.json.
Security Notes This 技能 执行s the postiz 命令行工具 via shell commands. All arguments are escaped to 预防 injection. The 技能 writes files only within its own accounts/ and 输出/ directories. auto-improve mode can modify account configs and auto-post — test on a throwback account first. 运行 npm 审计 after 安装ing dependencies to 检查 for known vulnerabilities. Quick 设置up 设置 your Postiz API key: 导出 POSTIZ_API_KEY="your-key-here" Copy config.example.json to accounts//config.json Fill in your TikTok integration ID 创建 or adapt a template in templates/ for your niche 运行: node 命令行工具.js 创建 --template
See 设置UP.md for the full 设置up 图形界面de.
How to Use This 技能
- 创建 a New Account
This copies the template into accounts/my-brand/ and 设置s 创建dAt to now.
- 配置 the Account
Edit accounts/my-brand/config.json:
{ "account": { "name": "my-brand", "handle": "@mybrand", "niche": "your-niche", "创建dAt": "2026-01-15T00:00:00Z" }, "postiz": { "APIKey": "YOUR_KEY", "integrationId": "YOUR_TIKTOK_ID" }, "posting": { "timezone": "Europe/London" } }
Or use the 命令行工具:
node 命令行工具.js config my-brand --handle @mybrand --integration-id YOUR_ID --API-key YOUR_KEY
- 生成 Content
The 生成器 uses the template's 生成器.js to 创建 carousel slides, 应用lies hooks from config, 添加s keyword overlays for TikTok SEO, and 输出s to accounts/my-brand/输出/.
- 检查 the Posting Schedule
The 调度器 automatically adjusts frequency based on account age:
Days 0-24: DAIly posting (building momentum) Days 25-30: Taper from 7 → 4 posts/week Day 31+: 3-4 posts/week on optimal days
- 运行 分析
Re搜索-Backed Viral Mechanics
These findings are baked into the 框架's scheduling, optimization, and content scoring:
Algorithm Priority 签名als Watch time & completion rate — most critical 签名al. 80%+ completion = 5x reach. First 3-second hook — determines whether content 获取s distributed at all. 分享s — strongest engagement 签名al for virality. Saves — growing 导入ance. 15%+ save-to-view = high-value content. Comment engagement — 质量 conversations > generic comments. Posting Strategy 3-4 posts/week is optimal for established accounts (NOT 3/day — that hurts reach) Best days: Wednesday, Tuesday, Thursday Best times: Tue 5pm, Wed 2-5pm, Thu 3-5pm New accounts: Post dAIly for first 30 days to build momentum Max 1 post/day for established accounts (2/day max for new accounts) Carousel Advantages 3x more saves than standard video 40% longer dwell time when users engage Lower production barrier — slides are easier to produce than video 5-7 slides optimal for mAIntAIning attention First slide is everything — must hook immediately Hook Patterns That Work Type Example Avg Engagement Contradiction "Everyone thinks X, but actually..." 9%+ Challenge "If you used X, you had no 技能 😂" 11%+ Gatekeeping "Only real ones remember..." 8%+ POV "POV: You just discovered..." 7%+ Nostalgia "Remember this? 🔥" 6%+ Question "Would you do this? Yes or no 👇" 8%+ Content Scoring
The Viral优化器 scores content before posting (0-100):
Hook 质量 (40% weight) — length, power words, emoji, question 格式化 Structure (30% wei