ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

content-automation

内容创作自动化工具 Skill。支持社交媒体内容生成、视频脚本创作、定时发布任务管理。当用户需要批量生成内容、自动化社交媒体运营或创建视频脚本时触发。

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/antonia-sz/content-automation
Or

Content Automation Skill

内容创作自动化工具,帮助创作者和运营人员提高效率。支持社交媒体内容生成、视频脚本创作、定时任务管理等功能。

注意:本 Skill 专注于内容创作辅助,用户需遵守各平台的使用条款和社区规范。

前置要求

# 克隆仓库
git clone https://github.com/FujiwaraChoki/MoneyPrinterV2.git
cd MoneyPrinterV2

# 需要 Python 3.12+
python --version

# 创建虚拟环境
python -m venv venv
source venv/bin/activate  # Windows: .venv\Scripts\activate

# 安装依赖
pip install -r requirements.txt

# 复制配置文件
cp config.example.json config.json

配置

编辑 config.json

{
  "openai_api_key": "your-key",
  "twitter": {
    "enabled": false,
    "username": "",
    "password": "",
    "email": ""
  },
  "youtube": {
    "enabled": false,
    "client_secrets_file": "client_secrets.json"
  },
  "affiliate": {
    "enabled": false,
    "amazon_tag": ""
  }
}

核心功能

1. 内容生成器

from src.classes.ContentGenerator import ContentGenerator

# 初始化生成器
generator = ContentGenerator()

# 生成社交媒体帖子
post = generator.generate_post(
    topic="人工智能趋势",
    platform="twitter",
    tone="professional",
    length="short"
)
print(post)

# 生成视频脚本
script = generator.generate_video_script(
    topic="如何学习编程",
    duration_seconds=60,
    style="educational"
)
print(script)

# 生成内容创意
ideas = generator.generate_content_ideas(
    niche="科技评测",
    count=10
)
for idea in ideas:
    print(f"- {idea}")

2. 视频创作辅助

# 生成短视频脚本
python -c "
from src.classes.VideoGenerator import VideoGenerator

vg = VideoGenerator()
script = vg.generate_script(
    topic='5个Python技巧',
    style='fast-paced',
    duration=60
)
print(script)
"

# 生成视频描述和标签
python -c "
from src.classes.VideoGenerator import VideoGenerator

vg = VideoGenerator()
metadata = vg.generate_metadata(
    title='Python编程入门',
    keywords=['python', 'programming', 'tutorial']
)
print(f'描述: {metadata[\"description\"]}')
print(f'标签: {metadata[\"tags\"]}')
"

3. 定时任务调度

from src.classes.Scheduler import Scheduler
from datetime import datetime, timedelta

# 创建调度器
scheduler = Scheduler()

# 添加定时发布任务
scheduler.add_job(
    func=post_to_twitter,
    trigger='cron',
    hour=9,
    minute=0,
    args=["早安推文内容"]
)

# 添加延时任务
scheduler.add_job(
    func=generate_daily_content,
    trigger='date',
    run_date=datetime.now() + timedelta(hours=2)
)

# 启动调度器
scheduler.start()

4. 内容日历管理

from src.classes.ContentCalendar import ContentCalendar

# 创建内容日历
calendar = ContentCalendar()

# 添加内容计划
calendar.add_content(
    date="2024-03-25",
    platform="twitter",
    topic="产品发布",
    status="planned"
)

# 查看本周计划
weekly_plan = calendar.get_weekly_plan()
for item in weekly_plan:
    print(f"{item['date']}: {item['topic']} ({item['platform']})")

# 导出日历
calendar.export_to_csv("content_calendar.csv")

完整工作流示例

批量生成一周社交媒体内容

#!/usr/bin/env python3
"""
批量生成一周社交媒体内容
"""

from src.classes.ContentGenerator import ContentGenerator
from src.classes.ContentCalendar import ContentCalendar
import json

Metadata

Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-antonia-sz-content-automation": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.