[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M778B4N0G3XKPVE72ST18M4V":3,"skill-same:01M778B4N0G3XKPVE72ST18M4V":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M778B4N0G3XKPVE72ST18M4V","content-automation",null,"内容创作自动化工具 Skill。支持社交媒体内容生成、视频脚本创作、定时发布任务管理。当用户需要批量生成内容、自动化社交媒体运营或创建视频脚本时触发。","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fc\u002Fcontent-automation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: content-automation\ndescription: 内容创作自动化工具 Skill。支持社交媒体内容生成、视频脚本创作、定时发布任务管理。当用户需要批量生成内容、自动化社交媒体运营或创建视频脚本时触发。\nversion: 1.0.0\n---\n\n# Content Automation Skill\n\n内容创作自动化工具，帮助创作者和运营人员提高效率。支持社交媒体内容生成、视频脚本创作、定时任务管理等功能。\n\n**注意**：本 Skill 专注于**内容创作辅助**，用户需遵守各平台的使用条款和社区规范。\n\n## 前置要求\n\n```bash\n# 克隆仓库\ngit clone https:\u002F\u002Fgithub.com\u002FFujiwaraChoki\u002FMoneyPrinterV2.git\ncd MoneyPrinterV2\n\n# 需要 Python 3.12+\npython --version\n\n# 创建虚拟环境\npython -m venv venv\nsource venv\u002Fbin\u002Factivate  # Windows: .venv\\Scripts\\activate\n\n# 安装依赖\npip install -r requirements.txt\n\n# 复制配置文件\ncp config.example.json config.json\n```\n\n## 配置\n\n编辑 `config.json`：\n\n```json\n{\n  \"openai_api_key\": \"your-key\",\n  \"twitter\": {\n    \"enabled\": false,\n    \"username\": \"\",\n    \"password\": \"\",\n    \"email\": \"\"\n  },\n  \"youtube\": {\n    \"enabled\": false,\n    \"client_secrets_file\": \"client_secrets.json\"\n  },\n  \"affiliate\": {\n    \"enabled\": false,\n    \"amazon_tag\": \"\"\n  }\n}\n```\n\n## 核心功能\n\n### 1. 内容生成器\n\n```python\nfrom src.classes.ContentGenerator import ContentGenerator\n\n# 初始化生成器\ngenerator = ContentGenerator()\n\n# 生成社交媒体帖子\npost = generator.generate_post(\n    topic=\"人工智能趋势\",\n    platform=\"twitter\",\n    tone=\"professional\",\n    length=\"short\"\n)\nprint(post)\n\n# 生成视频脚本\nscript = generator.generate_video_script(\n    topic=\"如何学习编程\",\n    duration_seconds=60,\n    style=\"educational\"\n)\nprint(script)\n\n# 生成内容创意\nideas = generator.generate_content_ideas(\n    niche=\"科技评测\",\n    count=10\n)\nfor idea in ideas:\n    print(f\"- {idea}\")\n```\n\n### 2. 视频创作辅助\n\n```bash\n# 生成短视频脚本\npython -c \"\nfrom src.classes.VideoGenerator import VideoGenerator\n\nvg = VideoGenerator()\nscript = vg.generate_script(\n    topic='5个Python技巧',\n    style='fast-paced',\n    duration=60\n)\nprint(script)\n\"\n\n# 生成视频描述和标签\npython -c \"\nfrom src.classes.VideoGenerator import VideoGenerator\n\nvg = VideoGenerator()\nmetadata = vg.generate_metadata(\n    title='Python编程入门',\n    keywords=['python', 'programming', 'tutorial']\n)\nprint(f'描述: {metadata[\\\"description\\\"]}')\nprint(f'标签: {metadata[\\\"tags\\\"]}')\n\"\n```\n\n### 3. 定时任务调度\n\n```python\nfrom src.classes.Scheduler import Scheduler\nfrom datetime import datetime, timedelta\n\n# 创建调度器\nscheduler = Scheduler()\n\n# 添加定时发布任务\nscheduler.add_job(\n    func=post_to_twitter,\n    trigger='cron',\n    hour=9,\n    minute=0,\n    args=[\"早安推文内容\"]\n)\n\n# 添加延时任务\nscheduler.add_job(\n    func=generate_daily_content,\n    trigger='date',\n    run_date=datetime.now() + timedelta(hours=2)\n)\n\n# 启动调度器\nscheduler.start()\n```\n\n### 4. 内容日历管理\n\n```python\nfrom src.classes.ContentCalendar import ContentCalendar\n\n# 创建内容日历\ncalendar = ContentCalendar()\n\n# 添加内容计划\ncalendar.add_content(\n    date=\"2024-03-25\",\n    platform=\"twitter\",\n    topic=\"产品发布\",\n    status=\"planned\"\n)\n\n# 查看本周计划\nweekly_plan = calendar.get_weekly_plan()\nfor item in weekly_plan:\n    print(f\"{item['date']}: {item['topic']} ({item['platform']})\")\n\n# 导出日历\ncalendar.export_to_csv(\"content_calendar.csv\")\n```\n\n## 完整工作流示例\n\n### 批量生成一周社交媒体内容\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"\n批量生成一周社交媒体内容\n\"\"\"\n\nfrom src.classes.ContentGenerator import ContentGenerator\nfrom src.classes.ContentCalendar import ContentCalendar\nimport json\n\ndef generate_weekly_content(niche: str, platforms: list):\n    \"\"\"为指定领域生成一周内容\"\"\"\n    \n    generator = ContentGenerator()\n    calendar = ContentCalendar()\n    \n    # 内容主题池\n    topics = [\n        \"周一灵感\",\n        \"周二技巧\",\n        \"周三案例\",\n        \"周四趋势\",\n        \"周五总结\",\n        \"周末轻松话题\"\n    ]\n    \n    content_plan = []\n    \n    for i, topic in enumerate(topics):\n        for platform in platforms:\n            # 生成内容\n            content = generator.generate_post(\n                topic=f\"{niche} - {topic}\",\n                platform=platform,\n                tone=\"casual\" if i >= 5 else \"professional\"\n            )\n            \n            # 添加到日历\n            calendar.add_content(\n                day=i,\n                platform=platform,\n                content=content,\n                topic=topic\n            )\n            \n            content_plan.append({\n                \"day\": i,\n                \"platform\": platform,\n                \"topic\": topic,\n                \"content\": content\n            })\n    \n    # 保存计划\n    with open(\"weekly_content.json\", \"w\", encoding=\"utf-8\") as f:\n        json.dump(content_plan, f, ensure_ascii=False, indent=2)\n    \n    # 导出日历\n    calendar.export_to_csv(\"weekly_calendar.csv\")\n    \n    print(f\"✅ 已生成 {len(content_plan)} 条内容\")\n    print(f\"📅 日历已保存至 weekly_calendar.csv\")\n    print(f\"📝 详细计划已保存至 weekly_content.json\")\n    \n    return content_plan\n\n# 执行\nif __name__ == \"__main__\":\n    generate_weekly_content(\n        niche=\"人工智能\",\n        platforms=[\"twitter\", \"linkedin\"]\n    )\n```\n\n### 视频内容生产线\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"\n视频内容自动化生产流程\n\"\"\"\n\nfrom src.classes.VideoGenerator import VideoGenerator\nfrom src.classes.ContentGenerator import ContentGenerator\nimport os\n\ndef create_video_pipeline(topic: str, output_dir: str = \".\u002Foutput\"):\n    \"\"\"创建完整视频制作流程\"\"\"\n    \n    os.makedirs(output_dir, exist_ok=True)\n    \n    vg = VideoGenerator()\n    cg = ContentGenerator()\n    \n    print(f\"🎬 开始制作视频: {topic}\")\n    \n    # 1. 生成脚本\n    print(\"📝 生成脚本...\")\n    script = vg.generate_script(\n        topic=topic,\n        style=\"educational\",\n        duration=90\n    )\n    \n    with open(f\"{output_dir}\u002Fscript.txt\", \"w\", encoding=\"utf-8\") as f:\n        f.write(script)\n    \n    # 2. 生成视频描述\n    print(\"📄 生成视频描述...\")\n    metadata = vg.generate_metadata(\n        title=topic,\n        keywords=[\"教程\", \"教育\", topic]\n    )\n    \n    with open(f\"{output_dir}\u002Fmetadata.json\", \"w\", encoding=\"utf-8\") as f:\n        import json\n        json.dump(metadata, f, ensure_ascii=False, indent=2)\n    \n    # 3. 生成缩略图描述\n    print(\"🎨 生成缩略图创意...\")\n    thumbnail_ideas = cg.generate_content_ideas(\n        niche=f\"视频缩略图: {topic}\",\n        count=3\n    )\n    \n    with open(f\"{output_dir}\u002Fthumbnail_ideas.txt\", \"w\", encoding=\"utf-8\") as f:\n        for idea in thumbnail_ideas:\n            f.write(f\"- {idea}\\n\")\n    \n    print(f\"✅ 视频制作素材已保存至 {output_dir}\u002F\")\n    print(f\"   - 脚本: script.txt\")\n    print(f\"   - 元数据: metadata.json\")\n    print(f\"   - 缩略图创意: thumbnail_ideas.txt\")\n    \n    return {\n        \"script\": script,\n        \"metadata\": metadata,\n        \"thumbnail_ideas\": thumbnail_ideas\n    }\n\n# 执行\nif __name__ == \"__main__\":\n    create_video_pipeline(\"Python异步编程入门\")\n```\n\n### 内容分析与优化\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"\n分析内容表现并生成优化建议\n\"\"\"\n\nfrom src.classes.Analytics import Analytics\nfrom src.classes.ContentGenerator import ContentGenerator\n\ndef analyze_and_optimize(content_history: list):\n    \"\"\"分析历史内容表现并生成优化建议\"\"\"\n    \n    analytics = Analytics()\n    generator = ContentGenerator()\n    \n    # 分析表现\n    print(\"📊 分析内容表现...\")\n    insights = analytics.analyze_performance(content_history)\n    \n    print(\"\\n🔍 关键洞察:\")\n    print(f\"  最佳发布时间: {insights['best_posting_time']}\")\n    print(f\"  高互动话题: {', '.join(insights['top_topics'])}\")\n    print(f\"  最佳内容长度: {insights['optimal_length']}\")\n    \n    # 生成优化建议\n    print(\"\\n💡 优化建议:\")\n    recommendations = generator.generate_recommendations(insights)\n    for rec in recommendations:\n        print(f\"  - {rec}\")\n    \n    # 生成下周期内容策略\n    print(\"\\n📅 下周期内容策略:\")\n    strategy = generator.generate_content_strategy(\n        insights=insights,\n        timeframe=\"下周\"\n    )\n    print(strategy)\n    \n    return insights, recommendations\n\n# 示例数据\nsample_history = [\n    {\"topic\": \"AI趋势\", \"engagement\": 150, \"posted_at\": \"09:00\"},\n    {\"topic\": \"编程技巧\", \"engagement\": 230, \"posted_at\": \"14:00\"},\n    {\"topic\": \"行业新闻\", \"engagement\": 89, \"posted_at\": \"18:00\"},\n]\n\nanalyze_and_optimize(sample_history)\n```\n\n## 高级功能\n\n### 批量脚本执行\n\n项目提供了一系列便捷脚本：\n\n```bash\n# 从项目根目录运行\n\n# 上传视频\nbash scripts\u002Fupload_video.sh \u002Fpath\u002Fto\u002Fvideo.mp4 \"视频标题\"\n\n# 批量生成内容\nbash scripts\u002Fgenerate_batch.sh topics.txt\n\n# 发布定时内容\nbash scripts\u002Fscheduled_post.sh\n```\n\n### 自定义内容模板\n\n```python\nfrom src.classes.TemplateManager import TemplateManager\n\n# 创建模板管理器\ntm = TemplateManager()\n\n# 注册自定义模板\ntm.register_template(\n    name=\"product_launch\",\n    template=\"\"\"\n    🚀 新品发布！\n    \n    {product_name} 现已上线！\n    \n    ✨ 核心功能:\n    {features}\n    \n    🎯 适合人群: {target_audience}\n    \n    了解更多: {link}\n    \"\"\"\n)\n\n# 使用模板生成内容\ncontent = tm.render_template(\n    \"product_launch\",\n    product_name=\"AI助手Pro\",\n    features=\"- 智能回复\\n- 多语言支持\\n- 数据分析\",\n    target_audience=\"内容创作者\",\n    link=\"https:\u002F\u002Fexample.com\"\n)\nprint(content)\n```\n\n### 多平台内容适配\n\n```python\nfrom src.classes.ContentAdapter import ContentAdapter\n\n# 创建适配器\nadapter = ContentAdapter()\n\n# 原始内容\noriginal = \"\"\"\n人工智能正在改变内容创作的方式。\n从文本生成到视频制作，AI 工具让创作者能够更高效地生产高质量内容。\n\"\"\"\n\n# 适配到不同平台\ntwitter_version = adapter.adapt_for_platform(original, \"twitter\")\nlinkedin_version = adapter.adapt_for_platform(original, \"linkedin\")\ninstagram_version = adapter.adapt_for_platform(original, \"instagram\")\n\nprint(\"Twitter:\", twitter_version)\nprint(\"LinkedIn:\", linkedin_version)\nprint(\"Instagram:\", instagram_version)\n```\n\n## 最佳实践\n\n### 内容质量控制\n\n1. **人工审核**：自动生成的内容必须经过人工审核\n2. **品牌一致性**：保持品牌语调和风格统一\n3. **平台适配**：针对不同平台优化内容格式\n4. **合规检查**：确保内容符合平台规则和法律法规\n\n### 发布频率建议\n\n| 平台 | 建议频率 | 最佳时段 |\n|------|---------|---------|\n| Twitter\u002FX | 3-5次\u002F天 | 9:00, 12:00, 18:00 |\n| LinkedIn | 1-2次\u002F天 | 8:00, 17:00 |\n| Instagram | 1-3次\u002F天 | 11:00, 14:00, 20:00 |\n\n### 内容类型搭配\n\n- **教育内容** (40%)：教程、技巧、知识分享\n- **娱乐内容** (30%)：轻松话题、互动内容\n- **推广内容** (20%)：产品、服务、活动\n- **社区内容** (10%)：用户故事、互动问答\n\n## 故障排查\n\n### 依赖问题\n\n```bash\n# 重新安装依赖\npip install -r requirements.txt --force-reinstall\n\n# 检查 Python 版本\npython --version  # 需要 3.12+\n```\n\n### API 限制\n\n- 监控 API 调用频率\n- 实现指数退避重试机制\n- 准备备用 API 密钥\n\n### 内容生成失败\n\n- 检查 API 密钥配置\n- 简化输入提示词\n- 查看详细错误日志\n\n## 免责声明\n\n本工具仅供学习和内容创作辅助使用：\n\n- 遵守各平台的使用条款\n- 尊重知识产权和版权\n- 不得用于生成垃圾信息或滥用平台\n- 用户对生成内容的使用负全部责任\n\n## 许可证\n\n本项目基于 AGPL-3.0 许可证开源。使用本 Skill 即表示你同意遵守相关许可条款。\n\n## 相关资源\n\n- [项目文档](https:\u002F\u002Fgithub.com\u002FFujiwaraChoki\u002FMoneyPrinterV2\u002Ftree\u002Fmain\u002Fdocs)\n- [开发路线图](https:\u002F\u002Fgithub.com\u002FFujiwaraChoki\u002FMoneyPrinterV2\u002Fblob\u002Fmain\u002Fdocs\u002FRoadmap.md)\n- [贡献指南](https:\u002F\u002Fgithub.com\u002FFujiwaraChoki\u002FMoneyPrinterV2\u002Fblob\u002Fmain\u002FCONTRIBUTING.md)\n","# Content Automation Skill\n\n内容创作自动化工具，帮助创作者和运营人员提高效率。支持社交媒体内容生成、视频脚本创作、定时任务管理等功能。\n\n**注意**：本 Skill 专注于**内容创作辅助**，用户需遵守各平台的使用条款和社区规范。\n\n## 前置要求\n\n```bash\n# 克隆仓库\ngit clone https:\u002F\u002Fgithub.com\u002FFujiwaraChoki\u002FMoneyPrinterV2.git\ncd MoneyPrinterV2\n\n# 需要 Python 3.12+\npython --version\n\n# 创建虚拟环境\npython -m venv venv\nsource venv\u002Fbin\u002Factivate  # Windows: .venv\\Scripts\\activate\n\n# 安装依赖\npip install -r requirements.txt\n\n# 复制配置文件\ncp config.example.json config.json\n```\n\n## 配置\n\n编辑 `config.json`：\n\n```json\n{\n  \"openai_api_key\": \"your-key\",\n  \"twitter\": {\n    \"enabled\": false,\n    \"username\": \"\",\n    \"password\": \"\",\n    \"email\": \"\"\n  },\n  \"youtube\": {\n    \"enabled\": false,\n    \"client_secrets_file\": \"client_secrets.json\"\n  },\n  \"affiliate\": {\n    \"enabled\": false,\n    \"amazon_tag\": \"\"\n  }\n}\n```\n\n## 核心功能\n\n### 1. 内容生成器\n\n```python\nfrom src.classes.ContentGenerator import ContentGenerator\n\n# 初始化生成器\ngenerator = ContentGenerator()\n\n# 生成社交媒体帖子\npost = generator.generate_post(\n    topic=\"人工智能趋势\",\n    platform=\"twitter\",\n    tone=\"professional\",\n    length=\"short\"\n)\nprint(post)\n\n# 生成视频脚本\nscript = generator.generate_video_script(\n    topic=\"如何学习编程\",\n    duration_seconds=60,\n    style=\"educational\"\n)\nprint(script)\n\n# 生成内容创意\nideas = generator.generate_content_ideas(\n    niche=\"科技评测\",\n    count=10\n)\nfor idea in ideas:\n    print(f\"- {idea}\")\n```\n\n### 2. 视频创作辅助\n\n```bash\n# 生成短视频脚本\npython -c \"\nfrom src.classes.VideoGenerator import VideoGenerator\n\nvg = VideoGenerator()\nscript = vg.generate_script(\n    topic='5个Python技巧',\n    style='fast-paced',\n    duration=60\n)\nprint(script)\n\"\n\n# 生成视频描述和标签\npython -c \"\nfrom src.classes.VideoGenerator import VideoGenerator\n\nvg = VideoGenerator()\nmetadata = vg.generate_metadata(\n    title='Python编程入门',\n    keywords=['python', 'programming', 'tutorial']\n)\nprint(f'描述: {metadata[\\\"description\\\"]}')\nprint(f'标签: {metadata[\\\"tags\\\"]}')\n\"\n```\n\n### 3. 定时任务调度\n\n```python\nfrom src.classes.Scheduler import Scheduler\nfrom datetime import datetime, timedelta\n\n# 创建调度器\nscheduler = Scheduler()\n\n# 添加定时发布任务\nscheduler.add_job(\n    func=post_to_twitter,\n    trigger='cron',\n    hour=9,\n    minute=0,\n    args=[\"早安推文内容\"]\n)\n\n# 添加延时任务\nscheduler.add_job(\n    func=generate_daily_content,\n    trigger='date',\n    run_date=datetime.now() + timedelta(hours=2)\n)\n\n# 启动调度器\nscheduler.start()\n```\n\n### 4. 内容日历管理\n\n```python\nfrom src.classes.ContentCalendar import ContentCalendar\n\n# 创建内容日历\ncalendar = ContentCalendar()\n\n# 添加内容计划\ncalendar.add_content(\n    date=\"2024-03-25\",\n    platform=\"twitter\",\n    topic=\"产品发布\",\n    status=\"planned\"\n)\n\n# 查看本周计划\nweekly_plan = calendar.get_weekly_plan()\nfor item in weekly_plan:\n    print(f\"{item['date']}: {item['topic']} ({item['platform']})\")\n\n# 导出日历\ncalendar.export_to_csv(\"content_calendar.csv\")\n```\n\n## 完整工作流示例\n\n### 批量生成一周社交媒体内容\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"\n批量生成一周社交媒体内容\n\"\"\"\n\nfrom src.classes.ContentGenerator import ContentGenerator\nfrom src.classes.ContentCalendar import ContentCalendar\nimport json\n\ndef generate_weekly_content(niche: str, platforms: list):\n    \"\"\"为指定领域生成一周内容\"\"\"\n    \n    generator = ContentGenerator()\n    calendar = ContentCalendar()\n    \n    # 内容主题池\n    topics = [\n        \"周一灵感\",\n        \"周二技巧\",\n        \"周三案例\",\n        \"周四趋势\",\n        \"周五总结\",\n        \"周末轻松话题\"\n    ]\n    \n    content_plan = []\n    \n    for i, topic in enumerate(topics):\n        for platform in platforms:\n            # 生成内容\n            content = generator.generate_post(\n                topic=f\"{niche} - {topic}\",\n                platform=platform,\n                tone=\"casual\" if i >= 5 else \"professional\"\n            )\n            \n            # 添加到日历\n            calendar.add_content(\n                day=i,\n                platform=platform,\n                content=content,\n                topic=topic\n            )\n            \n            content_plan.append({\n                \"day\": i,\n                \"platform\": platform,\n                \"topic\": topic,\n                \"content\": content\n            })\n    \n    # 保存计划\n    with open(\"weekly_content.json\", \"w\", encoding=\"utf-8\") as f:\n        json.dump(content_plan, f, ensure_ascii=False, indent=2)\n    \n    # 导出日历\n    calendar.export_to_csv(\"weekly_calendar.csv\")\n    \n    print(f\"✅ 已生成 {len(content_plan)} 条内容\")\n    print(f\"📅 日历已保存至 weekly_calendar.csv\")\n    print(f\"📝 详细计划已保存至 weekly_content.json\")\n    \n    return content_plan\n\n# 执行\nif __name__ == \"__main__\":\n    generate_weekly_content(\n        niche=\"人工智能\",\n        platforms=[\"twitter\", \"linkedin\"]\n    )\n```\n\n### 视频内容生产线\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"\n视频内容自动化生产流程\n\"\"\"\n\nfrom src.classes.VideoGenerator import VideoGenerator\nfrom src.classes.ContentGenerator import ContentGenerator\nimport os\n\ndef create_video_pipeline(topic: str, output_dir: str = \".\u002Foutput\"):\n    \"\"\"创建完整视频制作流程\"\"\"\n    \n    os.makedirs(output_dir, exist_ok=True)\n    \n    vg = VideoGenerator()\n    cg = ContentGenerator()\n    \n    print(f\"🎬 开始制作视频: {topic}\")\n    \n    # 1. 生成脚本\n    print(\"📝 生成脚本...\")\n    script = vg.generate_script(\n        topic=topic,\n        style=\"educational\",\n        duration=90\n    )\n    \n    with open(f\"{output_dir}\u002Fscript.txt\", \"w\", encoding=\"utf-8\") as f:\n        f.write(script)\n    \n    # 2. 生成视频描述\n    print(\"📄 生成视频描述...\")\n    metadata = vg.generate_metadata(\n        title=topic,\n        keywords=[\"教程\", \"教育\", topic]\n    )\n    \n    with open(f\"{output_dir}\u002Fmetadata.json\", \"w\", encoding=\"utf-8\") as f:\n        import json\n        json.dump(metadata, f, ensure_ascii=False, indent=2)\n    \n    # 3. 生成缩略图描述\n    print(\"🎨 生成缩略图创意...\")\n    thumbnail_ideas = cg.generate_content_ideas(\n        niche=f\"视频缩略图: {topic}\",\n        count=3\n    )\n    \n    with open(f\"{output_dir}\u002Fthumbnail_ideas.txt\", \"w\", encoding=\"utf-8\") as f:\n        for idea in thumbnail_ideas:\n            f.write(f\"- {idea}\\n\")\n    \n    print(f\"✅ 视频制作素材已保存至 {output_dir}\u002F\")\n    print(f\"   - 脚本: script.txt\")\n    print(f\"   - 元数据: metadata.json\")\n    print(f\"   - 缩略图创意: thumbnail_ideas.txt\")\n    \n    return {\n        \"script\": script,\n        \"metadata\": metadata,\n        \"thumbnail_ideas\": thumbnail_ideas\n    }\n\n# 执行\nif __name__ == \"__main__\":\n    create_video_pipeline(\"Python异步编程入门\")\n```\n\n### 内容分析与优化\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"\n分析内容表现并生成优化建议\n\"\"\"\n\nfrom src.classes.Analytics import Analytics\nfrom src.classes.ContentGenerator import ContentGenerator\n\ndef analyze_and_optimize(content_history: list):\n    \"\"\"分析历史内容表现并生成优化建议\"\"\"\n    \n    analytics = Analytics()\n    generator = ContentGenerator()\n    \n    # 分析表现\n    print(\"📊 分析内容表现...\")\n    insights = analytics.analyze_performance(content_history)\n    \n    print(\"\\n🔍 关键洞察:\")\n    print(f\"  最佳发布时间: {insights['best_posting_time']}\")\n    print(f\"  高互动话题: {', '.join(insights['top_topics'])}\")\n    print(f\"  最佳内容长度: {insights['optimal_length']}\")\n    \n    # 生成优化建议\n    print(\"\\n💡 优化建议:\")\n    recommendations = generator.generate_recommendations(insights)\n    for rec in recommendations:\n        print(f\"  - {rec}\")\n    \n    # 生成下周期内容策略\n    print(\"\\n📅 下周期内容策略:\")\n    strategy = generator.generate_content_strategy(\n        insights=insights,\n        timeframe=\"下周\"\n    )\n    print(strategy)\n    \n    return insights, recommendations\n\n# 示例数据\nsample_history = [\n    {\"topic\": \"AI趋势\", \"engagement\": 150, \"posted_at\": \"09:00\"},\n    {\"topic\": \"编程技巧\", \"engagement\": 230, \"posted_at\": \"14:00\"},\n    {\"topic\": \"行业新闻\", \"engagement\": 89, \"posted_at\": \"18:00\"},\n]\n\nanalyze_and_optimize(sample_history)\n```\n\n## 高级功能\n\n### 批量脚本执行\n\n项目提供了一系列便捷脚本：\n\n```bash\n# 从项目根目录运行\n\n# 上传视频\nbash scripts\u002Fupload_video.sh \u002Fpath\u002Fto\u002Fvideo.mp4 \"视频标题\"\n\n# 批量生成内容\nbash scripts\u002Fgenerate_batch.sh topics.txt\n\n# 发布定时内容\nbash scripts\u002Fscheduled_post.sh\n```\n\n### 自定义内容模板\n\n```python\nfrom src.classes.TemplateManager import TemplateManager\n\n# 创建模板管理器\ntm = TemplateManager()\n\n# 注册自定义模板\ntm.register_template(\n    name=\"product_launch\",\n    template=\"\"\"\n    🚀 新品发布！\n    \n    {product_name} 现已上线！\n    \n    ✨ 核心功能:\n    {features}\n    \n    🎯 适合人群: {target_audience}\n    \n    了解更多: {link}\n    \"\"\"\n)\n\n# 使用模板生成内容\ncontent = tm.render_template(\n    \"product_launch\",\n    product_name=\"AI助手Pro\",\n    features=\"- 智能回复\\n- 多语言支持\\n- 数据分析\",\n    target_audience=\"内容创作者\",\n    link=\"https:\u002F\u002Fexample.com\"\n)\nprint(content)\n```\n\n### 多平台内容适配\n\n```python\nfrom src.classes.ContentAdapter import ContentAdapter\n\n# 创建适配器\nadapter = ContentAdapter()\n\n# 原始内容\noriginal = \"\"\"\n人工智能正在改变内容创作的方式。\n从文本生成到视频制作，AI 工具让创作者能够更高效地生产高质量内容。\n\"\"\"\n\n# 适配到不同平台\ntwitter_version = adapter.adapt_for_platform(original, \"twitter\")\nlinkedin_version = adapter.adapt_for_platform(original, \"linkedin\")\ninstagram_version = adapter.adapt_for_platform(original, \"instagram\")\n\nprint(\"Twitter:\", twitter_version)\nprint(\"LinkedIn:\", linkedin_version)\nprint(\"Instagram:\", instagram_version)\n```\n\n## 最佳实践\n\n### 内容质量控制\n\n1. **人工审核**：自动生成的内容必须经过人工审核\n2. **品牌一致性**：保持品牌语调和风格统一\n3. **平台适配**：针对不同平台优化内容格式\n4. **合规检查**：确保内容符合平台规则和法律法规\n\n### 发布频率建议\n\n| 平台 | 建议频率 | 最佳时段 |\n|------|---------|---------|\n| Twitter\u002FX | 3-5次\u002F天 | 9:00, 12:00, 18:00 |\n| LinkedIn | 1-2次\u002F天 | 8:00, 17:00 |\n| Instagram | 1-3次\u002F天 | 11:00, 14:00, 20:00 |\n\n### 内容类型搭配\n\n- **教育内容** (40%)：教程、技巧、知识分享\n- **娱乐内容** (30%)：轻松话题、互动内容\n- **推广内容** (20%)：产品、服务、活动\n- **社区内容** (10%)：用户故事、互动问答\n\n## 故障排查\n\n### 依赖问题\n\n```bash\n# 重新安装依赖\npip install -r requirements.txt --force-reinstall\n\n# 检查 Python 版本\npython --version  # 需要 3.12+\n```\n\n### API 限制\n\n- 监控 API 调用频率\n- 实现指数退避重试机制\n- 准备备用 API 密钥\n\n### 内容生成失败\n\n- 检查 API 密钥配置\n- 简化输入提示词\n- 查看详细错误日志\n\n## 免责声明\n\n本工具仅供学习和内容创作辅助使用：\n\n- 遵守各平台的使用条款\n- 尊重知识产权和版权\n- 不得用于生成垃圾信息或滥用平台\n- 用户对生成内容的使用负全部责任\n\n## 许可证\n\n本项目基于 AGPL-3.0 许可证开源。使用本 Skill 即表示你同意遵守相关许可条款。\n\n## 相关资源\n\n- [项目文档](https:\u002F\u002Fgithub.com\u002FFujiwaraChoki\u002FMoneyPrinterV2\u002Ftree\u002Fmain\u002Fdocs)\n- [开发路线图](https:\u002F\u002Fgithub.com\u002FFujiwaraChoki\u002FMoneyPrinterV2\u002Fblob\u002Fmain\u002Fdocs\u002FRoadmap.md)\n- [贡献指南](https:\u002F\u002Fgithub.com\u002FFujiwaraChoki\u002FMoneyPrinterV2\u002Fblob\u002Fmain\u002FCONTRIBUTING.md)\n",{"name":5,"version":24,"description":7},"1.0.0","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fc\u002Fcontent-automation",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill content-automation",{"tool":40,"command":41},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill content-automation",{"tool":43,"command":44},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill content-automation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fc\u002Fcontent-automation\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]