x-mod-holds

by dvakatsiienko · ★ 0 · updated today

GuardsCommandsPromptAutomationwarnings

0

no two sessions write the same file: a session's first edit of a file holds it until it is committed, the session ends or sits idle 30 min; another session's Edit, Write or Bash write to it is refused, naming the holder; dima's tick on an ask quoting the file lets the asking session write it until its next commit or turn end, and tells the holder

install x-mod-holds

Install

git clone https://github.com/dvakatsiienko/frame
claude --plugin-dir ./frame/home/.claude/plugin-x/mods/x-mod-holds

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.startprompt.submitturn.completesession.endcommand.runtool.call
API calls
$.clock.now$.env.get$.fs.read$.fs.stat$.process.run$.session.id$.state.get$.store.delete$.store.get$.store.keys$.store.set$.ui.log
Can see
every prompt/"^(Edit|Write|NotebookEdit)$"/ callsBash calls
Reach
level 2 of 3 runs processesreads filesreads env varsreads mod statepersists 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/dvakatsiienko/frame
Path in repo
home/.claude/plugin-x/mods/x-mod-holds
Source commit
b2bdf89 the exact code the scan read
Author
@dvakatsiienko
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 dvakatsiienko/frame

x-mod-guard

dvakatsiienko/frame

reads every Bash call before it runs and refuses only the destructive floor — rm, a kill by pattern, a git discard or rewrite, a skipped gate, a live seat's close, a raw merge, a stash over a held file, a machine change, a remote delete — each with its safe door and his one tick as the way through; operator-override all turns the floor to warnings, plain rm and the brake aside; every other...

★ 0GuardsPromptAutomation

x-mod-redact

dvakatsiienko/frame

keeps secrets out of every transcript: api keys, tokens and private keys read as a stable placeholder in every kept row, and come back only inside the tool call that names them

★ 0GuardsCommandsPrompt

x-mod-stash

dvakatsiienko/frame

dima's command center above the prompt, one row: orbit 🪐 (the session's asks, ticked in the board instead of pasted, and its 🌔 phases), the 5h and ctx meters, afk (one switch every session obeys), keep-hot 🔥, the ⏰ waker, and the /board fleet board

★ 0Other

Other mods in Guards, close to this one by stars.