Memfy
/install memfy
Memfy
Use this skill when the user says memfy, asks you to remember something for future chats, or asks you to persist durable local context.
Core Behavior
memfy is an explicit save-memory command. Treat it as permission to persist the important current-task details into the user's durable memory location.
Save only information that will help future agents avoid making the user repeat themselves:
- Stable preferences, workflows, decisions, contacts, project facts, IDs, URLs, file paths, and follow-up rules.
- Current task outcomes that future sessions should know.
- Corrections the user made that should change future behavior.
- Non-secret configuration names or environment variable names.
Do not save:
- Raw passwords, API keys, tokens, private keys, cookies, recovery codes, or full credentials.
- One-off emotional reactions, temporary drafting text, or noisy conversation.
- Sensitive personal data unless the user clearly wants it remembered and it is necessary for future work.
- Unsupported guesses. Mark uncertain facts as uncertain or do not save them.
Workflow
-
Identify the durable memory target.
- Prefer
MEMFY_MEMORY_FILEif it is set. - Otherwise read local project or agent instructions for a memory file path.
- If no target is discoverable, ask the user where to save memory before writing.
- Prefer
-
Distill the memory.
- Write concise bullet points under a dated heading.
- Include exact file paths, URLs, IDs, and commands only when they are useful and non-secret.
- Summarize secrets as location pointers such as "stored in
.envunderSERVICE_API_KEY"; never write the raw value.
-
Write safely.
- Append to the existing memory file unless the user explicitly asks to edit or reorganize it.
- Preserve the file's encoding when possible.
- Do not overwrite unrelated memory.
- If the memory file is unreadable because of encoding, use a safe append method that does not rewrite the full file.
-
Confirm briefly.
- Tell the user what category of memory was saved.
- Mention any important thing deliberately not saved, especially secrets.
Suggested Format
## Short Topic (YYYY-MM-DD)
- Stable fact, preference, or outcome.
- Relevant path or URL: `...`
- Secret handling note: raw credentials are stored only in `.env`, not in memory.
Quality Bar
A good memfy entry should be:
- Short enough to scan quickly.
- Specific enough for a future agent to act on.
- Free of raw secrets.
- Written in the user's own durable context, not only in the chat.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install memfy - 安装完成后,直接呼叫该 Skill 的名称或使用
/memfy触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Memfy 是什么?
Capture durable user-approved memory when the user says memfy, without storing secrets or transient chatter. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 39 次。
如何安装 Memfy?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install memfy」即可一键安装,无需额外配置。
Memfy 是免费的吗?
是的,Memfy 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Memfy 支持哪些平台?
Memfy 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Memfy?
由 Ai With Enoch(@aiwithenoch)开发并维护,当前版本 v1.0.0。