Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 61
  • 120 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-pin

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install mem0-pin in Claude Code

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

A

No 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 →

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.

mem0-pin Install

Add to stack

Loading.