これをコーディングエージェントに貼り付ける
エージェントで Godot プロジェクトを開き、下の文を貼って送る。スキルとアドオンを入れ、gohud で何ができるかまで教えてくれる。
Install gohud for this Godot 4.6+ project, then use it for all game UI
(menus, HUD bars, quick slots, dialogs, bottom sheets, forms, themes).
1. Install the gohud AI skill.
Claude Code:
claude plugin marketplace add thruthesky/gohud
claude plugin install gohud@gohud
Any other agent (Codex, Cursor, Gemini CLI, ...):
git clone --depth 1 https://github.com/thruthesky/gohud.git /tmp/gohud
Copy /tmp/gohud/skills/gohud into whichever of these folders this agent reads:
~/.claude/skills/gohud, .claude/skills/gohud, .agents/skills/gohud.
2. Install the add-on itself, if addons/gohud/plugin.cfg is missing here.
In a git repository:
git submodule add https://github.com/thruthesky/gohud.git addons/gohud
Otherwise copy the clone to addons/gohud without its .git folder.
Then run: godot --headless --path . --import
3. Restart yourself so the skill loads, then tell me what gohud can do
and how to preview it.
Docs: https://thruthesky.github.io/gohud/
この文はわざと英語にしてある — どのエージェントもいちばん正確に読む言葉だからだ。質問は何語でもいい。スキルはあなたが書いた言葉で答える。
エージェントごとのスキル置き場
手で入れるなら skills/gohud フォルダーをエージェントが読む場所に置く。先にあるものが使われる。
| エージェント | フォルダーを置く場所 | コマンドの形 |
|---|---|---|
| Claude Code — プラグイン | claude plugin install gohud@gohud | /gohud:preview · /gohud:features |
| Claude Code — スキルのみ | ~/.claude/skills/gohud | /gohud preview · /gohud features |
| Claude Code — このプロジェクトだけ | .claude/skills/gohud | /gohud preview |
| Codex · Cursor · Gemini CLI — その他 | .agents/skills/gohud | — |
使えるようになるコマンド
/gohud:preview — ウィジェットギャラリー
ギャラリーを開く。すべてのウィジェット、6つのプリセットの選択リスト、アイコン一式が入っている。自分の Godot
プロジェクトの中で打てばそのプロジェクトの addons/gohud を使い、無ければプラグイン同梱の
コピーか、新しくクローンしたものを使う。使い捨てのサンドボックスプロジェクトで動くので、自分のオートロードや
インポートキャッシュには触れず、ウィンドウは閉じるまで開いたままだ。
/gohud:preview demo — 15章のガイドツアー
デモを開始画面で開く。Start demo は実際の入力でツアーを再生し、Explore widgets は ウィジェット1つを手で試させる。サンプルに挙げたキー操作はここでも同じだ。
ほかにも多くのコマンドがある
| コマンド | 役割 |
|---|---|
/gohud:preview medieval | 中世プリセットのキャラクターシート・雑嚢・クエストジャーナル |
/gohud:preview demo --explore hud | デモを1章だけ直接開く — hud buttons inputs selection lists data states surfaces prompt touch coach scrolling forms anchors theming |
/gohud:preview gallery --preset scifi_dark | プリセット1つを当てたギャラリー。--phone で 390×844 のスマートフォン窓、--size 1920x1080 で任意のサイズ |
/gohud:preview res://ui/main_menu.tscn | 自分のプロジェクトのシーンを、そのプロジェクトの中で実行する |
/gohud:preview list | 開ける対象・プリセット id・デモの章キーの一覧 |
/gohud:preview gallery --check | ウィンドウを出さないヘッドレス点検 — スクリプトエラーがあれば失敗する |
/gohud:features | 機能を分類ごとに、1機能あたりコード1行で |
/gohud:features hud | 1つの分野を深く — surfaces hud style theming icons i18n accessibility config |
プレビューのコマンドには PATH に Godot 4.6 以上が要る。
ふつうに頼んでもいい
そのまま頼んでもよい。 スキルがエージェントに gohud の API 全体を教えるので、
「gohud でポーズメニューを作って」のような普通の依頼も通る。プラグインではなく素のスキルとして
~/.claude/skills/gohud に置いた場合はコマンドを空白で区切る — /gohud preview demo、
/gohud features。プレビューには PATH の通った Godot 4.6 以降が必要で、
無ければ --godot /path/to/godot で渡す。