zcg007

Workbuddy Add Memory

AI Agentv3.0.1
By zcg007Updated 2026-05-172 versions · latest released 2026-03-15workbuddy-add-memory@clawhub_zcg007/workbuddy-add-memory
Context ManagementMemory#Workbuddy#Ai Assistant#Knowledge Distillation#知识#记忆

According to AlphaMoat, as of 2026-09, Workbuddy Add Memory has 2,666 downloads and 0 stars — ranked #3,971 of 5,078 AI skills overall, and #795 of 969 in AI Agent.

Installs
280
Downloads
2.7K
Stars
-
Overall Rank
#3,971
Top 79% overall · Top 83% in AI Agent
PlatformInstallsDownloadsStarsComments
ClawHub ↗281.1K--
SkillHub ↗2802.7K-—

Platforms count differently and update at different times.

What this skill does

Distills knowledge from shared memory files, combines keyword and semantic retrieval for the current task, and processes new or changed files incrementally. The source requires Python 3.8 or later. MEMORY_DISTILLATION_ROOT and MEMORY_DISTILLATION_CONFIG set the root and configuration paths. File operations are confined to configured directories, and read-only mode is supported. Source claims about speed or security audits are not performance guarantees.

Profile published 2026-10-26

What you can do with it

  • Organize past experience and retrieve memories relevant to a task

When to use it

  • When starting work that may benefit from earlier experience

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Find memories related to report analysis and summarize relevant working principles.

Monthly Trend

Downloads2.7K
4511.6K2.8K2026-03 · Downloads 6152026-05 · Downloads 1.2K2026-06 · Downloads 1.3K2026-07 · Downloads 1.6K2026-08 · Downloads 1.8K2026-09 · Downloads 2.7K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-06 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-092.7K—-
2026-081.8K+14.0%-
2026-071.6K+19.4%-
2026-061.3K+12.1%-
2026-051.2K—-
2026-03615—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

4.7 KB · ClawHub v3.0.1
---
name: workbuddy-add-memory
title: WorkBuddy智能记忆管理技能
version: 3.0.0
description: 为WorkBuddy添加更智能的记忆管理功能:自动知识蒸馏→智能检索→工作前回忆
author: zcg007
license: MIT
created: 2026-03-15
updated: 2026-03-15
tags:
Show all (172 lines)
  - memory
  - knowledge-distillation
  - automation
  - workbuddy
  - ai-assistant
  - v3.0
requirements:
  - python>=3.8
  - standard-library-only
platforms:
  - workbuddy
  - openclaw
compatibility:
  workbuddy: ">=1.0.0"
  openclaw: ">=0.8.0"
security_level: P2
---

# WorkBuddy智能记忆管理技能 v3.0.0

## 🎯 技能概述

本技能为WorkBuddy用户提供增强记忆管理能力,实现:
1. **自动化知识蒸馏** - 自动处理共享记忆空间内容
2. **智能检索** - 快速查找历史经验和工作原则
3. **工作前回忆** - 新工作任务开始前自动回忆相关记忆
4. **统一记忆管理** - 所有记忆都通过本系统管理

## 🚀 v3.0核心改进

### 🎯 智能检测功能
- **多层级对话检测**:支持问题、指令、任务请求等多种模式
- **任务类型识别**:自动识别Excel处理、数据分析、技能开发等任务类型
- **记忆关联度评估**:智能评估记忆与当前任务的相关性
- **优先级排序**:根据相关性、时效性、重要性自动排序

### 🔧 技术架构优化
- **混合检索引擎**:关键词匹配 + 语义搜索
- **增量处理**:只处理新增或修改的记忆文件
- **实时索引**:记忆文件变化时自动更新索引
- **多源集成**:支持多种记忆文件格式和来源

### 🎨 用户体验提升
- **更美观的输出格式**:结构化展示相关信息
- **更智能的排序**:相关度高的记忆优先显示
- **更符合工作习惯**:根据主人工作流程优化

## 📁 文件结构

```
workbuddy-add-memory/
├── SKILL.md                  # 技能描述文件(本文件,v3.0.0)
├── start_work.py             # 工作启动脚本 (v3.0)
├── config_loader.py          # 增强配置加载器 (v3.0)
├── task_detector.py          # 智能任务检测器 (v3.0)
├── memory_retriever.py       # 增强记忆检索器 (v3.0)
├── conversation_hook.py      # 增强对话钩子 (v3.0)
├── work_preparation.py       # 工作准备模块 (v3.0)
├── distill_memory.py         # 核心蒸馏器
├── retrieve_memory.py        # 记忆检索器
├── auto_distill.py           # 自动监控器
├── config.json               # 默认配置
├── automation.toml           # 自动化配置
└── 15个其他支持文件...
```

## 🛠️ 快速开始

### 安装方式
```bash
# 方法1:使用SkillHub安装
skillhub install workbuddy-add-memory

# 方法2:手动安装
cp -r workbuddy-add-memory ~/.workbuddy/skills/
```

### 基本使用
```bash
# 1. 开始新工作前回忆
python start_work.py "分析Excel报表"

# 2. 运行蒸馏处理
python distill_memory.py --process-all

# 3. 检查记忆系统状态
python distill_memory.py --status

# 4. 测试记忆检索
python retrieve_memory.py "Excel处理"
```

## 🔧 配置说明

### 环境变量
- `MEMORY_DISTILLATION_ROOT`:记忆根目录路径
- `MEMORY_DISTILLATION_CONFIG`:配置文件路径

### 配置文件格式
```json
{
  "memory_root": "~/.workbuddy/unified_memory",
  "raw_dir": "raw",
  "distilled_dir": "distilled", 
  "structured_dir": "structured",
  "indices_dir": "indices",
  "processing_settings": {
    "auto_process": true,
    "check_interval": 300,
    "batch_size": 10
  }
}
```

## 📊 性能指标

- **处理速度**:单文件平均处理时间 < 0.5秒
- **精简率**:文本精简60-80%,知识密度提升3-5倍
- **检索速度**:毫秒级响应,支持大规模知识库
- **自动化**:完全自动运行,零人工干预
- **记忆容量**:已处理160个记忆文件,938个知识要点

## 🛡️ 安全审计

### 审计结果:P2安全等级(安全)
- ✅ 无系统命令执行
- ✅ 无网络请求
- ✅ 无外部依赖
- ✅ 文件操作受限
- ✅ 完整日志记录

### 安全边界
- 仅允许在配置目录内进行文件操作
- 禁止访问系统文件和其他用户目录
- 所有操作都有日志记录
- 支持只读模式运行

## 🤝 贡献指南

欢迎贡献!请遵循以下步骤:
1. Fork本仓库
2. 创建功能分支
3. 提交更改
4. 创建Pull Request

## 📄 许可证

MIT License - 详见LICENSE文件

## 📞 支持

如有问题或建议,请:
1. 查看详细文档
2. 检查常见问题
3. 提交Issue

---

**最后更新**:2026年3月15日  
**版本**:3.0.0  
**技能ID**:workbuddy-add-memory  
**状态**:✅ 已安装,✅ 已通过安全审计,✅ 功能正常

Popular in AI Agent

self-improving agentAI Agent

Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude rea

↓ 1.3M★ 4.5Kpskoett
Find SkillsAI Agent

场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、ClawHub 六层联合搜索并推荐最合适的技能,支持一键安装。已完全替代官方...

↓ 1.1M★ 1.8K桂皮
Agent BrowserAI Agent

A browser-automation command line skill for AI agents.

↓ 908.7K★ 991Nicolas Kleiber
Self-Improving + Proactive AgentAI Agent

Self-reflection + Self-criticism + Self-learning + Self-organizing memory. Agent evaluates its own work, catches mistakes, and improves permanently. Use when...

↓ 444.2K★ 1.6KIván
Skill VetterAI Agent

Reviews a third-party skill's source, permissions, and danger patterns against a checklist before it is installed.

↓ 330.3K★ 1.3Kspclaudehome
ontologyAI Agent

Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linkin...

↓ 294.2K★ 788oswalpalash
Proactive AgentAI Agent

Transform AI agents from task-followers into proactive partners that anticipate needs and continuously improve. Now with WAL Protocol, Working Buffer, Autonomous Crons, and battle-tested patterns. Part of the Hal Stack 🦞

↓ 287.9K★ 913halthelobster
Skill CreatorAI Agent

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

↓ 237.6K★ 473chindden

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.