Highlander89

Agent Memory Continuity

AI 智能体v1.0.0
作者:Highlander89更新于 2026-05-11agent-memory-continuity@clawhub_highlander89/agent-memory-continuity
工作流编排上下文管理记忆增强#Agent Memory#Sync

据 AlphaMoat 统计,截至 2026-09,Agent Memory Continuity 累计下载 1,737 次、获 0 个星标,在全部 5,078 个 AI 技能中排名第 4,620 位,在「AI 智能体」分类(969 个)中排名第 907 位。

累计安装
106
累计下载
1,737
星标
-
全站排名
#4,620
全站前 91% · 「AI 智能体」前 94%
平台累计安装累计下载星标评论
ClawHub ↗401,403--
SkillHub ↗1061,737-—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

主文提供用于初始化记忆结构、配置搜索优先行为、启用同步、归档和排查问题的脚本,并描述每日记录与跨会话上下文整理流程。文中关于“永不遗忘”等效果属于作者的宣传性表述,材料未提供独立验证;部署前应审阅脚本、定时任务和数据保留设置,并确认其访问范围符合预期。

资料发布于 2026-10-29

可以用来做什么

  • 初始化记忆文件结构和模板
  • 在持续话题响应前检索现有记忆
  • 检查同步或归档脚本及其配置

什么时候用

  • 正在为 OpenClaw agent 配置本地或团队记忆流程时
  • 希望在继续话题前搜索现有上下文时
  • 能够先审阅脚本、定时任务、访问权限与保留策略时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

先检查这个记忆协议会创建或修改哪些文件,不要执行脚本
设计一个先搜索记忆再回答的会话流程
列出启用定时同步前应审阅的权限和保留设置

月度数据趋势

累计下载1,737
6011,2111,8212026-03 · 累计下载 6852026-05 · 累计下载 9922026-06 · 累计下载 1,0802026-07 · 累计下载 1,2862026-08 · 累计下载 1,3792026-09 · 累计下载 1,73726-0326-09
星标-
0112026-03 · 星标 -2026-05 · 星标 -2026-06 · 星标 -2026-07 · 星标 -2026-08 · 星标 -2026-09 · 星标 -26-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-091,737—-
2026-081,379+7.2%-
2026-071,286+19.1%-
2026-061,080+8.9%-
2026-05992—-
2026-03685—-

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

6.6 KB · ClawHub v1.0.0
---
name: agent-memory-continuity
description: Solve the "agent forgot everything" problem with search-first protocol, automated memory sync, and context preservation. No more conversation restarts!
homepage: https://sapconet.co.za
metadata: {"clawhub": {"emoji": "🧠", "tags": ["memory", "continuity", "agent-management", "enterprise"], "author": "SAPCONET", "version": "1.0.0"}}
---

# Agent Memory Continuity 🧠

## The Problem
展开全部(共 244 行)
Does your OpenClaw agent suffer from "conversation amnesia"? Starting fresh every session? Forgetting previous discussions, decisions, and context? You're not alone - this is the #1 frustration with AI agents.

## The Solution
**Agent Memory Continuity** solves fragmented conversations through a battle-tested **search-first protocol** that ensures agents never forget previous context.

## Why This Skill?
- ✅ **Solves universal pain point** - Every OpenClaw user faces memory issues
- ✅ **Battle-tested solution** - Proven in production environment
- ✅ **Immediate impact** - No more "agent broke and forgot everything"
- ✅ **Enterprise-grade** - Professional memory management system

## Use When
- Agent conversations keep "starting fresh"
- Previous context gets lost between sessions
- Users complain "we already discussed this"
- Enterprise environments requiring conversation continuity
- Multi-session agent workflows

## Don't Use When  
- Single-use, stateless interactions
- Agents with no conversation history requirements
- Simple query/response scenarios

## Features

### 🔍 Search-First Protocol
- Mandatory memory search before responding to ongoing topics
- Red flag detection for conversation continuity breaks
- Automatic context reconstruction from memory files

### 📝 Automated Memory Sync
- 6-hourly memory context synchronization
- Daily memory file creation and updates
- Cross-referencing of ongoing projects and conversations

### 🧠 Context Preservation
- Daily memory logging discipline
- Persistent insight tracking
- Conversation thread continuity maintenance

### 🚨 Break Detection
- Identifies when agent "forgets" previous context
- Automatic recovery through memory search
- User frustration prevention system

## Installation

```bash
# Install via ClawHub
npx clawhub install agent-memory-continuity

# Or clone directly
git clone https://github.com/sapconet/agent-memory-continuity.git
cd agent-memory-continuity
bash install.sh
```

## Quick Start

### 1. Initialize Memory Protocol
```bash
# Set up memory structure
bash scripts/init-memory-protocol.sh

# Creates:
# - AGENT_MEMORY_PROTOCOL.md (search-first rules)
# - memory/YYYY-MM-DD.md (daily context files)
# - Memory sync cron jobs
```

### 2. Configure Search-First Behavior
```bash
# Configure mandatory memory search
bash scripts/configure-search-first.sh

# Enables:
# - Pre-response memory searches
# - Context continuity checks
# - Automatic break recovery
```

### 3. Activate Memory Sync
```bash
# Start automated memory synchronization  
bash scripts/activate-memory-sync.sh

# Schedules:
# - 6-hourly context updates
# - Daily memory file creation
# - Ongoing project cross-referencing
```

## Usage

### Basic Memory Protocol
The skill automatically:
1. **Searches memory** before responding to ongoing topics
2. **Detects red flags** ("we discussed this", "remember when")
3. **Reconstructs context** from memory files when breaks detected
4. **Logs decisions** to daily memory files
5. **Syncs context** across sessions

### Advanced Configuration

#### Custom Memory Search Patterns
```bash
# Add custom search patterns
echo "project_name meeting decision" >> config/search-patterns.txt

# Configure search sensitivity
export MEMORY_SEARCH_THRESHOLD=0.7
```

#### Memory Archival Rules
```bash
# Configure archival timing
export MEMORY_ARCHIVE_DAYS=30
export MEMORY_RETENTION_MONTHS=12

# Set up automatic archival
bash scripts/setup-memory-archival.sh
```

## File Structure

```
agent-memory-continuity/
├── SKILL.md
├── install.sh
├── scripts/
│   ├── init-memory-protocol.sh
│   ├── configure-search-first.sh
│   ├── activate-memory-sync.sh
│   ├── setup-memory-archival.sh
│   └── test-memory-continuity.sh
├── templates/
│   ├── AGENT_MEMORY_PROTOCOL.md
│   ├── daily-memory-template.md
│   └── cron-jobs-template.txt
├── config/
│   ├── search-patterns.txt
│   └── memory-config.json
└── docs/
    ├── troubleshooting.md
    └── enterprise-setup.md
```

## Real-World Results

**Before Agent Memory Continuity:**
- ❌ "Billy broke and forgot everything" 
- ❌ Constant conversation restarts
- ❌ Lost context and decisions
- ❌ User frustration and lost productivity

**After Agent Memory Continuity:**
- ✅ Perfect conversation continuity
- ✅ Context preserved across sessions  
- ✅ Decisions and discussions remembered
- ✅ User satisfaction and trust restored

## Enterprise Features

### Production Deployment
- Multi-agent memory synchronization
- Team conversation continuity
- Enterprise memory governance
- Audit trails and compliance

### Professional Support
- Implementation consulting
- Custom memory pattern development
- Enterprise integration services
- 24/7 technical support

## Troubleshooting

### Common Issues

**Agent still forgetting conversations:**
```bash
# Check memory search frequency
bash scripts/test-memory-continuity.sh

# Increase search sensitivity  
export MEMORY_SEARCH_THRESHOLD=0.5
```

**Memory files growing too large:**
```bash
# Enable automatic archival
bash scripts/setup-memory-archival.sh

# Configure retention policies
nano config/memory-config.json
```

**Cron jobs not running:**
```bash
# Check cron status
crontab -l | grep memory

# Reinstall cron jobs
bash scripts/activate-memory-sync.sh --force
```

## Support

### Community Support
- GitHub Issues: https://github.com/sapconet/agent-memory-continuity/issues
- Documentation: https://docs.sapconet.co.za/memory-continuity
- Examples: https://github.com/sapconet/agent-memory-continuity/examples

### Enterprise Support  
- Email: [email protected]
- Professional Services: https://sapconet.co.za/openclaw-consulting
- Phone: +27 (0)53 123 4567

## About SAPCONET

Leading OpenClaw enterprise specialists with 6+ months of production experience. We solve the problems others are still discovering.

**Services:**
- Enterprise OpenClaw deployments
- Custom skill development
- Agent workforce consulting
- 24/7 technical support

**Website:** https://sapconet.co.za
**Contact:** [email protected]

---

*Stop agent amnesia. Start agent continuity. Built by the team that solved it first.*

「AI 智能体」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。