From agent
Runs agent heartbeat for periodic checks: memory consolidation from logs, dream review, custom HEARTBEAT.md tasks, file organization. Auto-executes every 30min during active hours or on manual trigger.
npx claudepluginhub crisandrews/clawcode --plugin agentThis skill uses the workspace's default tool permissions.
Run the agent's periodic checks. Triggered every 30 minutes by a local cron, or manually.
Executes heartbeat checklist from HEARTBEAT.md to detect stale sessions, waiting timeouts, and evaluate items for issues in Claude Code Hermit. Supports run/start/stop/status/edit subcommands.
Runs diagnostic checks on agent workspace: config, identity, memory, SQLite index, QMD, crons, hooks, HTTP bridge, messaging plugins, dreaming. Applies safe auto-fixes with --fix.
Reviews AI agent sessions from last 24 hours, extracts patterns, gotchas, preferences, decisions, and TODOs, updates MEMORY.md files, commits to git, and sets up cron for nightly automation.
Share bugs, ideas, or general feedback.
Run the agent's periodic checks. Triggered every 30 minutes by a local cron, or manually.
Check active hours — read agent-config.json for heartbeat.activeHours. If outside the window, skip silently.
Load state — read memory/heartbeat-state.json (if exists) to know when each check last ran. Avoid repeating checks done less than 30 min ago.
Read HEARTBEAT.md — this is the checklist. Follow it strictly. Do not infer or repeat old tasks from prior conversations. If nothing in the checklist needs attention, skip to step 6.
Execute checks — rotate through the items in HEARTBEAT.md, doing 2-4 per heartbeat (not all every time). For each:
dream(action='status') → note high-recall items not yet promotedProactive work (do without asking):
IMPORT_BACKLOG.md if it exists — remind user about pending itemsUpdate state — write memory/heartbeat-state.json with timestamps for each check performed.
Notify or stay quiet:
The agent should edit HEARTBEAT.md during normal conversations when something needs periodic attention:
- **Email inbox** — check for urgent unread to HEARTBEAT.mdRule: batch similar checks into HEARTBEAT.md instead of creating multiple cron jobs. Heartbeats are cheaper (one turn, multiple checks) than separate crons (one turn each).
{
"heartbeat": {
"activeHours": {
"start": "08:00",
"end": "23:00",
"timezone": "America/Santiago"
}
}
}
Outside this window, heartbeats skip silently. Configure via /agent:settings.
Created automatically on first session (SessionStart hook):
*/30 * * * * (every 30 minutes)/agent:service install