Install
openclaw skills install @ares521521-design/icecube-heartbeatš§ IceCube Heartbeat ā Proactive agent maintenance during idle periods. Self-check, memory governance, improvement detection, and evolution triggers. Keeps your agent alive and improving without manual intervention.
openclaw skills install @ares521521-design/icecube-heartbeatThe pulse that keeps your agent alive.
When your agent receives periodic "heartbeat" polls, don't just reply "HEARTBEAT_OK". Use that time to maintain, improve, and evolve.
Problem: Most agents sit idle between user requests. No learning. No improvement. No self-maintenance.
Solution: Heartbeat turns idle time into productive evolution cycles.
Result: An agent that gets better every day, without you doing anything.
unclosed_work.yaml for pending tasksmistake_log.md for new errorssuccess_patterns.md for new wins# HEARTBEAT.md
## čŖę£ä»»å”ļ¼ęÆę¬” heartbeat ę§č”ļ¼
### 1. ē³»ē»å„åŗ·ę£ę„
- [ ] ę£ę„ unclosed_work.yaml äøēå¾
åäŗé”¹
- [ ] ę£ę„ cron ä»»å”ē¶ę
- [ ] ę£ę„ agent sessions ęÆå¦ęå¼åøø
### 2. č®°åæę²»ē
- [ ] ę«ę mistake_log ęÆå¦ęę°é误
- [ ] ę«ę success_patterns ęÆå¦ęę°ęØ”å¼
- [ ] čÆä¼°ęÆå¦éč¦ memory consolidation
### 3. čŖęę¹čæč§¦åę”ä»¶ę£ęµ
- [ ] ęÆå¦ę repeated fallback
- [ ] ęÆå¦ę repeated rollback
- [ ] ęÆå¦ę task stagnation
- [ ] ęÆå¦ęēØę·éå¤ēŗ ę£
### 4. ęč½ę©å±ę£ę„ļ¼ęÆåØäøę¬”ļ¼
- [ ] ClawHub ęÆå¦ęę°ęč½éåå½åéę±
- [ ] pending API é
ē½®ęč½ęÆå¦åÆä»„ęæę“»
In OpenClaw config:
{
"agents": {
"heartbeat": {
"intervalMs": 1800000, // 30 minutes
"prompt": "Read HEARTBEAT.md. Follow it strictly. Reply HEARTBEAT_OK if nothing needs attention."
}
}
}
mistake_log.md:
# Mistake Log
## Format
- Date: YYYY-MM-DD HH:MM
- Mistake: Description
- Impact: What went wrong
- Fix: How to prevent recurrence
success_patterns.md:
# Success Patterns
## Format
- Date: YYYY-MM-DD HH:MM
- Pattern: Description
- Result: What worked well
- Applicability: When to use this pattern
8h since last contact
08:00 Morning heartbeat:
1. Check unclosed_work.yaml ā 3 pending items
2. Check mistake_log ā 1 new entry (fallback loop)
3. Check calendar ā meeting at 10:00
4. Action: Remind user about meeting, flag fallback issue for investigation
5. Reply: "Meeting at 10:00. Found a fallback pattern to fix later."
14:00 Afternoon heartbeat:
1. Check unclosed_work ā same 3 items, no progress on TASK-A
2. Flag: task stagnation >24h
3. Check ClawHub ā new skill matching current project
4. Reply: "TASK-A stalled >24h. New skill available for [project]."
23:00 Evening heartbeat:
1. All checks pass
2. Late night ā stay quiet
3. Reply: HEARTBEAT_OK
ā Don't:
ā Do:
These are safe to do during heartbeat:
icecube-memory: Heartbeat triggers memory distillation weekly icecube-ops: Heartbeat checks system health status icecube-evolution: Heartbeat drives continuous improvement loops
heartbeat-state.json:
{
"lastChecks": {
"email": 1703275200,
"calendar": 1703260800,
"weather": null,
"clawhub": 1703260800
},
"lastPromotion": "2026-03-17",
"heartbeatCount": 42
}
MIT ā Use freely.
Idle time is evolution time.