Skip to main content

pin

Pins or unpins a memory to protect it from pruning during dream consolidation. Use when a memory is critical and must never be removed, such as core preferences, important decisions, or immutable personal facts.

Ir para a instalação

Informações da origem

Repositório
Natsummerance/agents
Última atividade na origem
26 de agosto de 2026 às 06:52
Idioma detectado do SKILL.md
inglês
Estrelas
3
Forks
0

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
pin
description
Pins or unpins a memory to protect it from pruning during dream consolidation. Use when a memory is critical and must never be removed, such as core preferences, important decisions, or immutable personal facts.
# Pin Pin a memory to mark it as high-priority and protect from dream pruning. ## Execution ### Step 1: Find the memory The user provides either a search query or memory ID. **If memory ID:** Look it up directly. **If search query:** - Use `mem0_memory` tool with `action="search"`, `query=<query>`. - Show numbered list with content previews. - Ask: "Which memory to pin? Enter a number." ### Step 2: Pin it Pinning works by prepending `[PINNED]` to the memory text. This marker tells the dream consolidation to skip it during pruning. Use `mem0_memory` tool with `action="add"`, `content="[PINNED] <original memory text>"`. Then delete the original using `mem0_memory` with `action="delete"` and the original memory ID. **For new memories** (user wants to pin text that isn't stored yet): - Use `mem0_memory` tool with `action="add"`, `content="[PINNED] <the user's text>"`. ### Step 3: Confirm ``` Pinned: "<memory content, first 80 chars>" ``` Append `...` only if content exceeds 80 characters. ### Unpin If the user says "unpin": 1. Find the memory (search or by ID). 2. Create a new memory without the `[PINNED]` prefix. 3. Delete the pinned version. 4. Print: `Unpinned: "<content>..."`
Ver no GitHub