[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79654H595068WRWNVSCVP9H":3,"skill-same:01M79654H595068WRWNVSCVP9H":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":45},"01M79654H595068WRWNVSCVP9H","legacy-models",null,"Operate the repository's legacy TensorRT Caffe demos: build GoogLeNet classification and the three-stage MTCNN face detector, compile the pytrt Cython bridge, validate model\u002Flabel assets, and diagnose version-bound runtime failures.","VectorSpaceLab\u002FAREX-Skill","VectorSpaceLab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F180637102?v=4","01M7538C5WPSJGWF7KHR4EFZ9F","01M7538C6R2GFP53NPXTCZNBRT",351,"MIT","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Ftensorrt-demos\u002Fsub-skills\u002Flegacy-models\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"legacy-models\"\ndescription: \"Operate the repository's legacy TensorRT Caffe demos: build\n  GoogLeNet classification and the three-stage MTCNN face detector, compile the\n  pytrt Cython bridge, validate model\u002Flabel assets, and diagnose version-bound\n  runtime failures.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: MIT\n---\n\n# Legacy Caffe models: GoogLeNet and MTCNN\n\nUse this sub-skill when a task concerns the `googlenet\u002F` or `mtcnn\u002F` demos,\n`pytrt.pyx`\u002F`pytrt.pxd`, `trt_googlenet*.py`, `trt_mtcnn.py`, or\n`utils\u002Fmtcnn.py`. It describes the repository snapshot's legacy Caffe and\nTensorRT execution path. It does **not** install packages, download models,\nor ship generated engines, shared libraries, Caffe weights, or installers.\n\nThe normal working directory for every command below is the repository root.\nRun `python3 scripts\u002Fvalidate-legacy-model-assets.py --repo-root .` before a\nbuild. Read [references\u002Fworkflows.md](references\u002Fworkflows.md) for the ordered\nbuild\u002Finference procedure, [api-reference.md](api-reference.md) for tensor and\nthreshold contracts, and [compatibility.md](compatibility.md) before selecting\na TensorRT version.\n\n## Operating boundary\n\n- Treat the checked-out repository and its documented source files as the\n  evidence boundary. The checkout may contain large model weights, but this\n  skill intentionally references them by path rather than copying them.\n- Engine files are TensorRT-version-, platform-, and GPU-dependent outputs.\n  Build them on the target and do not reuse an engine from another host unless\n  deserialization has been explicitly proven for the exact runtime.\n- The Caffe parser and the Cython `pytrt` extension are required for these two\n  demos. A CPU-only Python check cannot prove inference readiness.\n- Native `--help` is conditional: both demo scripts import `pytrt` at module\n  import time, so help succeeds only after a compatible extension has been\n  built and its TensorRT\u002FCUDA libraries can load.\n- Keep generated `*.engine`, `*.so`, `pytrt.cpp`, and build directories out of\n  this runtime skill tree. The supplied validator is read-only.\n\n## Quick decision table\n\n| Need | Entry point | Required generated assets |\n|---|---|---|\n| Classify an image or stream | `trt_googlenet.py` | `googlenet\u002Fdeploy.engine`, built `pytrt` |\n| Detect faces and landmarks | `trt_mtcnn.py` | `mtcnn\u002Fdet1.engine`, `det2.engine`, `det3.engine`, built `pytrt` |\n| Build GoogLeNet engine | `googlenet\u002Fcreate_engine.cpp` | `deploy.prototxt`, `deploy.caffemodel`, TensorRT Caffe parser |\n| Build MTCNN engines | `mtcnn\u002Fcreate_engines.cpp` | three `det*_relu` prototxt\u002Fweights, TensorRT Caffe parser |\n| Build Python bridge | root `Makefile` → `setup.py` | Cython, NumPy, CUDA\u002FTensorRT headers and libraries |\n| Check source\u002Fassets without mutation | `scripts\u002Fvalidate-legacy-model-assets.py` | Python standard library only |\n\nIf the request is to modernize these demos, export them, or replace Caffe,\nstop at the compatibility boundary and describe the migration separately;\ndo not silently reinterpret a legacy workflow as modern TensorRT support.\n\n## Core workflow\n\n1. **Confirm assets and runtime.** Validate source descriptors and expected\n   filenames. Confirm that the target has a matching NVIDIA driver, CUDA,\n   TensorRT Caffe parser\u002Fruntime, a C++ toolchain, Python 3, NumPy, OpenCV,\n   and Cython. For Jetson, identify the JetPack\u002FTensorRT pairing first.\n2. **Build engines on the target.** From `googlenet\u002F`, run `make` then\n   `.\u002Fcreate_engine`; from `mtcnn\u002F`, run `make` then `.\u002Fcreate_engines`. The\n   programs serialize and immediately deserialize engines and print binding\n   information. A successful compiler invocation alone is insufficient.\n3. **Build `pytrt`.** From the repository root, run `make PYTHON=python3`.\n   This invokes `setup.py build_ext -if`, compiles the Cython module against\n   `trtNet.cpp`, and removes only the temporary `build\u002F` directory. The\n   resulting extension is generated at the root and is intentionally not part\n   of this skill.\n4. **Run a low-risk image trial.** Use `--image` with a local image and keep\n   the process in a display-capable session. Image input repeats indefinitely;\n   press `Esc` to stop. Use `--copy_frame` for live sources if inference can\n   outpace capture and the displayed frame is modified in place.\n5. **Check outputs.** GoogLeNet must return a `prob` tensor with 1000 scores and\n   display top three labels. MTCNN must return `(N,5)` boxes and `(N,10)`\n   landmarks, with no NaNs and coordinates clipped to the image bounds. Record\n   the exact TensorRT version, GPU, source commit, engine build command, and\n   input mode with the result.\n\n## Safety and failure handling\n\nDo not run `install*.sh`, `download_yolo.sh`, `sudo pip`, or network fetches as\npart of this workflow. Do not infer that an absent weight is safe to replace\nwith a random or newer model: descriptor\u002Fweight compatibility is required.\nUse the read-only validator to distinguish missing assets from a broken build.\nFor failures, classify them as missing source\u002Fweight, toolchain\u002Fheader\u002Flinker,\nengine deserialization\u002Fversion, extension import, input\u002FGStreamer, or model\npost-processing. See [troubleshooting.md](troubleshooting.md).\n\n## Difficult synthetic usability cases\n\n1. **MTCNN scale-and-threshold case:** Given a 1920×1080 BGR frame and the\n   default `minsize=40`, predict that `TrtMtcnn.detect` rescales to at most\n   1280×720, raises the effective minimum size but never below 40, converts\n   BGR→RGB, and applies PNet\u002FRNet\u002FONet thresholds `0.7\u002F0.6\u002F0.7`. Confirm that\n   a caller asking for `minsize=32` is rejected rather than silently accepted.\n2. **Mixed-runtime asset case:** Given all six Caffe model files and descriptors\n   but no generated engines or `pytrt`, use the validator to report source\u002Fmodel\n   readiness with generated-runtime warnings; explain why both demo `--help`\n   commands remain blocked until a compatible extension and engines exist.\n","# Legacy Caffe models: GoogLeNet and MTCNN\n\nUse this sub-skill when a task concerns the `googlenet\u002F` or `mtcnn\u002F` demos,\n`pytrt.pyx`\u002F`pytrt.pxd`, `trt_googlenet*.py`, `trt_mtcnn.py`, or\n`utils\u002Fmtcnn.py`. It describes the repository snapshot's legacy Caffe and\nTensorRT execution path. It does **not** install packages, download models,\nor ship generated engines, shared libraries, Caffe weights, or installers.\n\nThe normal working directory for every command below is the repository root.\nRun `python3 scripts\u002Fvalidate-legacy-model-assets.py --repo-root .` before a\nbuild. Read [references\u002Fworkflows.md](references\u002Fworkflows.md) for the ordered\nbuild\u002Finference procedure, [api-reference.md](api-reference.md) for tensor and\nthreshold contracts, and [compatibility.md](compatibility.md) before selecting\na TensorRT version.\n\n## Operating boundary\n\n- Treat the checked-out repository and its documented source files as the\n  evidence boundary. The checkout may contain large model weights, but this\n  skill intentionally references them by path rather than copying them.\n- Engine files are TensorRT-version-, platform-, and GPU-dependent outputs.\n  Build them on the target and do not reuse an engine from another host unless\n  deserialization has been explicitly proven for the exact runtime.\n- The Caffe parser and the Cython `pytrt` extension are required for these two\n  demos. A CPU-only Python check cannot prove inference readiness.\n- Native `--help` is conditional: both demo scripts import `pytrt` at module\n  import time, so help succeeds only after a compatible extension has been\n  built and its TensorRT\u002FCUDA libraries can load.\n- Keep generated `*.engine`, `*.so`, `pytrt.cpp`, and build directories out of\n  this runtime skill tree. The supplied validator is read-only.\n\n## Quick decision table\n\n| Need | Entry point | Required generated assets |\n|---|---|---|\n| Classify an image or stream | `trt_googlenet.py` | `googlenet\u002Fdeploy.engine`, built `pytrt` |\n| Detect faces and landmarks | `trt_mtcnn.py` | `mtcnn\u002Fdet1.engine`, `det2.engine`, `det3.engine`, built `pytrt` |\n| Build GoogLeNet engine | `googlenet\u002Fcreate_engine.cpp` | `deploy.prototxt`, `deploy.caffemodel`, TensorRT Caffe parser |\n| Build MTCNN engines | `mtcnn\u002Fcreate_engines.cpp` | three `det*_relu` prototxt\u002Fweights, TensorRT Caffe parser |\n| Build Python bridge | root `Makefile` → `setup.py` | Cython, NumPy, CUDA\u002FTensorRT headers and libraries |\n| Check source\u002Fassets without mutation | `scripts\u002Fvalidate-legacy-model-assets.py` | Python standard library only |\n\nIf the request is to modernize these demos, export them, or replace Caffe,\nstop at the compatibility boundary and describe the migration separately;\ndo not silently reinterpret a legacy workflow as modern TensorRT support.\n\n## Core workflow\n\n1. **Confirm assets and runtime.** Validate source descriptors and expected\n   filenames. Confirm that the target has a matching NVIDIA driver, CUDA,\n   TensorRT Caffe parser\u002Fruntime, a C++ toolchain, Python 3, NumPy, OpenCV,\n   and Cython. For Jetson, identify the JetPack\u002FTensorRT pairing first.\n2. **Build engines on the target.** From `googlenet\u002F`, run `make` then\n   `.\u002Fcreate_engine`; from `mtcnn\u002F`, run `make` then `.\u002Fcreate_engines`. The\n   programs serialize and immediately deserialize engines and print binding\n   information. A successful compiler invocation alone is insufficient.\n3. **Build `pytrt`.** From the repository root, run `make PYTHON=python3`.\n   This invokes `setup.py build_ext -if`, compiles the Cython module against\n   `trtNet.cpp`, and removes only the temporary `build\u002F` directory. The\n   resulting extension is generated at the root and is intentionally not part\n   of this skill.\n4. **Run a low-risk image trial.** Use `--image` with a local image and keep\n   the process in a display-capable session. Image input repeats indefinitely;\n   press `Esc` to stop. Use `--copy_frame` for live sources if inference can\n   outpace capture and the displayed frame is modified in place.\n5. **Check outputs.** GoogLeNet must return a `prob` tensor with 1000 scores and\n   display top three labels. MTCNN must return `(N,5)` boxes and `(N,10)`\n   landmarks, with no NaNs and coordinates clipped to the image bounds. Record\n   the exact TensorRT version, GPU, source commit, engine build command, and\n   input mode with the result.\n\n## Safety and failure handling\n\nDo not run `install*.sh`, `download_yolo.sh`, `sudo pip`, or network fetches as\npart of this workflow. Do not infer that an absent weight is safe to replace\nwith a random or newer model: descriptor\u002Fweight compatibility is required.\nUse the read-only validator to distinguish missing assets from a broken build.\nFor failures, classify them as missing source\u002Fweight, toolchain\u002Fheader\u002Flinker,\nengine deserialization\u002Fversion, extension import, input\u002FGStreamer, or model\npost-processing. See [troubleshooting.md](troubleshooting.md).\n\n## Difficult synthetic usability cases\n\n1. **MTCNN scale-and-threshold case:** Given a 1920×1080 BGR frame and the\n   default `minsize=40`, predict that `TrtMtcnn.detect` rescales to at most\n   1280×720, raises the effective minimum size but never below 40, converts\n   BGR→RGB, and applies PNet\u002FRNet\u002FONet thresholds `0.7\u002F0.6\u002F0.7`. Confirm that\n   a caller asking for `minsize=32` is rejected rather than silently accepted.\n2. **Mixed-runtime asset case:** Given all six Caffe model files and descriptors\n   but no generated engines or `pytrt`, use the validator to report source\u002Fmodel\n   readiness with generated-runtime warnings; explain why both demo `--help`\n   commands remain blocked until a compatible extension and engines exist.\n",{"name":5,"license":14,"metadata":23,"description":7,"disable-model-invocation":25},{"disco-role":24},"operating",true,"main","ac3fe1afa80fb9a09775ecfb2b6cc3ba850a2db6","skills\u002Frepositories\u002Frepo-skills\u002Ftensorrt-demos\u002Fsub-skills\u002Flegacy-models",27,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab","2026-09-03 10:25:21",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":25},[35,38,41],{"tool":36,"command":37},"npx","npx skills add VectorSpaceLab\u002FAREX-Skill --skill legacy-models",{"tool":39,"command":40},"bunx","bunx skills add VectorSpaceLab\u002FAREX-Skill --skill legacy-models",{"tool":42,"command":43},"pnpm","pnpm dlx skills add VectorSpaceLab\u002FAREX-Skill --skill legacy-models","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Ftensorrt-demos\u002Fsub-skills\u002Flegacy-models\u002FSKILL.md",[46,52,56,60,66],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"api-reference.md","REFERENCE","参考文档",5609,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Ftensorrt-demos\u002Fsub-skills\u002Flegacy-models\u002Fapi-reference.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"compatibility.md",4618,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Ftensorrt-demos\u002Fsub-skills\u002Flegacy-models\u002Fcompatibility.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fworkflows.md",7511,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Ftensorrt-demos\u002Fsub-skills\u002Flegacy-models\u002Freferences\u002Fworkflows.md",{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"scripts\u002Fvalidate-legacy-model-assets.py","SCRIPT","脚本",7121,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Ftensorrt-demos\u002Fsub-skills\u002Flegacy-models\u002Fscripts\u002Fvalidate-legacy-model-assets.py",{"path":67,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":68,"sourceHtmlUrl":69},"troubleshooting.md",7688,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Ftensorrt-demos\u002Fsub-skills\u002Flegacy-models\u002Ftroubleshooting.md",[71,79,86,93,100,107],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":75,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M799NYSH1R3RVAHSM2D88Y84","passnet-triton-opt","Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block\u002Fgrid\u002Fwarp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-triton-opt\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":75,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M799NS5APEC0N1FZ7XZVW6BN","passnet-solve","END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-solve\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":75,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M799NNY9BKSM21V5R7QVTBJX","passnet-skill","PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under .\u002Fpass_dir\u002F, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-skill\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":75,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":18},"01M799NHH6NP7Z1RK77KGXAN6S","passnet-pattern-fusion","Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()\u002Freplacement_args()\u002Freplacement_func() files, when a pass \"failed to match\", or when deciding how to fuse multiple kernels\u002Fops.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-pattern-fusion\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":75,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":18},"01M799ND2J4WNC2PGAZ0A06NDF","passnet-orchestrate","Round\u002Fbatch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep\u002Frevert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-orchestrate\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":75,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":18},"01M799N8SBTMY02ZDG2AZF5ZWE","passnet-feedback","Fast, deterministic feedback for PassNet work: pre-flight pattern\u002Fmatch verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-feedback\u002FSKILL.md",[],[]]