✳ClaudeModsClaude Code mod ディレクトリ
☰
● 0 人がオンライン ・閲覧 0 回
+ 作品を投稿
← 作品一覧へ
Reddit の投稿 · ダッシュボード・HUD / プロンプト・入力補助 / その他 / ツール・連携 / ワークフロー・CI

agent-quick-menu:Claude Code プラグインクイックメニュー

バージョン 2.1.287 で追加された mods API を基に作られた Claude Code のクリック可能なクイックメニューで、インストール済み各プラグインのコマンドと設定を 1 つの折りたたみパネルに集約し、ピン留めボタンと入力引数プロンプトも備えています。

DDasGanni@DasGanni
agent-quick-menu:Claude Code プラグインクイックメニュー画像1
翻訳済み

この mod について

作者は Claude Code 自体を使って agent-quick-menu というプラグインメニューを開発しました。2.1.287 で導入された mods API を基に、インストール済みプラグインのコマンドと設定を /menu パネルに集約します。各プラグインごとに折りたたみ可能なセクションがあり、コマンドはスラッシュコマンドと説明付きのボタンとして表示され、設定はトグル、オプションボタン、またはインラインエディタ(保存/キャンセル付き)としてレンダリングされます。Claude Code 自体の /config 設定も同じパネルでフィルタ表示できます。プロンプトの上に bar があり、≣ でパネルを開き、☆ でピン留めしたコマンドはワンクリックボタンとしてその横に並びます。引数が必要なコマンド(ブランチ名、チケット番号)は先に入力ボックスを表示します。自分が追加していないプラグインコマンドについては、実行前に二次確認を求めます。プラグイン作者は 1 つの JSON ファイル .claude-plugin/quick-menu.json でコマンドと表示する userConfig 設定を宣言するだけでよく、JSON schema と規約が付属し、依存関係もコードもありません。作者は製品側(規約、UX、情報アーキテクチャ)を担当し、Claude Code がほぼすべての TypeScript と 118 個のテストを書きました。ワークフローはスライス仕様を書き、実装し、claude plugin validate と claude plugin test を実行し、その後作者がリロードして UI の問題をスクリーンショットでフィードバックするというものでした。作者がまとめた教訓:対話型 command.run は戻り値がなく、設定を書いた後は必ず読み戻す必要がある。設定変更は mod を再読み込みし、$.state は保持されるがモジュール変数は保持されない。グリフ幅は 1 を選ぶ必要がある

インストール

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

/plugin marketplace add agentic-workbench/agent-quick-menu && /plugin install agent-quick-menu@agent-quick-menu && /reload-plugins
原文 / README

What I built agent-quick-menu is a menu for Claude Code, built on the mods API that arrived in 2.1.287. It gathers the commands and settings of every installed plugin in one place, so you stop memorising slash commands and digging through /config. A /menu pane with one foldable section per plugin: commands as buttons with their slash command and a description, settings as toggles, option buttons or an inline editor with save/cancel. Claude Code's own /config settings in the same pane, with a filter. A band above the prompt : ≣ menu opens the pane; commands you pin with ☆ sit next to it as one-click buttons. Commands that need an argument (a branch name, a ticket) open an input first instead of running blind. A confirm-twice before running a command from a plugin you didn't add to the menu yourself. For plugin authors it's one JSON file: .claude-plugin/quick-menu.json lists your commands (label, args, description, optional ask ) and which of your userConfig settings to show. No dependency, no code; there's a JSON schema and a written convention. How I used Claude Code I did the product side: the convention, the UX, and what goes where. Claude Code wrote nearly all of the TypeScript and the 118 tests (the mods testing kit with a mocked clock). The loop was always the same: Claude writes a slice spec, implements it, runs claude plugin validate and claude plugin test , I reload, screenshot the terminal and paste the screenshot back in with "this is ugly / this doesn't fold / the focus is wrong". Most of the UX came out of those screenshot rounds. It also did the boring open-source parts: CI, rulesets, SECURITY/PRIVACY docs, and the release automation (a PR from develop to main bumps the version from the Conventional Commits and publishes the release on merge). What I learned Interactive command.run returns nothing. Running /config key=value from a mod answers {} in an interactive session, so "did the write work?" has to be answered by reading the setting back. Before I changed that, the menu showed "not changed" on every successful write. A settings change reloads your mod. register() runs again with the new options; $.state survives, module variables don't. Glyph width matters. ☰ is two cells wide in many terminals and left a stray character behind; everything in the UI is now a width-1 glyph ( ≣ , ▸ , ● ). The plugin directory's validator is stricter than Claude Code. Don't alias or shadow $ or on , write calls as $.noun.method() , keep userConfig free of options , and declare "types" in plugin.json, or validation rejects every state key. Mods compose. Two plugins drawing into the band must call next(e) , or one silently swallows the other's band. Try it /plugin marketplace add agentic-workbench/agent-quick-menu /plugin install agent-quick-menu@agent-quick-menu then /reload-plugins . MIT, fully local, sends nothing anywhere. Repo: https://github.com/agentic-workbench/agent-quick-menu Feedback welcome, especially from plugin authors: what would you put in your plugin's menu? submitted by /u/DasGanni [link] [comments]

元のソースを見る ↗

関連作品