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

valet-mode

他の人がPCを使うときの閲覧専用モードです。ロックを解除するまでClaudeは読み取りと回答だけができ、変更はできません。

DJPalefaceSD@DJPalefaceSD

DJPalefaceSD/rostech-mods/tree/main/plugins/valet-mode

翻訳済み

この mod について

Valet Mode

他の人がPCの前にいるときの閲覧専用モードです。車のバレーキーのようなもので、Claudeの質問と回答は操作できますが、トランクは開けられません。

  • /valet on 4821で、4文字以上の好きなコードを使って有効にします。
  • /valet off 4821で無効にします。コードが間違っていれば有効なままです。
  • /valetで有効かどうかを確認します。

有効中もClaudeはファイルを読み、検索し、質問に答えられます。ただし、ファイルの編集や書き込み、シェルコマンドの実行、メール送信などあなたの代わりに動作するコネクターは使えません。プロンプト上には黄色いVALET MODEバンドが表示され、誰も有効中であることを忘れません。

PC上のClaude Codeウィンドウを、すでに開いているものも含めて一度にすべてロックします。各ウィンドウには数秒以内にバンドが表示されます。再起動しても有効なままで、Claude Codeを閉じても解除されません。ロックとコードは自分のマシン上の小さなファイル、ユーザーフォルダー内の.claude/rostech/valet-mode.jsonに保存されます。そのファイルが壊れている場合、Valet Modeは開放されずロックされたままです。これは机の前のゲスト向けの簡易ロックであり、セキュリティシステムではありません。何も外部へ送信しません。

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

インストール

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

claude plugin marketplace add DJPalefaceSD/rostech-mods
claude plugin install valet-mode
原文 / README

Valet Mode

A look-only mode for when someone else is at your PC. Like the valet key for a car: they can drive Claude's questions and answers, but they cannot open the trunk.

  • /valet on 4821 turns it on with a code you pick, 4 characters or more.
  • /valet off 4821 turns it off. The wrong code leaves it on.
  • /valet says whether it is on.

While it is on, Claude can still read files, search and answer questions. It cannot edit or write files, run shell commands, or use connectors that act for you, such as sending email. A yellow VALET MODE band sits above the prompt so nobody forgets it is on.

It locks every Claude Code window on the PC at once, including windows that were already open, and the band shows up in each of them within a couple of seconds. It stays on through a restart, so closing Claude Code does not unlock it. The lock and its code are kept in one small file on your own machine, .claude/rostech/valet-mode.json in your user folder. If that file is damaged, Valet Mode stays locked rather than opening up. It is a simple lock for a guest at your desk, not a security system. It sends nothing anywhere.

Tested with Claude Code 2.1.288.

関連作品