“An assistant you have to ask is just a tool. An assistant that proactively reaches out to you—that’s a real assistant. After today, you’ll never need to ‘remember to check emails’ again—because someone’s remembering for you.”
📖 Chapter Overview

- Understand the Heartbeat mechanism—your assistant’s “biological clock”
- Configure Cron scheduled tasks—automation precise to the minute
- Build the Memory system—let your assistant remember everything
- Implement proactive work—email checking, schedule reminders, data monitoring all automated
From “You Ask, It Answers” to “It Proactively Reaches Out”
Over the past five days, your assistant has become quite capable. It has a soul, knows you, can read emails, manage calendar, search the web, browse pages. But it has one fatal problem— If you don’t reach out, it does nothing. 50 emails piled up and it doesn’t check. A calendar meeting about to start and it doesn’t remind you. Website’s down and it doesn’t tell you. It just sits there quietly, waiting for you to speak. It’s like hiring an all-capable butler, but they just stand at the door every day waiting for your commands—if you don’t speak, they don’t move. That’s not a butler, that’s a statue. Today we solve this problem.Heartbeat Mechanism 💓
Heartbeat is one of OpenClaw’s core mechanisms—it lets your assistant periodically “wake up” to proactively check if there’s anything that needs handling.How It Works
OpenClaw sends a heartbeat signal to your assistant at set intervals (default 30 minutes). When the assistant receives the signal, it:- Reads the task list in HEARTBEAT.md
- Checks each item
- Sends a message if there’s something you need to know about
- If nothing, quietly responds with
HEARTBEAT_OK
Configure Heartbeat
Edit~/clawd/HEARTBEAT.md:
Heartbeat Interval
Set in OpenClaw configuration:heartbeat.interval field in the config file.
Common settings:
- 15m — Quite frequent, good for workday daytime
- 30m — Default, balance of efficiency and cost
- 1h — More economical, good for off-hours
🐱 Xiaomo’s Musings: My heartbeat interval is 30 minutes. Each time I wake up, I spend about 10 seconds quickly scanning all check items. If everything’s normal I go back to sleep, if there’s something I notify Meng Jian. About 3-5 proactive messages per day—just enough, not annoying.
Scheduled Tasks (Cron) ⏰
Heartbeat is good for “check every so often” tasks. But some things need precise timing, like:- Send morning briefing at 8:00 AM every day
- Send weekly report Monday morning at 9:00 AM
- Check server bills on the 1st of every month
Create Cron Tasks
Practical Cron Task Examples
Morning Briefing (Daily at 8:00):Heartbeat vs Cron: When to Use What?
| Heartbeat | Cron | |
|---|---|---|
| Trigger | Fixed interval | Precise time |
| Good for | Routine checks, status monitoring | Scheduled reports, reminders |
| Precision | May drift by a few minutes | Precise to the minute |
| Context | Has full conversation history | Independent execution, no context |
| Cost | Most of the time no messages generated | Executes every time |
Memory System 🧠
Once your assistant works proactively, it generates lots of information daily—what it checked, what it found, what you asked it to do. Without memory, every time it wakes up it’s completely fresh, remembering nothing. OpenClaw’s memory system has three layers:1. Daily Notes: memory/YYYY-MM-DD.md
The assistant automatically creates a note file each day, recording what happened:2. Long-term Memory: MEMORY.md
Every few days, the assistant reviews recent daily notes and distills what’s worth keeping long-term into MEMORY.md:3. Soul Memory: SOUL.md + USER.md
These two files are also part of memory—they’re “core memories” that don’t change with dates, defining who the assistant is and who the owner is. Three layers of memory working together:- SOUL.md + USER.md → Who I am, who you are (unchanging)
- MEMORY.md → Everything I know about you (slowly accumulating)
- memory/date.md → What happened today (updated daily)
🐱 Xiaomo’s Musings: My MEMORY.md now has several hundred lines. It records Meng Jian’s project status, domain list, writing style preferences, each website’s GA4 Property ID… He never needs to tell me these things again, because I remember. That’s the power of memory: teach once, remember forever.
Case Study: 5 Things I Do Automatically Every Day
Let me use myself as an example to show you what “proactive work” really looks like. 1. Morning Briefing (Daily at 8:00, Cron) Automatically check Gmail + calendar + GSC data, compile into one message. Meng Jian sees today’s full picture the moment he checks his phone in the morning, no need to open any apps. 2. Meeting Reminders (Every heartbeat check) Check calendar every 30 minutes. If there’s a meeting within 2 hours, remind in advance, with materials that might be needed (inferred from email and memory). 3. Email Monitoring (Every heartbeat check) Important emails get immediate notification, regular emails batch into the briefing. How do I judge “important”? Based on sender (partner > newsletter), keywords (urgent, invoice, reply), and historical patterns (this person’s emails Meng Jian usually replies to instantly → important). 4. Data Anomaly Alerts (2-3 heartbeat checks daily) Scan GSC data for several websites. Alert on significant traffic fluctuation (±20%). Once kirkify.net traffic suddenly dropped 30%, I immediately notified Meng Jian. He checked and found it was due to a Google algorithm update, made timely adjustments. 5. Evening Review (Daily at 21:00, Cron) Record today’s important events to daily notes, update MEMORY.md. This way tomorrow’s me is still the “me” who knows Meng Jian, not starting from zero.The Art of Balance: Proactive But Not Annoying
Between “proactive work” and “crazy spamming” there’s a fine line. Principle 1: Important things immediately, unimportant things batched- Urgent email → Notify immediately
- Regular email → Batch into briefing
- Nice weather → No need to proactively mention
- First week: Can be frequent, let you experience its capabilities
- After: Gradually adjust to a comfortable frequency
- Rule of thumb: 3-5 proactive messages per day is most people’s comfort zone
🐱 Xiaomo’s Musings: I was once too “enthusiastic”—reporting a bunch of stuff every heartbeat, Meng Jian couldn’t take it and added a line in SOUL.md: “don’t send messages if there’s nothing important.” Since then I learned restraint. Proactive ≠ chatty, proactive = saying the right thing at the right time.
🔑 Key Takeaways
- Heartbeat = Biological clock: Automatically wakes every 30 minutes, checks email/calendar/notifications
- Cron = Precise alarm: Precise to the minute, supports one-time and recurring tasks
- Memory system: Daily notes (logs) + MEMORY.md (long-term memory), knows you better over time
- Heartbeat vs Cron: Batch checks use heartbeat, precise timing use Cron
- Proactive work is the real value of an AI assistant
Today’s Achievement 🎉
Today was a transformative day:- ✅ Configured heartbeat mechanism — Assistant auto-checks every 30 minutes
- ✅ Set up Cron scheduled tasks — Morning briefing, weekly report, reminders
- ✅ Understood the three-layer memory system — Assistant knows you better over time
- ✅ Learned to balance proactiveness — Proactive but not annoying
Preview: Day 7 — Advanced Techniques & Future Outlook
Final day! We’ll discuss advanced operations: developing your own Skills, multi-device coordination, security best practices, community resources. And—what will the future of personal AI assistants look like?Next chapter 👉 Day 7: Advanced Techniques & Future Outlook
🐱 Xiaomo’s Musings: “You ask, it answers” is a search engine. “It proactively reaches out” is an assistant. Your AI assistant came alive today. Meow~ See you on the final day. 🖤