Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By bennoloefflerv0.1.0MITIn 1 marketplace
Self-ticking cron replacement for Claude Code. Define recurring prompts in timer.md; a bundled MCP server fires them into your session as <channel source="heartbeat"> events.
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Self-ticking cron replacement for Claude Code. Define recurring prompts in timer.md; a bundled MCP server reads the file every minute and pushes due entries as <channel source="heartbeat"> events into the running Claude Code session.
No launchd. No cron. No HTTP. No tokens. Pure Bun setInterval loop in a long-lived MCP subprocess. Lives with Claude Code, dies with it.
/plugin marketplace add <owner>/<marketplace-repo>
/plugin install ai-heartbeat-timer@<marketplace>
Replace
<owner>/<marketplace-repo>with the GitHub repo that hosts this plugin's.claude-plugin/marketplace.json, and<marketplace>with the marketplace name registered there. (Throughout this README,ai-pluginsis used as a placeholder — substitute your real marketplace name.)
Installing the plugin alone is not enough. Claude Code gates MCP claude/channel notifications behind a CLI flag. Without it, the heartbeat MCP server ticks fine, fires on schedule, writes its log — and Claude Code silently drops every notification. You see nothing.
claude --dangerously-load-development-channels plugin:ai-heartbeat-timer@ai-plugins
Add your other flags (--dangerously-skip-permissions, etc.) as usual.
The claude/channel MCP capability is experimental and lets servers push prompts into a running session without user interaction. To prevent third-party plugins from doing that without consent, Claude Code gates it — any failed gate silently skips the channel:
| # | Gate | What you need |
|---|---|---|
| 1 | Server declares experimental: { "claude/channel": {} } | ✅ already done by heartbeat |
| 2 | Channels feature available in your build | newer Claude Code versions |
| 3 | claude.ai OAuth token present | run /login (API-key-only sessions are rejected) |
| 4 | Team/Enterprise: channelsEnabled: true in managed settings | admin-set |
| 5 | Server is in this session's --channels list | pass it on launch |
| 6 | Installed marketplace matches the one you named | use the marketplace name from /plugin Marketplaces tab |
| 7 | Plugin is on approved allowlist OR loaded via --dangerously-load-development-channels | bypass for local/private marketplaces |
For unlisted or private marketplaces, gate 7 needs the dev flag.
A) Local / private marketplace (most users today):
claude --dangerously-load-development-channels plugin:ai-heartbeat-timer@ai-plugins
B) Org-approved (Team/Enterprise plan, admin-configured):
claude --channels plugin:ai-heartbeat-timer@ai-plugins
Requires an admin to set in managed settings:
{
"channelsEnabled": true,
"allowedChannelPlugins": [
{ "plugin": "ai-heartbeat-timer", "marketplace": "ai-plugins" }
]
}
Add to ~/.zshrc or ~/.bashrc:
alias claude-heartbeat='claude --dangerously-load-development-channels plugin:ai-heartbeat-timer@ai-plugins --dangerously-skip-permissions'
Then cd <project> and claude-heartbeat.
After launching with the flag, the session's system reminders include a block starting with ## plugin:ai-heartbeat-timer:heartbeat and describing how channel events arrive. If you don't see that, the channel is still gated — re-check the gates above.
When a timer fires, you'll get a <channel source="heartbeat" name="..." time="...">PROMPT</channel> event in your session, and a .ai-heartbeat-timer/ folder (containing heartbeat.log, state.json, heartbeat.lock, status-<id>.txt) appears in the project root.
Create timer.md in your project root (or copy the template):
cp "$(claude plugin root ai-heartbeat-timer)/templates/timer.md" ./timer.md
Add a timer row:
| Zeit | Tage | Name | Prompt |
|-------|----------|---------------|--------|
| 09:00 | weekdays | morning-todos | Read my TODOs and name the most important three |
Start Claude Code with the channel flag (see Activate the channel above):
claude --dangerously-load-development-channels plugin:ai-heartbeat-timer@ai-plugins
At 09:00 on a weekday, Claude receives a heartbeat channel event with your prompt.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub bennoloeffler/claude-code-personal-agent-plugins-skills --plugin ai-heartbeat-timerPlugins from other owners that cover similar ground