espennilsen/pi / extensions/pi-heartbeat/skills/pi-heartbeat
pi-heartbeat
VerifiedConfigure periodic health checks via HEARTBEAT.md and the /heartbeat command.
Pi Heartbeat Extension
Runs a periodic health-check prompt as an isolated subprocess.
Setup
-
Enable via
--heartbeatflag,/heartbeat on, or settings.json:{ "pi-heartbeat": { "enabled": true, "intervalMinutes": 15 } } -
Create a
HEARTBEAT.mdin 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 -
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 startsheartbeat:result— Emitted with{ ok, response, durationMs }
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |