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.
npx skills add cafe3310/public-agent-skills --skill polyhaven-material-swapgit clone --depth 1 https://github.com/cafe3310/public-agent-skillsWrote 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.
[](https://agentmods.dev/skills/cafe3310/public-agent-skills/polyhaven-material-swap)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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
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.
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.
- 2d ago First seen · 44 lines · 55 tokens per session scan A 467498188c06
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.
polyhaven-material-swap compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| polyhaven-material-swapcafe3310/public-agent-skills | Skill | 256 | yesterday | Apache-2.0 | A | 55 | Claude Code, Codex |
| google-fonts-curatorflc1125/skills | Skill | 39 | yesterday | MIT | A | 61 | Claude Code, Codex |
| preview-svgveelenga/preview-skills | Skill | 9 | 18d ago | MIT | A | 107 | Claude Code |
| android-ui-engineeringGuillemRoca/agent-skills-android | Skill | 5 | 1mo ago | MIT | A | 52 | Claude Code |
| android-accessibilityGuillemRoca/agent-skills-android | Skill | 5 | 1mo ago | MIT | A | 35 | Claude Code |
| design-taste-frontendfirstsun-dev/skills | Skill | 5 | 4d ago | none | A | 61 | Claude Code, Codex |
| imagegen-frontend-mobilefirstsun-dev/skills | Skill | 5 | 4d ago | none | A | 126 | Claude Code, Codex |