← 返回
未分类 中文

Memfy

Capture durable user-approved memory when the user says memfy, without storing secrets or transient chatter.
在用户说 memfy 时捕获持久且经用户批准的记忆,不存储秘密或临时闲聊。
aiwithenoch aiwithenoch 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 2
Stars
📥 79
下载
💾 0
安装
1
版本
#latest

概述

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

  1. Identify the durable memory target.
    • Prefer MEMFY_MEMORY_FILE if 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.
  1. 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 .env under SERVICE_API_KEY"; never write the raw value.
  1. 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.
  1. 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.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-06-07 13:05 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

business-ops

Meta Service Lead Gen

aiwithenoch
为服务业企业设计、审计、诊断并改进Meta/Facebook/Instagram的潜在客户获取漏斗,这些企业通过应用程序、预约页面等渠道进行销售。
★ 0 📥 207
ai-agent

Find Skills

root
帮助用户发现和安装智能体技能,当用户询问如「如何做X」、「找X的技能」、「有能做...的吗」等问题时
★ 1,523 📥 580,604
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 871 📥 349,325