# Pin

> Protect a critical MemMesh memory from consolidation/pruning by raising its importance and marking it high-impact — or unpin to release it. Use for architecture decisions, security constraints, or immutable team conventions that must never be retired by a `dream` pass.

- Skill: `thinkfleetai/pin` (Agent Skill)
- Install (CLI): `npx skillmds@latest add thinkfleetai/pin`
- Raw SKILL.md: https://api.skillmd.com/api/skills/thinkfleetai/pin/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: thinkfleetai (https://skillmd.com/u/thinkfleetai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/thinkfleetai/pin

---


# pin

Mark a memory as protected. MemMesh has no separate "pinned" flag — pinning is
expressed through **importance + impact + confirmation**, which the `dream`
consolidation pass treats as do-not-retire.

## Pin

1. Find the item (`memory_search`) and read it (`memory_recall`).
2. Re-assert it at maximum durability with `memory_save` (upsert on the same id):

```jsonc
{ "name": "memory_save",
  "arguments": { "id": "<same id>", "platformId": "local", "scope": "project",
                 "type": "rule", "content": "<verbatim content>",
                 "importance": 10, "metadata": { "pinned": true, "impact": "HIGH" } } }
```

Setting `importance: 10` and `metadata.pinned: true` is the signal the `dream`
skill checks before deleting/superseding anything.

## Unpin

Re-save the same id with `importance` back to a normal value (≈5) and
`metadata.pinned: false`. The item stays in memory but becomes eligible for
consolidation again.

## When to pin

Architecture decisions, security constraints, compliance rules, immutable
conventions — anything where losing it silently would cause real harm. Don't pin
routine preferences; let the engine manage those.

