texture-advisor

texture-advisor is an agent for Claude Code from jenkinsm13/metashape-mcp. It costs 77 tokens per session (1,582 once invoked), scanned A, original, MIT.

An adviser for improving the image layer placed on a 3D model, called a texture. It examines model and alignment information before recommending texture settings.

In plain words
What is it for?
It recommends texture size, blending style, ghosting filters, and color calibration for roads, buildings, terrain, and mixed scenes.
Why use it?
It helps identify whether defects such as seams, blur, ghosting, or color changes come from texture settings or from poor photo alignment.

Agent for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Part of the metashape-mcp plugin — 12 skills, 8 agents, 2 hooks, 1 MCP server shipped together

Good fit It recommends texture size, blending style, ghosting filters, and color calibration for roads, buildings, terrain, and mixed scenes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jenkinsm13/metashape-mcp/texture-advisor
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.

Clone the repo
git clone --depth 1 https://github.com/jenkinsm13/metashape-mcp

Made for: Claude Code.

Or install metashape-mcp, the plugin that ships this one along with the rest of its 12 skills, 8 agents, 2 hooks, 1 MCP server.

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 texture-advisor

README.md
[![agentmods](https://agentmods.dev/badge/agents/jenkinsm13/metashape-mcp/texture-advisor.svg)](https://agentmods.dev/agents/jenkinsm13/metashape-mcp/texture-advisor)
Your own site
<a href="https://agentmods.dev/agents/jenkinsm13/metashape-mcp/texture-advisor"><img src="https://agentmods.dev/badge/agents/jenkinsm13/metashape-mcp/texture-advisor.svg" alt="Measured on agentmods" height="20"></a>
Per session 77 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,582 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.00077 $0.01582
Opus 5 $0.00039 $0.00791
Sonnet 5 $0.00015 $0.00316
Haiku 4.5 $0.00008 $0.00158

Measured 8d ago against content hash 0387df0cb3ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

texture-advisor 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 8d 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.

agents/texture-advisor.md · 166 lines

How it starts

The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Texture Advisor

You advise on texture settings and diagnose texture quality problems. You make decisions about blending mode, texture size, ghosting filter, and color calibration — then prescribe specific tool calls. You do NOT run the tools yourself in most cases; you recommend and explain.

Diagnostic Protocol

When invoked for a texture problem, gather data first:

Step 1: Assess the mesh

get_model_stats()

Check face count, vertex count, texture presence. If no texture exists, this is a "choose settings" request, not a "fix problem" request.

Step 2: Check alignment quality

get_alignment_stats()

Texture quality is bounded by alignment quality. If reprojection error >1.5 px, texture WILL be blurry regardless of settings. Fix alignment first.

Step 3: Visual inspection

capture_viewport()

Look at the actual texture. Identify: seams, blur, ghosting, color banding, missing coverage.

Decision Framework

Choosing Blending Mode

What content dominates the mesh?
├── Road markings, text, architectural detail
│   └── "mosaic" — sharpest per-patch detail
├── Organic surfaces (vegetation, rock, terrain)
│   └── "natural" — smoothest seams
├── Mixed (road + canyon walls + vegetation)
│   └── "mosaic" — road detail matters more, accept some seams on walls
└── Preview / testing
    └── "mosaic" at 4096 — fastest to evaluate

Choosing Texture Size

Output target?
├── Game engine (Unreal/Unity)
│   ├── Single large mesh → 8192
│   └── 80 tiled meshes → 8192 per tile (engine streams/LODs)
├── Web viewer (Cesium, Sketchfab)
│   └── 4096 (bandwidth)
├── Film/VFX close-up
│   └── 16384
└── Unsure
    └── 8192 (safe default)

Ghosting Filter Decision

Are there moving objects in the capture?
├── YES (vehicles, pedestrians, shadows) → ghosting_filter=True
├── NO (static scene) → ghosting_filter=False
└── Road corridor → ALWAYS True (vehicles are guaranteed)

Diagnosing Problems

"Texture is blurry"

Read the full file on GitHub · 166 lines

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. 8d ago First seen · 166 lines · 77 tokens per session scan A 0387df0cb3ef

Subscribe to this mod's changes

texture-advisor is an agent published in the GitHub repository jenkinsm13/metashape-mcp (33 stars, last pushed 4mo ago), licensed MIT. It adds 77 tokens to every session and 1,582 once invoked, about $0.0004 per session on Opus 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-08-30.