Token导航 LogoToken导航

Agent Skill · 研究检索

memory-fortress(记忆堡垒)

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

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

总安装 5,184周安装 216GitHub Stars 公开资料未说明下载 1,728核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install memory-fortress

这个 Skill 是做什么的

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

memory-fortress 是 OpenClaw 的内存管理系统,结合压缩感知保存与结构化组织提升记忆效率。适合需要长期记忆管理、上下文检索或任务连续性维护的场景。通过关键词触发检索,支持会话预检、触发召回和预执行门控三阶段流程。

安装命令为 openclaw skills install memory-fortress,需确认文件读写和网络权限。建议定期检查维护状态,避免因令牌膨胀或索引中断影响性能。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

memory-fortress 怎么安装?

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

memory-fortress 支持哪些 AI 工具?

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

memory-fortress 需要什么权限?

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

memory-fortress 是免费的吗?

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

memory-fortress 用的人多吗?

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

memory-fortress 安全吗?

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

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

值得选的地方

  • 专注 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调用外部服务未明确有提醒
memory-fortress

记忆堡垒 · 本页

5,184—只读MIT-0通过

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

SKILL.md 原文

name
memory-fortress
version
1.1.2
description
Complete memory management system for OpenClaw agents. Combines compaction-aware saving, a formal boot sequence, domain organization, memory scoring, structured learnings, and documentation-first project continuity.

Memory Fortress 🏰

A unified memory system that prevents agents from forgetting what they did yesterday and ensures work survives session boundaries in written form.

Built from five proven patterns:

  • Compaction-aware saving, disk is truth
  • Boot sequence + state files, Dory-proof capture
  • Domain organization, keeping MEMORY.md small and useful
  • Memory types + priority, for durable recall
  • Promote / demote lifecycle, so memory can evolve over time

Mental model

┌─────────────────────────────────────────────────────┐
│                   MEMORY FORTRESS                   │
├─────────────────────────────────────────────────────┤
│  🔴 SESSION RAM   → temporary, lost on compaction   │
│  🟡 STATE/        → active task, blockers, decisions│
│  🟢 DAILY LOG     → memory/YYYY-MM-DD.md            │
│  🔵 MEMORY.md     → curated durable knowledge       │
│  ⚪ DOMAINS/       → topic-specific detail           │
│  📦 ARCHIVE/      → older logs                      │
│  🧱 PROJECT FILES → task_plan.md + notes.md + output│
└─────────────────────────────────────────────────────┘

Core principle: session memory is temporary, files are truth.


1. Boot sequence — run at the start of every session

Order matters.

1. state/HOLD.md        — what is blocked? do not do these
2. state/ACTIVE.md      — is there an active task?
3. state/DECISIONS.md   — recent decisions, last 48h
4. state/CLOSED.md      — durable closed decisions, not to be reopened casually
5. IDENTITY.md          — who the agent is
6. SOUL.md              — learned style and operating principles
7. USER.md              — who the agent serves
8. memory/YYYY-MM-DD.md — today + yesterday
9. MEMORY.md            — long-term knowledge, main session only

Post-boot status line:

🏰 Boot: ACTIVE=[task|none] | HOLD=[n] | DECISIONS=[n last 48h]

Not a boot step

  • Domain files, load on demand with memory_search
  • Archive, only when needed
  • Other agents' memory, never by default

2. Dory-proof pattern — when a task arrives

When the user gives you a task:

  1. Immediately write their exact words to state/ACTIVE.md
  2. Then interpret the request
  3. Then do the work
  4. When done, update or clear ACTIVE

state/ACTIVE.md format

## Active task
**User said:** "[exact quote]"
**Interpretation:** [what you believe it means]
**Status:**
- [ ] Step 1
- [ ] Step 2
**Updated:** YYYY-MM-DD HH:MM

state/HOLD.md format

[YYYY-MM-DD HH:MM | session] Item — reason for blocking

state/DECISIONS.md format

[YYYY-MM-DD HH:MM | session] Decision — context / rationale

state/CLOSED.md format

[YYYY-MM-DD | decider] Topic keyword — short final decision

Use CLOSED.md for issues that were definitively settled and should not keep resurfacing as open questions.


3. Write Before Lose — compaction-aware saving

Session RAM can disappear. Save important things before that happens.

EventWhere to write
Decision madestate/DECISIONS.md + daily log
Preference discoveredMEMORY.md or daily log
Task receivedstate/ACTIVE.md
Something blockedstate/HOLD.md
Error + lessondaily log + .learnings/
Important fact discovereddaily log, later promote if durable
Work completedstate/ACTIVE.md + daily log

Rule: if it matters, write it immediately.


4. Memory scoring — what belongs in MEMORY.md?

Score each candidate on 4 axes from 0 to 3.

Axis0123
DurabilityGone tomorrowWeeksMonthsYears+
ReuseOne-timeOccasionalFrequentEvery session
ImpactTrivialHelpfulChanges outputChanges decisions
UniquenessObviousMildly usefulHard to re-deriveIrreplaceable

Put it in MEMORY.md if:

  • total score ≥ 8, or
  • any axis = 3 and total score ≥ 6

Everything else belongs in the daily log or a domain file.


5. Domain organization — keep MEMORY.md ≤10KB

memory/
├── domains/
│   ├── projects.md
│   ├── infrastructure.md
│   ├── people.md
│   ├── skills-tools.md
│   ├── lessons.md
│   └── policies.md
├── .learnings/
├── archive/
└── YYYY-MM-DD.md

Rules

  • MEMORY.md stores summaries, references, and the most important durable knowledge
  • memory/domains/*.md stores detailed topic-specific material
  • memory/archive/ stores old logs
  • memory/.learnings/ stores structured mistakes, corrections, and requests

6. Memory types and priority

PrefixType
DECDecision
PREFPreference
FACTDurable fact
POLICYRule
LESSONLesson learned
ERRKnown error

Use priority 1 to 10. Reserve 9 to 10 for truly critical items.


7. Promote / Demote — memory lifecycle

Promote when

  • the memory becomes relevant again
  • the user references it
  • it supports an important decision

Demote when

  • it has not been used in 30+ days
  • it is outdated
  • a newer memory contradicts it

Contradiction handling

  1. Prefer the newer memory
  2. Mark the older one [STALE]
  3. Record why it changed in the daily log

8. Search strategy

Always use:

  1. memory_search
  2. memory_get

Search order:

  1. state/
  2. MEMORY.md
  3. memory/domains/*.md
  4. memory/YYYY-MM-DD.md
  5. memory/archive/

Do not read entire memory trees "just in case."


9. Multi-agent rules

RuleDetails
Own workspaceEach agent writes in its own workspace
No cross-readDo not read another agent's memory by default
CommunicationUse direct agent messaging, not memory files
Shared stateOnly explicitly shared folders
Private contextKeep private conversations private

10. Anti-patterns

Don'tDo instead
"I'll remember this mentally"Write it to a file immediately
Paste chat logs into MEMORY.mdUse daily log + summary
Let MEMORY.md bloatSplit into domain files
Answer past-context questions from memory aloneSearch first
Keep many tasks in ACTIVE.mdOne active task, rest in project files
Paraphrase the user's taskKeep the exact quote
Store secret valuesRecord only that they exist

11. .learnings/ — mistakes, corrections, and growth

Recommended files:

  • memory/.learnings/LEARNINGS.md
  • memory/.learnings/ERRORS.md
  • memory/.learnings/FEATURE_REQUESTS.md

Triggers

  • User correction → LEARNINGS.md / correction
  • Outdated knowledge → LEARNINGS.md / knowledge_gap
  • Better method discovered → LEARNINGS.md / best_practice
  • Command or tool failure → ERRORS.md
  • Missing capability requested → FEATURE_REQUESTS.md

ID format

TYPE-YYYYMMDD-XXX

Promotion logic

  • behavioral pattern → persona / operating docs
  • workflow improvement → operational manual
  • tool gotcha → tool docs
  • broadly reusable lesson → new skill

12. Documentation-first workflow — mandatory project continuity

Memory is not enough. The work itself must also exist in files.

Core principle

If it's not written down, it doesn't exist.

What to document, and where

WhatWhere
Incoming taskstate/ACTIVE.md, exact user words
Decisionstate/DECISIONS.md + daily log
Blockerstate/HOLD.md
Permanently closed decisionstate/CLOSED.md
Reorientation snapshotstate/ORIENT.md
Research notesnotes.md
Project progresstask_plan.md
Final outputa dedicated deliverable file
General lesson.learnings/ or a domain file

Project detection

Treat work as a project immediately if any of these are true:

  • it has 3 or more steps
  • it has a name, slug, or concrete deliverable
  • it may span multiple sessions
  • it includes research, building, and review

Required 3-file pattern

For any non-trivial task, create:

projects/<project-slug>/
├── task_plan.md
├── notes.md
└── deliverable.md   or another suitable output file

Minimum task_plan.md

# Task Plan: [name]

## Goal
[one-sentence end state]

## Phases
- [ ] Phase 1: setup
- [ ] Phase 2: discovery / research
- [ ] Phase 3: execution
- [ ] Phase 4: review / deliver

## Decisions Made
- [decision]: [why]

## Errors Encountered
- [error]: [resolution]

## Status
**Currently in Phase X** - [current focus]

Role of notes.md

Use it for sources, raw findings, analysis, and anything too large for the live context window.

Documentation rules

  1. Plan first
  2. Read the plan before major decisions
  3. Update the plan after each phase
  4. Store large content in files, not in chat context
  5. Log errors as they happen

Cron and automation prompts

If you write a cron or automation prompt, include a dedicated section like this:

### Documentation (MANDATORY)
- Append a short run summary to: [exact file path]
- Format: YYYY-MM-DD | type | slug | summary
- This must be the last step before finishing

Why this belongs in Memory Fortress

Because project files are memory too. task_plan.md, notes.md, and state/ORIENT.md together form the operational memory of ongoing work.


13. Failsafe / reorientation layer

When an agent suddenly loses the thread, starts following the wrong branch of work, or needs to recover the real task from a long conversation, it should create a focused reorientation summary before doing more execution.

Proven recovery prompt pattern

Read back the full thread content and summarize what we have done so far, where the task is documented, and what the next step is. Do not go further, only produce this detailed summary.

When to activate it

  • the agent is unsure where the work actually stands
  • too many side-tracks were followed
  • after handoff or a long pause
  • when thread state and file state must be reconciled
  • before the context window becomes too noisy

Reorientation protocol

  1. Read back the relevant thread or documented context
  2. Check state/HOLD.md, state/ACTIVE.md, state/DECISIONS.md, state/CLOSED.md
  3. Open the canonical task_plan.md and notes.md
  4. Produce a short factual summary
  5. Write the compressed version to state/ORIENT.md
  6. Only then resume execution

Recommended state/ORIENT.md format

## Reorientation snapshot
**Thread / Context:** [which thread or task this is]
**What we did so far:**
- ...
- ...

**Where it is documented:**
- `state/ACTIVE.md`
- `projects/<slug>/task_plan.md`
- `projects/<slug>/notes.md`

**Actual next step:**
- ...

**Do not do instead:**
- ...
- ...

**Closure criteria:**
- ...
- ...

**Last updated:** YYYY-MM-DD HH:MM

Important rules

  • a failsafe summary is not execution, it is reorientation
  • do not jump into a new project or side-track first
  • identify the real next step before acting
  • send it to chat only for handoff, decision points, or explicit user request
  • the canonical version should live in files, not only in chat

Why not periodic Discord summaries?

Because they create noise, duplicate the file-based source of truth, and consume context themselves. The correct model is: file-first summary, chat-only when useful.

When to make this a separate mini-skill

If the recurring task is thread readback + summary + documented next-step recovery, use a dedicated context-rescue mini-skill.


14. Maintenance schedule

FrequencyTask
Every sessionrun boot sequence
Every taskupdate ACTIVE
Important eventwrite immediately
Dailyreview daily log and clean state
Weeklysize-check MEMORY.md and update domains
Biweeklyarchive old logs
Monthlydemote stale memories and resolve contradictions
On errorwrite to .learnings/ERRORS.md
On correctionwrite to .learnings/LEARNINGS.md

15. Installation

1. Create state files

mkdir -p state
touch state/ACTIVE.md state/HOLD.md state/DECISIONS.md state/CLOSED.md

2. Create ORIENT file

touch state/ORIENT.md

3. Create memory structure

mkdir -p memory/domains memory/archive memory/.learnings

4. Create projects convention

mkdir -p projects

5. Update your agent manual

Add the boot sequence, the write-before-lose rule, the documentation-first project pattern, and the failsafe ORIENT.md reorientation layer.


*"Memory is what separates a tool from an ally."*

平台分布

OpenClaw

88.84%
按下载量换算1,535

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

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

安装前确认

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

继续浏览同类 Skills