Protect a critical MemMesh memory from consolidation/pruning by raising its importance and marking it high-impact — or unpin to release it.

Apache-2.0Auto-check passed

Install Pin

skills CLI
$ npx skills add ThinkfleetAI/memmesh --skill pin -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ThinkfleetAI/memmesh pin --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ThinkfleetAI/memmesh.git skills-src && mkdir -p .claude/skills && cp -r skills-src/integrations/memmesh-plugin/skills/pin .claude/skills/pin && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pin
GitHub stars
419
Token cost
~370 tokens
SKILL.md length
122 words
Files
1
Skills in repo
24
Repo updated
First seen
Licence
Apache-2.0

At a glance

Protect a critical MemMesh memory from consolidation/pruning by raising its importance and marking it high-impact — or unpin to release it.

  • Works in 2 steps: Find the item (memory_search) and read… → Re-assert it at maximum durability with…
  • Architecture decisions
  • SKILL.md covers Pin, Unpin and When to pin
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Pin is an agent skill from ThinkfleetAI/memmesh. 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.

Its SKILL.md is about 370 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Persistent, self-improving memory for AI agents. Local-first Rust memory engine with MCP support. The licence is Apache-2.0.

When your agent uses it

  • Architecture decisions
  • Security constraints
  • Immutable team conventions that must never be retired by a dream pass

Example prompts

  • “/pin”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  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)

What it can do on your machine

Read from SKILL.md and the folder at commit bba48f8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are jsonc).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pin loads about 370 tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 122 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~370

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ThinkfleetAI/memmesh at commit bba48f8, republished under its Apache-2.0 licence (© ThinkfleetAI). 122 words, ~370 tokens.

Download SKILL.mdSave it as .claude/skills/pin/SKILL.md (or your agent's skills folder).
name
pin
description
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.

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.

© ThinkfleetAI, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in integrations/memmesh-plugin/skills/pin of ThinkfleetAI/memmesh.

Open the folder on GitHubat commit bba48f8

Compare with similar skills

Pin next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pin compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pin this skillThinkfleetAI/memmesh419—~370Automated safety check: PassApache-2.0
Criticism Self CriticismHughYau/qiushi-skill3.8k—~423Automated safety check: PassMIT
Crossframe Criticalsickn33/agentic-awesome-skills47k1 repos~1.3kAutomated safety check: PassMIT
Critical Imagesthedaviddias/Front-End-Checklist74k—~392Automated safety check: PassMIT
CSS Criticalthedaviddias/Front-End-Checklist74k—~441Automated safety check: PassMIT
Consolidate Memoryasgeirtj/system_prompts_leaks69k—~492Automated safety check: PassCC0-1.0

Similar skills

  • Criticism Self Criticism

    HughYau/qiushi-skill

    批评与自我批评:在工作完成、阶段验收、收到批评或同类错误反复出现时,对成果和过程做诚实、具体、基于事实的审视,输出可执行的改进项,并处理外来批评而不辩解。触发信号包括 review、复盘、审查、"帮我看看有没有问题"、"你确定吗";任务刚开始或只是单步查询时不触发。

    3.8k GitHub stars~423 tokensUpdated 6 days ago
    Product & Project ManagementAuto-check passed
  • Crossframe Critical

    sickn33/agentic-awesome-skills

    Use only when the user explicitly names crossframe-critical for a Chinese structural critique dossier, article plan, or long-form critical essay.

    47k GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed
  • Critical Images

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing image assets, markup, and CDN or build transforms related to Prioritize loading critical images.

    74k GitHub stars~392 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • CSS Critical

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Inline critical CSS for faster rendering.

    74k GitHub stars~441 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Consolidate Memory

    asgeirtj/system_prompts_leaks

    Reflective pass over your memory files — merge duplicates, fix stale facts, prune the index.

    69k GitHub stars~492 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Implementing Mimecast Targeted Attack Protection

    mukul975/Anthropic-Cybersecurity-Skills

    Deploys and configures Mimecast Targeted Threat Protection (TTP) modules -- URL Protect (click-time URL rewriting/analysis), Attachment Protect (sandbox detonation), Impersonation Protect…

    34k GitHub stars~1.8k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed

More from ThinkfleetAI/memmesh

All 24 skills in this repo
  • Behaviors

    ThinkfleetAI/memmesh

    Surface emergent behavior patterns MemMesh has mined from a subject's history — recurring habits nobody predefined, each with prevalence, stability, and the evidence behind it.

    419 GitHub stars~519 tokensUpdated 1 mo ago
    Auto-check passed
  • Benchmark

    ThinkfleetAI/memmesh

    Run MemMesh's competitive benchmark harness (LOCOMO / BEAM) to compare retrieval quality, tokens, latency, and cost against Mem0, Zep, full-context, and naive-RAG baselines.

    419 GitHub stars~460 tokensUpdated 1 mo ago
    Auto-check passed
  • Context Loader

    ThinkfleetAI/memmesh

    Load relevant MemMesh context before starting work — searches memory and, for a specific subject, assembles a token-budgeted bundle (profile + behavior patterns + forward predictions + top memories)…

    419 GitHub stars~530 tokensUpdated 1 mo ago
    Auto-check passed
  • Graph

    ThinkfleetAI/memmesh

    Query MemMesh's bi-temporal knowledge graph — multi-hop reasoning across entities, point-in-time "what did we believe on date X", and anticipatory retrieval via spreading activation.

    419 GitHub stars~611 tokensUpdated 1 mo ago
    Auto-check passed
  • Memmesh CLI

    ThinkfleetAI/memmesh

    MemMesh CLI + local MCP server — the zero-infra, no-API-key path to the same engine as the hosted SDK.

    419 GitHub stars~855 tokensUpdated 1 mo ago
    Auto-check passed
  • Memmesh SDK

    ThinkfleetAI/memmesh

    MemMesh TypeScript SDK reference (@thinkfleet/memory-sdk) for the hosted platform at app.memmesh.ai.

    419 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Pin

What does Pin do?

Protect a critical MemMesh memory from consolidation/pruning by raising its importance and marking it high-impact — or unpin to release it. Pin is an agent skill from ThinkfleetAI/memmesh. Protect a critical MemMesh memory from consolidation/pruning by raising its importance and marking it high-impact — or unpin to release it.

When should I use Pin?

Pin fits situations like: architecture decisions; security constraints; immutable team conventions that must never be retired by a dream pass.

How do I install Pin in Claude Code?

Run `npx skills add ThinkfleetAI/memmesh --skill pin -a claude-code`. Or copy the skill folder (integrations/memmesh-plugin/skills/pin in ThinkfleetAI/memmesh) into .claude/skills/pin in your project. Claude Code loads it when a task matches its description.

How do I install Pin in Codex?

Run `npx skills add ThinkfleetAI/memmesh --skill pin -a codex`. Or copy the skill folder (integrations/memmesh-plugin/skills/pin in ThinkfleetAI/memmesh) into .agents/skills/pin in your project. Codex loads it when a task matches its description.

Can I use Pin in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ThinkfleetAI/memmesh --skill pin -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pin, .gemini/skills/pin, .github/skills/pin and .opencode/skills/pin in your project.

What does Pin need to run?

SKILL.md names no scripts, command-line tools or credentials: Pin is instructions for the agent only.

Does Pin access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Pin safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pin use?

Pin is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pin use?

About 370 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pin?

Skills that share tags, products or a category with Pin: Criticism Self Criticism (HughYau/qiushi-skill, 3.8k stars), Crossframe Critical (sickn33/agentic-awesome-skills, 47k stars), Critical Images (thedaviddias/Front-End-Checklist, 74k stars) and CSS Critical (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pin?

ThinkfleetAI (a GitHub organization) maintains it in ThinkfleetAI/memmesh, which has 419 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on August 25, 2026.

Source: ThinkfleetAI/memmesh on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.