What is pin?
pin is a Claude Code mod by nicopalazzo that keep steps above the prompt while the chat scrolls: a Pin button under any reply, or /pin. Show the original reply, find it in the chat. It is listed under Interface and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | nicopalazzo |
| Repository | nicopalazzo/pin-mods |
| Popularity | 1 GitHub stars |
| Category | Interface |
| Security | Low risk (96/100) |
| Rank | #4,055 of 9,397 Claude Code mods; #1,730 in Interface |
| License | MIT |
| Last commit | 2026-11-19 |
| Hooks | 6 events |
| Sees | mcp__pin__pin_from_shelf calls |
| Draws on | AssistantMessage, AbovePrompt |
Is pin safe to install?
pin scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.command.register | |
$.prompt.submit | drives Claude |
$.session.id | |
$.state.get | |
$.state.set | |
$.tool.register | drives Claude |
$.ui.copy | draws interface |
$.ui.resolve | draws interface |
$.ui.scroll | draws interface |
$.ui.toast | draws interface |
How do I install pin?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/nicopalazzo/pin-mods claude plugin validate ./pin-mods/plugins/pin
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add nicopalazzo/pin-mods && claude plugin install pin@pin-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs pin for you:
Install the "pin" Claude Code mod from https://github.com/nicopalazzo/pin-mods/tree/main/plugins/pin. Run claude plugin validate on it first and show me what it can access before you enable it.
More from nicopalazzo/pin-mods
This repository has 2 Claude Code mods on MCPMods.
- pin-ask: Plan C test: ask Claude to pin a short checklist above the prompt. Claude picks the lines; you tick them off. (Low risk)