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.
npx skills add CraftOS-dev/CraftBot --skill heartbeat-processorgit clone --depth 1 https://github.com/CraftOS-dev/CraftBotWrote 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.
[](https://agentmods.dev/skills/craftos-dev/craftbot/heartbeat-processor)<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.
<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>- NVIDIA SkillSpector warn
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.
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.
| Model | Per session | Once 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 |
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.
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 withend_turnand 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
- Read the checklist in your instruction. Each line is one thing to check.
- 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. Eachquerymust 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"]), thenmini_browser_navigate(mini_browser_loginsigns 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.
- Delegate an item to a general-purpose sub-agent when its tools cover the check (files, shell / PowerShell,
- 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. - Finish:
- Something to report → ONE
send_message(nocontinue_work), one short section per item that needs attention. - Nothing to report →
end_turn.
- Something to report → ONE
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.
- 10d ago Changed · -244 lines · +18 tokens per session c9c110207a6e
- 1mo ago Changed · +9 lines 5f424f5206af
- 2mo ago First seen · 310 lines · 32 tokens per session scan A 6e79ec59c112
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.
heartbeat-processor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| heartbeat-processorCraftOS-dev/CraftBot | Skill | 431 | yesterday | MIT | A | 50 | Claude Code |
| computer-use-formszavora-ai/computer-use-mcp | Skill | 94 | 8d ago | MIT | A | 34 | Claude Code, Codex |
| computer-use-recoveryzavora-ai/computer-use-mcp | Skill | 94 | 8d ago | MIT | A | 23 | Claude Code, Codex |
| output-contracta275618631/codex-antigravity-collaboration | Skill | 11 | 4d ago | MIT | A | 64 | Claude Code, Codex |
| batch-file-creationalivirgo/Major-AI-Skills | Skill | 6 | today | MIT | A | 23 | Claude Code |
| artifact-storage-policya275618631/codex-antigravity-collaboration | Skill | 11 | 4d ago | MIT | A | 68 | Claude Code, Codex |
| save-to-notiona275618631/codex-antigravity-collaboration | Skill | 11 | 4d ago | MIT | A | 70 | Codex |