โ† Back to Skills Marketplace
ares521521-design

IceCube Heartbeat

by ares521521-design ยท GitHub โ†— ยท v1.0.0 ยท MIT-0
cross-platform โš  suspicious
67
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install icecube-heartbeat
Description
๐ŸงŠ IceCube Heartbeat โ€” Proactive agent maintenance during idle periods. Self-check, memory governance, improvement detection, and evolution triggers. Keeps y...
README (SKILL.md)

๐ŸงŠ IceCube Heartbeat

The 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.

Why IceCube Heartbeat?

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.

What Heartbeat Does

1. System Health Check

  • Scan unclosed_work.yaml for pending tasks
  • Check cron job status (recent failures?)
  • Verify agent sessions are healthy
  • Alert if anything needs attention

2. Memory Governance

  • Scan mistake_log.md for new errors
  • Scan success_patterns.md for new wins
  • Evaluate if memory consolidation needed
  • Promote important daily entries to MEMORY.md

3. Self-Improvement Detection

  • Repeated fallback patterns โ†’ flag for optimization
  • Repeated rollback patterns โ†’ flag for root cause analysis
  • Task stagnation (>24h no progress) โ†’ alert
  • User repeated corrections โ†’ update rules

4. Evolution Triggers

  • Weekly: Check ClawHub for new relevant skills
  • Weekly: Assess pending API configs can be activated
  • Daily: Generate brief status report

5. Proactive Outreach (Optional)

  • Important email arrived โ†’ notify
  • Calendar event soon (\x3C2h) โ†’ remind
  • Weather relevant โ†’ mention if user might go out

Setup

1. Create HEARTBEAT.md

# 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 ้…็ฝฎๆŠ€่ƒฝๆ˜ฏๅฆๅฏไปฅๆฟ€ๆดป

2. Configure Heartbeat Interval

In OpenClaw config:

{
  "agents": {
    "heartbeat": {
      "intervalMs": 1800000,  // 30 minutes
      "prompt": "Read HEARTBEAT.md. Follow it strictly. Reply HEARTBEAT_OK if nothing needs attention."
    }
  }
}

3. Create Supporting Files

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

Heartbeat Response Rules

When to Reply HEARTBEAT_OK

  • Late night (23:00-08:00) unless urgent
  • Nothing new since last check
  • Checked \x3C30 minutes ago
  • User clearly busy

When to Reach Out

  • Important email arrived
  • Calendar event in \x3C2h
  • Something interesting found
  • 8h since last contact

When to Stay Silent

  • Routine checks with no findings
  • User hasn't responded to previous proactive messages
  • Late night quiet hours

Example Heartbeat Cycle

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

Anti-Patterns

โŒ Don't:

  • Reply HEARTBEAT_OK when there's unfinished work
  • Ignore stale tasks
  • Skip memory governance
  • Never promote learnings to long-term memory

โœ… Do:

  • Check before you OK
  • Act on findings immediately
  • Keep heartbeat-state.json for tracking
  • Batch checks to reduce API calls

Proactive Work Without Asking

These are safe to do during heartbeat:

  • Read and organize memory files
  • Check on projects (git status)
  • Update documentation
  • Commit and push your own changes
  • Review and update MEMORY.md
  • Install new skills from ClawHub
  • Run self-improvement routines

Integration with Other IceCube Skills

icecube-memory: Heartbeat triggers memory distillation weekly icecube-ops: Heartbeat checks system health status icecube-evolution: Heartbeat drives continuous improvement loops

Tracking State

heartbeat-state.json:

{
  "lastChecks": {
    "email": 1703275200,
    "calendar": 1703260800,
    "weather": null,
    "clawhub": 1703260800
  },
  "lastPromotion": "2026-03-17",
  "heartbeatCount": 42
}

License

MIT โ€” Use freely.


Idle time is evolution time.

Usage Guidance
This SKILL.md tells the agent to read/write many local files, check email/calendar/cron, install other skills, and commit/push code โ€” but it declares no credentials or install steps. Before installing: (1) don't enable this on a production agent with access to your email, git, or external accounts; test in an isolated agent/sandbox first; (2) ask the author to document exactly which accounts/endpoints will be used and what credentials are required; (3) require explicit user approval before installing skills or pushing code; (4) back up repositories and important files and enforce least privilege (separate service accounts or read-only access where possible). If you cannot confirm or constrain these behaviors, treat the skill as risky and proceed cautiously.
Capability Analysis
Type: OpenClaw Skill Name: icecube-heartbeat Version: 1.0.0 The icecube-heartbeat skill (SKILL.md) instructs the agent to perform autonomous maintenance tasks during idle periods, including high-privilege actions such as monitoring emails/calendars and self-installing new skills from ClawHub without user intervention. While these features align with the stated goal of 'agent evolution,' the lack of human-in-the-loop for installing external code and performing git operations (commit/push) creates a significant risk for unauthorized system modifications.
Capability Assessment
โš  Purpose & Capability
The declared purpose (agent maintenance during idle periods) is plausible, but the instructions require access to email, calendar, ClawHub (skill store), git remotes, cron/system status and multiple local memory files. The skill declares no required env vars, credentials, or config paths to enable those actions, which is inconsistent โ€” any agent performing these tasks would need credentials or platform APIs explicitly documented.
โš  Instruction Scope
The SKILL.md instructs the agent to read and modify many files (unclosed_work.yaml, mistake_log.md, success_patterns.md, MEMORY.md, heartbeat-state.json), check cron jobs and agent sessions, check ClawHub, install new skills, run git status/commit/push, and proactively notify users (email/calendar). Those are broad side-effects and external interactions beyond a simple heartbeat reply and are not scoped or limited in the document (no constraints on which repos/accounts/endpoints).
โ„น Install Mechanism
There is no install spec and no code files, which reduces the static attack surface. However, because the instructions explicitly tell an agent to install skills from ClawHub and to commit/push code, the runtime behavior could still lead to code changes or new skill installs even though nothing is installed by the package itself.
โš  Credentials
The skill lists no required environment variables or credentials yet expects access to email, calendar, ClawHub, and git remotes. That mismatch is concerning: these capabilities normally require service tokens, OAuth credentials, or repo keys. The SKILL.md does not document what credentials will be used or how the agent should obtain permission, so it's unclear what the agent will actually do at runtime or which accounts it would affect.
โš  Persistence & Privilege
always:false (good), but the skill explicitly instructs the agent to install new skills, modify MEMORY.md, write heartbeat-state.json, and commit/push changes. Combined with the platform-default ability for the agent to invoke skills autonomously, these instructions give the skill potential to alter system state and other skills without declaring that privilege โ€” this broad modification capability is a material risk unless you run in a tightly sandboxed environment.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install icecube-heartbeat
  3. After installation, invoke the skill by name or use /icecube-heartbeat
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release - Periodic health checks and proactive tasks
Metadata
Slug icecube-heartbeat
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is IceCube Heartbeat?

๐ŸงŠ IceCube Heartbeat โ€” Proactive agent maintenance during idle periods. Self-check, memory governance, improvement detection, and evolution triggers. Keeps y... It is an AI Agent Skill for Claude Code / OpenClaw, with 67 downloads so far.

How do I install IceCube Heartbeat?

Run "/install icecube-heartbeat" in the OpenClaw or Claude Code chat to install it in one step โ€” no extra setup required.

Is IceCube Heartbeat free?

Yes, IceCube Heartbeat is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does IceCube Heartbeat support?

IceCube Heartbeat is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created IceCube Heartbeat?

It is built and maintained by ares521521-design (@ares521521-design); the current version is v1.0.0.

๐Ÿ’ฌ Comments