mem0-pin
Skill by maomao-2001
Pins or unpins a memory so it is protected from pruning during dream consolidation. Built for critical memories such as architecture decisions, security constraints, or immutable team conventions.
Install mem0-pin
Built from the published package, never by AI.
git clone --depth 1 https://github.com/maomao-2001/Whispera /tmp/Whispera && mkdir -p ~/.claude/skills && cp -r /tmp/Whispera/mem0/integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0-pin ~/.claude/skills/mem0-pinRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/maomao-2001/Whispera /tmp/Whispera && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Whispera/mem0/integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0-pin ~/.gemini/antigravity-cli/skills/mem0-pinAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
mem0-pin is a skill that pins or unpins a memory so it is protected from pruning during dream consolidation. It finds a memory by ID or by search query, then adds a [PINNED] marker to the start of its text. If the user gives new text, the skill stores it as a pinned memory with metadata set to pinned true, type decision, and confidence 1.0.
Unpinning reads the memory and removes the [PINNED] prefix. The skill is aimed at users who have critical memories that must never be removed, such as architecture decisions, security constraints, or immutable team conventions. The workflow is described in terms of Mem0 tool calls and scoped user and project IDs.
Written from the project's SKILL.md and checked against it.
What it can do
- Pin a memoryAdds a [PINNED] marker to the text of a memory found by ID or search.
- Unpin a memoryRemoves the [PINNED] marker from a memory's text.
- Search memoriesLists up to 5 matching memories so the user can choose one to pin.
- Store new pinned memoryAdds new text as a pinned memory with metadata pinned, type decision, and confidence 1.0.
What you need
- Mem0 memory tools: get_memory, search_memories, update_memory, add_memory, get_event_status
Try asking
- Pin the memory about our database migration policy
- Search memories about security constraints and pin the right one
- Unpin the memory about the old API version
Good to know
- Pinning works by adding a text prefix, not a separate flag on the memory
- The source does not describe how dream consolidation checks the pin marker
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: mem0/integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0-pin/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mem0-pin
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
mem0-pin: common questions
How does mem0-pin protect a memory?
It adds a [PINNED] prefix to the memory text, which the source says travels with the memory. The skill description says this protects it from pruning during dream consolidation.
Can I pin text that is not stored yet?
Yes. The skill adds the text as a new memory with the [PINNED] prefix, metadata pinned set to true, type decision, confidence 1.0, and infer set to false.
How do I undo a pin?
Say unpin. The skill reads the memory and removes the [PINNED] prefix from its text.
How do I install mem0-pin?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is mem0-pin free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is mem0-pin safe to use?
It scores 61 of 100. Grades: maintenance C, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mem0-pin?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
