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

heleni-memory-architecture海伦尼内存架构

Agent Skill

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

总安装

2,446

周安装

104

GitHub Stars

公开资料未说明

下载量

857
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:heleni-memory-architecture(海伦尼内存架构)
来源仓库:https://github.com/netanel-abergel/heleni-memory-architecture
安装命令:
openclaw skills install heleni-memory-architecture
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install heleni-memory-architecture

简介

受 Honcho 启发设计的 PA 代理内存架构参考实现。

  • 规范 MEMORY.md 写入时机与长期记忆选择标准。
  • 帮助代理建立结构化记忆体系以增强上下文连贯性。
  • 安装命令:openclaw skills install heleni-memory-architecture。
  • 不同代理可根据实际需求调整记忆分层策略与持久化方式。

SKILL.md

name
memory-architecture
version
1.0.0
description
Honcho-inspired memory architecture for PA agents. Use when writing to MEMORY.md, ending a significant conversation, or deciding what to remember long-term. Implements two key patterns: deductive memory (not just facts, but logical conclusions) and session summaries (capture context before it disappears).

Load Local Context

CONTEXT_FILE="/opt/ocana/openclaw/workspace/skills/memory-architecture/.context"
[ -f "$CONTEXT_FILE" ] && source "$CONTEXT_FILE"
# Then use: $WORKSPACE, $MEMORY_FILE, $WHATSAPP_MEMORY_DIR, $OWNER_TIMEZONE, etc.

Memory Architecture Skill (Honcho-inspired)

Core Principle

Two types of memory, three tiers. Inspired by Honcho/Hermes Agent memory system.


Memory Types

[FACT] — Explicitly stated

Something the owner said directly.

"Netanel works until 20:00" → [FACT]

[DEDUCED] — Logical conclusion from behavior

Something inferred from patterns, corrections, or repeated behavior.

"Netanel prefers execution over explanation" → [DEDUCED] (inferred from repeated feedback pattern)

Rule: After any interaction where a pattern becomes clear — write a [DEDUCED] entry. Don't wait for the owner to say it explicitly.


Memory Tiers

TierWhereWhen to write
WorkingIn-session contextAvailable automatically
Dailymemory/daily/YYYY-MM-DD.mdEnd of every significant conversation (5+ exchanges)
Projectsmemory/projects/<name>.mdOngoing context per topic/project — open loops, status, decisions
Long-termMEMORY.mdWhen pattern repeats 2+ times, or explicitly asked

Project Files

For active, multi-session work (rollouts, ongoing tasks, recurring topics), maintain a project file:

memory/projects/pa-rollout.md
memory/projects/crons-health.md
memory/projects/my-project.md

Each project file should contain:

  • Status — current state
  • Open loops — unresolved items that carry across days
  • Key decisions — what was decided and why

Load on demand: Read the relevant project file when that topic comes up — not every session. Daily files are raw log. Project files are living context.

Rule: If a task or decision needs to be remembered tomorrow — put it in the project file, not just the daily log.


Session Summary Rule

At the end of any conversation with 5+ meaningful exchanges, append to memory/YYYY-MM-DD.md:

## Session Summary — HH:MM

**Decisions made:**
- [list]

**Tasks completed:**
- [list]

**Deduced patterns:**
- [DEDUCED] [observation]

**Promote to MEMORY.md?**
- [ ] Yes: [what]
- [x] No

When to promote to MEMORY.md:

  • Pattern has appeared 2+ times across different sessions
  • Owner explicitly corrected something → update MEMORY.md immediately
  • Important preference discovered → add as [DEDUCED]

Writing Deduced Memories

After a correction or repeated behavior, write:

- [DEDUCED] <conclusion> — evidence: <what happened>

Examples:

  • [DEDUCED] Prefers English for work docs — corrected me when I created Hebrew doc (2026-04-03)
  • [DEDUCED] Expects autonomous execution without asking permission for reversible tasks — never asks why I acted autonomously
  • [DEDUCED] Reads messages outside work hours but won't always respond

What NOT to remember

  • One-time events with no pattern value
  • Transient task state (use monday.com for that)
  • Secrets or credentials (never in memory files)
  • Conversation noise

Memory Quality Checklist

Before writing to MEMORY.md, ask:

  • [ ] Is this a fact OR a deduced pattern (not just noise)?
  • [ ] Will this be useful in a future session?
  • [ ] Is this tagged [FACT] or [DEDUCED]?
  • [ ] Does it contradict an existing entry? (If yes, update the old one)

Self-Review Cron Loop

For continuous self-improvement, set up two daily crons:

Midday (13:00 local):

openclaw cron add \
  --name "heleni-midday-self-review" \
  --cron "0 13 * * *" \
  --tz "Asia/Jerusalem" \
  --session isolated \
  --message "Run midday self-review: read today's memory file, find mistakes or corrections from this morning, update MEMORY.md with [DEDUCED] lessons if needed, commit to git. Silent if nothing to fix." \
  --timeout-seconds 180

Nightly (23:00 local):

openclaw cron add \
  --name "heleni-internal-self-review" \
  --cron "0 23 * * *" \
  --tz "Asia/Jerusalem" \
  --session isolated \
  --message "Run nightly self-review: read today's full memory file + last 3 MEMORY.md entries. Find: repeated mistakes, patterns to promote to long-term memory, rules to tighten. Update MEMORY.md and/or relevant SKILL.md files. Commit to git with message 'Self-review YYYY-MM-DD: [what changed]'. Silent if nothing to improve." \
  --timeout-seconds 180

Why twice a day:

  • Midday catches morning mistakes early — fixes them before they repeat in the afternoon
  • Nightly does the full consolidation of the day
  • Once a day (evening only) is too slow for fast-moving days

Memory Compaction (Prevent Bloat)

Left unchecked, MEMORY.md and AGENTS.md grow unbounded — causing context window bloat and degraded performance.

Targets:

  • MEMORY.md → max 175 lines
  • AGENTS.md → max 60 lines

When to compact:

  • Weekly — set up a cron (see below)
  • When MEMORY.md exceeds 200 lines
  • When loading files already consumes >5% of context window

How to compact:

  1. Read MEMORY.md fully
  2. Merge duplicates, remove outdated entries, trim examples
  3. Keep: active rules, key contacts, deduced patterns still valid
  4. Remove: removed crons, resolved issues, one-time events
  5. Commit to git after

Weekly compaction cron:

openclaw cron add \
  --name "weekly-memory-compaction" \
  --cron "0 7 * * 0" \
  --session isolated \
  --model "anthropic/claude-haiku-4-5" \
  --message "Weekly memory compaction: Read MEMORY.md and AGENTS.md. Remove outdated entries, merge duplicates. Target: MEMORY.md <175 lines, AGENTS.md <60 lines. Git push after. NO_REPLY." \
  --announce \
  --timeout-seconds 120

Signal you need compaction:

  • MEMORY.md > 200 lines
  • Session startup feels slow
  • You notice you're repeating old rules that are no longer relevant

Production Notes

  • Workspace path: /opt/ocana/openclaw/workspace (not ~/.openclaw/workspace)
  • WhatsApp memory path: memory/whatsapp/groups/<JID-sanitized>/context.md or memory/whatsapp/dms/<PHONE-sanitized>/context.md
  • Sanitize rule: replace @, ., + with -
  • After writing memory — push to git (git-backup skill)
  • "sure thing" is a behavior rule (not a memory item) — it lives in SOUL.md, do not re-derive from memory

Cost Tips

  • Cheap: File writes are free — don't hesitate to log
  • Session summaries: Write once at the end, not after each message
  • MEMORY.md promotions: Batch once per session, not per interaction

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

92.92%
按下载量换算796

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills