Home / max-786 / claude-3d-harness · library/kb/polyhaven-material-swap/SKILL.md · GitHub

polyhaven-material-swap skillA

polyhaven-material-swap is agent-read markdown (skill) from max-786/claude-3d-harness: Cycle through multiple PolyHaven materials on a product and render each variant. Great for showing color/finish options. Trigger when asked to show material variants, swap textures, create color options, show finish comparisons, or render product in different materials..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# PolyHaven Material Swap

Applies multiple PolyHaven PBR textures to the same object one by one and renders each — perfect for showing product finish variants (matte black, glossy white, brushed metal, marble, etc.).

> Adapted for claude-3d-harness. The original ran a bundled Node script that opened Blender's add-on socket itself and
> sent it Python built from command-line text; it also switched Blender's Cycles device preferences for the whole
> machine. The same steps now go through the MCP server, and the preferences are left alone. See
> `docs/security-review.md`.

## Parameters

| Parameter | Description | Default |
|-----------|-------------|---------|
| `object` | Blender object name | **required** |
| `textures` | PolyHaven texture IDs | **required** (or use a preset) |
| `output` | Folder for the rendered images | `<JOB_DIR>/variants` |
| `preset` | Texture set: metals, woods, stones, fabrics | none |
| `resolution` | Texture resolution: 1k, 2k | `2k` |
| `render_width` / `render_height` | Render size | `1920` x `1080` |
| `samples` | Render samples | `64` |

## Presets

- **metals** — brushed_metal, rusty_metal, painted_metal_02, corrugated_iron
…

Read the whole file at its exact version.

How to install

Latest version
mdr add max-786/claude-3d-harness/polyhaven-material-swap@git:20260921.86ed6ee
Exact content
mdr add max-786/claude-3d-harness/polyhaven-material-swap@sha256:882e61228b80fa14

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_egd3wwyguprpaanm.svg)](https://markdownregistry.com/a/art_egd3wwyguprpaanm)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260921.86ed6ee latest2026-09-21 86ed6ee 4,442 BA view · diff
git:20260921.655a6842026-09-21 655a684 1,772 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4442 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

max-786/claude-3d-harness · 6 stars · license MIT · pushed 2026-09-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_egd3wwyguprpaanm
GET https://markdownregistry.com/api/v1/resolve?ref=max-786/claude-3d-harness/polyhaven-material-swap
GET https://markdownregistry.com/api/v1/blob/882e61228b80fa14ad1a82af5814ea8acb0693240ad21f6cf699dea0880f6a00

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from max-786/claude-3d-harness

blender-harness skill
max-786/claude-3d-harness · .claude/skills/blender-harness/SKILL.md · Entry point for every 3D or Blender task in this repository - modeling, materials, lighting, cameras, rendering…
git:20260918.059296f · audit A · 6 stars
CLAUDE.md claude
max-786/claude-3d-harness · CLAUDE.md
git:20260920.bf93436 · audit A · 6 stars
claude-3d-harness skill
max-786/claude-3d-harness · SKILL.md · Entry point for every 3D or Blender task - modeling, materials, lighting, cameras, rendering, animation, product shots…
git:20260920.d3e8a10 · audit A · 6 stars
animation-quality-gate skill
max-786/claude-3d-harness · library/cc/animation-quality-gate/SKILL.md · Validate Blender animation attempts before accepting them by rendering contact sheets, checking silhouette stability…
git:20260921.8093f5d · audit A · 6 stars
atlas-uv-fitting skill
max-786/claude-3d-harness · library/cc/atlas-uv-fitting/SKILL.md · Detect texture-atlas regions and map each source part to its own UV rectangle or projected UV surface. Use when a…
git:20260921.d4bf893 · audit A · 6 stars
blender-animation skill
max-786/claude-3d-harness · library/cc/blender-animation/SKILL.md · Animate objects, cameras, lights, and properties in Blender — keyframes, F-curves, easing (Bezier, Linear, Sine…
git:20260921.d4bf893 · audit A · 6 stars
blender-cameras skill
max-786/claude-3d-harness · library/cc/blender-cameras/SKILL.md · Set up Blender cameras with cinematic intent — focal length, depth of field (f-stop / focus object), composition (rule…
git:20260921.d4bf893 · audit A · 6 stars
blender-export skill
max-786/claude-3d-harness · library/cc/blender-export/SKILL.md · Export Blender scenes to glTF/GLB (web/AR), FBX (game engines), OBJ (universal), USD (VFX pipelines), STL (3D…
git:20260921.d4bf893 · audit A · 6 stars
blender-lighting skill
max-786/claude-3d-harness · library/cc/blender-lighting/SKILL.md · Light Blender scenes professionally — three-point setups, HDRI environments, studio/cinematic/dramatic configurations…
git:20260921.d4bf893 · audit A · 6 stars
blender-materials skill
max-786/claude-3d-harness · library/cc/blender-materials/SKILL.md · Create and assign PBR materials in Blender via Principled BSDF — metals, glass, plastic, fabric, skin, organics. Covers…
git:20260921.d4bf893 · audit A · 6 stars
blender-modeling skill
max-786/claude-3d-harness · library/cc/blender-modeling/SKILL.md · Create and edit 3D meshes in Blender — primitives, hard-surface modeling, mesh operators, modifier stacks (Bevel…
git:20260921.d4bf893 · audit A · 6 stars
blender-pro-workflow skill
max-786/claude-3d-harness · library/cc/blender-pro-workflow/SKILL.md · End-to-end production workflow guidance for Blender — the order to assemble scenes (block-out → camera → light → forms…
git:20260921.d4bf893 · audit A · 6 stars

Every file in max-786/claude-3d-harness

Browse by kind, by grade A, or by owner.