polyhaven-material-swap

polyhaven-material-swap is a skill for Claude Code, Codex from cafe3310/public-agent-skills. It costs 55 tokens per session (507 once invoked), scanned A, original, Apache-2.0.

A Blender rendering tool that applies several PolyHaven materials to one product, one at a time, and renders each version. It is intended for comparing different finishes and material choices.

In plain words
What is it for?
Use it to show metal, wood, stone, fabric, or other finish options for the same 3D product.
Why use it?
It removes the repeated work of swapping materials and rendering separate product variants by hand.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to show metal, wood, stone, fabric, or other finish options for the same 3D product.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cafe3310/public-agent-skills/polyhaven-material-swap
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cafe3310/public-agent-skills --skill polyhaven-material-swap
Clone the repo
git clone --depth 1 https://github.com/cafe3310/public-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for polyhaven-material-swap

README.md
[![agentmods](https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/polyhaven-material-swap/github.svg)](https://agentmods.dev/skills/cafe3310/public-agent-skills/polyhaven-material-swap)
Your own site
<a href="https://agentmods.dev/skills/cafe3310/public-agent-skills/polyhaven-material-swap"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/polyhaven-material-swap/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for polyhaven-material-swap

Your own site · 80×15
<a href="https://agentmods.dev/skills/cafe3310/public-agent-skills/polyhaven-material-swap"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/polyhaven-material-swap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 507 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.00507
Opus 5.5 $0.00022 $0.00203
Sonnet 5.5 $0.00011 $0.00101
Haiku 4.5 $0.00006 $0.00051

Measured 2d ago against content hash 467498188c06, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

polyhaven-material-swap scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/polyhaven-material-swap.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/blender-skills/subskills/polyhaven-material-swap/SKILL.md · 44 lines

What it actually 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.).

How to Run

node polyhaven-material-swap/scripts/polyhaven-material-swap.js --object Mesh_0 --textures "marble_01,brushed_metal,carbon_fiber" --output ~/Desktop/variants
node polyhaven-material-swap/scripts/polyhaven-material-swap.js --object Mesh_0 --preset metals --output ~/Desktop/metals

Options

Option Description Default
--object Blender object name required
--textures Comma-separated PolyHaven texture IDs required (or use --preset)
--output Output directory for rendered images required
--preset Texture set: metals, woods, stones, fabrics none
--resolution Texture resolution: 1k, 2k 2k
--render-width Render image width 1920
--render-height Render image height 1080
--samples Render samples 64
--port Blender MCP port 9876

Presets

  • metals — brushed_metal, rusty_metal, painted_metal_02, corrugated_iron
  • woods — wood_cabinet_worn_long, plywood, bark_brown_02, wood_floor
  • stones — marble_01, concrete_wall_003, rock_face, gravel_floor_02
  • fabrics — fabric_pattern_07, leather_red_02, denim_fabric, burlap_01
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 44 lines · 55 tokens per session scan A 467498188c06

Subscribe to this mod's changes

polyhaven-material-swap is a skill published in the GitHub repository cafe3310/public-agent-skills (256 stars, last pushed yesterday), licensed Apache-2.0. It adds 55 tokens to every session and 507 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-05.

Related

polyhaven-material-swap compared with skills from other repositories

polyhaven-material-swap next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
polyhaven-material-swapcafe3310/public-agent-skillsSkill256yesterdayApache-2.0A55Claude Code, Codex
google-fonts-curatorflc1125/skillsSkill39yesterdayMITA61Claude Code, Codex
preview-svgveelenga/preview-skillsSkill918d agoMITA107Claude Code
android-ui-engineeringGuillemRoca/agent-skills-androidSkill51mo agoMITA52Claude Code
android-accessibilityGuillemRoca/agent-skills-androidSkill51mo agoMITA35Claude Code
design-taste-frontendfirstsun-dev/skillsSkill54d agononeA61Claude Code, Codex
imagegen-frontend-mobilefirstsun-dev/skillsSkill54d agononeA126Claude Code, Codex