Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Design Openclaw Heartbeat Files

ASecurity

Design better OpenClaw HEARTBEAT.md files with adaptive cadence, safe checks, and cron handoffs for precise schedules.

19 stars
0 votes
0 copies
0 views
Added 9/19/2026
ai-agentsgoreactapidevopssecurity

Works with

api

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add rondoflow/rondoflow --skill design-openclaw-heartbeat-files --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Design Openclaw Heartbeat Files?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Design Openclaw Heartbeat Files
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rondoflow-design-openclaw-heartbeat-files/badge)](https://www.skillsdirectory.com/skills/rondoflow-design-openclaw-heartbeat-files)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: design-openclaw-heartbeat-files
description: "Design better OpenClaw HEARTBEAT.md files with adaptive cadence, safe checks, and cron handoffs for precise schedules."
category: "DevOps & Infra"
author: community
version: "1.0.1"
icon: server
---

# Heartbeat šŸ’“

Build reliable heartbeat playbooks for OpenClaw agents without noisy checks, missed signals, or runaway costs.

## Setup

On first use, follow `setup.md` to capture timezone, active hours, precision needs, and risk tolerance.

## When to Use

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.

## Architecture

Memory lives in `~/heartbeat/`. See `memory-template.md` for the structure and fields.

```text
~/heartbeat/
ā”œā”€ā”€ memory.md              # Preferences, cadence profile, and last tuning decisions
ā”œā”€ā”€ drafts/                # Candidate heartbeat variants
└── snapshots/             # Previous heartbeat versions for rollback
```

## Quick Reference

| Topic | File |
|-------|------|
| Setup interview | `setup.md` |
| Memory schema | `memory-template.md` |
| Production heartbeat template | `heartbeat-template.md` |
| Practical heartbeat use cases | `use-cases.md` |
| Interval strategy reference | `intervals.md` |
| Trigger strategy reference | `triggers.md` |
| Validation checklist before shipping | `qa-checklist.md` |
| Internet research sources | `sources.md` |

## Core Rules

### 1. Scope the heartbeat before writing anything
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.

### 2. Keep output contract strict
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.

### 3. Tune cadence with timezone and active hours
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.

### 4. Use cron for exact timing, heartbeat for adaptive timing
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.

### 5. Add cost guards to every expensive check
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.

### 6. Define escalation and cooldown rules
Each alert condition must have trigger threshold, escalation route, and cooldown period.

No escalation path means no alert. No cooldown means likely alert spam.

### 7. Validate with dry runs and rollback path
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.

## Common Traps

- Polling everything every cycle -> high token/API burn with low signal quality.
- Using heartbeat for exact 09:00 jobs -> drift and missed exact-time expectations.
- Missing timezone in heartbeat config -> notifications at the wrong local time.
- No active-hours filter -> overnight wakeups and user fatigue.
- No `HEARTBEAT_OK` fallback -> verbose no-op loops.
- No cooldown on alerts -> duplicate escalations during noisy incidents.

## Security & Privacy

Data that stays local:
- Heartbeat preferences and tuning notes in `~/heartbeat/`
- Draft and snapshot files for heartbeat definitions

This skill does NOT:
- Require credentials by default
- Trigger external APIs without user-approved instructions
- Edit unrelated files outside the heartbeat workflow

## Related Skills
Install with `clawhub install <slug>` if user confirms:

- `schedule` - Scheduling patterns for recurring workflows
- `monitoring` - Monitoring strategies and alert design
- `alerts` - Alert routing and escalation hygiene
- `workflow` - Multi-step workflow orchestration
- `copilot` - Proactive assistant patterns with controlled autonomy

## Feedback

- If useful: `clawhub star heartbeat`
- Stay updated: `clawhub sync`

Attribution

rondoflowrondoflow
View sourceMore from rondoflow →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

693621 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →