/webdesigner:img2threejsfrom webdesigner
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, staged code generation, or when StackSelection includes the img2threejs integration. Apply only to compatible Next.js or React/Vite workspaces using TypeScript and Three.js; do not use for Flutter, pure CSS motion, or photogrammetry mesh export.
Ships in webdesigner. 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.
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.
Agent-agnostic: works under Claude Code, Codex, OpenCode, or WebDesigner hosts. 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.
build (optional design-stage prep when a reference image must be assessed first)TaskIntent, StackSelection, design artifacts, reference image path, generated workspaceobject-sculpt-spec, threejs-factory, img2threejs-review-log, optional comparison-sheet2c78038)StackSelection.integrations contains img2threejs, or TaskIntent.constraints.requiresImageToThreeJS is true, or the user explicitly asks for image-to-Three.js reconstructionnextjs or react-vite, React, and TypeScript. If the workspace is incompatible, record the reason and stop or offer a framework-native fallback..antigravity/skills/img2threejs) with Python 3.10+ stdlib only — no pip installs into the control plane.src/three/createObjectModel.ts or an equivalent app-local path).three (and @types/three when needed) only in the generated workspace package manager.THREE.Group; expose root.userData.sculptRuntime for animation, sockets, and colliders.ArtifactManifest.integrations contains img2threejs or that the user explicitly requested image-to-Three.js.object-sculpt-spec, threejs-factory, and img2threejs-review-log artifacts; include comparison-sheet paths when available.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. In WebDesigner, activate when product UI needs a procedural 3D prop rebuilt from a reference image.
Sculpt from a photo, in order — never one-shot a mesh:
grimoire/intake/validation_rubric.md).qualityContract before any code.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.
Run scripts from the skill root (forge/...). Pure Python 3.10+ stdlib, no pip installs.
Full flags: grimoire/scripts.md. Never let a script score visuals — that is the agent's job.
forge/stage1_intake/probe_image.py <image> (metadata only, not a visual check).forge/stage2_spec/new_pre_spec_assessment.py "Name" --image <img> --complexity <simple|moderate|complex|ultra-complex> --out assessment.json. Rules: grimoire/intake/quality_contract.md.
Set objectClass.primaryDomain (object | character | hybrid) and fill the seeded
detailInventory (its targetMinDetails scales with complexity).
2b. Detail inventory (do not skip for detailed subjects) — scan zones and enumerate every
identity-defining small detail (gloss, bevel, fasteners, linework, contours, stains):
forge/stage1_intake/build_detail_inventory.py <image> --mode grid-3x3 --out-dir <dir> --out di.json.
Each detail MUST map to a component.localFeatures or material.localOverrides entry — never
prose only. Taxonomy + 3D-term recipes: grimoire/intake/detail_inventory.md.
2c. Character/hybrid subjects — capture head-unit proportions + facial/body landmarks:
forge/stage1_intake/extract_landmarks.py <image> --out anatomy.json --overlay overlay.png, then
fill preSpecAssessment.anatomy. Route: grimoire/character/reconstruction.md. For maximum
likeness use the projection-first path (grimoire/character/likeness_maximization.md): solve the camera
(stage1_intake/solve_camera_pose.py), de-light the photo (stage1_intake/delight_albedo.py), and project it onto
the fitted mesh (stage3_build/bake_projected_texture.py). A single image cannot guarantee 100% likeness —
report per-region confidence and request more views for a real person.forge/stage2_spec/new_sculpt_spec.py "Name" --image <img> --assessment assessment.json --out object-sculpt-spec.json.
Replace generic starter featureReviewTargets with the object's real identity-defining
systems (≤5 critical, ≤3 important per pass); for characters add anatomy-proportion,
face-landmark-placement, pose-silhouette, outfit-and-palette. Use 3D-graphics terms only
(grimoire/glossary/3d_vocabulary.md), never "nice/smooth/shiny". Classify every component's
topologyClass/topologyRationale per grimoire/intake/surface_topology.md before picking a
primitive — this is what prevents a continuous organic form from being picked as a box.forge/stage1_intake/analyze_texture.py <crop> --spec spec.json --material-id <id> --in-place
classifies the finish (gem-metal | gemstone | painted-metal | worn-composite | brushed-steel | plastic), extracts the gradient palette, and writes doc-grounded MeshPhysicalMaterial scalars
(metalness/roughness/clearcoat/transmission/ior/anisotropy/envMapIntensity) onto the material.
Recipes + Three.js texture/PBR rules (colorSpace, CanvasTexture/DataTexture, height→normal) live
in grimoire/build/threejs_texture_reference.md. Rule of thumb: solid albedo for flat paint,
real reference crop for patterned finishes (doppler/quartz/hydro-dip/camo).forge/stage1_intake/extract_pbr_evidence.py <crop> --out-dir <dir> --material-id <id> --target-threshold 0.7.
Confidence < 0.7 is a stop/refine-input signal, not a pass. It is inference, not inverse rendering.forge/stage2_spec/validate_sculpt_spec.py object-sculpt-spec.json then --strict-quality.
Strict blocks shallow specs (a complex object with one root, no repetition systems, no
local overrides, no micro groups is NOT implementation-ready even if JSON validates).forge/stage3_build/orchestrate_passes.py status object-sculpt-spec.json
forge/stage3_build/orchestrate_passes.py check object-sculpt-spec.json --pass-id <pass>
forge/stage3_build/generate_threejs_factory.py object-sculpt-spec.json --out src/createObjectModel.ts
(generator is pass-gated: a future --pass-id fails until prior passes are reviewed continue).forge/stage4_review/make_comparison_sheet.py --reference <img> --render <shot> --out cmp.png --json.forge/stage4_review/append_review.py object-sculpt-spec.json --pass-id <pass> --fidelity <0-1> --action <continue|refine-spec|refine-code|request-input|stop> --summary "..." --render-screenshot <shot> --comparison-image cmp.png --ai-vision-score <0-1> --layer-scores-json '{...}' --feature-reviews-json <f.json> --in-place.forge/stage3_build/orchestrate_passes.py sync object-sculpt-spec.json --in-place.grimoire/intake/validation_rubric.md), AND every reference admitted via
forge/stage1_intake/check_reference_admission.py (rejects empty/fragmented/tiny/duplicate/
undecodable refs with a reason). Intake understanding cross-checked by
forge/stage1_intake/check_intake_correctness.py (halts on a confident class contradiction).forge/stage4_review/divine_eye.py — a zero-token multi-signal ensemble (IoU/scale HARD gates;
proportion/symmetry-parity/pHash/SSIM/edge/blowout/flat/tonal-parity soft) with self-uncertainty
(probe on signal disagreement) and deterministic routing (continue/refine-spec/refine-code/
probe). The VLM (forge/stage4_review/vlm_gate.py) is a gated, calibrated, cross-checked
last layer: never consulted on a hard-gate failure, multi-sample-voted, and can rescue a
soft near-threshold reject but never grant past a hard geometric failure.forge/stage4_review/diagnose_render_multi_angle.py flags degenerate-view when an orbited
silhouette collapses (a flat plane faking a volume). Orbit angles use reference-free
self-consistency — never scored against a reference angle the photo doesn't cover.forge/stage4_review/correction_loop.py
guarantees termination (success/repeated-defect/oscillation/plateau/hard-ceiling), escalating to
request-input — never a silent infinite burn.forge/stage4_review/diagnose_render.py (silhouette IoU/proportion/symmetry/per-part color) and record it (--spec ... --in-place) before requesting a comparison sheet; orchestrate_passes.py check refuses otherwise.continue is allowed only with a render + comparison sheet + global
AI-vision score ≥ threshold (default 0.7) AND every critical feature ≥ its own threshold.
Details + per-layer scorecard: grimoire/feedback/render_capture.md.root.userData.sculptRuntime. grimoire/readiness/action_rigging.md.attachment.parentSocket,
localStart, localEnd, contactType, embedDepth/overlap, gapTolerance — no mid-air parts.
grimoire/readiness/joint_attachment.md.grimoire/feedback/shading_realism.md — independent PBR channels
(never alias albedo into roughness/normal/AO), macro/meso/micro frequency bands, real lights.moderate+ subjects strict-quality blocks code gen until the
detailInventory reaches targetMinDetails and every detail maps to a real component/material
entry (gloss needs low-roughness/clearcoat; fasteners need instancing/micro parts).primaryDomain is character/hybrid (or --character), the spec
author auto-builds a stylized humanoid template (head/neck/torso/arms + hair, glasses,
headphones, face features), flattened to world space under a hidden root, with per-part
character materials and character build passes (proportion-lock, feature-placement).
strict-quality requires a filled anatomy block (head-units, proportions, face landmarks) and
character feature targets. Suitability routing for humans: grimoire/intake/validation_rubric.md
(stylized vs maximum-likeness). Stylized bust, not a face-copy; refine positions per reference.After every pass, decide exactly one: continue | refine-spec | refine-code | request-input | stop.
refine-spec fixes a wrong/missing/shallow spec (re-validate, don't patch code around it);
refine-code fixes geometry/material/lighting that doesn't match a sound spec. Full root-cause
guide + fidelity scale: grimoire/review/self_correction.md.
TypeScript + plain Three.js unless the project uses a wrapper. Group factory
createObjectNameModel(spec, options), reconstruction data kept separate from renderer objects,
deterministic seeds for all procedural noise. Prefer primitives / Shape extrude / curve+tube /
instancing / displacement / generated canvas textures before any external art. Full geometry &
material recipes + hard-won failure patterns: grimoire/build/geometry_patterns.md.
CHANGELOG.md (opens in a new tab)CONTRIBUTING.md (opens in a new tab)LICENSE (opens in a new tab)README.md (opens in a new tab)ROADMAP.md (opens in a new tab)agents/openai.yaml (opens in a new tab)assets/logo.svg (opens in a new tab)docs/TOKEN_COST.md (opens in a new tab)docs/UPGRADE_PLAN.md (opens in a new tab)forge/_shared/artifact_cache.py (opens in a new tab)forge/_shared/color_metrics.py (opens in a new tab)forge/_shared/feature_acceptance_policy.py (opens in a new tab)forge/_shared/image_hash.py (opens in a new tab)forge/requirements.txt (opens in a new tab)forge/stage1_intake/analyze_texture.py (opens in a new tab)forge/stage1_intake/bind_detail_properties.py (opens in a new tab)forge/stage1_intake/build_detail_inventory.py (opens in a new tab)forge/stage1_intake/check_intake_correctness.py (opens in a new tab)forge/stage1_intake/check_reference_admission.py (opens in a new tab)forge/stage1_intake/delight_albedo.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub uset82/webdesigner --plugin webdesigner30 skills in this plugin
/3d-scroll-websiteBuild premium 3D scroll-animated websites from scratch — the full pipeline from Next.js setup through canvas frame-sequence animations, smooth scroll, neumorphic design, and deploy. Use this whenever the user mentions building a 3D website, a scroll-animated landing page, a canvas frame sequence (like Apple's AirPods page), video-to-frame scroll animations, scroll-driven hero animations, smooth-scroll sites, premium/agency-quality landing pages, neumorphic or glassmorphic UI, or any site inspired by Igloo, Igloo Inc, Lusion, Active Theory, or Igloo-style scroll sites. Use it EVEN if the user doesn't say the word "3D" — phrases like "scroll animation", "frame sequence", "sticky canvas", "hero animation that plays on scroll", or "premium landing page with scroll effects" are all signals to use this skill. This is the whole pipeline in one place: stack selection, project scaffolding, frame-sequence engine, scroll math, Framer Motion patterns, design system, performance hardening, and deploy./animate-uiAdd and adapt imskyleen/animate-ui registry components for intentional animated React interfaces. Use for animated UI, motion-rich web interfaces, micro-interactions, animated controls, page transitions, scroll reveals, or when StackSelection includes the animate-ui integration. Apply only to compatible Next.js or React/Vite workspaces using TypeScript and Tailwind; do not use for rendered video, Flutter, or WebGL-only animation.Other plugins' skills for the same job