← 返回 Skills 市场
Agent Memory 1
作者
tigertamvip
· GitHub ↗
· v1.0.0
· MIT-0
184
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install agent-memory-1
功能描述
Persistent memory system for AI agents to remember facts, learn from experience, and track entities across sessions with easy recall and updates.
使用说明 (SKILL.md)
AgentMemory Skill
Persistent memory system for AI agents. Remember facts, learn from experience, and track entities across sessions.
Installation
clawdhub install agent-memory
Usage
from src.memory import AgentMemory
mem = AgentMemory()
# Remember facts
mem.remember("Important information", tags=["category"])
# Learn from experience
mem.learn(
action="What was done",
context="situation",
outcome="positive", # or "negative"
insight="What was learned"
)
# Recall memories
facts = mem.recall("search query")
lessons = mem.get_lessons(context="topic")
# Track entities
mem.track_entity("Name", "person", {"role": "engineer"})
When to Use
- Starting a session: Load relevant context from memory
- After conversations: Store important facts
- After failures: Record lessons learned
- Meeting new people/projects: Track as entities
Integration with Clawdbot
Add to your AGENTS.md or HEARTBEAT.md:
## Memory Protocol
On session start:
1. Load recent lessons: `mem.get_lessons(limit=5)`
2. Check entity context for current task
3. Recall relevant facts
On session end:
1. Extract durable facts from conversation
2. Record any lessons learned
3. Update entity information
Database Location
Default: ~/.agent-memory/memory.db
Custom: AgentMemory(db_path="/path/to/memory.db")
安全使用建议
This skill appears to be what it claims: a local SQLite-based memory for agents. Before installing, consider: 1) The DB is stored in ~/.agent-memory/memory.db by default and contains any facts you store — treat it as sensitive data (restrict filesystem permissions, do not put secrets there, or set a custom db_path). 2) SQLite FTS5 is used; ensure your Python/SQLite build supports FTS5 or the FTS parts may fail. 3) The code is included and readable — review src/memory.py if you have specific security/privacy requirements. 4) Run the bundled tests or run in an isolated environment first if you want to validate behavior. There are no signs of network exfiltration or unrelated credential requests.
功能分析
Type: OpenClaw Skill
Name: agent-memory-1
Version: 1.0.0
The AgentMemory skill bundle is a legitimate utility for providing AI agents with a local persistent memory layer using SQLite. The codebase is well-structured, uses parameterized SQL queries to prevent injection, and relies entirely on the Python standard library with no external dependencies or network-reaching code. The instructions in SKILL.md and README.md are consistent with the stated purpose of managing session context, and there is no evidence of data exfiltration, malicious prompt injection, or unauthorized file access beyond the default database directory (~/.agent-memory/).
能力评估
Purpose & Capability
Name, description, SKILL.md, CLI wrappers, tests, and src/memory.py all implement a local persistent memory (facts, lessons, entities) stored in an SQLite DB. There are no unrelated environment variables, binaries, or cloud credentials requested.
Instruction Scope
SKILL.md and examples only instruct creating/using the AgentMemory API and storing the DB at ~/.agent-memory/memory.db (or a custom path). There are no instructions to read unrelated system files, access secrets, call external endpoints, or exfiltrate data.
Install Mechanism
This is effectively an instruction/source bundle with no install spec that downloads arbitrary code. All source is included; there are no URL downloads, package installs, or extract steps in the provided files.
Credentials
The skill declares no required environment variables or credentials, and the code does not read environment secrets. It persists data to a user-local SQLite DB only.
Persistence & Privilege
always is false (not forced), model invocation is allowed (normal), and the skill only creates/uses a DB under the user's home directory. It does not alter other skills' configs or request elevated/system-wide privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install agent-memory-1 - 安装完成后,直接呼叫该 Skill 的名称或使用
/agent-memory-1触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the AgentMemory Skill.
- Provides persistent memory for AI agents to remember facts, learn from experience, and track entities across sessions.
- Includes simple Python API for remembering facts, recording lessons, recalling knowledge, and tracking entities.
- Features instructions for integrating with Clawdbot session workflows.
- Supports custom and default database locations for storing memory data.
元数据
常见问题
Agent Memory 1 是什么?
Persistent memory system for AI agents to remember facts, learn from experience, and track entities across sessions with easy recall and updates. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 184 次。
如何安装 Agent Memory 1?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-memory-1」即可一键安装,无需额外配置。
Agent Memory 1 是免费的吗?
是的,Agent Memory 1 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Agent Memory 1 支持哪些平台?
Agent Memory 1 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Agent Memory 1?
由 tigertamvip(@tigertamvip)开发并维护,当前版本 v1.0.0。
推荐 Skills