Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

heartbeat-memories心跳回忆

Agent Skill

heartbeat-memories 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,892

周安装

117

GitHub Stars

1

下载量

908
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:heartbeat-memories(心跳回忆)
来源仓库:https://github.com/jamieyang9996/heartbeat-memories
安装命令:
openclaw skills install heartbeat-memories
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install heartbeat-memories

简介

OpenClaw 完全本地化的长期记忆系统,含五个专用记忆库。

  • 分别管理目标、经验、情绪、会话与版本信息,支持深度检索。
  • 通过心跳机制保持记忆活性,增强代理上下文理解能力。
  • 安装命令:openclaw skills install heartbeat-memories。
  • 大量写入可能影响性能,建议按需触发而非持续开启。

SKILL.md

name
Heartbeat Memories
slug
heartbeat-memories
version
1.0.0
author
JamieYang9996
description
>
triggers

Heartbeat-Memories (HBM) - OpenClaw Skill

Solving the pain points of scattered memory files and emotionless AI responses Through five specialized memory banks + heartbeat recall simulation dialogue, making your OpenClaw truly understand you, remember you, and build exclusive emotional connections.

🚀 One-Click Installation (Manual)

Option 1: Install via Git

# Clone the repository
git clone https://github.com/JamieYang9996/Heartbeat-Memories.git

# Copy to OpenClaw skills directory (adjust path as needed)
cp -r Heartbeat-Memories ~/.openclaw/skills/heartbeat-memories

# Initialize the memory system
cd ~/.openclaw/skills/heartbeat-memories && python3 scripts/hbm_init.py

Option 2: Manual installation

  1. Download this skill folder
  2. Place it in your OpenClaw skills directory: ~/.openclaw/skills/
  3. Run initialization: python3 scripts/hbm_init.py

Option 3: Via ClawHub (if published)

openclaw skill install heartbeat-memories

🔄 Update

# Update from Git
cd ~/.openclaw/skills/heartbeat-memories && git pull origin main

# Re-initialize if needed
python3 scripts/hbm_init.py --upgrade

🩺 System Diagnostics

# Run diagnostic check
cd ~/.openclaw/skills/heartbeat-memories && python3 scripts/hbm_doctor.py

📁 System Architecture

heartbeat-memories/
├── SKILL.md                    # This file
├── README.md                   # Detailed documentation
├── memory/                     # Memory bank templates
│   ├── 目标记忆库/GOALS_template.md
│   ├── 经验记忆库/TIPS_template.md  
│   ├── 情感记忆库/DAILY_EMOTIONS_template.md
│   ├── 会话记忆库/YYYY-MM-DD_template.md
│   ├── 版本记忆库/CHANGELOG_template.md
│   └── 心跳回忆/心跳回忆机制.md
├── scripts/                    # Core scripts
│   ├── hbm_init.py            # Initialization script
│   ├── local_memory_system_v2.py
│   └── rag_system.py
├── config/                     # Configuration files
│   └── hbm_config_template.json
└── requirements.txt            # Python dependencies

🎯 Core Features

1. Five Memory Banks (Automatic Recording)

  • Goals Memory: Tracks user goals with P0/P1/P2 priorities
  • Experience Memory: Records technical problems and solutions
  • Emotion Memory: Analyzes user emotions and habit preferences
  • Session Memory: Daily conversation summaries (10:1 compression ratio)
  • Version Memory: System change history records

2. Semantic Search (Vector Retrieval)

  • Based on ChromaDB vector database
  • Natural language query of memory content
  • Local model: all-MiniLM-L6-v2 (80MB, auto-download from ModelScope)

3. Heartbeat Recall Emotional Interaction (Core Innovation)

Solves AI's lengthy, emotionless responses by mimicking human conversation for long-term connections

🎭 Highly Realistic Human Interaction

  • Smart Triggering: AI actively recalls like a friend (e.g., "By the way, remember last week's 'seaside café' 'sunset' 'photos', did you end up going?")
  • Natural Conversation Flow: Randomly inserts memories during daily chats (30% probability), avoiding mechanical feel
  • Emotional Intelligence: Analyzes user emotional state, adjusts interaction style

⚙️ Flexible Configurable System

  • Configurable Probabilities: Each trigger scene has adjustable probability (30%/50%/100%)
  • Frequency Control: Daily limits, minimum intervals, special holiday rules
  • Scene Customization: Supports daily conversation, task completion, forgotten goals, holiday care, etc.
  • Sensitive Day Avoidance: Automatically avoids sensitive holidays like Qingming Festival

🌱 Long-term Cultivation & Exclusivity

  • Habit Learning: Records user work patterns, preferred topics, common keywords
  • Exclusive Memories: Builds personalized memory bank based on historical conversations
  • Progressive Optimization: Continuously optimizes trigger timing and wording through silent review
  • Emotional Evolution: AI understands users better over time, building real "long-term relationships"

4. RAG Retrieval Augmentation (Optional)

  • Improves answer accuracy and relevance
  • Retrieves context from memory banks
  • Configurable switch controls (default: OFF)

🔧 Usage

Basic Usage (Out-of-the-box)

After installation, Heartbeat-Memories automatically:

  1. Records important conversations to memory banks
  2. Responds to trigger words for retrieval
  3. Maintains memory bank integrity

Common Trigger Word Examples

User: "Save this, I want to learn Python"
AI: ✅ Recorded to Goals Memory

User: "How did we solve that server issue last time?"
AI: 🔍 Retrieved solution from Experience Memory...

User: "Check my goals for today"
AI: 📄 Reading from Goals Memory...

User: "Help me recall things we discussed last week"
AI: ❤️ Remember last week's "seaside café"...

Advanced Configuration (Optional)

# 1. Modify configuration
vim ~/.openclaw/skills/heartbeat-memories/config/hbm_config.json

# 2. Custom memory location
export HBM_MEMORY_PATH="~/my-memories"

⚙️ Technical Specifications

ComponentSpecificationDescription
Vector DatabaseChromaDB + SQLiteFully local storage
Text Vectorizationall-MiniLM-L6-v2384 dimensions, 80MB
Model Download SourceModelScope (China mirror)Fast and stable
Storage FormatMarkdown (.md)Human readable
Cross-platform SupportWindows/Linux/macOSAuto-adapts paths
DependenciesPython 3.8+chromadb, sentence-transformers

🐛 Troubleshooting

Common Issues

Q: No response after installation? A: Ensure correct directory: ~/.openclaw/skills/heartbeat-memories/, restart OpenClaw.

Q: Model download failed? A: Manual download: python3 scripts/download_model.py, or use mirror sources.

Q: Insufficient storage space? A: Memory bank files are small, vector model 80MB, RAG logs auto-compress monthly.

Q: Cross-platform compatibility? A: Adapted for Windows (WSL/Git Bash), Linux, macOS, auto-detects system.

Diagnostic Commands

# Check Heartbeat-Memories status
cd ~/.openclaw/skills/heartbeat-memories && python3 scripts/hbm_init.py --check

# View memory banks
ls -la ~/.openclaw/skills/heartbeat-memories/memory/

# Test semantic search
python3 scripts/local_memory_system_v2.py --test

📈 Advanced Features

RAG System Optimization (Optional)

  • Token Limit & Deduplication: Prevents overly long answers (default: OFF)
  • Memory Cache: Improves retrieval speed (default: OFF)
  • Log Compression: Auto-compresses log files monthly

Custom Extensions

# Extend new memory bank types
# Add new collections in scripts/local_memory_system_v2.py

# Custom trigger logic
# Modify trigger conditions in 心跳回忆/心跳回忆机制.md

🛡️ Security & Privacy Statement (Required by ClawHub)

✅ 100% Local Operation

  • All data stored locally on user's machine
  • No data uploaded to any servers
  • No API calls to external services

✅ No Automatic Background Processes

  • No cron jobs - All operations are manually triggered by user or OpenClaw
  • No system services - No daemons or background processes
  • No auto-start - Does not run automatically on system boot

✅ No Privilege Escalation

  • Operates only within skill directory and user workspace
  • Does not access system files or other user directories
  • All file operations are within permitted scope

✅ Transparent Installation

  • All dependencies listed in requirements.txt
  • No silent installation of packages
  • Clear prompts for user confirmation

✅ Data Ownership

  • Users own all their memory data
  • Can export/backup memory banks at any time
  • Can completely uninstall without data loss (manual backup recommended)

🤝 Contribution & Feedback

GitHub Repository

  • Project URL: https://github.com/JamieYang9996/Heartbeat-Memories
  • Issues: Report problems or suggest features
  • Pull Requests: Code contributions welcome

Community Support

  • OpenClaw Discord: https://discord.com/invite/clawd
  • Chinese discussion: Telegram/WeChat groups (if available)

📝 License

MIT License - See LICENSE file


Heartbeat-Memories gives your OpenClaw true long-term memory, making it a smarter assistant that truly understands you!

*Last updated: 2026-03-25*

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

94.43%
按下载量换算857

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills