Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

agent-memory-loopAgent 记忆循环

Agent Skill

agent-memory-loop 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

11,232

周安装

468

GitHub Stars

公开资料未说明

下载量

3,744
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install agent-memory-loop

简介

轻量级自我完善循环,用于捕获和优化 Agent 执行中的错误与经验。

  • 适合需要持续沉淀问题、修正实践并提升任务稳定性的 OpenClaw 场景。
  • 通过单行格式快速记录反馈,自动去重并优先处理高频或关键问题。
  • 安装命令:openclaw skills install agent-memory-loop;建议确认权限与维护状态。
  • 注意可能涉及文件读写,需评估是否触发敏感操作或网络请求。

SKILL.md

name
agent-memory-loop
version
2.1.0
description
>
metadata
openclaw
homepage
https://clawhub.ai/agent-memory-loop
repository
https://github.com/donzurbrick/agent-memory-loop
requires
bins
platforms
author
Don Zurbrick
license
MIT

Agent Memory Loop

Lightweight learning for agents that reset between sessions.

Use this when

  • you want a low-friction way to log mistakes, corrections, and discoveries
  • you need recurring lessons without bloating core instructions
  • you want human-reviewed promotion instead of auto-writing to instruction files
  • you want a quick pre-task scan for known failure patterns

Do not use it for

  • autonomous self-modification
  • external content promotion
  • heavy multi-section incident writeups by default
  • dashboards, registries, or process ceremony

Core workflow

error / correction / discovery
        ↓
log one line in .learnings/
        ↓
dedup by id, then keyword
        ↓
count:3+ or severity:critical → promotion-queue
        ↓
human reviews promotion
        ↓
check relevant learnings before major work
        ↓
increment prevented:N when a learning actually changed behavior

Install

bash scripts/install.sh

Creates:

.learnings/
  errors.md
  learnings.md
  wishes.md
  promotion-queue.md
  details/
  archive/

Minimal instruction snippet

Add this to your agent instructions:

## Self-Improvement
Before major tasks: grep .learnings/*.md for relevant past issues.
After errors or corrections: log a one-line entry using agent-memory-loop.
Never auto-write to SOUL.md, AGENTS.md, TOOLS.md, or similar instruction files.
Stage candidate rule changes in .learnings/promotion-queue.md for human review.

The format, in short

One incident or discovery per line. Extra fields are optional.

[YYYY-MM-DD] id:ERR-YYYYMMDD-NNN | COMMAND | what failed | fix | count:N | prevented:N | severity:medium | source:agent
[YYYY-MM-DD] id:LRN-YYYYMMDD-NNN | CATEGORY | what | action | count:N | prevented:N | severity:medium | source:agent
[YYYY-MM-DD] CAPABILITY | what was wanted | workaround | requested:N
[YYYY-MM-DD] id:LRN-YYYYMMDD-NNN | proposed rule text | target: AGENTS.md | source:agent | evidence: count:N prevented:N | status: pending

Key fields:

  • count:N tracks recurrence
  • prevented:N tracks loop closure
  • severity:critical forces review even at count 1
  • source:external is never promotable

Operating rules

  1. Log fast; prefer a one-line entry over a perfect writeup
  2. Dedup before appending
  3. Queue recurring or critical lessons for review
  4. Humans approve promotions; agents do not
  5. Before major work, scan for relevant prior failures
  6. If a learning prevented a repeat mistake, record that with prevented:N

References

  • references/logging-format.md — canonical line formats, fields, examples, source labels
  • references/operating-rules.md — dedup, review queue, pre-task review, trimming rules
  • references/promotion-queue-format.md — queue entry structure and status lifecycle
  • references/detail-template.md — optional detail-file template for complex failures
  • references/design-tradeoffs.md — why this stays lean instead of turning into a system

Assets and scripts

  • assets/errors.md
  • assets/learnings.md
  • assets/wishes.md
  • assets/promotion-queue.md
  • scripts/install.sh
  • scripts/setup.sh
  • scripts/review.sh

Success condition

The loop is working if agents actually use it:

  • learnings are cheap to log
  • duplicates stay low
  • recurring lessons reach the queue
  • promotions stay human-approved
  • prevented:N starts climbing on real work

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

84.47%
按下载量换算3,163

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills