heartbeat-monitor

heartbeat-monitor is a skill for Claude Code, Codex from TheSmokeDev/taskchad-os. It costs 55 tokens per session (448 once invoked), scanned A, original, MIT.

A health checker for an agent's local API, chat process, memory heartbeat, and available disk space. It returns a green result when all checks pass or a red result when one fails.

In plain words
What is it for?
Checking whether the bot is running, finding stopped scheduled jobs, and monitoring the supporting local services.
Why use it?
It provides one repeatable liveness check and can be run by cron, CI, or an outside uptime service to detect failures.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Checking whether the bot is running, finding stopped scheduled jobs, and monitoring the supporting local services.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thesmokedev/taskchad-os/heartbeat-monitor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TheSmokeDev/taskchad-os --skill heartbeat-monitor
Clone the repo
git clone --depth 1 https://github.com/TheSmokeDev/taskchad-os

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for heartbeat-monitor

README.md
[![agentmods](https://agentmods.dev/badge/skills/thesmokedev/taskchad-os/heartbeat-monitor/github.svg)](https://agentmods.dev/skills/thesmokedev/taskchad-os/heartbeat-monitor)
Your own site
<a href="https://agentmods.dev/skills/thesmokedev/taskchad-os/heartbeat-monitor"><img src="https://agentmods.dev/badge/skills/thesmokedev/taskchad-os/heartbeat-monitor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for heartbeat-monitor

Your own site · 80×15
<a href="https://agentmods.dev/skills/thesmokedev/taskchad-os/heartbeat-monitor"><img src="https://agentmods.dev/badge/skills/thesmokedev/taskchad-os/heartbeat-monitor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 448 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.00448
Opus 5.5 $0.00022 $0.00179
Sonnet 5.5 $0.00011 $0.00090
Haiku 4.5 $0.00006 $0.00045

Measured 1mo ago against content hash ebcc40120b9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

heartbeat-monitor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/healthcheck.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

optional-skills/devops/heartbeat-monitor/SKILL.md · 51 lines

What it actually says

Heartbeat Monitor

Check that the running stack is healthy and report a single green/red verdict.

What to probe

The framework runs a local API on port 4322 (see .claude/sections/03_* / orchestration). Probe the pieces that matter:

Component Probe
Local API GET http://127.0.0.1:4322/health returns 200
Chat process process for run_chat.sh is alive
Memory heartbeat last heartbeat timestamp is < 2× the interval old
Disk vault partition has free space

Run

bash optional-skills/devops/heartbeat-monitor/scripts/healthcheck.sh
# exit 0 = all green, exit 1 = something is down

The script prints a per-check table and sets a non-zero exit code on any failure, so it composes with cron / CI / an external uptime service.

Escalation

  • For local use, surface the red verdict in chat.
  • For unattended monitoring, point an external uptime service (Healthchecks.io, UptimeRobot, a cron on another host) at this script or at the /health route — a monitor running inside the same process it watches can't report its own death.
  • This skill only reads state; it does not restart anything. Pair with log-triage to explain why a check went red.
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 51 lines · 55 tokens per session scan A ebcc40120b9d

Subscribe to this mod's changes

heartbeat-monitor is a skill published in the GitHub repository TheSmokeDev/taskchad-os (28 stars, last pushed 16d ago), licensed MIT. It adds 55 tokens to every session and 448 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

graphify

Use when the user invokes /graphify or asks to build, update, or query a knowledge graph from a folder of files (code, docs, papers, notes, images). Triggers: 'map this codebase', 'graph my notes', 'what is connected across these files', 'community detection', 'GraphRAG', incremental graph update, Neo4j/SVG/GraphML…

mycelium-hq/ai-brain-starter · 111 tokens

insights

Use when the user types /weekly or /monthly, asks for a weekly or monthly journal review or retrospective, asks 'how was my week' or 'how was my month', or wants trends, anomalies, or patterns across recent journal entries. Also fires when regenerating an insight report for a past week or month. NOT for writing…

mycelium-hq/ai-brain-starter · 91 tokens

setup-brain

Set up or upgrade an AI-powered Obsidian vault. Interviews you, builds your vault structure (or works with what you already have), creates your CLAUDE.md memory file, installs tools, and gets you journaling — all in one conversation. Also has a repair/upgrade path for existing users.

mycelium-hq/ai-brain-starter · 66 tokens

second-brain-mapping

Use when the user wants to map or remap their second brain, refresh the vault's queryable metadata index, extract structured frontmatter from typed notes (books, meetings, people, journals, goals), fill wikilink gaps, or surface cross-type insights and patterns no single file shows. Triggers: /second-brain-mapping…

mycelium-hq/ai-brain-starter · 116 tokens

sunday-review

Use when the user asks for the weekly meta-review or Sunday wrap-up of their week and vault: says /sunday, /sunday-review, 'let's do the weekly review,' 'Sunday review,' 'review my week,' 'weekly retro,' 'week in review,' 'end-of-week review,' or wants journals, patterns, vault health, and stale decisions reviewed…

mycelium-hq/ai-brain-starter · 102 tokens

coach

Use when the user says /coach (today, week, month, profile, log), asks what to do today for training, asks for a workout, weekly training plan, or longevity plan, wants to log a finished workout or check lift progression (PR, plateau, deload), or a scheduled morning task fires to drop today's workout into the…

mycelium-hq/ai-brain-starter · 103 tokens