corridor-alignment-pipeline

corridor-alignment-pipeline is a skill for Claude Code from jenkinsm13/metashape-mcp. It costs 48 tokens per session (1,335 once invoked), scanned A, original, MIT.

A workflow for aligning photographs taken along long, mostly linear routes such as roads, railways, pipelines, or coastlines. It processes camera batches and checks GPS drift and continuity between batches.

In plain words
What is it for?
Use it when aligning large corridor captures with GPS data, especially projects with 100 or more cameras and a risk of gradual alignment drift.
Why use it?
It stops the process when alignment begins to diverge, helping avoid spending hours building a misaligned corridor model.

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 when aligning large corridor captures with GPS data, especially projects with 100 or more cameras and a risk of gradual alignment drift.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jenkinsm13/metashape-mcp/corridor-alignment-pipeline"><img src="https://agentmods.dev/badge/skills/jenkinsm13/metashape-mcp/corridor-alignment-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,335 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.00048 $0.01335
Opus 5 $0.00024 $0.00668
Sonnet 5 $0.00010 $0.00267
Haiku 4.5 $0.00005 $0.00134

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

Security

Grade A, and why

corridor-alignment-pipeline 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 11d 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/corridor-alignment-pipeline/SKILL.md · 153 lines

How it starts

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

Corridor Alignment Pipeline with Drift Detection

Overview

Align large road corridor captures incrementally in batches, with automatic drift detection between every batch. The pipeline stops if alignment diverges from GPS, preventing hours of wasted processing.

When to Use

  • Aligning road corridor captures (100+ cameras along a linear path)
  • Any linear capture where drift is a concern (railways, pipelines, coastlines)
  • When GPS reference data is available for cameras

Prerequisites

  • Photos imported into a chunk with GPS reference data (EXIF or imported CSV)
  • Sensors configured (fisheye, rolling shutter, axes) per the metashape-alignment skill
  • GPU config: set_gpu_config(cpu_enable=True) for alignment

Pipeline Steps

For each batch of cameras (recommended ~200 per batch):

1. Enable batch cameras

enable_cameras(labels=batch_labels, enable=True)

2. Match and align

match_photos(
    generic_preselection=True,
    reference_preselection=True,
    keep_keypoints=True,          # ALWAYS True for incremental
    reset_matches=False            # True only for very first batch
)
align_cameras(
    reset_alignment=False          # True only for very first batch
)
save_project()

3. Check drift (CRITICAL — do this after EVERY batch)

get_camera_spatial_stats()

Evaluate the error_gradient_per_100m field:

Gradient Assessment Action
< 0.5 m/100m PASS Continue to next batch
0.5 - 2.0 m/100m WARN Alert user. Suggest placing GCPs in the drifting region before continuing.
> 2.0 m/100m FAIL STOP. Report the problem. Do NOT continue alignment.

4. Check continuity with previous batch

check_alignment_continuity(new_camera_labels=batch_labels)

If continuous is False:

  • Report which cameras have position jumps or rotation breaks
  • STOP and let the user investigate before continuing

5. Repeat for next batch

After all batches:

Read the full file on GitHub · 153 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. 11d ago First seen · 153 lines · 48 tokens per session scan A 97503553fd44

Subscribe to this mod's changes

corridor-alignment-pipeline is a skill published in the GitHub repository jenkinsm13/metashape-mcp (34 stars, last pushed 4mo ago), licensed MIT. It adds 48 tokens to every session and 1,335 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