[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EK4BS8209S44SS1VMBCR8W":3,"skill-same:01M7EK4BS8209S44SS1VMBCR8W":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":48},"01M7EK4BS8209S44SS1VMBCR8W","feature-retrieval",null,"Feature extraction, retrieval descriptors, matching, and HDF5 feature\u002Fmatch formats for hloc.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fhierarchical-localization\u002Fsub-skills\u002Ffeature-retrieval\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: feature-retrieval\ndescription: \"Feature extraction, retrieval descriptors, matching, and HDF5\n  feature\u002Fmatch formats for hloc.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# Feature Retrieval for Hierarchical-Localization\n\nUse this sub-skill when a task needs `hloc` feature files, global retrieval descriptor files, retrieval pairs, sparse match files, dense LoFTR-derived match files, or guidance for choosing built-in extractor\u002Fmatcher configurations.\n\n## Route here for\n\n- Local feature extraction with `hloc.extract_features.main`, `ImageDataset`, and `extract_features.confs`.\n- Global image retrieval descriptors from the extractor configs `dir`, `netvlad`, `openibl`, or `megaloc`, followed by `hloc.pairs_from_retrieval.main`.\n- Sparse matching with `hloc.match_features.main`, including SuperGlue, LightGlue, nearest-neighbor, and AdaLAM config families.\n- Dense\u002Fsemi-dense matching with `hloc.match_dense.main` and LoFTR config families.\n- HDF5 feature, global descriptor, and match file naming\u002Fschema diagnostics.\n\n## Route elsewhere\n\n- SfM reconstruction, triangulation, pair generation beyond retrieval descriptors, and localization execution: use `..\u002Fmapping-localization\u002F`.\n- Benchmark\u002Fdataset pipeline scripts and large dataset preparation: use `..\u002Fdataset-pipelines\u002F`.\n- Implementing custom extractors\u002Fmatchers or exporting external feature\u002Fmatch files: use `..\u002Fcustom-interop\u002F`.\n\n## Start with these references\n\n1. Read [`references\u002Fapi-and-cli.md`](references\u002Fapi-and-cli.md) for verified signatures, CLI options, exact built-in config names, output naming, and config-family selection.\n2. Read [`references\u002Fhdf5-feature-match-formats.md`](references\u002Fhdf5-feature-match-formats.md) before reading or writing `.h5` feature, global descriptor, or match files.\n3. Read [`references\u002Ftroubleshooting.md`](references\u002Ftroubleshooting.md) when extraction, retrieval, matching, model download, CUDA\u002FCPU, or HDF5 schema errors occur.\n4. Run [`scripts\u002Finspect_hloc_configs.py`](scripts\u002Finspect_hloc_configs.py) in the user's active Python environment to list available installed configs without running neural models.\n\n## Minimal safe patterns\n\n### Extract local features\n\n```python\nfrom pathlib import Path\nfrom hloc import extract_features\n\nimages = Path(\"images\")\noutputs = Path(\"outputs\")\nfeature_conf = extract_features.confs[\"superpoint_aachen\"]\nfeature_path = extract_features.main(feature_conf, images, outputs)\n# Usually: outputs \u002F \"feats-superpoint-n4096-r1024.h5\"\n```\n\n### Extract global descriptors and produce retrieval pairs\n\n```python\nfrom pathlib import Path\nfrom hloc import extract_features, pairs_from_retrieval\n\nimages = Path(\"images\")\noutputs = Path(\"outputs\")\nretrieval_conf = extract_features.confs[\"netvlad\"]\ndescriptor_path = extract_features.main(retrieval_conf, images, outputs)\npairs = outputs \u002F \"pairs-netvlad.txt\"\npairs_from_retrieval.main(descriptor_path, pairs, num_matched=20)\n```\n\n### Match sparse features for a pairs file\n\n```python\nfrom pathlib import Path\nfrom hloc import extract_features, match_features\n\noutputs = Path(\"outputs\")\npairs = outputs \u002F \"pairs-netvlad.txt\"\nfeature_conf = extract_features.confs[\"superpoint_aachen\"]\nmatcher_conf = match_features.confs[\"superglue\"]\nfeature_path = outputs \u002F f\"{feature_conf['output']}.h5\"\nmatch_path = match_features.main(matcher_conf, pairs, feature_conf[\"output\"], outputs)\n# Usually: outputs \u002F \"feats-superpoint-n4096-r1024_matches-superglue_pairs-netvlad.h5\"\n```\n\n### Match with dense LoFTR\n\n```python\nfrom pathlib import Path\nfrom hloc import match_dense\n\nimages = Path(\"images\")\noutputs = Path(\"outputs\")\npairs = outputs \u002F \"pairs-netvlad.txt\"\ndense_conf = match_dense.confs[\"loftr_aachen\"]\nfeatures_path, matches_path = match_dense.main(dense_conf, pairs, images, export_dir=outputs)\n```\n\nDo not assume a feature or match path from memory: compute it from the selected config and pair-file stem, or pass explicit paths via the Python API.\n","# Feature Retrieval for Hierarchical-Localization\n\nUse this sub-skill when a task needs `hloc` feature files, global retrieval descriptor files, retrieval pairs, sparse match files, dense LoFTR-derived match files, or guidance for choosing built-in extractor\u002Fmatcher configurations.\n\n## Route here for\n\n- Local feature extraction with `hloc.extract_features.main`, `ImageDataset`, and `extract_features.confs`.\n- Global image retrieval descriptors from the extractor configs `dir`, `netvlad`, `openibl`, or `megaloc`, followed by `hloc.pairs_from_retrieval.main`.\n- Sparse matching with `hloc.match_features.main`, including SuperGlue, LightGlue, nearest-neighbor, and AdaLAM config families.\n- Dense\u002Fsemi-dense matching with `hloc.match_dense.main` and LoFTR config families.\n- HDF5 feature, global descriptor, and match file naming\u002Fschema diagnostics.\n\n## Route elsewhere\n\n- SfM reconstruction, triangulation, pair generation beyond retrieval descriptors, and localization execution: use `..\u002Fmapping-localization\u002F`.\n- Benchmark\u002Fdataset pipeline scripts and large dataset preparation: use `..\u002Fdataset-pipelines\u002F`.\n- Implementing custom extractors\u002Fmatchers or exporting external feature\u002Fmatch files: use `..\u002Fcustom-interop\u002F`.\n\n## Start with these references\n\n1. Read [`references\u002Fapi-and-cli.md`](references\u002Fapi-and-cli.md) for verified signatures, CLI options, exact built-in config names, output naming, and config-family selection.\n2. Read [`references\u002Fhdf5-feature-match-formats.md`](references\u002Fhdf5-feature-match-formats.md) before reading or writing `.h5` feature, global descriptor, or match files.\n3. Read [`references\u002Ftroubleshooting.md`](references\u002Ftroubleshooting.md) when extraction, retrieval, matching, model download, CUDA\u002FCPU, or HDF5 schema errors occur.\n4. Run [`scripts\u002Finspect_hloc_configs.py`](scripts\u002Finspect_hloc_configs.py) in the user's active Python environment to list available installed configs without running neural models.\n\n## Minimal safe patterns\n\n### Extract local features\n\n```python\nfrom pathlib import Path\nfrom hloc import extract_features\n\nimages = Path(\"images\")\noutputs = Path(\"outputs\")\nfeature_conf = extract_features.confs[\"superpoint_aachen\"]\nfeature_path = extract_features.main(feature_conf, images, outputs)\n# Usually: outputs \u002F \"feats-superpoint-n4096-r1024.h5\"\n```\n\n### Extract global descriptors and produce retrieval pairs\n\n```python\nfrom pathlib import Path\nfrom hloc import extract_features, pairs_from_retrieval\n\nimages = Path(\"images\")\noutputs = Path(\"outputs\")\nretrieval_conf = extract_features.confs[\"netvlad\"]\ndescriptor_path = extract_features.main(retrieval_conf, images, outputs)\npairs = outputs \u002F \"pairs-netvlad.txt\"\npairs_from_retrieval.main(descriptor_path, pairs, num_matched=20)\n```\n\n### Match sparse features for a pairs file\n\n```python\nfrom pathlib import Path\nfrom hloc import extract_features, match_features\n\noutputs = Path(\"outputs\")\npairs = outputs \u002F \"pairs-netvlad.txt\"\nfeature_conf = extract_features.confs[\"superpoint_aachen\"]\nmatcher_conf = match_features.confs[\"superglue\"]\nfeature_path = outputs \u002F f\"{feature_conf['output']}.h5\"\nmatch_path = match_features.main(matcher_conf, pairs, feature_conf[\"output\"], outputs)\n# Usually: outputs \u002F \"feats-superpoint-n4096-r1024_matches-superglue_pairs-netvlad.h5\"\n```\n\n### Match with dense LoFTR\n\n```python\nfrom pathlib import Path\nfrom hloc import match_dense\n\nimages = Path(\"images\")\noutputs = Path(\"outputs\")\npairs = outputs \u002F \"pairs-netvlad.txt\"\ndense_conf = match_dense.confs[\"loftr_aachen\"]\nfeatures_path, matches_path = match_dense.main(dense_conf, pairs, images, export_dir=outputs)\n```\n\nDo not assume a feature or match path from memory: compute it from the selected config and pair-file stem, or pass explicit paths via the Python API.\n",{"name":5,"license":24,"metadata":25,"description":7,"disable-model-invocation":27},"Apache 2.0",{"disco-role":26},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fhierarchical-localization\u002Fsub-skills\u002Ffeature-retrieval",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":27},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill feature-retrieval",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill feature-retrieval",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill feature-retrieval","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fhierarchical-localization\u002Fsub-skills\u002Ffeature-retrieval\u002FSKILL.md",[49,55,59],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fapi-and-cli.md","REFERENCE","参考文档",17000,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fhierarchical-localization\u002Fsub-skills\u002Ffeature-retrieval\u002Freferences\u002Fapi-and-cli.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fhdf5-feature-match-formats.md",9041,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fhierarchical-localization\u002Fsub-skills\u002Ffeature-retrieval\u002Freferences\u002Fhdf5-feature-match-formats.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Ftroubleshooting.md",10707,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fhierarchical-localization\u002Fsub-skills\u002Ffeature-retrieval\u002Freferences\u002Ftroubleshooting.md",[64,73,78,85,92,99],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":72},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":74,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":72},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":72},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":72},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":72},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":72},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]