askill
pi-heartbeat

pi-heartbeatSafety 90Repository

Configure periodic health checks via HEARTBEAT.md and the /heartbeat command.

9 stars
1.2k downloads
Updated 2/20/2026

Package Files

Loading files...
SKILL.md

Pi Heartbeat Extension

Runs a periodic health-check prompt as an isolated subprocess.

Setup

  1. Enable via --heartbeat flag, /heartbeat on, or settings.json:

    { "pi-heartbeat": { "enabled": true, "intervalMinutes": 15 } }
    
  2. Create a HEARTBEAT.md in your project root with check items:

    # Heartbeat Checklist
    - [ ] Check git status — any uncommitted changes?
    - [ ] Check disk space — anything over 90%?
    - [ ] Review td list for blocked tasks
    
  3. If the agent responds with HEARTBEAT_OK, the result is suppressed. Any other response is treated as an alert and sent via pi-channels.

Configuration (settings.json)

{
  "pi-heartbeat": {
    "enabled": false,
    "intervalMinutes": 15,
    "activeHours": { "start": "08:00", "end": "22:00" },
    "route": "ops",
    "showOk": false,
    "prompt": null
  }
}
  • enabled: Start heartbeat on session start
  • intervalMinutes: Check frequency (default: 15)
  • activeHours: Only run during these hours (null = always)
  • route: pi-channels route for alerts (default: "ops")
  • showOk: Also send HEARTBEAT_OK results to the channel
  • prompt: Custom prompt (overrides HEARTBEAT.md)

Commands

  • /heartbeat on — Start periodic checks
  • /heartbeat off — Stop checks
  • /heartbeat status — Show run stats
  • /heartbeat run — Run a check immediately

Events

  • heartbeat:check — Emitted when a check starts
  • heartbeat:result — Emitted with { ok, response, durationMs }

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

78/100Analyzed 2/25/2026

Well-structured skill documenting a periodic health-check extension for the pi project. Provides clear setup instructions, comprehensive configuration options, and command documentation. While internally focused on the pi ecosystem, the documentation quality is high with good actionability and clarity. Located in a proper skills folder with appropriate metadata."

90
85
50
75
85

Metadata

Licenseunknown
Version-
Updated2/20/2026
Publisherespennilsen

Tags

prompting