CAT
/Skills
SkillsMCPMarketplacesDigestToolsAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Cross AI Tools

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Plugins Reference

Community

  • About
  • Tools
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by @mertduzgun

Independent project, not affiliated with Anthropic

Auto Douyin

zrt-ai-lab/opencode-skills
443 installs215 stars
Summary

This automates video publishing to Douyin (TikTok's Chinese version) through browser automation with Playwright. You scan a QR code once to save your login cookie, then call the publish script with your video file, title, and optional tags or scheduling time. It handles the whole creator center workflow: uploading, setting metadata, choosing covers, and posting immediately or on a timer. The implementation is based on social-auto-upload and works headless if you need it running in the background. Worth noting that you'll want to control your publishing frequency since it's simulating real browser interactions, and cookies eventually expire so you'll need to re-authenticate periodically.

Install to Claude Code

npx -y skills add zrt-ai-lab/opencode-skills --skill auto-douyin --agent claude-code

Installs into .claude/skills of the current project.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Files
SKILL.mdView on GitHub

抖音视频自动发布技能

这个技能用于自动化发布视频到抖音创作者中心。

使用场景

  • 用户需要发布视频到抖音时
  • 用户说"发抖音"、"上传抖音"、"发布到抖音"时
  • 用户有视频文件需要分发到抖音平台时

技术原理

基于 Playwright 浏览器自动化,模拟真实用户操作抖音创作者中心(https://creator.douyin.com):

  1. 首次使用需扫码登录,保存 Cookie
  2. 后续使用 Cookie 自动登录
  3. 自动化填充标题、话题、封面等信息
  4. 支持定时发布

前置条件

1. 安装依赖

pip install playwright
playwright install chromium

2. 首次登录获取 Cookie

python .opencode/skills/auto-douyin/scripts/get_cookie.py

执行后会打开浏览器,使用抖音 APP 扫码登录,登录成功后 Cookie 会自动保存。

工作流程

第一步:确认登录状态

检查 Cookie 是否存在且有效:

python .opencode/skills/auto-douyin/scripts/check_cookie.py

如果 Cookie 失效,需要重新获取:

python .opencode/skills/auto-douyin/scripts/get_cookie.py

第二步:准备视频文件

视频文件要求:

  • 格式:.mp4(推荐)
  • 分辨率:建议 1080x1920(竖版 9:16)
  • 文件大小:建议不超过 4GB

可选:准备同名的封面图片(.png 或 .jpg)

第三步:发布视频

python .opencode/skills/auto-douyin/scripts/publish.py \
    --video "视频文件路径" \
    --title "视频标题" \
    --tags "话题1,话题2,话题3" \
    [--cover "封面图片路径"] \
    [--schedule "2025-01-31 18:00"]

参数说明

参数简写说明必填
--video-v视频文件路径✅
--title-t视频标题(最多30字)✅
--tags-g话题标签,逗号分隔❌
--cover-c封面图片路径❌
--schedule-s定时发布时间(格式:YYYY-MM-DD HH:MM)❌
--headless无头模式运行(不显示浏览器)❌

使用示例

# 立即发布,自动生成封面
python .opencode/skills/auto-douyin/scripts/publish.py \
    -v ~/Videos/demo.mp4 \
    -t "今天学到一个超实用的技巧" \
    -g "干货分享,效率提升,学习"

# 定时发布,指定封面
python .opencode/skills/auto-douyin/scripts/publish.py \
    -v ~/Videos/demo.mp4 \
    -t "周末vlog|一个人的惬意时光" \
    -g "vlog,周末日常,生活记录" \
    -c ~/Videos/demo_cover.png \
    -s "2025-02-01 18:00"

# 无头模式(后台运行)
python .opencode/skills/auto-douyin/scripts/publish.py \
    -v ~/Videos/demo.mp4 \
    -t "测试视频" \
    --headless

目录结构

.opencode/skills/auto-douyin/
├── skill.md              # 技能说明文档
├── scripts/
│   ├── get_cookie.py     # 获取登录 Cookie
│   ├── check_cookie.py   # 检查 Cookie 有效性
│   └── publish.py        # 发布视频主脚本
└── cookies/
    └── douyin.json       # Cookie 存储文件(自动生成)

注意事项

  1. Cookie 有效期:Cookie 通常有效期较长,但如果长时间未使用或平台更新,可能需要重新登录
  2. 发布频率:建议控制发布频率,避免被平台识别为异常行为
  3. 标题限制:抖音标题最多30字,超出会自动截断
  4. 话题数量:建议添加3-5个相关话题,提高曝光
  5. 封面选择:如不指定封面,系统会自动从视频中选取推荐封面
  6. 定时发布:定时发布时间需在当前时间之后,且在平台允许的时间范围内

常见问题

Q: Cookie 失效怎么办?

A: 重新运行 get_cookie.py 扫码登录即可。

Q: 上传失败怎么办?

A: 检查网络连接,确认视频文件格式正确,查看脚本输出的错误信息。

Q: 如何批量发布?

A: 可以编写循环脚本,依次调用 publish.py,建议每次发布间隔几分钟。

参考项目

本技能参考了 social-auto-upload 项目的实现。

Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Categories
AI & Agent Building
First SeenJun 3, 2026
View on GitHub

Recommended

More AI & Agent Building →
agent-memory-mcp

sickn33/antigravity-awesome-skills

agent memory mcp
954
39.4k
agent-memory-mcp

davila7/claude-code-templates

agent memory mcp
521
27.7k
llm-application-dev-langchain-agent

sickn33/antigravity-awesome-skills

llm application dev langchain agent
306
39.4k
llm-application-dev

moizibnyousaf/ai-agent-skills

Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration. Use for AI-powered features, chatbots, or LLM-based automation.
1.1k
ai-prompt-engineering-safety-review

github/awesome-copilot

Comprehensive safety analysis and improvement framework for AI prompts with detailed assessment methodologies.
9.4k
34.3k
emblem-ai-prompt-examples

emblemcompany/agent-skills

emblem ai prompt examples
8.7k
10