---
title: "hands-off"
url: "https://claudemods.dev/zh-tw/builds/hands-off-500cff"
source: "https://github.com/DJPalefaceSD/rostech-mods/tree/main/plugins/hands-off"
source_type: "github"
repo: "https://github.com/DJPalefaceSD/rostech-mods/tree/main/plugins/hands-off"
author: "DJPalefaceSD"
author_handle: "DJPalefaceSD"
stars: 0
category: "工作流程與 CI"
categories: ["workflow"]
tags: ["claude-code", "file-protection", "hooks", "plugin", "tool-interception", "workflow"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add DJPalefaceSD/rostech-mods\nclaude plugin install hands-off"
added: "2026-10-05T01:44:23.908Z"
updated: "2026-11-14T01:19:37Z"
locale: "zh-tw"
content_locale: "zh-tw"
---

# hands-off

標記為屬於你的檔案：在你交還之前 Claude 不能編輯。

## Description

# Hands-Off

標記為屬於你的檔案。交還之前 Claude 不能編輯，因此你手動處理中的檔案會保持原樣。

- /hands-off notes/plan.md 標記檔案；標記資料夾會涵蓋其中所有內容。
- /hands-off list 顯示標記。
- /hands-off release notes/plan.md 交還一個檔案；/hands-off release all 交還所有檔案。

它會守護 Claude 的 Edit、Write 與 NotebookEdit 工具：對已標記路徑的編輯會被拒絕，並告訴 Claude 先詢問你。標記會跨工作階段保存在你自己電腦上的 Claude Code 外掛儲存中，不會傳送任何內容。

這個 mod 源自一條簡單規則：當使用者說某個檔案屬於自己時，Claude 不得寫入；不是拼字錯誤、重新格式化或變更明顯正確就能例外，只有使用者能交還檔案。舊版本只能顯示旗標與警告，現在的版本會真正阻止寫入。

已在 Claude Code 2.1.287 上測試。

## Install

```
claude plugin marketplace add DJPalefaceSD/rostech-mods
claude plugin install hands-off
```

## Original 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.
