diagnose-alignment

diagnose-alignment is a skill for Claude Code from jenkinsm13/metashape-mcp. It costs 40 tokens per session (377 once invoked), scanned A, original, MIT.

A diagnostic guide for checking camera alignment in Agisoft Metashape, software that builds 3D models from photographs. It examines aligned cameras, tie points, camera calibration, image coverage, and reprojection error.

In plain words
What is it for?
Use it after photo alignment to review alignment rates, point density, calibration, coverage gaps, and likely fixes such as changing matching settings or removing poor images.
Why use it?
It helps identify why photos did not align well or why the reconstructed scene may be inaccurate, then suggests possible corrections.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

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

Good fit Use it after photo alignment to review alignment rates, point density, calibration, coverage gaps, and likely fixes such as changing matching settings or removing poor images.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jenkinsm13/metashape-mcp/diagnose-alignment
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 jenkinsm13/metashape-mcp --skill diagnose-alignment
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 diagnose-alignment

README.md
[![agentmods](https://agentmods.dev/badge/skills/jenkinsm13/metashape-mcp/diagnose-alignment/github.svg)](https://agentmods.dev/skills/jenkinsm13/metashape-mcp/diagnose-alignment)
Your own site
<a href="https://agentmods.dev/skills/jenkinsm13/metashape-mcp/diagnose-alignment"><img src="https://agentmods.dev/badge/skills/jenkinsm13/metashape-mcp/diagnose-alignment/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 diagnose-alignment

Your own site · 80×15
<a href="https://agentmods.dev/skills/jenkinsm13/metashape-mcp/diagnose-alignment"><img src="https://agentmods.dev/badge/skills/jenkinsm13/metashape-mcp/diagnose-alignment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 377 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.00040 $0.00377
Opus 5 $0.00020 $0.00188
Sonnet 5 $0.00008 $0.00075
Haiku 4.5 $0.00004 $0.00038

Measured 12d ago against content hash a6f57a10cd01, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

diagnose-alignment 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 12d 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.

skills/diagnose-alignment/SKILL.md · 46 lines

What it actually says

Diagnose Alignment

Check alignment health and recommend fixes for the active Metashape chunk.

Diagnostic Steps

  1. Check project state: get_alignment_stats for overall alignment summary
  2. Check cameras: What percentage are aligned? Are there clusters of unaligned cameras?
  3. Check tie points: How many exist? What's the ratio of points to cameras?
  4. Check sensors: Are calibration parameters reasonable? Use list_sensors
  5. Check spatial distribution: get_camera_spatial_stats for coverage gaps

Common Issues and Solutions

Low alignment rate (<80%)

  • Try match_photos with higher keypoint_limit (60000–100000)
  • Enable guided_matching=True
  • Lower downscale (0 or 1 for highest accuracy)
  • Check for images with insufficient overlap

High reprojection error (>1 pixel)

  • Run optimize_cameras with all distortion coefficients
  • Try adaptive_fitting=True
  • Remove cameras with very high individual errors

Sparse tie points (<1000 per camera)

  • Increase keypoint_limit and tiepoint_limit
  • Check image quality with analyze_images
  • Remove blurry images (quality < 0.5)

Alignment drift / banding

  • Add ground control points (GCPs)
  • Use reference_preselection=True
  • Check camera GPS accuracy
  • See /corridor-alignment-pipeline for incremental approach

Output

Provide a summary of findings with specific recommended tool calls and parameters.

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. 12d ago First seen · 46 lines · 40 tokens per session scan A a6f57a10cd01

Subscribe to this mod's changes

diagnose-alignment is a skill published in the GitHub repository jenkinsm13/metashape-mcp (34 stars, last pushed 4mo ago), licensed MIT. It adds 40 tokens to every session and 377 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

cad-mesh-3dgs

Bridge CAD, Mesh, and 3DGS representations via the SLAT unified encode-decode framework. Covers mesh↔3DGS conversion, surface extraction, CAD reverse engineering, B-rep/parametric reconstruction, NL-driven assembly, TetSphere physics bridge, PBR material generation. Analyzes 40+ methods. Use when: converting mesh…

jaccen/Awesome-Gaussian-Skills · 140 tokens

3dgs-experiment-planner

Design rigorous experiments for 3DGS research papers. Recommends datasets, baselines, metrics, ablation matrices. Targets CVPR/ICCV/ECCV/SIGGRAPH/TVCG. Use when: designing experiments for a 3DGS paper, selecting datasets/baselines/metrics, planning ablation studies, addressing reviewer concerns on experiments…

jaccen/Awesome-Gaussian-Skills · 96 tokens

3dgs-visualizer

A chart-making tool for research on 3D Gaussian Splatting (3DGS), a technique for representing and rendering 3D scenes from images. It creates radar charts, comparison tables, and timelines for comparing research methods.

jaccen/Awesome-Gaussian-Skills · 84 tokens

nerf-to-3dgs-migrator

Migrate NeRF-based methods to 3DGS via the SLAT unified encode-decode framework. Analyzes component compatibility, provides code templates, identifies issues. Covers encoding, deformation, appearance, geometry. Use when: migrating NeRF method to 3DGS, comparing NeRF vs 3DGS components, designing hybrid NeRF-3DGS…

jaccen/Awesome-Gaussian-Skills · 106 tokens

3dgs-paper-reader

Read and summarize 3DGS research papers. Extracts method architecture, innovations, experimental results from arXiv or local PDFs. Structured output with tables. Knowledge of 819+ methods across 23 categories. Use when: reading or analyzing a 3DGS/NeRF paper, extracting method details from arXiv PDF, summarizing 3D…

jaccen/Awesome-Gaussian-Skills · 96 tokens

cg-paper-writing

Academic paper writing for 3D vision, computer graphics, CAD, and 3D understanding. Covers NeRF, 3DGS, SLAM, point cloud, 3D shape, CAD modeling. Supports CVPR/ICCV/ECCV/SIGGRAPH venues. Multi-agent adversarial review, citation integrity gates, style calibration. Use when: writing or revising a CG/3D vision paper…

jaccen/Awesome-Gaussian-Skills · 134 tokens