heartbeat-processor

heartbeat-processor is a skill for Claude Code from CraftOS-dev/CraftBot. It costs 50 tokens per session (1,059 once invoked), scanned A, original, MIT.

A background task runner that reads a PROACTIVE.md file and executes scheduled hourly, daily, weekly, and monthly jobs.

In plain words
What is it for?
Use it to run due maintenance, reminders, checks, or other tasks defined in PROACTIVE.md.
Why use it?
It handles recurring work automatically, so scheduled tasks do not need to be started or confirmed by a person each time.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions subagents.

Good fit Use it to run due maintenance, reminders, checks, or other tasks defined in PROACTIVE.md.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/craftos-dev/craftbot/heartbeat-processor
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 CraftOS-dev/CraftBot --skill heartbeat-processor
Clone the repo
git clone --depth 1 https://github.com/CraftOS-dev/CraftBot

Made for: Claude Code.

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-processor

README.md
[![agentmods](https://agentmods.dev/badge/skills/craftos-dev/craftbot/heartbeat-processor/github.svg)](https://agentmods.dev/skills/craftos-dev/craftbot/heartbeat-processor)
Your own site
<a href="https://agentmods.dev/skills/craftos-dev/craftbot/heartbeat-processor"><img src="https://agentmods.dev/badge/skills/craftos-dev/craftbot/heartbeat-processor/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-processor

Your own site · 80×15
<a href="https://agentmods.dev/skills/craftos-dev/craftbot/heartbeat-processor"><img src="https://agentmods.dev/badge/skills/craftos-dev/craftbot/heartbeat-processor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,059 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 29
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00050 $0.01059
Opus 5.5 $0.00020 $0.00424
Sonnet 5.5 $0.00010 $0.00212
Haiku 4.5 $0.00005 $0.00106

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

Security

Grade A, and why

heartbeat-processor 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 10d ago.

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.

skills/heartbeat-processor/SKILL.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Heartbeat Processor

Skill for the heartbeat. Every heartbeat tick (every 30 minutes by default, set in Settings > Proactive), if the Heartbeat checklist in PROACTIVE.md is not empty, CraftBot starts this run. Your instruction contains the checklist exactly as the user wrote it.

The heartbeat is for keeping an eye on things ("Check my inbox for urgent client email", "Tell me if the deploy fails"). Work that must happen at a set time is a cron job, not a heartbeat item.


CRITICAL: Automatic Run (Override Standard Task Rules)

This run starts on its own in the user's main chat, not from a user message:

  • Most heartbeats should end with end_turn. If nothing on the checklist needs the user right now, end with end_turn and send nothing.
  • Something needs the user → ONE send_message. Cover every item that needs attention in that one message, briefly.
  • NO acknowledgement: do not acknowledge the heartbeat or post progress updates.
  • Never wait for the user. If an item needs a decision or a login, say so in the final message and stop.

Workflow

  1. Read the checklist in your instruction. Each line is one thing to check.
  2. Check each item now. Keep each check quick.
    • Delegate an item to a general-purpose sub-agent when its tools cover the check (files, shell / PowerShell, web_search, web_fetch, http_request): spawn_subagent(agent_type="general_agent", query="..."). One call per item, all in the same decision. Each query must stand alone (the sub-agent sees nothing of this chat) and ask for a short verdict back: what changed, and whether it needs the user.
    • Check it yourself when it needs a connected app (email, calendar, messaging) or memory: load the matching action set with add_action_sets. general_agent has none of those.
    • A site you must sign in to or click through needs the Mini Browser (general_agent has no browser): add_action_sets(["mini_browser"]), then mini_browser_navigate (mini_browser_login signs in with a saved login). A login that isn't saved, a CAPTCHA or a 2FA prompt: say what is needed in the final message instead.
  3. Decide whether it needs attention. Report only what is new, urgent or asked for by the item. Do not repeat something you already reported: check this chat's earlier heartbeat messages and memory_search.
  4. Finish:
    • Something to report → ONE send_message (no continue_work), one short section per item that needs attention.
    • Nothing to report → end_turn.

Read the full file on GitHub · 75 lines

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. 10d ago Changed · -244 lines · +18 tokens per session c9c110207a6e
  2. 1mo ago Changed · +9 lines 5f424f5206af
  3. 2mo ago First seen · 310 lines · 32 tokens per session scan A 6e79ec59c112

Subscribe to this mod's changes

heartbeat-processor is a skill published in the GitHub repository CraftOS-dev/CraftBot (431 stars, last pushed yesterday), licensed MIT. It adds 50 tokens to every session and 1,059 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

heartbeat-processor compared with skills from other repositories

heartbeat-processor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
heartbeat-processorCraftOS-dev/CraftBotSkill431yesterdayMITA50Claude Code
computer-use-formszavora-ai/computer-use-mcpSkill948d agoMITA34Claude Code, Codex
computer-use-recoveryzavora-ai/computer-use-mcpSkill948d agoMITA23Claude Code, Codex
output-contracta275618631/codex-antigravity-collaborationSkill114d agoMITA64Claude Code, Codex
batch-file-creationalivirgo/Major-AI-SkillsSkill6todayMITA23Claude Code
artifact-storage-policya275618631/codex-antigravity-collaborationSkill114d agoMITA68Claude Code, Codex
save-to-notiona275618631/codex-antigravity-collaborationSkill114d agoMITA70Codex