← 返回 Skills 市场
mindbomber

AANA Agent Memory Gate Skill

作者 mindbomber · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
68
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install aana-agent-memory-gate
功能描述
Manages user memory operations by validating relevance, sensitivity, source, approval, and lifecycle before storing, reusing, editing, importing, exporting,...
使用说明 (SKILL.md)

AANA Agent Memory Gate Skill

Use this skill when an OpenClaw-style agent may store, reuse, edit, summarize, infer, import, export, or delete user memory.

This is an instruction-only skill. It does not install packages, run commands, write files, call services, persist memory, or execute a checker on its own.

Core Principle

User memory should be deliberate, relevant, accurate, reversible where possible, and approved before it is stored, reused, edited, or deleted.

The agent should separate:

  • facts the user explicitly asked to remember,
  • preferences the user clearly approved for future use,
  • temporary task context that should not become memory,
  • inferred traits that should not be stored without confirmation,
  • sensitive information that should not be stored unless strictly necessary and explicitly approved,
  • obsolete or incorrect memory that should be corrected or deleted with approval.

When To Use

Use this skill before:

  • saving a new user memory,
  • reusing a stored memory to shape an answer or action,
  • editing, merging, summarizing, or deleting existing memory,
  • inferring preferences, identity details, relationships, locations, habits, health, legal, financial, employment, or personal facts,
  • importing memory from files, messages, chats, notes, account records, or previous tasks,
  • exporting or sharing memory with tools, services, collaborators, logs, prompts, or other agents.

Memory Actions

Classify the proposed memory operation:

  • none: no memory operation is needed.
  • read: inspect memory for direct task relevance.
  • reuse: use memory to personalize or constrain the current response.
  • store: create a new memory.
  • edit: correct, merge, narrow, or update a memory.
  • delete: remove a memory.
  • export: send memory outside the current agent context.
  • import: add memory from another source.
  • unknown: the memory operation is unclear.

AANA Memory Gate Loop

  1. Identify the current user request.
  2. Identify the proposed memory operation.
  3. Check relevance: is the memory needed for this task or future preference?
  4. Check source: explicit user statement, user-approved preference, inferred, third-party, tool output, or unknown.
  5. Check sensitivity: ordinary, personal, private, financial, health, legal, credential, biometric, child/minor, or protected-class information.
  6. Check approval: explicit, implicit low-risk reuse, clarification needed, denied, or not needed.
  7. Check lifecycle: should this be temporary, stored, updated, deleted, or never stored?
  8. Choose action: proceed, ask, request approval, narrow, avoid storing, edit, delete, or refuse.

Required Memory Checks

Before using memory, verify:

  • user request,
  • memory operation,
  • memory content summary,
  • source of the memory,
  • why it is relevant,
  • sensitivity class,
  • approval status,
  • retention or deletion expectation,
  • whether a safer temporary-use alternative exists.

Approval Rules

Require explicit user approval before:

  • storing a new memory,
  • editing, merging, or deleting memory,
  • reusing sensitive memory for a new purpose,
  • importing memory from another source,
  • exporting memory outside the current agent context,
  • storing inferred preferences or traits,
  • storing anything about health, legal, financial, biometric, credential, child/minor, protected-class, or highly personal matters.

Approval should name the exact memory action and compact content:

Should I remember that you prefer concise status updates for this project?

Do not treat silence as approval.

Reuse Rules

Reuse memory only when:

  • it is relevant to the current request,
  • it was stored with user approval or is low-risk task preference memory,
  • it does not introduce unrelated private data,
  • it does not override the user's current instruction,
  • it is not stale, conflicting, or likely incorrect.

Ask before reuse when:

  • the memory is sensitive,
  • the memory conflicts with the current request,
  • the memory was inferred rather than explicitly provided,
  • the memory comes from another context, account, user, or tool source,
  • the user may not expect it to affect this task.

Storage Rules

Do not store:

  • secrets, passwords, API keys, private keys, tokens, cookies, or security codes,
  • payment numbers, bank details, government IDs, medical records, legal records, raw financial records,
  • full private messages, full logs, full transcripts, or unrelated personal data,
  • protected-class traits, biometric data, child/minor data, trauma details, or intimate details unless explicitly requested and appropriate,
  • speculative inferences, labels, diagnoses, risk scores, or judgments about the user,
  • temporary task context that is only needed for the current request.

Prefer:

  • short user-approved preferences,
  • project-specific working notes with clear scope,
  • redacted summaries,
  • time-limited notes,
  • asking before storage.

Edit And Delete Rules

Before editing or deleting memory:

  • show or summarize the memory being changed,
  • explain the proposed edit or deletion,
  • get explicit approval,
  • avoid deleting broad groups of memories unless the user clearly requested that scope.

If a memory is wrong, stale, sensitive, or no longer wanted, ask whether to correct, narrow, or delete it.

Review Payload

When using a configured AANA checker, send only a minimal redacted review payload:

  • user_request
  • memory_operation
  • memory_summary
  • source_status
  • relevance_status
  • sensitivity_status
  • approval_status
  • lifecycle_status
  • recommended_action

Do not include raw secrets, credentials, full private records, full logs, full transcripts, full account records, or unrelated private data when a redacted summary is enough.

Decision Rule

  • If no memory is needed, do not use memory.
  • If low-risk memory is relevant and approved for this purpose, reuse it.
  • If storing, editing, deleting, importing, exporting, or sensitive reuse is proposed, request explicit approval.
  • If the content is sensitive or unnecessary, avoid storing and use temporary context only.
  • If the memory is stale, conflicting, or unsupported, ask before using or changing it.
  • If the memory action would expose secrets, violate consent, or misuse private data, refuse that part.
  • If a checker is unavailable or untrusted, use manual memory review.

Output Pattern

For memory-sensitive work, prefer:

AANA memory gate:
- Request: ...
- Memory operation: none / read / reuse / store / edit / delete / export / import / unknown
- Memory summary: ...
- Source: explicit_user / approved_preference / inferred / third_party / tool_output / unknown
- Relevance: relevant / partial / unrelated / unknown
- Sensitivity: ordinary / personal / private / financial / health / legal / credential / protected / unknown
- Approval: explicit / implicit_low_risk / required / denied / unclear
- Decision: proceed / ask / request_approval / narrow / avoid_storing / edit / delete / refuse

Do not include this gate in the user-facing answer unless approval, correction, deletion, or a memory boundary needs to be explained.

安全使用建议
This looks like a benign instruction-only memory-safety skill. Before installing, verify the unexpected can-make-purchases capability signal is not a real permission, check the publisher/version metadata if provenance matters to you, and only connect any optional AANA checker that you trust.
功能分析
Type: OpenClaw Skill Name: aana-agent-memory-gate Version: 1.0.0 The 'aana-agent-memory-gate' skill is a defensive, instruction-only bundle designed to enforce privacy and security guardrails on how an AI agent handles user memory. It explicitly forbids the storage of sensitive data such as API keys, passwords, and medical records, and mandates explicit user approval for storing, editing, or deleting information (SKILL.md, manifest.json). There is no executable code, no external network activity, and no evidence of malicious intent or prompt-injection attacks.
能力标签
cryptocan-make-purchases
能力评估
Purpose & Capability
The artifacts consistently describe a memory-gating policy requiring relevance, sensitivity, lifecycle, and approval checks. A capability signal lists can-make-purchases even though the files show no purchase flow, credentials, commands, or services, so verify that this is not an actual granted permission.
Instruction Scope
Instructions are scoped to memory operations and explicitly require approval for storing, editing, deleting, importing, exporting, or sensitive reuse. They also say not to store secrets, raw private records, or speculative sensitive inferences.
Install Mechanism
There is no install spec, dependency installation, or bundled code execution. The registry version and bundled manifest version differ, and the source/homepage are not identified, which is a minor provenance note.
Credentials
The skill is intended to be used around potentially private memory, including financial, health, legal, credential, or other sensitive categories, but it directs redaction, minimization, and explicit approval.
Persistence & Privilege
The skill itself declares that it does not persist memory, but it governs decisions about persistent memory storage, reuse, editing, deletion, import, and export.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install aana-agent-memory-gate
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /aana-agent-memory-gate 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
AANA Agent Memory Gate Skill 1.0.0 - Introduces instruction-only guidance to govern agent interactions with user memory. - Establishes classification, approval, and sensitivity rules for storing, reusing, editing, importing, exporting, and deleting memory. - Provides detailed checklists and a review loop to ensure deliberate and user-approved memory handling. - Specifies forbidden memory types and outlines preferred practices for storing user-approved or minimized data. - Includes sample output patterns and decision rules for transparent and safe agent memory operations.
元数据
Slug aana-agent-memory-gate
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

AANA Agent Memory Gate Skill 是什么?

Manages user memory operations by validating relevance, sensitivity, source, approval, and lifecycle before storing, reusing, editing, importing, exporting,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 68 次。

如何安装 AANA Agent Memory Gate Skill?

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

AANA Agent Memory Gate Skill 是免费的吗?

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

AANA Agent Memory Gate Skill 支持哪些平台?

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

谁开发了 AANA Agent Memory Gate Skill?

由 mindbomber(@mindbomber)开发并维护,当前版本 v1.0.0。

💬 留言讨论