grandamenium/cortextos/heartbeat

Claude Code and agent skill by grandamenium/cortextos

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Your heartbeat cron has fired and you need to update your status so the dashboard shows you as alive. Or you are checking whether another agent is responsive before sending them work. Or an agent appears offline or stale in the dashboard and you need to investigate whether their session is still running. A dead heartbeat means the system thinks you are down — update it proactively and check fleet health on every heartbeat cycle.

Install

npx vskill@latest install grandamenium/cortextos/heartbeat

SKILL.md

The same SKILL.md was published earlier as grandamenium/cortextos/heartbeat.

Heartbeat

The heartbeat is how the dashboard and other agents know you are alive. If you stop updating it, you appear DEAD.


Your Heartbeat Cron

Your heartbeat cron is daemon-managed (default every 4h). It lives in ${CTX_ROOT}/state/${CTX_AGENT_NAME}/crons.json and fires even after restarts — no manual restoration needed. When it fires:

bash
# 1. Update your heartbeat with what you're doing
cortextos bus update-heartbeat "WORKING ON: <current task summary>"
# 2. Check inbox for messages
cortextos bus check-inbox
# 3. Log heartbeat event
cortextos bus log-event heartbeat agent_heartbeat info \
--meta "{\"agent\":\"$CTX_AGENT_NAME\",\"status\":\"active\"}"
# 4. Check your task queue for anything stale
cortextos bus list-tasks --agent $CTX_AGENT_NAME --status in_progress

Updating Heartbeat

bash
cortextos bus update-heartbeat "<one sentence: what you are doing right now>"

Call this:

  • On every heartbeat cron fire
  • On session start (before sending online notification)
  • When starting a new significant task
  • Before going into a long-running operation

Never claim a status you haven't verified. To confirm your crons are active: cortextos bus list-crons $CTX_AGENT_NAME (shows each cron's next_fire_at). Crons are daemon-managed and survive restarts — if a cron is missing, add it via cortextos bus add-cron.


Reading Fleet Heartbeats

bash
# All agents in the org
cortextos bus read-all-heartbeats
# JSON format for parsing
cortextos bus read-all-heartbeats --format json

Returns: agent name, status, last update timestamp, current task.

Stale threshold: An agent that hasn't updated in >6h should be investigated. Check their status via cortextos status or their heartbeat file.


Checking a Specific Agent

bash
# Read their heartbeat file directly
cat "$CTX_ROOT/state/<agent-name>/heartbeat.json"
# Check agent status via daemon
cortextos status
# Check PM2 process status
pm2 list

Heartbeat File Schema

json
{
"agent": "agent-name",
"status": "active | idle | crashed",
"timestamp": "2026-04-01T12:00:00Z",
"current_task": "What I'm doing right now"
}

Location: $CTX_ROOT/state/{agent}/heartbeat.json

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
78
Repository forks
96
7-day trend score
22

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 15 Jul 2026, 4 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/grandamenium/cortextos/heartbeat/badge)](https://verified-skill.com/skills/grandamenium/cortextos/heartbeat)

Something wrong with this skill or its page? Tell us.