pi-agent-plugin/skills/tour/SKILL.md
Show the user what Mem0 has stored — a full walkthrough of all memories grouped by category.
When invoked with --all-projects (e.g., /mem0-tour --all-projects), search across ALL projects:
mem0_memory tool with action="get_all", scope="global" — no project filter.## <project_1> (<N> memories) <- current
**Goals** — <memory content>
...
## <project_2> (<N> memories)
...
<N> memories across <M> projects
<- current in the heading.If --all-projects is NOT present, use the standard single-project flow below.
When /mem0-tour receives a search query argument (e.g., /mem0-tour cooking recipes), run in search mode — compact one-liner results:
mem0_memory tool with action="search", query=<query>.No memories matching "<query>".If no query argument and no --all-projects flag, use the full tour flow below.
Use mem0_memory tool with action="get_all".
Group memories using their categories field. Map to display names:
| Category | Display name |
|---|---|
identity | Identity & Background |
preferences | Preferences |
goals | Goals & Aspirations |
projects | Projects & Initiatives |
decisions | Decisions |
technical | Technical Knowledge |
relationships | People & Relationships |
routines | Routines & Workflows |
lessons | Lessons Learned |
work | Work & Professional |
| anything else | Other |
Sort groups by descending memory count. For each group:
## <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.
<N> memories across <M> categories
If zero memories found:
No memories stored yet. Start a conversation — Mem0 captures learnings automatically, or use /mem0-remember to store something manually.