← 返回
未分类 Key

Memory Enhancer

Automatically extracts facts from daily logs to update and maintain structured long-term memory and summaries.
xpneuma
未分类 clawhub v1.0.0 100000 Key: 需要
★ 0
Stars
📥 538
下载
💾 5
安装

概述

Memory Enhancer Skill

Purpose

Extract structured facts from daily logs and maintain long-term memory using a sub-agent.

How it works

  1. Finds yesterday's daily memory file: memory/YYYY-MM-DD.md
  2. Spawns a sub-agent with the day's log content
  3. Sub-agent uses OpenRouter to analyze and extract:
    • Preferences (communication style, topics of interest)
    • New contacts (names, roles, context)
    • Habits/routines
    • Projects (active, completed, progress)
  4. Sub-agent updates JSON files in memory/stats/
  5. Sub-agent appends a concise summary to MEMORY.md
  6. Main skill logs the outcome

Configuration

  • Runs daily via cron (default: 02:00 AM)
  • Model: Uses OpenRouter (default: openrouter/openrouter/free)
  • Temperature: 0.3 (for consistent extraction)

Files modified

  • memory/stats/preferences.json
  • memory/stats/contacts.json
  • memory/stats/habits.json
  • memory/stats/projects.json
  • MEMORY.md (curated summary)

Invocation

This skill is intended to run automatically via cron job.

Manual test: skill/memory-enhancer (will process most recent memory file if yesterday's missing)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 08:35 安全 安全

安全检测

暂无安全检测报告