Skip to content

/context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error, decision, or command you need, so you can avoid repeating file reads, searches, or experiments.

From plugin
mem0
69k15 skills1 agent1 MCP

Claude Code

$ npx -y skills add mem0ai/mem0 --skill context-loader --agent claude-code

SKILL.md

context-loader.SKILL.md
name: context-loader
description: Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error, decision, or command you need, so you can avoid repeating file reads, searches, or experiments.

Context Loader

Pre-fetches relevant memories to prime context before working on a task or topic.

Steps

1. **Extract topics** from current message/task. Identify: subject areas, people mentioned, project names, goal references.

2. **Call `mem0_memory` once** with `action="search"` and a focused question about the task.

3. **Output compact context block** (max 10 memories):

context-loader: loaded <N> memories for "<task summary>"
  - [decisions] <content> [mem0:<short_id>]
  - [preferences] <content> [mem0:<short_id>]
  - [lessons] <content> [mem0:<short_id>]

4. If **zero results**: output nothing. Don't announce empty context.

Constraints

  • **Read-only** — never modify or delete memories
  • **Max 10 memories** returned (most relevant only)
  • **Silent on empty** — only surfaces findings if relevant context exists
  • Skip memories already visible in current session context
@mem0ai
Ships withmem0

Mem0 ("mem-zero") enhances AI assistants and agents with an intelligent memory layer, enabling personalized AI interactions.

69k15 skills1 agent1 MCP
Get the whole plugin, auto-invoked

Stars on GitHub

Momentum

stars in total
68.7k
Star history of mem0ai/mem0 on GitHub, a chart by star-history.com

Other skills on mem0.

forget
Auto-invoked

forget

Delete the Mem0 memories stored for this repository and this user. Use when the user asks to forget, clear, wipe, or delete…

@mem0ai@mem0aiInstall Skill
pause
Auto-invoked

pause

Pause Mem0 memory capture on this machine. Use when the user wants to stop memories being recorded, for example for private work…

@mem0ai@mem0aiInstall Skill
remember
Auto-invoked

remember

Acknowledge a "remember this" request and make sure it is captured well. Use when the user explicitly asks to remember, note, or…

@mem0ai@mem0aiInstall Skill
resume
Auto-invoked

resume

Resume Mem0 memory capture after it was paused with /mem0:pause.

@mem0ai@mem0aiInstall Skill
search
Auto-invoked

search

Search memories from earlier Antigravity sessions in this repository. Use it when earlier work may already explain the code,…

@mem0ai@mem0aiInstall Skill
status
Auto-invoked

status

Show whether Mem0 memory is working in this repository, covering configuration, capture state, pending flushes, and whether the…

@mem0ai@mem0aiInstall Skill

More skills from other plugins.

analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog11d41k
@posthog@posthogInstall Skill
qmd

qmd

Search local markdown knowledge bases, notes, docs, and wikis with QMD. Use when users ask to find notes, retrieve documents,…

qmd3w31k
@tobi@tobiInstall Skill

Questions about context-loader.

Which coding agents can use context-loader?
context-loader installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.