← 返回 Skills 市场
Agent Memory Temp
作者
Liguang00806
· GitHub ↗
· v1.0.0
· MIT-0
401
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install agent-memory-temp
功能描述
Persistent memory system enabling AI agents to remember facts, learn from experiences, and track entities across sessions for improved context awareness.
使用说明 (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 do what it says: a local SQLite-backed memory for agents. Before installing, consider: (1) Privacy — it will persist conversation content and other facts to ~/.agent-memory/memory.db by default; ensure you are comfortable storing that data locally and set appropriate file permissions or use a custom db_path (or :memory: for ephemeral use). (2) Review the code if you have strict security policies — the implementation appears to be pure Python/stdlib and contains no network calls or credential access, but reading the source is quick and recommended. (3) FTS5: the code uses SQLite FTS5 (virtual table); on some systems the Python sqlite3 build may lack FTS5 support — test in a safe environment. (4) Note the minor naming mismatch: documentation uses 'agent-memory' while this registry item is 'agent-memory-temp' — ensure you install the correct package/version. If you need encrypted storage, use an encrypted filesystem or modify the code to add encryption at rest before storing sensitive content.
功能分析
Type: OpenClaw Skill
Name: agent-memory-temp
Version: 1.0.0
The AgentMemory skill is a legitimate persistent memory system for AI agents using a local SQLite database (~/.agent-memory/memory.db). The code in src/memory.py and the CLI wrappers provide standard CRUD operations for facts, lessons, and entities without any external dependencies, network calls, or risky execution patterns. The instructions in SKILL.md are consistent with the stated purpose of session-based learning and context retention, showing no signs of malicious prompt injection or data exfiltration.
能力评估
Purpose & Capability
The name, description, SKILL.md, README, CLI wrappers, tests, and src/memory.py all implement a local persistent memory system (facts, lessons, entities, export). There are no unrelated env vars or external services requested. Minor inconsistency: SKILL.md and README use the install command 'clawdhub install agent-memory' while the registry entry here is 'agent-memory-temp' (naming mismatch) — this is likely benign but could confuse installers.
Instruction Scope
Runtime instructions and code operate locally (SQLite DB at ~/.agent-memory/memory.db by default) and the SKILL.md describes how to integrate the memory into agent lifecycle hooks. The instructions and code can store arbitrary conversation content and other facts persistently — this is expected for a memory skill but is a privacy consideration. There are no instructions to read arbitrary system files, access other credentials, call external endpoints, or run shell commands beyond normal Python usage.
Install Mechanism
No install spec is provided (instruction-only install or manual copy of src/memory.py), and the package claims zero external dependencies (uses Python stdlib sqlite3/json/etc.). Code files are bundled with the skill; nothing downloads or extracts arbitrary code at install time.
Credentials
The skill requests no environment variables, no credentials, and no config paths beyond a local SQLite DB (default ~/.agent-memory/memory.db). The level of access requested is proportional to a local memory capability.
Persistence & Privilege
The skill persists user data in a local database (by default in the user's home directory). always:false and no special platform privileges are requested, but persistent storage of conversation content increases privacy risk — users should treat stored memories as sensitive data and manage file permissions, backups, and deletion accordingly. The skill does not attempt to modify other skills' configs.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install agent-memory-temp - 安装完成后,直接呼叫该 Skill 的名称或使用
/agent-memory-temp触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of AgentMemory Skill providing a persistent memory system for AI agents.
- Supports remembering facts, learning from experience, and tracking entities across sessions.
- Includes simple API for recalling memories and retrieving lessons learned.
- Offers integration instructions for Clawdbot workflows.
- Allows custom database location configuration.
元数据
常见问题
Agent Memory Temp 是什么?
Persistent memory system enabling AI agents to remember facts, learn from experiences, and track entities across sessions for improved context awareness. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 401 次。
如何安装 Agent Memory Temp?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-memory-temp」即可一键安装,无需额外配置。
Agent Memory Temp 是免费的吗?
是的,Agent Memory Temp 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Agent Memory Temp 支持哪些平台?
Agent Memory Temp 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Agent Memory Temp?
由 Liguang00806(@liguang00806)开发并维护,当前版本 v1.0.0。
推荐 Skills