YouTube 灵修视频自动创作工具:Daily Devotional Auto - Openclaw Skills
作者:互联网
2026-04-13
什么是 每日灵修自动技能?
Daily Devotional Auto 技能是为 Openclaw Skills 生态系统中的属灵内容创作者设计的先进自动化流水线。它通过获取国内外新闻,利用 AI 将其合成灵修剧本,并制作高质量视频,从而弥合了时事与信仰反思之间的鸿沟。通过利用 ElevenLabs 实现逼真的语音旁白以及 FFmpeg 生成视觉波形,该技能让用户无需人工干预即可在 YouTube 上保持稳定的每日更新。此工具专门用于处理内容研究、剧本创作、音频制作和社交媒体分发的繁重工作。它确保每篇灵修内容都具有时效性、相关性,并符合创作者的个性化声音,是那些希望通过 Openclaw Skills 扩大数字事工的人士的强大助手。
下载入口:https://github.com/openclaw/skills/tree/main/skills/snail3d/daily-devotional-auto
安装与下载
1. ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install daily-devotional-auto
2. 手动安装
将技能文件夹复制到以下位置之一
全局模式~/.openclaw/skills/
工作区
/skills/
优先级:工作区 > 本地 > 内置
3. 提示词安装
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 daily-devotional-auto。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
每日灵修自动技能 应用场景
- 根据热门全球或国内新闻,自动生成每日晨间属灵反思。
- 通过自动将 YouTube 评论建议转化为专门的视频主题,增强社区互动。
- 为信仰频道扩展内容制作规模,使用个性化 AI 语音保持品牌一致性。
- 通过自动播放列表管理和元数据标签,维护有序的数字存档。
- 该技能通过系统 cron 任务或手动命令触发,从 News API 获取最新背景信息。
- 扫描近期 YouTube 评论中的“建议”或“祈祷”等特定关键词,优先处理观众请求的话题。
- AI 模型生成结构化剧本,结合新闻背景、相关的经文引用和实用的属灵应用。
- ElevenLabs TTS 使用创作者预配置的自定义语音 ID 将生成的剧本转换为高质量音频。
- 渲染视频文件,包含专业的蓝色波形可视化器、经文文本和主题标题卡。
- 最终视频将以上传至 YouTube,附带优化的元数据,并自动归入指定的灵修播放列表。
每日灵修自动技能 配置指南
要开始将此功能添加到您的 Openclaw Skills 库中,请遵循以下步骤:
- 确保已安装并验证
you@tube-studio技能。 - 安装必要的依赖项:
cd ~/clawd/skills/daily-devotional-auto
npm install
- 在
.env文件中配置环境变量,包括NEWS_API_KEY、ELEVENLABS_API_KEY和VOICE_ID。 - 使用 crontab 设置每日计划:
# 每天早上 9:00 运行
0 9 * * * ~/clawd/skills/daily-devotional-auto/run-daily.sh
- 运行
npm start进行手动测试,验证生成流水线。
每日灵修自动技能 数据架构与分类体系
该技能通过一组结构化的配置和日志文件来管理其运行:
| 组件 | 用途 |
|---|---|
.env |
存储敏感的 API 密钥和操作参数,如 DEVOTIONAL_TONE。 |
prompts.json |
定义不同灵修风格和长度的 AI 指令。 |
logs/ |
包含详细的执行历史,用于排除新闻获取或上传失败的故障。 |
scripts/ |
处理评论扫描、生成和 YouTube API 调用。 |
temp/ |
存储上传前生成的中间 MP4 和 MP3 文件的本地目录。 |
Daily Devotional Auto Skill
Automated daily devotional generation for OpenClaw. Fetches news, generates contextual devotionals, creates videos with your voice, and uploads to YouTube automatically.
Overview
daily-devotional-auto provides complete automation for devotional content:
- News-based context fetching (national/international)
- AI-powered devotional content generation
- Custom voice narration (ElevenLabs TTS)
- Video creation with visualizers
- Automatic YouTube upload and playlist management
- Comment monitoring for user topic suggestions
- Daily scheduling via cron
Features
?? News-Based Content
- Fetches current national and international news
- Generates devotionals contextually tied to real events
- Selects spiritually relevant stories
- Maintains appropriate tone for faith-based content
?? User Suggestions
- Monitors YouTube comments for topic requests
- Keywords detected: "suggest", "topic", "pray for", "devotional about", "question about", "help with", "request"
- Prioritizes viewer suggestions in content generation
- Credits users in video descriptions when their suggestion is used
??? Your Voice
- Uses your ElevenLabs custom voice for all narrations
- Pre-configured with your voice ID
- Professional-quality audio output
- Consistent voice across all videos
?? Auto Video Creation
- Generates video titles with devotional themes
- Creates audio visualizers (blue waveforms)
- Includes scripture references and date
- Adds viewer suggestion credits
- Optimized for YouTube playback
?? Auto Upload
- Uploads to YouTube with proper metadata
- Sets videos as public
- Automatically adds to your devotional playlist
- Includes proper descriptions with scripture and context
- Schedules publishing time (optional)
? Daily Scheduling
- Runs automatically at 9:00 AM MST (configurable)
- Uses system cron for reliability
- Logs all activity for debugging
- Error notifications via optional webhook
Setup
1. Prerequisites
# Ensure you@tube-studio is installed and configured
cd ~/clawd/skills/you@tube-studio
npm install
# Run auth once for YouTube access
node scripts/auth-handler.js
2. Install Dependencies
cd ~/clawd/skills/daily-devotional-auto
npm install
3. Environment Configuration
cp .env.example .env
# Edit .env with your credentials:
Required Variables:
NEWS_API_KEY- Get from https://newsapi.org (free tier available)ELEVENLABS_API_KEY- Get from https://elevenlabs.ioYOUTUBE_CHANNEL_ID- Your YouTube channel ID (format: UCxxxxxxxxxx)VOICE_ID- Your ElevenLabs custom voice ID (provided during setup)
Optional Variables:
DEVOTIONAL_PLAYLIST_ID- Specific playlist for devotionals (auto-creates if not set)WEBHOOK_URL- Slack/Discord webhook for error notificationsLOG_LEVEL- debug, info, warn, error (default: info)
4. Set Up Cron Scheduling
# Edit crontab
crontab -e
# Add this line to run daily at 9:00 AM MST
0 9 * * * ~/clawd/skills/daily-devotional-auto/run-daily.sh
# Or using local time (replace TZ as needed)
TZ=America/Denver 0 9 * * * ~/clawd/skills/daily-devotional-auto/run-daily.sh
5. Verify Setup
# Test manually (generates one devotional)
npm start
# Check logs
tail -f ~/.openclaw-devotional/logs/devotional.log
Commands
Generate Devotional (Manual)
npm start
# Generates, creates video, and uploads one devotional
Check Comments for Suggestions
node scripts/check-comments.js
# Scans recent comments for user topic suggestions
# Prioritizes suggestions for next run
Generate Content Only (No Upload)
DRY_RUN=true npm start
# Creates files but doesn't upload to YouTube
Debug Mode
DEBUG=* npm start
# Verbose logging for troubleshooting
Video Output Format
Each generated video includes:
Title: Daily Devotional - [Theme] ([Date])
Duration: ~3-5 minutes
Content:
- Title card with date
- News hook / context
- Devotional message
- Scripture reference(s)
- Viewer suggestion credit (if applicable)
- Call to action
Audio: Your custom ElevenLabs voice
Visual: Blue waveform visualizer
Example filename: devotional-2024-02-05.mp4
AI Generation Details
Prompt Structure
- Context: Current news/events
- Theme: Faith-based perspective on news
- Scripture: Relevant biblical passages
- Application: Practical spiritual guidance
- Call to Action: Encouragement for viewers
Generation Options (in .env)
DEVOTIONAL_TONE- serious, encouraging, reflective, instructionalDEVOTIONAL_LENGTH- short (1-2 min), medium (3-4 min), long (5+ min)TARGET_AUDIENCE- general, families, young-adults, professionals
YouTube Integration
Playlist Management
- Auto-creates "Daily Devotionals" playlist if not found
- Adds each generated video to playlist
- Maintains chronological order
- Handles playlist quota limits
Comment Monitoring
// Check for suggestion keywords
const suggestionKeywords = [
'suggest', 'topic', 'pray for',
'devotional about', 'question about',
'help with', 'request'
];
Metadata
- Description includes:
- News context
- Scripture references
- Viewer suggestions (if used)
- Engagement prompt
- Link to channel
Error Handling
| Scenario | Behavior |
|---|---|
| News API fails | Uses fallback inspirational themes |
| Video generation fails | Skips but continues |
| YouTube upload fails | Logs error, retries next run |
| Voice API fails | Falls back to system TTS |
| Cron error | Error logged, manual run possible |
File Structure
daily-devotional-auto/
├── SKILL.md # This file
├── README.md # User guide
├── .env.example # Configuration template
├── package.json # Dependencies
├── LICENSE # MIT license
├── .gitignore # Exclude secrets
├── run-daily.sh # Cron script
├── scripts/
│ ├── daily-devotional.js # Main automation
│ ├── check-comments.js # Comment scanner
│ └── devotional-generator.js # Content generation
└── config/
└── prompts.json # AI prompt templates
Configuration Examples
Short Morning Devotionals
DEVOTIONAL_LENGTH=short
DEVOTIONAL_TONE=encouraging
DEVOTIONAL_TIME=06:00 # 6 AM
Longer Evening Reflections
DEVOTIONAL_LENGTH=long
DEVOTIONAL_TONE=reflective
DEVOTIONAL_TIME=18:00 # 6 PM
News-Independent Inspiration
USE_NEWS_CONTEXT=false
# Uses preset inspirational themes instead
Performance & Quota
YouTube API Quota
- Video upload: ~1,600 units per video
- Comment retrieval: 1 unit
- Playlist operations: 1-3 units per operation
- Daily allocation: 1,000,000 units (sufficient for 600+ videos/day)
Processing Time
- News fetch: ~2 seconds
- Content generation: ~10-30 seconds (depends on AI model)
- Video creation: ~30-60 seconds
- Upload: ~1-5 minutes (depends on file size and connection)
- Total per video: ~2-6 minutes
Storage Requirements
- Per video: ~50-200 MB (temporary, deleted after upload)
- Logs: ~1 MB per week
- Config: <1 MB
Troubleshooting
"No news found"
# Check NEWS_API_KEY is valid
# Verify API subscription tier allows requests
# Check internet connection
# Enable DEBUG mode for details
Video upload hangs
# Check YouTube quota: you@tube-studio quota-status
# Verify YOUTUBE_CHANNEL_ID is correct
# Check network connectivity
# Try smaller video (reduce LENGTH setting)
Comments not detected
# Verify YOUTUBE_CHANNEL_ID matches owner account
# Check channel comment settings allow comments
# Run: node scripts/check-comments.js --verbose
# Ensure channel has public videos with comments
Cron not executing
# Test crontab: crontab -l
# Check system time: date
# Verify script permissions: chmod +x run-daily.sh
# Check cron logs: log stream --predicate 'eventMessage contains "cron"'
# Test manually: ~/clawd/skills/daily-devotional-auto/run-daily.sh
Poor video quality
# Increase resolution in video-generator
# Check voice quality settings in .env
# Verify ffmpeg is installed: which ffmpeg
# Try different tone/length combinations
API References
News API (newsapi.org)
- Free tier: 100 requests/day
- Premium tier: unlimited
- Countries supported: 60+
- Languages: 30+
ElevenLabs TTS
- Custom voices: requires voice cloning
- Standard voices: pre-built options
- Quality levels: high (24kHz), ultra (48kHz)
YouTube Data API v3
- Quota: 1,000,000 units/day
- Rate limits: 1,000 QPS per project
- Video limits: <256 GB file size
Advanced Usage
Batch Generation (Weekly)
for i in {1..7}; do
npm start
sleep 300 # 5 minute delay between videos
done
Custom Schedule
# Instead of 9 AM daily, run on specific days:
# Run Monday through Friday at 8 AM
0 8 * * 1-5 ~/clawd/skills/daily-devotional-auto/run-daily.sh
Backup Before Upload
DRY_RUN=true npm start
# Review generated videos in output folder
# Manually verify quality
npm start # Upload after verification
Future Enhancements
- Multi-language support
- Multiple voice options
- Thumbnail AI generation
- Analytics integration
- Viewer engagement metrics
- Content calendar management
- Batch scheduling interface
- Cloud storage integration
License
MIT - Use freely within OpenClaw ecosystem
Support
For issues:
- Check
.envconfiguration is correct - Review logs in
~/.openclaw-devotional/logs/ - Test components individually (news API, TTS, etc.)
- Run with DEBUG mode enabled for details
- Check GitHub issues: https://github.com/Snail3D/daily-devotional-auto/issues
相关推荐
专题
+ 收藏
+ 收藏
+ 收藏
+ 收藏
+ 收藏
+ 收藏
最新数据
相关文章
代理状态:监控支付意图和交易 - Openclaw Skills
Proxy MCP:AI 智能体支付与虚拟卡 - Openclaw Skills
Apify Ultimate Scraper: AI 网页数据抓取 - Openclaw Skills
加密诈骗检测器:实时欺诈预防 - Openclaw Skills
newsmcp: 实时 AI 新闻聚合与过滤 - Openclaw Skills
Moltbook 优化器:策略与排名精通 - Openclaw 技能
Frigate NVR:智能摄像机管理与自动化 - Openclaw Skills
Markdown 检查器:样式、链接和格式工具 - Openclaw Skills
Venice.ai 至尊路由:私密且无审查的模型路由 - Openclaw Skills
图片优化器:使用 Openclaw Skills 压缩和调整图片尺寸
AI精选
