← 返回 Skills 市场
aslan-ai-labs

Agent Memory OS

作者 Aslan117 · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
153
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install agent-memory-os
功能描述
Provides a structured memory system for AI agents with global and project memory, promotion rules, validation, and maintenance to prevent forgetting and conf...
使用说明 (SKILL.md)

Agent Memory OS

Build an agent that gets more organized over time instead of more chaotic.

Turn an agent's memory from "a pile of chat history" into a long-term working memory operating system.

What problem this solves

A lot of agents look impressive in short conversations, then collapse under real work:

  • they forget what matters
  • active projects pollute long-term memory
  • useful lessons never become reusable rules
  • the system looks good for a week, then decays

This skill exists to fix that.

It helps the agent move from:

  • "I remember fragments"

to:

  • "I have a stable global brain, project-specific working brains, reusable lessons, validation logic, and a maintenance loop that keeps the whole system healthy."

What makes this different

This is not just:

  • note-taking guidance
  • a vector-search recipe
  • a memory dump strategy

It is a workflow for building an agent memory system with:

  • separation of concerns
  • promotion paths for reusable knowledge
  • validation cases
  • operational maintenance rules

Use this skill when

The user says or implies things like:

  • "My agent keeps forgetting"
  • "Once projects pile up, everything gets messy"
  • "I want long-term memory for my AI agent"
  • "I need project memory separated from global memory"
  • "I want reusable lessons, not just logs"
  • "I want to share or standardize an agent memory setup"

Example trigger prompts

This skill should feel natural on prompts like:

  • "Help me design long-term memory for my coding agent."
  • "My AI assistant keeps mixing projects and forgetting context."
  • "I need a reusable memory architecture for multi-project agents."
  • "How do I separate durable agent memory from active project memory?"
  • "Help me turn chat history into a reusable working-memory system."

What the user gets

By the end of this workflow, the user should have:

  1. a memory architecture that separates global and project concerns
  2. a minimum project-memory structure
  3. routing and promotion rules
  4. validation cases to prove the system works
  5. a maintenance runbook so it does not decay immediately

Privacy and publishing rule

When using this skill for sharable/public output:

  • never expose real user names, private IDs, workspace-specific secrets, session paths, internal message IDs, or private document URLs
  • rewrite examples into generalized patterns
  • replace personal/project-specific references with neutral placeholders
  • do not bundle private memories, raw chat excerpts, or personally identifying workflow traces into the skill

If the user explicitly wants a public/shareable version, treat privacy-preserving abstraction as mandatory, not optional.

Recommended workflow

Step 0 — Decide whether to use a full memory system

Not every agent needs this full setup.

Read references/architecture-decision-guide.md when the user is unsure whether they need a full global / project / bridge system, or whether a simpler setup is enough.

Step 1 — Diagnose the real memory problem

Classify the user's issue before proposing architecture.

Typical failure modes:

  • single-brain overload: everything is dumped into one place
  • project pollution: local project state contaminates long-term memory
  • retrieval confusion: the agent doesn't know where to look first
  • knowledge stagnation: lessons never graduate into reusable rules
  • maintenance decay: the structure exists but slowly becomes stale

Read references/failure-modes.md when you need a sharper diagnosis rubric.

Step 2 — Choose the architecture

Default recommendation: a three-part system

  • global memory for durable rules, preferences, SOPs, stable principles
  • project memory for local complexity and active work
  • bridge/promotions for candidate → promoted → canonical evolution

Read references/architecture.md when you need the design rationale.

Step 3 — Create the minimum working structure

For each project, start with 5 files:

  • PROJECT.md
  • STATUS.md
  • DECISIONS.md
  • ASSETS.md
  • LESSONS.md

Use the bundled templates in:

  • assets/project-templates/
  • assets/bridge-templates/

Step 4 — Define routing and promotion rules

Make sure the agent knows:

  • what belongs to global memory
  • what stays project-local
  • what becomes a candidate for reuse
  • what evidence is required before promotion

Read:

  • references/routing.md
  • references/promotion.md

Step 5 — Validate with concrete cases

Do not stop at design. Test the system with at least 3 case types:

  • continuous project execution
  • interruption and recovery
  • cross-project reuse

Use measurable criteria: recovery accuracy, unnecessary follow-up questions, reuse success, structure completeness, etc.

Read references/validation.md for a compact validation model.

Step 6 — Add a maintenance runbook

A memory system is not done when designed. It is done when it can be maintained.

Define:

  • when to update daily logs
  • when to update project status
  • when to record lessons
  • when candidates get promoted
  • when to deprecate outdated rules
  • how often to review global/project/bridge memory

Read references/maintenance.md when writing or reviewing the runbook.

Minimal success path

A good first run of this skill usually looks like:

  1. identify the dominant failure mode
  2. choose the global/project/bridge architecture
  3. create the 5 core project files
  4. define one promotion rule and one routing rule
  5. validate with one interruption-recovery case and one reuse case
  6. write a simple maintenance rhythm

If the agent can recover better, reuse more, and stay cleaner over time, the system is working.

Packaging guidance

Keep the public skill:

  • short in SKILL.md
  • practical in workflow
  • generalized in examples
  • private details removed

Do not include:

  • personal identifiers
  • real workspace paths tied to an individual
  • raw private conversation excerpts
  • internal-only document links
  • unredacted project-specific evidence

Read references/publish-checklist.md before publishing or sharing widely.

Output style for public-facing use

If the user wants something that attracts attention, write with this shape:

  • start from a painful, recognizable problem
  • name the failure mode clearly
  • present the architecture as a relief pattern
  • show a small, concrete workflow
  • prove it with validation cases
  • end with operational simplicity, not abstract theory

Make it feel like a usable system, not an academic essay.

安全使用建议
This skill is a documentation-style workflow and templates for designing agent memory; it contains no code, no installers, and asks for no credentials — the immediate security risk is low. Before you rely on it in production, note: (1) if you instruct the agent to integrate this design with real storage or vector DBs, those integration steps will require credentials and deserve separate review; (2) if you grant the agent autonomous capabilities, it could apply maintenance or routing changes automatically — consider whether you want those actions to be automated; and (3) keep privacy guidance in the skill in mind when producing any public/shareable outputs (redact personal or workspace identifiers).
功能分析
Type: OpenClaw Skill Name: agent-memory-os Version: 0.1.0 The agent-memory-os skill bundle is a structured framework designed to help AI agents manage long-term memory through organized Markdown files and templates. It provides architectural guidance for separating global knowledge from project-specific data using files like PROJECT.md and STATUS.md. The instructions in SKILL.md and the references/ folder (e.g., publish-checklist.md) explicitly emphasize privacy, data sanitization, and the prevention of leaking sensitive information. No malicious code, unauthorized network activity, or harmful prompt injection attempts were found.
能力评估
Purpose & Capability
Name/description promise (a memory OS for agents) aligns with the included files (SKILL.md, templates, and reference docs). There are no unrelated environment variables, binaries, or install steps requested.
Instruction Scope
Runtime instructions are design and operational guidance that reference only the bundled reference files and templates. The skill does not instruct the agent to read unknown system files, call external endpoints, or exfiltrate data.
Install Mechanism
No install spec and no code files — instruction-only. Nothing is downloaded or written to disk by an installer from external sources.
Credentials
The skill requests no environment variables, no credentials, and no config paths. This is proportionate to a documentation/architecture skill.
Persistence & Privilege
always is false (not force-included). The skill is user-invocable and allows autonomous invocation by default, which is the platform norm; that alone is not a concern given the skill's benign contents.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agent-memory-os
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agent-memory-os 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial public release: build an agent memory operating system with global memory, project memory, promotion rules, validation cases, and a maintenance loop.
元数据
Slug agent-memory-os
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Agent Memory OS 是什么?

Provides a structured memory system for AI agents with global and project memory, promotion rules, validation, and maintenance to prevent forgetting and conf... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 153 次。

如何安装 Agent Memory OS?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-memory-os」即可一键安装,无需额外配置。

Agent Memory OS 是免费的吗?

是的,Agent Memory OS 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Agent Memory OS 支持哪些平台?

Agent Memory OS 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Agent Memory OS?

由 Aslan117(@aslan-ai-labs)开发并维护,当前版本 v0.1.0。

💬 留言讨论