Tempelkan ini ke agen codingmu
Buka proyek Godot di agen, tempel blok di bawah, lalu kirim. Ia memasang skill dan add-on, lalu menceritakan apa saja yang bisa dilakukan gohud.
- Buka terminal di folder proyek Godot-mu dan jalankan agen coding di sana — misalnya
claude. - Tekan Salin pada blok di bawah, tempel ke agen, lalu kirim.
- Setelah selesai, mulai ulang agen jika ia memintanya, lalu tanyakan: Apa saja yang bisa dilakukan gohud?
Install gohud for this Godot 4.7+ 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 - run these two commands in a shell:
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, unless addons/gohud/plugin.cfg already exists 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
(If godot is not on PATH, ask me where Godot 4.7+ is.)
3. Check the result: addons/gohud/plugin.cfg exists and the import printed
no "SCRIPT ERROR" or "Parse Error" lines.
4. A new skill loads when the agent starts. Tell me if I have to restart you,
then tell me what gohud can do and how to preview it.
Docs: https://thruthesky.github.io/gohud/
Atau ketik dua perintah — Claude Code
Ini memasang skill sebagai plugin Claude Code. Di terminal:
claude plugin marketplace add thruthesky/gohud
claude plugin install gohud@gohud
Sudah di dalam Claude Code? Ketik ini saja:
/plugin marketplace add thruthesky/gohud
/plugin install gohud@gohud
Lalu mulai ulang Claude Code dan ketik /gohud:features — kalau muncul daftar fitur gohud, skill sudah terpasang. Add-on-nya sendiri tetap harus ada di addons/gohud: Instalasi →
Di mana tiap agen menyimpan skill
Mau pasang manual? Letakkan folder skills/gohud di tempat yang dibaca agenmu. Yang ada lebih dulu yang dipakai.
| Agen | Folder ditaruh di mana | Bentuk perintah |
|---|---|---|
| Claude Code — plugin | claude plugin install gohud@gohud | /gohud:preview · /gohud:features |
| Claude Code — skill saja | ~/.claude/skills/gohud | /gohud preview · /gohud features |
| Claude Code — proyek ini saja | .claude/skills/gohud | /gohud preview |
| Codex · Cursor · Gemini CLI — lainnya | .agents/skills/gohud | — |
Perintah yang kamu dapat
/gohud:preview — galeri widget
Membuka galeri: setiap widget, pemilih untuk semua preset, dan set ikon lengkap. Ketik di dalam proyek Godot
Anda dan ia memakai yang milik Anda sendiri di addons/gohud; bila tidak ada, ia memakai salinan bawaan plugin,
atau klon yang baru. Ia berjalan di proyek kotak pasir sekali pakai, sehingga autoload dan cache impor Anda tidak
terganggu, dan jendelanya tetap terbuka sampai Anda menutupnya.
/gohud:preview demo — tur berpemandu 15 bab
Membuka demo pada layar awalnya. Mulai demo memainkan tur dengan input sungguhan; Jelajahi widget membiarkan Anda mencoba satu widget secara manual. Tombol-tombol yang tercantum di Contoh berlaku juga di sini.
Banyak perintah lainnya
| Perintah | Fungsinya |
|---|---|
/gohud:preview medieval | Lembar karakter, tas, dan jurnal misi dalam preset abad pertengahan |
/gohud:preview demo --explore hud | Demo yang langsung dibuka pada satu bab — hud buttons inputs selection lists data states surfaces prompt touch coach scrolling forms anchors theming |
/gohud:preview gallery --preset scifi_dark | Galeri dalam satu preset; tambahkan --phone untuk jendela ponsel 390×844 atau --size 1920x1080 untuk ukuran apa pun |
/gohud:preview res://ui/main_menu.tscn | Scene milik proyek Anda sendiri, dijalankan di dalam proyek itu |
/gohud:preview list | Semua sasaran, id preset, dan kunci bab demo |
/gohud:preview gallery --check | Uji asap headless tanpa jendela — gagal bila ada kesalahan skrip |
/gohud:features | Setiap fitur, dikelompokkan, masing-masing satu baris kode |
/gohud:features hud | Satu bidang secara mendalam — surfaces hud style theming icons i18n accessibility config |
Perintah pratinjau butuh Godot 4.7 atau lebih baru di PATH.
Atau tinggal minta saja
~/.claude/skills/gohud,
perintahnya memakai spasi: /gohud preview demo, /gohud features. Pratinjau membutuhkan Godot 4.7
atau yang lebih baru di PATH Anda, atau berikan --godot /path/to/godot.