pins
by Mohammed Mubarak · ★ 1 · updated 27 Oct 2026
Pin instructions that survive compaction, /clear, and restarts. /pin saves a rule for this project and every prompt carries the pinned list as context Claude reads.
Install
/plugin marketplace add MDmubarak786/claude-mods/plugin install pins@modhubThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startcommand.runprompt.submit- API calls
$.command.register$.session.root$.store.delete$.store.get$.store.set$.ui.log- Can see
every prompt- Reach
- level 0 of 3 persists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/MDmubarak786/claude-mods
- Path in repo
mods/pins- Source commit
8089966the exact code the scan read- Author
- Mohammed Mubarak @MDmubarak786
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from MDmubarak786/claude-mods
pkg-guard
MDmubarak786/claude-mods
Hold npm, pnpm, yarn, pip, uv, and cargo installs of packages that don't exist, are brand new, or are barely downloaded, with the registry facts in the question. Catches hallucinated and typosquat packages before they land.
red-green
MDmubarak786/claude-mods
Run the project's tests after any turn that edited files, print pass or fail under Claude's answer, and send the failure back to Claude with one /fix command.
right-tool
MDmubarak786/claude-mods
Stop Claude using cat, grep, find, and sed in Bash when the Read, Grep, and Glob tools fit. Each redirected call saves a permission prompt and keeps raw shell output out of context.
show-paths
MDmubarak786/claude-mods
Put the file path on every Read, Edit, Write, Glob, and Grep row in the transcript, so you never expand a row just to learn which file it touched.
snake
MDmubarak786/claude-mods
Snake in a pane. Steer with w, a, s and d, eat the food, don't hit the walls or yourself. Pause with p, pick the speed, high score kept. Zero tokens.
standup
MDmubarak786/claude-mods
Your day, written for you. Every turn is logged; /standup turns today's work across every session on the machine into a three-bullet update, or a Markdown file.
style-cop
MDmubarak786/claude-mods
Enforce the style rules Claude keeps ignoring: banned words and phrases, a comment-density cap on added code, and files that must not gain comments. Rules live in .claude/style-cop.md and are both shown to Claude and enforced on edits.
sudoku
MDmubarak786/claude-mods
Sudoku in a pane. Three levels with one solution each, move with w a s d, type a digit, undo, a hint when stuck, and a clock that pauses when the pane closes. Best time per level kept. Zero tokens.
tripwire
MDmubarak786/claude-mods
Stop secrets leaving the machine. Holds an edit or command that writes an API key, a private key, or a credential literal, a command that reads a secret file and talks to the network, and a git commit whose staged changes contain a secret. Refuses by default.
trust-but-verify
MDmubarak786/claude-mods
Check what Claude claims against what it ran. When an answer says the tests pass, the build is clean, or something was committed, a line under it says whether a matching command actually ran this turn and succeeded.
typing
MDmubarak786/claude-mods
Typing race in a pane. A line of code appears, you type it; every character colors right or wrong as you go, and Enter scores words per minute and accuracy. Last ten runs and your best kept. Zero tokens.
undo-agent
MDmubarak786/claude-mods
Undo the file edits a subagent made. /rewind restores your own turns, but not a subagent's edits; this snapshots them and puts the files back with one command.
Related mods
Other mods in Commands, close to this one by stars.