Skip to content
Back to skills

Matcher Configuration

ASecurity

"Configure and call LightGlue directly on feature dictionaries and

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
devopsapiperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill matcher-configuration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Matcher Configuration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Matcher Configuration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-matcher-configuration/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-matcher-configuration)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: matcher-configuration
description: "Configure and call LightGlue directly on feature dictionaries and
  precomputed descriptors."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# LightGlue matcher configuration

Use this sub-skill when the task is about the direct matcher API rather than image loading, extractor selection, or plotting: `LightGlue(features='...')`, `LightGlue(features=None, **conf)`, precomputed feature dictionaries, `depth_confidence`, `width_confidence`, `filter_threshold`, `flash`, `mp`, `compile()`, or interpreting `matches0`, `matches`, `scores`, `stop`, and `prune*`.

## Route first

- For extractor defaults, extractor output schemas, SIFT/DoGHardNet scale-orientation details, or pretrained extractor behavior, use [extractors-and-features](../extractors-and-features/SKILL.md).
- For real image pair loading, `match_pair`, batch-dimension removal, or coordinate indexing on images, use [image-pair-matching](../image-pair-matching/SKILL.md).
- For benchmark commands, visualization helpers, throughput tables, or match display, use [performance-and-visualization](../performance-and-visualization/SKILL.md).

## Operating references

- [Direct matcher API reference](references/api-reference.md) covers signatures, valid feature presets, input/output dictionary schemas, result interpretation, and a synthetic `features=None` example.
- [Configuration decisions](references/configuration.md) covers default values, speed/accuracy trade-offs, adaptive depth/width, filtering, FlashAttention, mixed precision, `torch.compile`, and pruning thresholds.
- [Troubleshooting](references/troubleshooting.md) covers common assertions, unsupported feature names, missing `image_size`, descriptor dimension mismatches, optional acceleration warnings, compile/pruning interactions, and no-keypoint behavior.
- Planned synthetic API check: [root smoke script](../../scripts/lightglue_smoke.py) when present in the root LightGlue skill. It should use `LightGlue(features=None, ...)` to avoid pretrained weight downloads.

## Default operating stance

1. Use a feature preset (`features='superpoint'`, `'disk'`, `'aliked'`, `'sift'`, or `'doghardnet'`) when descriptors come from a supported extractor and pretrained LightGlue matching quality is required. Preset matcher weights can download on first use.
2. Use `features=None` only when the caller supplies fully precomputed descriptors and intentionally controls `input_dim`, `descriptor_dim`, `n_layers`, and `num_heads`; without compatible weights this is an untrained matcher configuration, useful for API smoke tests or custom-trained deployments.
3. For maximum accuracy, keep all desired keypoints and disable adaptivity with `depth_confidence=-1` and `width_confidence=-1`.
4. For speed, keep `flash=True`, consider CUDA `mp=True`, lower adaptive thresholds carefully, and consider `compile()` only after understanding the pruning interaction documented in [configuration](references/configuration.md).

Files in this skill

  • SKILL.md3 KB
  • references/api-reference.md6.9 KB
  • references/configuration.md6.3 KB
  • references/troubleshooting.md5.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.