heartbeat
Agent skill fromsno-ai/sno-station-skills
Set recurring checks or completion watches with `sno heartbeat` and its persistent log reader. Use for periodic reports or unattended long runs. Not for calendar scheduling or commands watched directly.
How to install heartbeat
install heartbeat
# install the sno-station-skills pack with the skills CLI
npx skills add sno-ai/sno-station-skills# or add only this skill to Claude Code: copy the folder
skills/S-communication-and-handoff/heartbeat/skill/
# into
~/.claude/skills/skill/ (all projects)
.claude/skills/skill/ (one project)
1# heartbeat23Use the `sno heartbeat` command installed by `sno setup`. This skill supplies4instructions, not a program copy. If the command names a missing prerequisite, install5that tool and retry. On macOS install Homebrew `coreutils` (GNU `timeout`, `tail` and `mv`) and6put its `libexec/gnubin` directory on PATH; newer versions of the command also find the7`g`-prefixed names without it, and then the reader command they print says `gtail`. Install `bash`8and `flock` when required. Windows requires WSL.910[The bundled command contract](references/heartbeat-contract.json) pins the public syntax11checked by this skill's offline self-test. Use `sno heartbeat --help` for the installed program.1213Before arming, verify that this harness provides both background execution and a14persistent reader that delivers new output into the agent's conversation. If either is15unsupported or unverified, skip this skill and name the missing capability. The examples16below require those tools and use Claude Code's `Bash` and `Monitor` tool names; other harnesses use17their own equivalents. A background process or a log file alone is insufficient.1819**Hermes and OpenClaw have no persistent log reader; they deliver a finished background command20instead, and that is enough.** Run one tick per background command and re-arm after each notice:21`sleep <seconds>; sno heartbeat --label <name> --max-ticks 1 [--log <LOG>] -- <hook>` (the command ticks22…
Excerpt shown under the repository's Apache-2.0 license.
