img2threejs
Fungsinya
Skill ini meminta AI mengubah gambar referensi objek atau karakter menjadi adegan 3D yang siap dianimasikan, dibangun dari kode. Skill ini ditujukan untuk orang yang menginginkan model 3D yang sesuai dengan sebuah gambar tanpa mengunduh aset 3D siap pakai.
Kapan dipakai
- βSaat Anda memiliki foto atau gambar sebuah objek dan menginginkan model 3D-nya untuk web.
- βSaat Anda menginginkan karakter 3D bergaya berdasarkan gambar referensi.
- βSaat Anda perlu memeriksa seberapa mirip model 3D dengan referensi dan memperbaiki perbedaannya.
Link skill
https://github.com/img2threejs/img2threejs/blob/main/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBangun ulang foto kursi ini sebagai model 3D yang bisa saya tampilkan di halaman web Three.js.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
AI bekerja bertahap, menulis kode untuk bentuk, lalu membandingkan rendernya dengan gambar referensi dan memperbaiki model dalam satu lingkaran sampai cukup mirip.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
img2threejs β Image to procedural Three.js
Rebuild the object visible in a reference image as a code-only procedural Three.js model,
gated by a staged sculpting pipeline and an AI-vision self-correction loop. This is
reconstruction-by-code, not photogrammetry, mesh extraction, or downloaded art packs. That
promise governs how the model is built β it says nothing about which file formats it can
subsequently be exported to; an explicitly-selected emission target (--target <kind>) is a
terminal, whole-artifact transform of the already-built model, verified to its own stated limit,
never a second way to build one.
Agent-agnostic: works under Hermes, Claude Code, Codex, or OpenCode. Wherever this doc says "agent vision" or "agent browser tool", use whatever the host provides β native image reading, a browser MCP (playwright/chrome-devtools), the project preview, or a user-supplied screenshot.
This file is the always-loaded router: it holds the order of operations and every hard rule as one
line. The full contract behind each rule lives in the grimoire/ or docs/ file that rule names β
read the named file at the moment you reach that stage, not before.
Canonical shared checkout
Keep one checkout of this repository and let every host enter it through a symlink, so the hosts
execute the same code instead of drifting apart. npx --yes img2threejs@latest install does this
for the hosts it detects (hermes, claude, codex, opencode); it refuses (exit 2) to replace a
link it does not manage, so a hand-made link is never silently swapped for a release copy.
Hermes reads skills per profile: also link ~/.hermes/profiles/<profile>/skills/img2threejs
(the installer writes only ~/.hermes/skills/). Install, manual symlinks, and troubleshooting:
docs/INSTALL.md.
When To Use
The user attaches/points to an object image and wants a procedural Three.js model, a reconstruction/animation/destruction plan, a sculpt spec, or code. Also for material studies, action-ready props, game objects, botanical/mechanical parts, and stylized reconstructions.
Profile preflight (once per run, before forge/next.py)
Domain knowledge (CS2 skins, animated characters, emission targets) lives in plugins, not in this checkout. Pick the profile from the subject, then confirm this environment can start it:
python3 forge/state.py init --help | grep -- --profile # profiles available here
generic/characterare built in: no harness, no plugin, nothing else to check.- A missing domain profile (e.g.
cs2) is a setup gap: never downgrade togenericsilently. Installing it edits the user's machine, so give them the commands indocs/INSTALL.mdΒ§3, get their go-ahead, re-check, and continue. - Installed but not listed (wrong
$IMG2_HOME), or a Hermes plugin link:docs/PLUGINS.md. - Then read what the profile's own steps name, at the moment you reach them: the plugin's
SKILL.mdand contracts govern that domain.
Core Promise
Sculpt from a photo, in order β never one-shot a mesh:
- Run
python3 forge/next.py --state .img2threejs/state.json [<spec>]first, at every start, resume, and before every correction iteration. It reports the ordered checklist, exact next command, evidence status, and bounded correction-loop status; it never replaces the spec/pass gates. Obey a hard stop; never continue from memory. - Validate the image is a suitable 3D target (
grimoire/intake/validation_rubric.md). - Assess object class + complexity, then write a
qualityContractbefore any code. - Spec it: component hierarchy, materials, lighting, pivots, sockets, action anchors.
- Build pass-by-pass from blockout β structure β form β material β lighting β interaction β optimization.
- Verify each pass with a screenshot compared against the reference; fail a pass if an identity-defining feature is wrong even when the global score looks fine.
State explicitly when output is approximate/stylized/low-poly. A single image cannot reveal hidden sides or guarantee exact geometry β say so instead of faking confidence.
Mandatory Local State Gate
Conversation context is disposable; .img2threejs/state.json is the local checklist authority.
Initialize once per reconstruction, then gate every step through it:
python3 forge/state.py init --state .img2threejs/stat
Pertanyaan umum
Apakah memindai atau menyalin objeknya?
Tidak. Skill ini menjelaskan rekonstruksi hanya dengan kode, bukan fotogrametri atau ekstraksi mesh.
Apakah bisa mengekspor file?
Skill ini menyebutkan ekspor opsional ke format lain untuk target yang dipilih, setelah model selesai dibangun.
Apa yang perlu saya berikan?
Gambar referensi. AI mungkin menggunakan alat browser untuk melihat rendernya sendiri selama pemeriksaan.
Detail
Deskripsi asli dari pembuat
Turn an object or character reference image into a quality-gated, animation-ready procedural Three.js model built in code. Use for image-to-3D reconstruction, detail-accurate object rebuilds, stylized/likeness-maximized human characters, sculpt specs, and staged code generation.
repo: img2threejs/img2threejs
Popularitas
- Bintang GitHub
- 20k
- Peringkat
- #10388
- Lisensi
- Apache-2.0
- Diperbarui
- 28/10/2026
Komentar
- β¦
Skill serupa
gifgrep
394kMemungkinkan agent Anda mencari GIF, melihat pratinjau hasil, mengunduh GIF, dan mengambil satu bingkai diam atau lembar kontak darinya.
meme-maker
394kMemungkinkan agent Anda memilih templat meme, menambahkan teks sendiri, dan membuat meme sebagai gambar SVG atau PNG.
ios-icon-gen
280kMemungkinkan agent Anda membuat ikon untuk aplikasi iOS. Menggunakan simbol Apple atau ikon dari sumber lain untuk membuat file yang tepat.