Agent Skills

reference-analysis-validator

Measure and validate supplied reference images, wireframes, texture atlases, and Blender renders before declaring a reconstruction 1:1. Use when an asset must match a template, when visual feedback says the output is off, when part counts must be exact, or before exporting a brand mascot/logo reconstruction. Pairs with reference-to-3d, contour-to-mesh, orthographic-registration, atlas-uv-fitting, and Blender MCP.

Install

npx skills add https://github.com/roble3/cc-blender-skill --skill reference-analysis-validator
SKILL.md

Reference Analysis Validator

This skill converts “looks close” into measurable gates. For brand/logo/mascot work, do not model or export until a source manifest and validation thresholds exist.

Required outputs

Create these in the asset output folder:

  • reference_manifest.json — classified source files, expected parts, thresholds.
  • source_analysis/*.json — image metadata, masks/components/landmarks.
  • validation/front_overlay_reference.png — reference and render overlay.
  • validation/front_mask_validation.json — IoU/SSIM/bbox/centroid report.

Workflow

  1. Classify sources: front, side, back, top, texture atlas, decals, maps, lightmap, aura/context.
  2. Build/refresh reference_manifest.json with hard expected counts and view roles.
  3. Extract masks/components from each source using scripts/reference_manifest_compiler.py or existing analyzers.
  4. Render model from matching orthographic camera with reference planes hidden.
  5. Compare reference mask vs render mask using scripts/render_overlay_validator.py.
  6. Refuse final export if hard gates fail.

Modality rule

Compare like with like. A wireframe edge mask compared against a shaded beauty render gives misleadingly low IoU. For hard gates, render a flat silhouette/matte pass from Blender or compare reference edges to render edges. Use render_overlay_validator.py --reference-mode ... --render-mode ... when the source and render need different mask extraction modes.

Default validation gates

  • primary structural part count: exact.
  • front silhouette IoU: target >= 0.90 for rigid/logotype shapes; >= 0.82 acceptable for first mascot reconstruction pass.
  • bbox center drift: <= 12 px at 1024 px validation size.
  • bbox size drift: <= 3% of image dimension.
  • face/eye/smile landmark drift: <= 2% of image dimension when landmarks are defined.

Failure policy

If a repeated mismatch occurs, record the measured failure, then route to the missing specialty skill:

  • wrong silhouette → contour-to-mesh
  • wrong depth/side/back → orthographic-registration
  • wrong textures → atlas-uv-fitting
  • wrong whole workflow → mascot-logo-reconstruction

Read when needed

  • references/metrics-and-thresholds.md for metric definitions and recommended gates.

Sources distilled

Official/library docs to prefer while extending this skill:

  • OpenCV contour features: moments, area, perimeter, bounding rectangles.
  • OpenCV shape matching / Hu moments.
  • OpenCV homography and geometric transforms.
  • scikit-image SSIM for perceptual comparison.

Related skills

ai-image-generationgenmedia-labs713KGenerate and edit images on RunComfy via the `runcomfy` CLI — a smart router across the full image-model catalog: FLUX 2 (Klein 9B/4B, Pro, Dev, Flash, Turbo, Max), Google Nano Banana 2 / Pro, OpenAI GPT Image 2, ByteDance Seedream 5 / 4-5 / 4-0 and Dreamina 4-0, Alibaba Qwen Image and Z-Image Turbo, Wan 2-7. Covers both text-to-image (t2i) and image-to-image / edit (i2i) endpoints — the skill picks the right model for the user's actual intent (typography precision, photoreal portraits, sub-secoai-image-generation101-skills547KGenerate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, stnano-banana-2prime-skills424KGenerate images with Google Nano Banana 2 (Gemini-family flash-tier text-to-image) on RunComfy — bundled with the model's documented prompting patterns so the skill gets sharper output than naive prompting against the same model. Documents Nano Banana 2's strengths (rapid iteration, in-image typography rendering, predictable framing, optional web-grounded context), the resolution-tier pricing, the safety-tolerance dial, and when to route to Nano Banana Pro / GPT Image 2 / Flux 2 / Seedream insteimage-editprime-skills424KEdit images on RunComfy — this skill is a smart router that matches the user's intent to the right edit model in the RunComfy catalog. Picks Nano Banana Edit (batch up to 20, identity-preserving default), OpenAI GPT Image 2 Edit (multilingual in-image text rewrite, multi-ref composition, layout precision), Flux Kontext Pro (single-ref high-fidelity local edit), or Z-Image Turbo Inpaint (mask-driven precise region edit). Bundles each model's documented prompting patterns so the skill gets sharper

Search skills and MCP servers

Fuzzy search across 23,137 skills and servers