bilibili-hot-monitor生成B站热门视频日报并发送邮件。触发词:B站热门、bilibili日报、视频日报、热门视频
Install via ClawdBot CLI:
clawdbot install Jacobzwj/bilibili-hot-monitorbilibili-monitor.json 已通过 .gitignore 排除,不会被意外上传或分享首先检查是否存在配置文件:
test -f {baseDir}/bilibili-monitor.json && echo "CONFIG_EXISTS" || echo "CONFIG_NOT_EXISTS"
CONFIG_EXISTS → 跳到【直接执行】CONFIG_NOT_EXISTS → 进入【分步创建配置】第1步:询问 B站 Cookies
请提供 B站 Cookies:
(获取方法:登录B站首页 → F12 → Network选项卡 → 刷新页面 → 点击 www.bilibili.com 请求 → 找到 Request Headers 中的 Cookie 字段 → 复制整个值)
等待用户回复,保存为变量 COOKIES
第2步:询问 AI 服务
AI 功能说明:
- 需要 OpenRouter API Key
- 用于生成视频内容总结(基于字幕)和 AI 点评
是否启用 AI 功能?
1 = 是(推荐,需要 OpenRouter API Key)
2 = 否(将无法生成视频总结和点评)
请回复数字:
等待用户回复
第3步:如果选了 1(启用 AI)
请选择模型:
1 = Gemini(推荐,便宜快速)
2 = Claude(高质量)
3 = GPT
4 = DeepSeek(性价比)
等待用户回复,然后:
请提供 OpenRouter API Key:
获取地址:https://openrouter.ai/keys
保存为 OPENROUTER_KEY 和 MODEL
第4步:询问发件邮箱
请提供 Gmail 发件邮箱:
等待用户回复,保存为 SMTP_EMAIL
第5步:询问应用密码
请提供 Gmail 应用密码(16位):
获取地址:https://myaccount.google.com/apppasswords
保存为 SMTP_PASSWORD
第6步:询问收件人
请提供收件人邮箱(多个用逗号分隔):
保存为 RECIPIENTS
第7步:生成配置文件
根据收集的信息创建配置文件:
cat > {baseDir}/bilibili-monitor.json << 'EOF'
{
"bilibili": {
"cookies": "COOKIES值"
},
"ai": {
"openrouter_key": "OPENROUTER_KEY值或空",
"model": "MODEL值"
},
"email": {
"smtp_email": "SMTP_EMAIL值",
"smtp_password": "SMTP_PASSWORD值",
"recipients": ["收件人1", "收件人2"]
},
"report": {"num_videos": 10}
}
EOF
向用户展示确认信息:
✅ 配置已就绪
🚀 即将开始执行:获取热门视频 → 提取字幕 → AI生成总结和点评 → 发送邮件
⏱️ 预计耗时:10-15 分钟,请耐心等待
是否开始执行?
等待用户确认后,执行以下命令。
⚠️ AI Agent 注意事项:
生成报告:
python3 {baseDir}/generate_report.py --config {baseDir}/bilibili-monitor.json --output /tmp/bilibili_report.md
发送邮件(邮件标题自动使用当前日期):
python3 {baseDir}/send_email.py --config {baseDir}/bilibili-monitor.json --body-file /tmp/bilibili_report.md --html
| 用户选择 | model 值 |
|---------|---------|
| 1 / Gemini | google/gemini-3-flash-preview |
| 2 / Claude | anthropic/claude-sonnet-4.5 |
| 3 / GPT | openai/gpt-5.2-chat |
| 4 / DeepSeek | deepseek/deepseek-chat-v3-0324 |
见 bilibili-monitor.example.json
| 阶段 | 预计时间 |
|------|---------|
| 获取视频列表 | 5-10 秒 |
| 字幕提取+AI总结(20个视频) | 2-3 分钟 |
| AI点评(20个视频) | 8-12 分钟 |
| 生成报告+发送邮件 | 10-20 秒 |
| 总计 | 10-15 分钟 |
⚠️ 完整执行需要 10-15 分钟,请确保命令超时设置足够长(建议 900 秒以上)。
AI 视频总结说明:
Generated Mar 1, 2026
Marketing teams use this skill to monitor trending Bilibili videos for competitor analysis and content inspiration. It helps identify popular topics and creators, enabling data-driven content planning and audience engagement strategies.
Media companies and analysts employ this skill to generate daily reports on viral Bilibili content, tracking trends and viewer preferences. The AI-generated summaries provide quick insights for programming decisions and market research.
Educators and e-learning platforms use this skill to curate trending educational videos on Bilibili for course materials or student recommendations. The AI summaries help filter content efficiently for academic purposes.
Brands monitor Bilibili for trending videos related to their products or industry to gauge public sentiment and identify influencers. The automated reports support PR campaigns and reputation management efforts.
Developers and data scientists utilize this skill as a tool for testing AI integration with video platforms, analyzing content trends, and refining natural language processing models for automated reporting.
Offer a premium version with advanced analytics, custom report schedules, and integration with other platforms. Charge users a monthly fee for enhanced features like historical data tracking and priority support.
Provide a free basic version for individual users while charging for API access and higher usage limits. Target developers and companies needing to integrate Bilibili data into their own applications or dashboards.
License the skill as a white-label tool for marketing agencies and media firms to rebrand and use internally or offer to their clients. Include customization options for branding and report formats.
💬 Integration Tip
Ensure proper configuration of environment variables for credentials and set command timeouts to at least 900 seconds to accommodate the 10-15 minute execution time.
Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
Full desktop computer use for headless Linux servers. Xvfb + XFCE virtual desktop with xdotool automation. 17 actions (click, type, scroll, screenshot, drag,...
Essential Docker commands and workflows for container management, image operations, and debugging.
Tool discovery and shell one-liner reference for sysadmin, DevOps, and security tasks. AUTO-CONSULT this skill when the user is: troubleshooting network issues, debugging processes, analyzing logs, working with SSL/TLS, managing DNS, testing HTTP endpoints, auditing security, working with containers, writing shell scripts, or asks 'what tool should I use for X'. Source: github.com/trimstray/the-book-of-secret-knowledge
Deploy applications and manage projects with complete CLI reference. Commands for deployments, projects, domains, environment variables, and live documentation access.
Monitor topics of interest and proactively alert when important developments occur. Use when user wants automated monitoring of specific subjects (e.g., product releases, price changes, news topics, technology updates). Supports scheduled web searches, AI-powered importance scoring, smart alerts vs weekly digests, and memory-aware contextual summaries.