pin

pin is a skill for Claude Code from mubit-ai/claude-plugins. It costs 32 tokens per session (1,744 once invoked), scanned A, original, Apache-2.0.

A temporary instruction that keeps a user-stated rule in front of the agent throughout the current run. It ends when the run ends or the user clears it.

In plain words
What is it for?
It is for enforcing rules such as avoiding a specific folder, staying on a branch, or not adding dependencies during one task.
Why use it?
It prevents short-term constraints from being stored as lasting memory and affecting unrelated future work.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the mubit-memory plugin — 15 skills, 1 agent, 13 hooks, 1 MCP server shipped together

Good fit It is for enforcing rules such as avoiding a specific folder, staying on a branch, or not adding dependencies during one task.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add mubit-ai/claude-plugins
Claude Code
/plugin install mubit-memory

Made for: Claude Code.

Or install mubit-memory, the plugin that ships this one along with the rest of its 15 skills, 1 agent, 13 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pin

README.md
[![agentmods](https://agentmods.dev/badge/skills/mubit-ai/claude-plugins/pin/github.svg)](https://agentmods.dev/skills/mubit-ai/claude-plugins/pin)
Your own site
<a href="https://agentmods.dev/skills/mubit-ai/claude-plugins/pin"><img src="https://agentmods.dev/badge/skills/mubit-ai/claude-plugins/pin/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pin

Your own site · 80×15
<a href="https://agentmods.dev/skills/mubit-ai/claude-plugins/pin"><img src="https://agentmods.dev/badge/skills/mubit-ai/claude-plugins/pin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,744 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.01744
Opus 5.5 $0.00013 $0.00698
Sonnet 5.5 $0.00006 $0.00349
Haiku 4.5 $0.00003 $0.00174

Measured 1mo ago against content hash 2d8e88e046b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pin scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

integrations/claude-code/skills/pin/SKILL.md · 130 lines

How it starts

The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.

This skill never installs anything. It runs one Node process from the plugin directory, which writes a run-scoped variable to the user's own Mubit instance. No packages, no services, no changes to the shell.

What a pin is

A pin is a sentence that is true for this run and this task, injected in full above the recalled memory on every prompt until it is cleared.

for the rest of this, don't touch the vendored server

The model is who notices a sentence like that. Before pinning existed, the only place to put it was memory — so it was written as a lesson, and a lesson is durable and cross-session. It would then be recalled into every future session of a project where it had long since stopped being true. Removing that failure is the entire reason this command exists.

Pin or remember — the line is not blurry

/mubit-memory:pin /mubit-memory:remember
Scope this run, this task durable, every future session
Ends when the user clears it, or the run does never, unless it is forgotten or superseded
Costs tokens on every prompt of this run nothing until recall decides it is relevant
Example "no new dependencies while we finish this PR" "this project pins dependencies by exact version"

Read the two example rows before choosing. If the sentence would still be worth saying in six months, in a different session, it is a lesson — use /mubit-memory:remember. If it would be wrong to say next week, it is a pin.

Pin something

node "${CLAUDE_PLUGIN_ROOT}/bin/pin.mjs" add "don't touch the vendored server" --data-dir "${MUBIT_CC_DATA_DIR:-${CLAUDE_PLUGIN_DATA}}" --run <run_id> --json

It renders on the very next prompt — the command writes through to the local cache the recall hook reads, so there is nothing to wait for.

Use the user's own words. A pin is an instruction, and paraphrasing an instruction changes it.

Always pass --run

<run_id> is the run named in the Mubit memory is active block at the top of this conversation — the line reading Run: cc-<slug>-<hash>. Copy it verbatim.

Read the full file on GitHub · 130 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +11 lines · -78 tokens per session 2d8e88e046b0
  2. 2mo ago First seen · 119 lines · 110 tokens per session scan A a71b97406df4

Subscribe to this mod's changes

pin is a skill published in the GitHub repository mubit-ai/claude-plugins (12 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 32 tokens to every session and 1,744 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

pin compared with skills from other repositories

pin next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pinmubit-ai/claude-pluginsSkill121mo agoApache-2.0A32Claude Code
orbit-notionnexu-io/open-designSkill106kyesterdayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill111kyesterdayMITA30Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill20kyesterdayMITA184Claude Code
rowboat-spacesrowboatlabs/rowboatSkill18kyesterdayApache-2.0A60Claude Code, Codex
feishuHmbown/CodeWhaleSkill41k6d agoMITA33Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k10d agoMITA52Claude Code, Codex