skill-heartbeat-memory
Analysis
This appears to be a purpose-aligned memory-saving skill, but it should be reviewed because it automatically reads OpenClaw chat history, can preserve deleted sessions, and writes persistent long-term memory.
Findings (6)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
sessions_list 获取会话列表 → sessions_history 获取消息内容 → sessions_spawn 启动 subagent 进行 LLM 提炼
The documented workflow chains session enumeration, message-history access, and subagent spawning over user conversations.
安装并启用 Heartbeat 后,Skill 会每 30 分钟自动执行,无需手动干预。
The skill is intended to run automatically on a schedule after Heartbeat is enabled.
"postinstall": "node scripts/post-install.js"
The package defines installer-time code. The shown post-install script appears to print setup guidance and detect environment/provider presence, but package scripts can run automatically in npm-style installs.
const raw = execSync('openclaw agents list 2>/dev/null', { encoding: 'utf-8' });The runtime can execute a fixed local OpenClaw CLI command as a fallback for workspace discovery.
Checks whether tool use, credentials, dependencies, identity, account access, or inter-agent boundaries are broader than the stated purpose.
🚀 无需配置 LLM - 自动使用 OpenClaw 主配置的 LLM
The skill reuses the user's existing OpenClaw LLM configuration to summarize memories.
Checks for exposed credentials, poisoned memory or context, unclear communication boundaries, or sensitive data that could leave the user's control.
自动检查新 sessions,生成 Daily 笔记,定期提炼 MEMORY.md,支持备份已删除的 sessions。
The skill is explicitly designed to read session history, generate persistent notes, refine long-term memory, and preserve deleted sessions.
