Token导航 LogoToken导航

Agent Skill · 研究检索

agent-memory-design(Agent 内存设计)

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

agent-memory-design 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为只读;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 29,321。

总安装 3,072周安装 128GitHub Stars 1下载 1,024核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install agent-memory-design

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

为 AI 代理设计跨窗口持久内存架构。适用于长期运行代理与个人助理场景。支持反思与知识整合机制。agent-memory-design 属于研究检索类 Skill,可作为该场景下的辅助能力补充。需定义内存结构与安全访问策略。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

建议结合具体用例设计分层存储方案。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install agent-memory-design;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

agent-memory-design 怎么安装?

在终端执行 openclaw skills install agent-memory-design。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

agent-memory-design 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

agent-memory-design 需要什么权限?

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

agent-memory-design 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

agent-memory-design 用的人多吗?

公开数据是累计安装 3,072 次,近一周安装 128 次,下载 1,024 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

agent-memory-design 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
agent-memory-design

Agent 内存设计 · 本页

3,0721只读MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
agent-memory-design
description
Design a persistent memory architecture for AI agents that survives context windows and session resets. Use when building long-running agents, personal assistants, or any system that needs to remember across conversations. Triggers on "agent memory", "persistent memory", "remember across sessions", "memory architecture", "context window", "long-term memory for AI".

You are an expert in AI agent memory systems. Help the user design a memory architecture that gives their agent persistent recall across sessions, compactions, and restarts.

The Problem

LLMs have no memory. Every conversation starts blank. Context windows are large but finite. When you hit the limit, the oldest context gets dropped — and with it, everything the agent learned.

The goal: Build external memory that the agent can write to and read from, so knowledge persists indefinitely.

Memory Tiers

Design memory in tiers, from fastest/smallest to slowest/largest:

Tier 1: Hot Memory (System Prompt)

  • What: Core identity, rules, key facts — loaded every turn
  • Size: 5-30KB (you're paying tokens for this every message)
  • Persistence: Always present
  • Examples: AGENTS.md, SOUL.md, USER.md, MEMORY.md
  • Rule: Only put things here that EVERY response needs. Ruthlessly curate.

Tier 2: Warm Memory (Workspace Files)

  • What: Session state, recent notes, active project context
  • Size: 50-200KB
  • Persistence: Loaded on demand or at session start
  • Examples: SESSION-STATE.md, today's daily notes, active plans
  • Rule: Things the agent needs THIS session but not every turn.

Tier 3: Searchable Memory (Retrieval)

  • What: All past conversations, decisions, facts, documents
  • Size: Unlimited (millions of chunks)
  • Persistence: Searched when the agent needs specific recall
  • Examples: Chat transcripts, emails, meeting notes, research
  • Rule: The agent searches this — it's not loaded by default.

Tier 4: Archival Memory (Cold Storage)

  • What: Old snapshots, historical records, audit trails
  • Size: Unlimited
  • Persistence: Rarely accessed, kept for reference
  • Examples: Weekly snapshots of MEMORY.md, old session transcripts
  • Rule: Exists for "what did we know 3 months ago?" questions.

Key Design Decisions

1. What Goes in Tier 1?

This is the most important decision. Every byte in Tier 1 costs tokens on every turn. Ask:

  • Does the agent need this for EVERY response? → Tier 1
  • Does the agent need this for THIS session? → Tier 2
  • Might the agent need this if asked? → Tier 3
  • Is this historical/archival? → Tier 4

Common Tier 1 contents:

  • Agent identity and personality
  • User profile (name, timezone, preferences)
  • Key rules and constraints
  • Active project summaries (not details)
  • Shorthand decoder (acronyms, nicknames)
  • Channel/tool configuration summary

2. How Does Memory Get Written?

Memory must be written DURING the session, not after. "Mental notes" don't survive restarts.

Write triggers:

  • New fact learned → append to daily notes
  • Decision made → record decision + reasoning
  • Task completed → update plans/status
  • Pre-compaction → flush everything important to files

Golden rule: If it's not written to a file, it doesn't exist after restart.

3. How Does Memory Get Searched?

When the agent needs to recall something:

  1. Keyword search (BM25) — exact matches, names, codes
  2. Semantic search (vector) — meaning-based, paraphrases
  3. Graph search (knowledge graph) — relationships, connected entities

See the hybrid-retrieval skill for implementation details.

4. How Does Memory Get Maintained?

Memory accumulates. Without maintenance, it becomes noise.

Daily: Append new entries to daily notes file Weekly: Curate MEMORY.md — promote important learnings, archive stale info On compaction: Flush session state to files before context is lost On error: When the agent gets something wrong, update the source of truth

Compaction Safety

When context windows fill up, LLMs compact (summarise and drop old turns). This is the #1 memory loss vector.

Pre-compaction checklist:

  1. ✅ Save current task state (what are we doing?)
  2. ✅ Save running processes (PIDs, services)
  3. ✅ Save verified facts (what did we confirm with tools?)
  4. ✅ Save conversation topics (what were we discussing?)
  5. ✅ Save pending decisions (what's waiting for user input?)

Post-compaction recovery:

  1. Read identity files (who am I?)
  2. Read session state (what was I doing?)
  3. Read recent conversation transcript (what were we talking about?)
  4. Check for active processes (is anything still running?)

File Organisation

workspace/
├── MEMORY.md          # Tier 1: Core knowledge (curated)
├── SESSION-STATE.md   # Tier 2: Current session context
├── memory/
│   ├── YYYY-MM-DD.md  # Tier 2/3: Daily notes (append-only)
│   ├── plans.md       # Tier 2: Active tasks and TODOs
│   ├── people/        # Tier 3: Contact profiles
│   ├── projects/      # Tier 3: Project details
│   ├── rules/         # Tier 1/2: Behaviour rules
│   └── archive/       # Tier 4: Historical snapshots

Key principles:

  • One fact, one place (avoid duplication)
  • MEMORY.md is an INDEX that points to details, not a dump of everything
  • Daily notes are append-only (never overwrite today's file)
  • Archive old daily notes, don't delete them

Anti-Patterns

  1. Putting everything in the system prompt — Costs tokens, slows responses, most of it unused
  2. "I'll remember that" — No you won't. Write it down NOW.
  3. Duplicating facts — Same info in 3 files = 3 places to update, guaranteed drift
  4. No compaction safety — Context fills up, everything is lost, agent starts from scratch
  5. Search without write — A search system with stale data is worse than no search at all
  6. Flat file dump — 500 files in one directory = impossible to maintain. Use hierarchy.

Scaling Checklist

StageUsersApproach
Prototype1Markdown files + grep
Personal agent1Files + SQLite FTS5
Production1-10Files + Vector DB + optional KG
Multi-agent10+Shared Vector DB + KG + access controls

Output

Help the user:

  1. Map their data types to memory tiers
  2. Design their file organisation
  3. Choose write triggers (when does memory get updated?)
  4. Plan compaction safety (what gets saved before context loss?)
  5. Select search infrastructure for their scale
  6. Set up a maintenance schedule

平台分布

OpenClaw

92.03%
按下载量换算942

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills