pi-heartbeat
Configure periodic health checks via HEARTBEAT.md and the /heartbeat command.
Install / Use
npx skills add espennilsen/piInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Skill content
View source on GitHubname: pi-heartbeat description: Configure 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
career-ops
72.3kOpen-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)
ai-job-search
43.5kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
41.6kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
guizang-ppt-skill
26.7kAI-agent Skill for generating polished HTML slide decks: editorial magazine and Swiss layouts, image prompts, social covers, and a WebGL/low-power presentation runtime.
Security Score
Audited on Sep 10, 2026
