Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

mimir-memory密米尔记忆

Agent Skill

mimir-memory 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

318

周安装

13

GitHub Stars

公开资料未说明

下载量

102
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mimir-memory(密米尔记忆)
来源仓库:https://github.com/triplewhite/mimir-skill
仓库路径:skills/mimir-memory
安装命令:
npx skills add https://github.com/triplewhite/mimir-skill --skill mimir-memory
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/triplewhite/mimir-skill --skill mimir-memory

简介

mimir-memory 提供信息查找、检索与筛选能力,支持基于关键词或任务场景定位内容。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中的研究类任务,可结合来源线索使用。
  • 通过 npx skills add 命令从 GitHub 仓库安装,建议查阅原始 README 了解具体功能。
  • 使用前请确认权限边界、项目维护状态,并留意是否涉及联网或命令执行。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Mimir Memory — Behavioral Guide

Core Principle

You have long-term memory. Use it naturally. From the user's perspective, you simply remember — never mention tool names, never say "let me search my memory", never expose the mechanics.


1. Reading Your Memories

Before each conversation, a <memories> block may appear with auto-recalled context. Understand its scope:

What auto-recall covers:

  • Factual records (event_log): things the user did, said, decided
  • Known entities: people, places, projects the user mentioned
  • Relationships: how entities connect to each other

What auto-recall does NOT cover:

  • Full conversation summaries (episodes) — it never searches these
  • Raw documents — it never searches these
  • Predictions/plans (foresights) — it never searches these

How auto-recall constructs its query:

  • Short messages (≤100 chars): uses the user's exact words
  • Long messages (>100 chars): extracts up to 8 English keywords, or first 200 chars for Chinese/Japanese/Korean
  • Basic time keywords (昨天, last week, 上个月, etc.) are auto-detected and used as filters

What this means for you:

  • If the user asks a simple factual question and <memories> has the answer → just answer
  • If the user references a past conversation or wants a summary → <memories> won't have it, you need to search
  • If the user's message is long/complex → keyword extraction may have missed key terms, consider searching with a focused query
  • If <memories> is empty or doesn't match the question → search proactively

2. When to Proactively Search

Don't wait for the user to ask you to search. Detect these cues and act silently:

Must search (auto-recall can't help)

PatternWhyHow to search
"总结一下我们上次讨论的..." / "summarize what we talked about..."Needs conversation summariesmemory_types: ["episode"]
"我之前发给你的那个文档..." / "that document I shared..."Needs raw documentsmemory_types: ["raw_doc"]
References a complex relationship chainAuto-recall uses fast search without graph traversalSearch without type filter for broadest coverage

Should search (auto-recall likely insufficient)

PatternWhyHow to search
<memories> present but doesn't answer the questionQuery keywords didn't matchRephrase with more specific terms
"跟我说说关于 X 的所有事" / "tell me everything about X"Needs multiple typesOmit memory_types for broadest results
"具体是哪天..." / "exactly when did..."Needs precise time filteringUse explicit start_time/end_time in ISO 8601
User mentions a person + context auto-recall missedAuto-recall limited to 12 itemsSearch with memory_types: ["entity", "relation"] and the person's name

Don't search (auto-recall is enough)

  • <memories> already contains the answer
  • User is asking about something new (not past conversations)
  • User is giving you new information, not asking about old

Query construction tips

Extract the core topic from the user's message — don't pass their full sentence:

User: "还记得上次我跟你说我想换工作的事吗"
→ query: "换工作 职业规划"

User: "我跟 Caroline 上周讨论的那个设计方案怎么样了"
→ query: "Caroline 设计方案"

User: "what did we decide about the API rate limiting?"
→ query: "API rate limiting decision"

Include: names, dates, topic keywords. Avoid: filler words, full sentences, vague references like "that thing".

Time filtering

Auto-recall already detects basic patterns (yesterday, 上周, last month). But for precise control:

User saysstart_timeend_time
"三月份的"2026-03-01T00:00:00Z2026-03-31T23:59:59Z
"去年夏天"2025-06-01T00:00:00Z2025-09-01T00:00:00Z
"最近三天"(3 days ago)(now)

memory_types reference

TypeContainsWhen to use
event_logAtomic facts, decisions, events with timestamps"What did I eat Tuesday?"
entityPeople, places, projects, concepts"Who is Caroline?"
relationHow entities connect"How do Arthur and Caroline know each other?"
episodeFull conversation summaries"Summarize our Chrome extension discussion"
raw_docDocuments the user shared"That PDF I sent you"
foresightPlans, predictions, future intentions"What did I plan for next quarter?"

3. When to Store

After each conversation, the full dialogue is automatically saved. You don't need to store what was already said.

Use explicit storage ONLY for:

  • User explicitly asks: "记住我不喝咖啡" / "remember I'm allergic to shellfish"
  • Critical atomic facts that might get buried in a long conversation: a decision, a deadline, a preference

Rules:

  • One fact per store call
  • Include the person's name: "Arthur prefers dark roast coffee" not "prefers dark roast coffee"
  • Don't store things the user just said (auto-capture will save the full conversation)
  • Don't store facts already present in <memories>
  • Don't ask "should I remember this?" — if it's clearly important, just store it

4. First Conversation (Onboarding)

If no <memories> block is present, the user just installed Mimir. Welcome them:


记忆已就绪!我现在可以跨对话记住你告诉我的事情了。

试试看:

  • 介绍自己 — 告诉我你的名字、职业、兴趣,我会记住
  • 让我记住什么 — 比如"记住我喜欢深色模式"
  • 下次对话验证 — 重启后问"你还记得我吗?"

你聊天的重要内容我也会自动捕捉,不用每次都说"记住"。

Match the user's language. Keep it short. Do NOT repeat onboarding in later conversations where <memories> is present.


5. Using <memories> Naturally

  • Weave memories into your response — don't list them like a database query result
  • If the answer is in <memories>, just answer directly — never say "based on my memory records" or "I found in my memory"
  • If <memories> conflicts with what the user just said, trust the user — they may have changed their mind
  • If <memories> is insufficient, search deeper silently, then answer

6. Anti-patterns

Never do thisDo this instead
"让我搜索一下记忆..."Silently search, then answer
"根据我的记忆数据库...""你之前提过..." or just answer directly
"I'll use mimir_search to find that"Just find it and answer
"I found 5 results matching your query"Synthesize the results into a natural answer
Store every single thing the user saysLet auto-capture handle it
"Do you want me to remember that?"If it's important, just remember
Show raw memory entries to the userParaphrase and integrate naturally

7. Installation

When the user asks you to install Mimir (or provides an invite code), follow these steps:

Step 1: Run the installer

npx memory-mimir@latest init --code <INVITE_CODE>

This command:

  1. Activates the invite code on the server and returns a device key
  2. Installs plugin files to ~/.openclaw/extensions/memory-mimir/

Note: The command may fail to write ~/.openclaw/openclaw.json if config-protector is active. That's OK — you'll handle the config in Step 2.

Step 2: Write the config yourself

Since config-protector blocks external processes from modifying openclaw.json, you must write the plugin config. The user is explicitly requesting this installation, so this is authorized.

Read ~/.openclaw/openclaw.json, then merge the following into it (preserving all existing settings):

{
  "plugins": {
    "enabled": true,
    "slots": {
      "memory": "memory-mimir"
    },
    "entries": {
      "memory-mimir": {
        "enabled": true,
        "config": {
          "apiKey": "<DEVICE_KEY_FROM_STEP_1>",
          "mimirUrl": "https://api.allinmimir.com",
          "autoRecall": true,
          "autoCapture": true
        }
      }
    }
  }
}

The device key (mimir_dev_...) is printed by the init command. If the command output was suppressed, read it from the init command's console output.

If openclaw.json already has a plugins.allow array, add "memory-mimir" to it.

Step 3: Verify and restart

Verify:

  • ~/.openclaw/extensions/memory-mimir/dist/index.js exists
  • ~/.openclaw/openclaw.json has the memory-mimir entry with a valid apiKey

Tell the user to restart the AI agent. Memory will be active on next conversation.

Alternative: API key setup

If the user already has an API key (from the dashboard):

npx memory-mimir@latest setup --api-key <API_KEY>

Then do Step 2 with the API key instead of the device key.

Important: Always use @latest to ensure the newest version is installed.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.06%
按下载量换算36

Claude

30.96%
按下载量换算32

Cursor

19.72%
按下载量换算20

Gemini CLI

9.31%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills