定时任务和心跳

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

创建定时任务

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

定时任务命令
/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 定时器。

询问代理
Create a schedule that sends me the Dinant weather forecast every day at 8am.

仪表盘控制

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

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

Hacker News brief

Fetch HN top/new stories, compare recent memory, and send only notable new AI, coding, infra, security, startup, and open-source stories.

Repo health check

Inspect git status, dependency updates, failing checks, and local test risk before the day starts.

Server monitor

Check weather alerts, power outages, reachability, and local incident sources for a remote server site.

心跳

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

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

报告质量

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

提示风格
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.