ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 DJPalefaceSD

hands-off

自分のものとして印を付けたファイルは、返すまで Claude が編集できません。

DJPalefaceSD@DJPalefaceSD

DJPalefaceSD/rostech-mods/tree/main/plugins/hands-off

翻訳済み

この mod について

Hands-Off

自分のものとして印を付けたファイルです。返すまで Claude は編集できないため、手で作業しているファイルをそのまま守れます。

  • /hands-off notes/plan.md でファイルを印付けします。フォルダーなら中のすべてを対象にします。
  • /hands-off list で印の一覧を表示します。
  • /hands-off release notes/plan.md で 1 つ返し、/hands-off release all ですべて返します。

Claude の Edit、Write、NotebookEdit ツールを監視し、印の付いたパスへの編集を拒否して、先に確認するよう Claude に伝えます。印は自分のマシンの Claude Code プラグインストアにセッションをまたいで保存され、何も送信しません。

基本ルールは、ファイルが自分のものだと言ったら Claude は書き込まない、ということです。誤字、整形、明らかに正しい変更でも例外にせず、返すのは自分だけです。以前の版は旗印と警告だけでしたが、この mod は書き込みを止めます。

Claude Code 2.1.287 でテスト済みです。

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add DJPalefaceSD/rostech-mods
claude plugin install hands-off
原文 / README

Hands-Off

Files you mark as yours. Claude cannot edit them until you hand them back, so a file you are working on by hand stays exactly as you left it.

  • /hands-off notes/plan.md marks a file. A folder covers everything inside it.
  • /hands-off list shows what is marked.
  • /hands-off release notes/plan.md hands one back. /hands-off release all hands back everything.

It guards Claude's Edit, Write and NotebookEdit tools: an edit to a marked path is refused, with a message telling Claude to ask you first. The marks are kept across sessions on your own machine, in Claude Code's plugin store. It sends nothing anywhere.

Why this exists

I edit my own files by hand, in Notepad++.

I direct Claude Code all day. I do not write the code.

I run Claude like a workshop, and Claude is the foreman. On 15 August 2026, half in character, I told the foreman this, at 1:23 in the afternoon:

"Next time i come in here and 2 minutes later some idiot AI is [messing] with MY files in any way that i dont approve then you habndel it"

Nothing had been wrecked yet. That was the point. I wanted it fixed before it happened.

The rule it made: when I say a file is mine, no Claude writes to it. Not a typo. Not a reformat. Not because the change is obviously right. And I release it. Nobody else does.

The first version was a flag and a warning. A shell script kept the list, and a hook printed it above every turn. It could not stop a write. It only made a write deliberate instead of an accident.

This mod is the version that stops it.

Tested with Claude Code 2.1.287.

関連作品