HEARTBEAT.mddevelopmentv1.0

CI Monitor

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

Setup time: ~3 min
Model: Haiku
Cost: ~$0.20/day Calculate your exact cost at Clawback
Last updated: Mar 8, 2025
byFullVibeAIcontributor

Template

HEARTBEAT.md
Every 30 minutes:
1. Check recent workflow runs: gh run list --limit 10 --json status,name,conclusion
2. For any failed runs since last check:
   a. Get the logs: gh run view {id} --log-failed
   b. Identify the error (last 50 lines usually enough)
   c. Send notification: workflow name, branch, error summary, link
3. If a previously failed workflow now passes, send a "Fixed" notification

Setup

  1. 1

    Copy the HEARTBEAT.md content below into your OpenClaw workspace at `~/.openclaw/workspace/HEARTBEAT.md`.

  2. 2

    Install the required skills: `clawhub install github`, `clawhub install message`.

  3. 3

    Open your agent channel (Telegram or any connected channel) and send a message to confirm it's running.

  4. 4

    Your agent will follow the schedule in HEARTBEAT.md automatically. Check back in 30 minutes to see it in action.

  5. 5

    Customize the template: adjust timing, thresholds, and notification targets to fit your setup.

Tip: The template uses placeholder values like {your brand} or {repo}. Replace these with your actual values before saving.

Version History

v1.0Initial releaseMar 8, 2025

Install commands

clawhub install github
clawhub install message

Skills required

Estimated cost

~$0.20/day

on Haiku model

Calculate your exact cost at Clawback

File type

HEARTBEAT.md

Defines scheduled tasks. Runs on a heartbeat interval.

Version

v1.0

Updated Mar 8, 2025

Contributor

FullVibeAI

Community submission

Spending too much?

Track and optimize your agent API costs.

Try Clawback →

You might also like