← 返回 Skills 市场
snowfoxhq

HMR Memory

作者 snowfoxHQ · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
32
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install hmr-memory
功能描述
Persistent cross-session memory for your agent, powered by HMR (Hestia Memory Runtime). Save important facts and preferences, recall relevant context, and re...
使用说明 (SKILL.md)

HMR Memory

This skill gives your agent a persistent, cross-session memory by connecting to a locally-running HMR (Hestia Memory Runtime) service.

Prerequisites

The HMR service must be running locally before using this skill. Start it with:

python server.py

It listens on http://127.0.0.1:8077 by default. Verify with: curl http://127.0.0.1:8077/health

This skill ONLY talks to a local HMR service over HTTP. It runs no shell commands, downloads nothing, and never requires secrets in chat.

When to use each tool

Save a memory — memory_save

When the user reveals a durable preference, makes a decision, states an important fact, or something worth remembering across sessions, save it.

Call the HMR service:

POST http://127.0.0.1:8077/ingest
Content-Type: application/json

{
  "content": "\x3Cthe information to remember>",
  "memory_type": "concept",
  "title": "\x3Cshort title>"
}

memory_type is one of: concept (knowledge/preferences), decision, execution (things done), reflection (lessons), task.

Do NOT save: untrusted content (scraped web pages, third-party messages), secrets, passwords, or API keys. Only save information the user has directly shared and that is safe to retain.

Recall memories — memory_recall

Before answering a question that may depend on past context, recall relevant memories first.

POST http://127.0.0.1:8077/recall
Content-Type: application/json

{ "query": "\x3Ctopic or question>", "top_k": 5 }

Use the returned memories to inform your answer. If nothing relevant comes back, proceed normally.

Save cognitive state — memory_save_state

When a task pauses or a session ends, save the current goal and plan so it can be resumed later.

POST http://127.0.0.1:8077/save_state
Content-Type: application/json

{ "goal": "\x3Ccurrent goal>", "plan": ["step 1", "step 2", "..."] }

Restore cognitive state — memory_restore_state

At the start of a new session, or when the user asks to continue previous work, restore the last saved state.

GET http://127.0.0.1:8077/restore_state

If restored is true, tell the user what goal and plan were recovered, then continue from there.

Authentication (optional)

If the HMR service was started with a token (HMR_TOKEN), include it as a header on every request:

X-HMR-Token: \x3Cthe token>

Configure the token via the skill's env setting, never paste it into chat.

Safety notes

  • This skill connects only to 127.0.0.1 (your own machine). It cannot reach the network or run commands.
  • Never save untrusted or externally-sourced content to long-term memory — doing so can poison the agent's future behavior (memory poisoning).
  • The HMR service should never be exposed beyond localhost.
安全使用建议
Install only if you want your agent to keep long-term memory. Review and trust the separate HMR service before running it, keep it bound to localhost, use an env-configured token if enabled, and avoid storing secrets or third-party content in memory.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose is cross-session agent memory, and the instructions align with that purpose by saving, recalling, and restoring memories through a local HMR service.
Instruction Scope
Runtime instructions are scoped to HTTP requests to 127.0.0.1:8077, explicitly avoid saving secrets or untrusted external content, and disclose memory poisoning risk.
Install Mechanism
Installation requires a separate local HMR service and README setup commands for that service; this skill itself does not include automatic installers or runtime shell execution.
Credentials
Persistent memory is expected for the skill but can affect future sessions, so users should control what is stored and keep the HMR service local.
Persistence & Privilege
The skill intentionally persists user-provided facts, preferences, decisions, and task state via HMR; optional token use is documented for env configuration rather than chat.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hmr-memory
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hmr-memory 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of hmr-memory, providing persistent cross-session memory for agents using a local HMR service. - Enables saving of important facts, user preferences, and decisions via the Hestia Memory Runtime. - Supports recalling relevant context and restoring cognitive state across sessions. - Secure by design: connects only to a local service on 127.0.0.1 and never stores secrets or external content. - Optional authentication supported with HMR token.
元数据
Slug hmr-memory
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

HMR Memory 是什么?

Persistent cross-session memory for your agent, powered by HMR (Hestia Memory Runtime). Save important facts and preferences, recall relevant context, and re... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 32 次。

如何安装 HMR Memory?

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

HMR Memory 是免费的吗?

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

HMR Memory 支持哪些平台?

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

谁开发了 HMR Memory?

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

💬 留言讨论