robfresh2o/fresh2o-plugins/tree/main/plugins/needs-you
needs-you
返信の「**Needs you**」行を検出し、下のセクションを跳ねる Claude マスコット付きの枠に入れ、決定を次のプロンプトとして送るクリック可能なボタンにする Claude Code プラグイン。
この mod について
needs-you は各返信から Needs you という行を探し、その下を小さく跳ねる Claude と一緒に枠で囲みます。Claude は次のプロンプトが送られるまで跳ね続けるため、入力待ちの返信を見つけやすくなります。番号付き選択肢を含む質問として決定が書かれていれば、各選択肢がボタンになり、押すと質問と選択を返信として送ります。複数の決定は選択を集めて一緒に送信します。(recommended) を付けると主要ボタンになり、40 文字を超える選択肢は番号付きテキストに戻り、末尾の注記はボタンの下に表示されます。
このプラグインは Claude が書いたものだけを描画し、モデル呼び出しはしません。そのため ~/.claude/CLAUDE.md に、この形式の返信を Needs you 行で始めるよう Claude に指示を追加してください。Claude Code のプラグインフックを使い、Claude Code 2.1.288 を基に作られ、デスクトップアプリの Code タブでテスト済みです(ターミナルでは未テスト)。プラグインは Claude Code と同じファイル・プロセスアクセス権を持つため、インストール前にコードを確認してください。
インストール
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add robfresh2o/fresh2o-plugins claude plugin install needs-you
原文 / README
fresh2o-plugins
Claude Code plugins I've built for my own work and decided to share. Each one installs on its own.
Install
Add the marketplace once:
claude plugin marketplace add robfresh2o/fresh2o-plugins
Then install the plugins you want:
claude plugin install needs-you@fresh2o-plugins
Plugins
needs-you
https://github.com/user-attachments/assets/dc29b0c6-68a3-48ad-90cb-7b5c6df6fb8b
When Claude needs something from you, such as a decision, an approval or a command only you can run, it opens its reply with a **Needs you** line. This plugin finds that line and draws the section under it in a box, with a small Claude creature hopping beside it. The creature keeps hopping until you send your next prompt, so you can see at a glance that a reply is waiting on you.
A decision written as a question, with its choices as a numbered list under it, gets one button per choice. Pressing a button sends the question and your choice as your reply. If the section holds several decisions, your picks collect and send together. Add (recommended) after a choice to make it the primary button. When a choice is longer than 40 characters, the choices stay listed as text and the buttons show their numbers instead, so no button runs past the box. A note written after the choices, after a blank line and indented no deeper than the choices, shows under the buttons.
The plugin only draws what Claude writes. It makes no model calls. For it to do anything, Claude has to write the section, so add something like this to your ~/.claude/CLAUDE.md:
If anything needs me (a decision, an approval, something only I can do), open the reply
with `**Needs you**` on a line of its own, before anything else. Under it, one bullet per
thing you need. A decision is at most one sentence of context, then the question, ending in
`?`. Under it go its choices as a numbered list, each a short label, with `(recommended)`
after the one you recommend. An action says what to do and includes everything needed to do
it, such as the exact command or the steps. Put the reasoning, and what each choice means,
after the section. Leave the line out when nothing needs me.
needs-you uses Claude Code's plugin hooks to draw inside the session. It was built on Claude Code 2.1.288 and tested in the desktop app's Code tab. It has not been tested in the terminal.
A note on trust
A plugin runs with the same access to your files and processes as Claude Code. Read the code of any plugin before you install it, including these.
License
MIT
