/palladius-public-goodies:glb-3d-monsterfrom palladius-public-goodies
Generates procedural 3D .glb monsters, characters, and props using Three.js + GLTFExporter in Node.js, with a 4-angle WebGL render sheet and adversarial creator/critic loop scoring >= 8.5/10.
Ships in palladius-public-goodies. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
glb-3d-monster)A battle-tested workflow for generating high-detail, Pixar/arcade-quality .glb 3D models purely in Node.js (three + GLTFExporter), rendering 4-angle inspection sheets with hardware WebGL, and iterating through an Adversarial Critic loop until every angle (FRONT 0°, 3/4 RIGHT 45°, BACK 180°, TOP-ISO 35°) scores >= 8.5 / 10.
For each 3D asset (or batch in parallel), run a pair of specialized subagents:
glb-creator (EnableWriteTools: true):
scripts/gen_<slug>.mjs using three + GLTFExporter -> public/assets/models/<filename>.glb.y = 0 (box.min.y = 0), centered on X/Z, facing +Z.8,000–16,000 triangles (up to ~45,000 for dense multi-item props like treasure hoards).1024×1024 2×2 multi-angle sheet (FRONT 0°, 3/4 RIGHT 45°, BACK 180°, TOP-ISO 35°) via scripts/render_glb_sheet.mjs (using BypassSandbox: true when Chrome lives outside the sandbox).read_file before reporting.glb-critic (EnableWriteTools: false, multimodal read_file):
read_file — never guesses./10 on: Silhouette & Proportions, Face / Focal Details, Appendages / Wings / Limbs, Materials & Colors, and Back & Top Completeness.REJECTED (< 8.5/10) with exact geometric/material fixes, or APPROVED (>= 8.5/10).send_message between coordinator, creator, and critic) until APPROVED, then git commit.| Pitfall | Symptom | Fix |
|---|---|---|
Inverted LatheGeometry winding | Entire head, coins, or torso vanishes in TOP-ISO (35°) (backface-culled) | Order profile points bottom-to-top (increasing y). |
| Mirrored spline/tube chirality | Half of symmetrical tubes (e.g. snakes, horns) render inside-out | Check dot(cross(normal, binormal), tangent) > 0 per frame; negate binormal if < 0. |
Stale boundingSphere frustum culling | Parts of a merged/transformed mesh vanish in TOP-ISO (35°) | Call geo.computeBoundingBox() and geo.computeBoundingSphere() on every geometry before export. |
.scale() around world origin | Scaling an already-elevated ribcage (y = 1.4) drops it 0.22m into the belly | Scale around local origin before translating, or bake radii/heights directly. |
ConeGeometry apex direction | Cone points backward/inward | THREE.ConeGeometry places apex at +Y/2 and base at -Y/2. |
Node GLTFExporter textures | FileReader / Blob errors in Node | Prefer sRGB-to-Linear vertex colors + MeshStandardMaterial({ vertexColors: true }), or embed PNG normalMap/map with Node polyfills (see scripts/generate_monster_glbs.mjs). |
LatheGeometry, TubeGeometry with CatmullRomCurve3, ExtrudeGeometry with bevels, and vertex-displaced IcosahedronGeometry (mergeVertices + computeVertexNormals).THREE.DoubleSide on open shells.0.94 scale) so tilted coins (metalness: 0.86, roughness: 0.24) emerge proudly above the surface; use non-indexed faceted geometries (flatShading: true, roughness: 0.05) for diamonds, rubies, emeralds, and tanzanites.BACK (180°) as a smooth bowling ball — add spine ridges, hair/snakes on the nape, cape clasps, or mechanical levers.Use scripts/render_glb_sheet.mjs (served locally over HTTP with node_modules/three + puppeteer-core + /usr/bin/google-chrome-stable with RTX GPU WebGL flags):
node scripts/render_glb_sheet.mjs public/assets/models/<model>.glb /tmp/<model>_sheet.png
Always present approved .glb files as clickable file:// Markdown links so the user can inspect them directly in the Antigravity GLB Viewer (antigravity-glb-viewer):
- **My Monster** *(8.8/10)*: [my_monster.glb](file:///abs/path/to/public/assets/models/my_monster.glb)
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
palladius-public-goodies@palladius-skills is listed by palladius/skills — review the source before installing
npx claudepluginhub palladius/skills --plugin palladius-public-goodies68 skills in this plugin
/a2ui(💛) Build and render portable, declarative Generative UIs with Google A2UI (Agent-to-User Interface). Use whenever the user asks to generate, design, or wire interactive UI widgets, cards, forms, or dashboards using A2UI./add-to-portfolio-app(💛) Adds or syncs Talks, Keynotes, Workshops, Articles, Codelabs, Slides, and Videos in Riccardo's personal portfolio application (apps-portfolio) and companion bio repo (my-sessions-and-bio), including SQLite sync, TDD checks, default speaker images, and automated Cloud Run deployment./adk-python(💛) Create and manage AI agents using Google's Agent Development Kit (ADK) for Python. Use when the user wants to build single or multi-agent systems, evaluate agents, or deploy them. Includes instructions for fetching fresh ADK documentation and links for TypeScript and Go development.