Heartbeat
Design better OpenClaw HEARTBEAT.md files with adaptive cadence, safe checks, and cron handoffs for precise schedules.
Design better OpenClaw HEARTBEAT.md files with adaptive cadence, safe checks, and cron handoffs for precise schedules.
Real data. Real impact.
Growing
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
Build reliable heartbeat playbooks for OpenClaw agents without noisy checks, missed signals, or runaway costs.
On first use, follow
setup.md to capture timezone, active hours, precision needs, and risk tolerance.
User wants a better heartbeat file in OpenClaw. Agent audits current heartbeat behavior, designs a safer file, and tunes intervals using real workflow constraints.
Use this for adaptive monitoring, proactive check-ins, and hybrid heartbeat plus cron strategies.
Memory lives in
~/heartbeat/. See memory-template.md for the structure and fields.
~/heartbeat/ āāā memory.md # Preferences, cadence profile, and last tuning decisions āāā drafts/ # Candidate heartbeat variants āāā snapshots/ # Previous heartbeat versions for rollback
| Topic | File |
|---|---|
| Setup interview | |
| Memory schema | |
| Production heartbeat template | |
| Practical heartbeat use cases | |
| Interval strategy reference | |
| Trigger strategy reference | |
| Validation checklist before shipping | |
| Internet research sources | |
Define one mission sentence and 1-3 monitored signals first.
If scope is broad, split into explicit sections (
critical, important, nice-to-have) and only automate the first two.
If nothing actionable is found, heartbeat must return exactly
HEARTBEAT_OK.
Do not emit summaries on empty cycles. This prevents noisy loops and keeps heartbeat cheap.
Start from OpenClaw defaults and adapt: use a moderate baseline interval, then tighten only during active windows.
Always encode timezone and active hours in the heartbeat file to avoid waking during sleep hours.
If a task must run at exact wall-clock times, move it to cron.
If a task should react to changing context or event probability, keep it in heartbeat.
Use a two-stage pattern: cheap precheck first, expensive action only on threshold hit.
Never call paid APIs on every heartbeat cycle unless the user explicitly accepts the cost.
Each alert condition must have trigger threshold, escalation route, and cooldown period.
No escalation path means no alert. No cooldown means likely alert spam.
Before finalizing, run at least one dry simulation against the checklist in
qa-checklist.md.
Keep a snapshot of the previous heartbeat so the user can rollback in one step.
HEARTBEAT_OK fallback -> verbose no-op loops.Data that stays local:
~/heartbeat/This skill does NOT:
Install with
clawhub install <slug> if user confirms:
schedule - Scheduling patterns for recurring workflowsmonitoring - Monitoring strategies and alert designalerts - Alert routing and escalation hygieneworkflow - Multi-step workflow orchestrationcopilot - Proactive assistant patterns with controlled autonomyclawhub star heartbeatclawhub syncNo automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
Ā© 2026 Torly.ai. All rights reserved.