定时任务和心跳

创建循环的 Libre Claw 运行,将报告路由到 Telegram 或文件,立即触发作业,并保持周期性心跳检查。

创建定时任务

定时任务是本地守护进程作业。它们可以保存报告、通知 Telegram,并使用全局提供商/模型默认值(除非被覆盖)。

bash 定时任务命令
/schedule examples
/schedule add "daily 09:00" "Daily repo health" "Check git status, tests, dependencies, and security alerts."
/schedule list
/schedule run <id>

代理创建的定时任务

代理可以使用需授权的 schedule_list 和 schedule 工具创建、更新、暂停、恢复、删除和列出 Libre Claw 自动化。它应该使用这些而不是告诉你编辑主机 cron、launchd 或 systemd 定时器。

text 询问代理
Create a schedule that sends me the Montreal weather forecast every day at 8am America/Montreal.

仪表盘控制

仪表盘可以从定时任务卡片创建、编辑、暂停、删除和立即运行一次迭代。

bash 守护进程
libre-claw daemon
open http://127.0.0.1:8766/dashboard

Hacker News 简报

获取 HN 热门和最新内容,与近期记忆比较,只发送值得关注的 AI、编程、基础设施、安全、创业和开源新闻。

仓库健康检查

在一天开始前检查 git 状态、依赖更新、失败的检查以及本地测试风险。

服务器监控

检查远程服务器站点的天气警报、停电、可达性和本地事件来源。

心跳

心跳是用于\"盯着这个\"任务的轻量级周期性检查。

bash 心跳
/heartbeat status
/heartbeat start every 30 minutes
/heartbeat once
/heartbeat stop

报告质量

对于定时报告,编写要求最终简洁报告并要求模型隐藏过程叙述的提示。

text 提示风格
Fetch Hacker News top/new stories, compare recent memory, and send only new notable stories. Include title, link, score/comments, and one sentence on why it matters. Keep it under 8 bullets.