tour
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMemory Tour
记忆漫游
Show the user what Mem0 has stored — a full walkthrough of all memories grouped by category.
向用户展示Mem0中存储的内容——按类别分组的完整记忆导览。
Cross-project mode
跨项目模式
When invoked with (e.g., ), search across ALL projects:
--all-projects/mem0-tour --all-projects- Use tool with
mem0_memory,action="get_all"— no project filter.scope="global" - Group results by project first, then by category within each project.
- Display:
## <project_1> (<N> memories) <- current **Goals** — <memory content> ... ## <project_2> (<N> memories) ... <N> memories across <M> projects - Mark the current project with in the heading.
<- current
If is NOT present, use the standard single-project flow below.
--all-projects当使用 参数调用时(例如 ),将搜索所有项目:
--all-projects/mem0-tour --all-projects- 使用 工具,设置
mem0_memory、action="get_all"—— 不添加项目过滤条件。scope="global" - 先按项目对结果分组,再在每个项目内按类别分组。
- 展示格式:
## <project_1> (<N> memories) <- current **Goals** — <memory content> ... ## <project_2> (<N> memories) ... <N> memories across <M> projects - 在标题中用 标记当前项目。
<- current
如果未传入 参数,则使用下方的标准单项目流程。
--all-projectsSearch mode
搜索模式
When receives a search query argument (e.g., ), run in search mode — compact one-liner results:
/mem0-tour/mem0-tour cooking recipes- Use tool with
mem0_memory,action="search".query=<query> - Display compact results (same format as the search skill).
- If no results:
No memories matching "<query>".
If no query argument and no flag, use the full tour flow below.
--all-projects当 接收到搜索查询参数时(例如 ),将以搜索模式运行——返回简洁的单行结果:
/mem0-tour/mem0-tour cooking recipes- 使用 工具,设置
mem0_memory、action="search"。query=<query> - 展示简洁结果(格式与搜索skill一致)。
- 若无结果,显示:
No memories matching "<query>".
如果既没有查询参数,也没有 标志,则使用下方的完整漫游流程。
--all-projectsExecution
执行流程
Step 1: Fetch ALL memories
步骤1:获取所有记忆
Use tool with .
mem0_memoryaction="get_all"使用 工具,设置 。
mem0_memoryaction="get_all"Step 2: Group by category
步骤2:按类别分组
Group memories using their field. Map to display names:
categories| Category | Display name |
|---|---|
| Identity & Background |
| Preferences |
| Goals & Aspirations |
| Projects & Initiatives |
| Decisions |
| Technical Knowledge |
| People & Relationships |
| Routines & Workflows |
| Lessons Learned |
| Work & Professional |
| anything else | Other |
根据记忆的 字段进行分组,映射到对应的显示名称:
categories| 类别字段值 | 显示名称 |
|---|---|
| 身份与背景 |
| 偏好设置 |
| 目标与愿景 |
| 项目与计划 |
| 决策记录 |
| 技术知识 |
| 人物与关系 |
| 惯例与工作流 |
| 经验教训 |
| 工作与职业 |
| 其他字段值 | 其他 |
Step 3: Display results
步骤3:展示结果
Sort groups by descending memory count. For each group:
undefined按记忆数量降序排列各组,每个分组的展示格式如下:
undefined<display_name> (<count> memories)
<display_name> (<count> memories)
- <full_memory_content> (<date>)
- ...
Show the **full memory text** for each entry — do NOT truncate. If a group has more than 10 entries, show top 10 by recency and note `... and <N> more`.- <full_memory_content> (<date>)
- ...
每条记录都要展示**完整的记忆文本**——请勿截断。如果某个分组的条目超过10条,按时间倒序展示前10条,并标注 `... and <N> more`。Step 4: Print totals
步骤4:输出总计
<N> memories across <M> categories<N> memories across <M> categoriesStep 5: Empty state
步骤5:空状态处理
If zero memories found:
No memories stored yet. Start a conversation — Mem0 captures learnings automatically, or use /mem0-remember to store something manually.如果未找到任何记忆,显示:
No memories stored yet. Start a conversation — Mem0 captures learnings automatically, or use /mem0-remember to store something manually.