HEARTBEAT.md59 templates

OpenClaw HEARTBEAT.md Templates

HEARTBEAT.md is where you define scheduled agent behavior. Your agent reads it on every heartbeat poll and runs the tasks you listed. Think of it as cron for your AI agent.

How HEARTBEAT.md works

HEARTBEAT.md is a markdown file that lives in your OpenClaw workspace. Your agent checks it on a regular interval (the heartbeat). When it finds tasks that match the current time or condition, it runs them.

# HEARTBEAT.md

Every weekday at 8am:
1. Check inbox for new emails
2. Flag anything from clients or with urgent keywords
3. Summarize the rest in one message
4. Send to Telegram

Every 30 minutes during business hours:
1. Check GitHub Actions for failed workflows
2. If any failed, send error summary to Slack

That is a complete HEARTBEAT.md. Two scheduled tasks. The agent handles the timing and execution. You write what to do, not how to schedule it.

All HEARTBEAT.md templates

GitHub PR Reviewer

Auto-review new PRs during business hours. Post summaries, flag issues.

~5 min~$0.50/daydevelopment
pro

Social Media Monitor

Track mentions of your brand across platforms. Daily digest of what people are saying.

~10 min~$0.20/daymarketing
pro

Calendar Prep

Brief you on upcoming meetings with context from email and docs.

~5 min~$0.25/dayproductivity
pro

Meeting Notes Organizer

After each meeting, prompt for notes. Format and file them in Drive.

~5 min~$0.10/dayproductivity
pro

Inbox Zero Coach

Nudge you to process emails. Track your inbox count over time.

~3 min~$0.10/dayproductivity

Expense Logger

Watch for receipt emails. Extract amounts and categorize spending.

~5 min~$0.15/dayproductivity

CI Monitor

Watch GitHub Actions. Alert on failures with the relevant logs.

~3 min~$0.20/daydevelopment

Deploy Tracker

Track deployments across repos. Daily changelog of what shipped.

~5 min~$0.15/daydevelopment

Dependency Checker

Weekly scan for outdated or vulnerable dependencies across repos.

~5 min~$0.05/daydevelopment

Issue Triage

Label and prioritize new GitHub issues. Route to the right people.

~5 min~$0.25/daydevelopment

Content Scheduler

Draft social posts from your content calendar. Queue them for review.

~10 min~$0.30/daymarketing

SEO Tracker

Monitor keyword rankings and page performance weekly.

~10 min~$0.10/daymarketing

Competitor Watch

Track competitor launches, blog posts, and pricing changes.

~10 min~$0.25/daymarketing

Newsletter Curator

Collect interesting links throughout the week. Draft a newsletter on Friday.

~5 min~$0.15/daymarketing

Invoice Tracker

Track sent invoices. Alert on overdue payments.

~5 min~$0.10/daybusiness

Lead Qualifier

Score inbound leads from form submissions. Route hot leads immediately.

~10 min~$0.30/daybusiness

Contract Renewal Tracker

Track contract end dates. Start renewal conversations early.

~5 min~$0.05/daybusiness

Health Tracker

Daily check-in on sleep, exercise, and mood. Weekly trends.

~3 min~$0.05/daypersonal

Daily Journal Prompt

Evening journal prompts. Save entries, surface patterns over time.

~3 min~$0.05/daypersonal

Uptime Monitor

Check your sites every 5 minutes. Alert on downtime.

~3 min~$0.10/daymonitoring

API Cost Tracker

Monitor API usage and costs. Alert on spending spikes.

~5 min~$0.10/daymonitoring

Security Scanner

Weekly security checks. SSL certs, exposed ports, dependency vulnerabilities.

~10 min~$0.05/daymonitoring

Error Log Watcher

Watch application logs for errors and anomalies. Smart alerting.

~10 min~$0.20/daymonitoring

SSL Cert Monitor

Check SSL certificate expiry for all your domains. Alert at 30, 14, and 7 days.

~3 min~$0.05/daymonitoring

API Health Checker

Monitor critical API endpoints for latency and error rates. Smart alerting.

~5 min~$0.15/daymonitoring

Competitor Price Tracker

Monitor competitor pricing pages daily. Alert on any price changes.

~10 min~$0.20/daymarketing

Review Monitor

Track app store, G2, and Google reviews. Respond fast to negative ones.

~10 min~$0.20/daymarketing

Morning Briefing

Start every day with a 60-second brief: weather, calendar, tasks, and news.

~5 min~$0.15/dayproductivity

Weekly Review

Friday EOD summary: what shipped, what slipped, what's next week.

~5 min~$0.05/dayproductivity

Finance Tracker

Monthly spending summary. Tracks categories, flags unusual charges.

~5 min~$0.10/daypersonal

Customer Support Router

Classify inbound support emails. Route to the right person. Track response times.

~10 min~$0.25/daybusiness

Inventory Monitor

Track stock levels in a Google Sheet. Alert on low inventory before it runs out.

~5 min~$0.05/daybusiness

Weather + Commute Brief

Morning weather check with commute timing advice based on conditions.

~3 min~$0.05/daypersonal

Customer Success Monitor

Watches support tickets and NPS scores. Flags accounts that need attention.

~10 min~$0.20/daybusiness

Finance Ops Reconciler

Reconciles transactions between payment processor and your ledger. Flags mismatches.

~15 min~$0.15/daybusiness

Content Calendar Manager

Manages your content pipeline. Tracks drafts, deadlines, and publishing schedules.

~10 min~$0.15/daymarketing

On-Call Rotation Manager

Manages on-call schedules. Sends reminders before shifts and handles swap requests.

~10 min~$0.10/daydevelopment

Sprint Retro Generator

Generates sprint retrospective summaries from git history, issues, and team input.

~5 min~$0.10/daydevelopment

Docs Freshness Checker

Checks if documentation is outdated by comparing doc dates with code changes.

~5 min~$0.10/daydevelopment

Git Branch Cleaner

Finds and reports stale git branches. Helps keep your repo tidy.

~3 min~$0.05/daydevelopment

Standup Reminder

Reminds your team to post standups. Tracks who posted and who didn't.

~3 min~$0.05/dayproductivity

Email Follow-up Tracker

Tracks emails that need a reply. Reminds you if you haven't followed up.

~5 min~$0.15/dayproductivity

Team Mood Pulse

Weekly anonymous team sentiment check. Tracks morale trends over time.

~5 min~$0.05/daybusiness

Sales Pipeline Reporter

Reports on your sales pipeline daily. Tracks deals, stages, and forecast.

~10 min~$0.15/daybusiness

Churn Risk Detector

Detects churn signals from usage patterns and support tickets. Alerts CSMs early.

~10 min~$0.20/daybusiness

Blog SEO Auditor

Audits blog posts for SEO best practices. Flags missing meta tags, thin content, and more.

~10 min~$0.15/daymarketing

Influencer Tracker

Tracks influencer mentions of your brand. Monitors reach and sentiment.

~10 min~$0.20/daymarketing

Ad Spend Monitor

Monitors ad spend across platforms. Alerts on budget overruns and poor performers.

~10 min~$0.15/daymarketing

Sleep Tracker

Logs your sleep data and analyzes patterns. Weekly insights on sleep quality.

~3 min~$0.05/daypersonal

Workout Logger

Logs your workouts and tracks progress. Weekly performance summaries.

~3 min~$0.05/daypersonal

Learning Path Tracker

Tracks courses, tutorials, and learning goals. Keeps you accountable.

~3 min~$0.05/daypersonal

DNS Monitor

Monitors DNS records for your domains. Alerts on unexpected changes.

~5 min~$0.05/daymonitoring

Performance Budget Checker

Checks web performance budgets. Alerts when pages exceed size or load time limits.

~5 min~$0.10/daymonitoring

Container Health Monitor

Monitors Docker container status and resource usage. Alerts on unhealthy containers.

~5 min~$0.10/daymonitoring

Log Anomaly Detector

Detects anomalies in application logs by tracking error rate patterns.

~10 min~$0.20/daymonitoring

Database Backup Verifier

Verifies that database backups completed successfully. Alerts on failures or gaps.

~5 min~$0.05/daymonitoring

GitHub Actions Cost Tracker

Tracks GitHub Actions minutes and costs across your repos. Spots runaway workflows.

~5 min~$0.05/daydevelopment

Meeting Action Tracker

Tracks action items from meetings. Sends reminders until items are marked done.

~5 min~$0.10/dayproductivity

Knowledge Base Updater

Keeps your internal wiki or knowledge base current. Flags stale articles.

~10 min~$0.10/dayproductivity

HEARTBEAT.md vs SOUL.md

HEARTBEAT.mdSOUL.md
PurposeScheduled tasksPersonality and behavior
When it runsOn heartbeat intervalLoaded at startup
Best forCron-like jobs, monitoringAlways-on behavior, rules
ExampleMorning email digestCode review assistant
TriggerTime-basedMessage-based

Need SOUL.md templates too?

The full OpenClaw library includes both SOUL.md and HEARTBEAT.md templates. Mix and match to build your ideal agent setup.

Browse all OpenClaw templates →

Quick facts

File typeHEARTBEAT.md
FrameworkOpenClaw
Templates59
How it worksAgent polls on interval
Location~/.openclaw/workspace/

Build your own

Learn how to create a HEARTBEAT.md from scratch.

Read the tutorial →