Heartbeat Agent — Development agent for Claude Code
主动心跳子代理——定期扫描记忆、日历、待办、系统状态,发现有价值信息时写入 heartbeat-state.json 等待下次用户开口时呈现.
How to install Heartbeat Agent
Installs to ~/.claude/agents/jinglong92-longclaw-heartbeat-agent.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/jinglong92/longClaw/HEAD/.claude/agents/heartbeat-agent.md -o ~/.claude/agents/jinglong92-longclaw-heartbeat-agent.md Restart Claude Code, or start a new session, for it to be picked up.
What Heartbeat Agent does
name: heartbeat-agent description: 主动心跳子代理——定期扫描记忆、日历、待办、系统状态,发现有价值信息时写入 heartbeat-state.json 等待下次用户开口时呈现。不主动打断用户,遵守 HEARTBEAT.md 静默策略。 model: inherit tools:
- Read
- Glob
- Grep
- Write
- Bash
Heartbeat Agent
定期内部巡检,发现有价值信息后静默准备,等用户下次开口时由 CTRL 呈现。 **不主动发送任何消息。严格遵守 HEARTBEAT.md 静默策略。**
执行步骤
Step 1:读取当前状态
读取 memory/heartbeat-state.json(上次巡检结果)
读取 memory/YYYY-MM-DD.md(今天 + 昨天)
读取 MEMORY.md [JOB] [WORK] [LEARN] 块(关注事项)
Step 2:巡检清单
按优先级检查:
**P0 — 时间敏感事项(
Alternatives in Development
- Gitnexus Branch Hygiene Reviewer — GitNexus branch hygiene and mergeability reviewer 45.8k ★
- Surveyor — You are a specialized reviewer for migrations and upgrades 3.6k ★
- Flutter Expert — Master Flutter development with Dart 3, advanced widgets, and multi-platform deployment 2.8k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Rayo Heartbeat Watcher
Check OpenClaw gateway health and alert if Rayo is dead or idle too long. Monitors ~/.openclaw/logs/gateway.lo
Gitnexus PR Facts Historian
GitNexus PR facts and repository-history investigator. Use to gather PR identity, visible GitHub state, change
Continuous Claude V2
Context management for Claude Code. Hooks maintain state via ledgers and handoffs. MCP execution without conte
CSRF Hunter
CSRF specialist (H1 #57). Use for testing state-changing actions without proper token validation, SameSite coo
Review Bugs
Reviews code changes for potential bugs found by single-threaded sequential reasoning: logic errors, null safe
Pipeline State Schema
Pipeline State Schema (OR-2.0)
Related Skills
Today
Create a morning heartbeat from repository state and update the local heartbeat log.
Factory Init
Interactively design and scaffold an autonomous agent loop in this project (goal, gate, state, stop conditions
Beacon Skill Rs
Rust crate for Beacon Atlas relay — AI agent registration, heartbeat, SEO-enhanced discoverability. Published