[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M791C1BXTDDW0K08MYJMT6WC":3,"skill-same:01M791C1BXTDDW0K08MYJMT6WC":75},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":46},"01M791C1BXTDDW0K08MYJMT6WC","nnunetv2",null,"Use nnU-Net v2 for medical image segmentation workflows: dataset preparation, planning\u002Fpreprocessing, training, inference\u002Fevaluation, model sharing, and customization.","VectorSpaceLab\u002FAREX-Skill","VectorSpaceLab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F180637102?v=4","01M7538C5WPSJGWF7KHR4EFZ9F","01M7538C6R2GFP53NPXTCZNBRT",351,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fnnunetv2\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: nnunetv2\ndescription: \"Use nnU-Net v2 for medical image segmentation workflows: dataset\n  preparation, planning\u002Fpreprocessing, training, inference\u002Fevaluation, model\n  sharing, and customization.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# nnU-Net v2\n\nUse this skill when the user needs practical help with nnU-Net v2, the self-configuring medical image segmentation framework exposed by the `nnunetv2` Python package and `nnUNetv2_*` command-line tools.\n\n## Quick Start\n\n1. Confirm the package and core commands are available:\n   ```bash\n   python scripts\u002Fcheck_nnunet_setup.py --require-commands\n   ```\n2. Confirm the nnU-Net storage environment variables are set for the requested workflow: `nnUNet_raw`, `nnUNet_preprocessed`, and `nnUNet_results`.\n3. Route to the focused sub-skill before giving detailed commands; nnU-Net workflows are order-dependent.\n4. Prefer CLI commands for user workflows and use Python APIs for programmatic integration, dry-run command generation, or validation helpers.\n\n## Route by Task\n\n- Dataset folders, `dataset.json`, labels, regions, ignore labels, file endings, MSD\u002Fv1 conversion, or path variables: use `sub-skills\u002Fdata-preparation\u002FSKILL.md`.\n- Fingerprint extraction, experiment planning, preprocessing, plans files, residual encoder presets, or rerun decisions: use `sub-skills\u002Fplanning-preprocessing\u002FSKILL.md`.\n- Training folds\u002Fconfigurations, `--npz`, validation-only reruns, resume, checkpoints, device\u002FDDP, pretrained weights, logging, or manual splits: use `sub-skills\u002Ftraining-configuration\u002FSKILL.md`.\n- Prediction, `predict_from_modelfolder`, ensembling, postprocessing, evaluation, best-configuration selection, model zip import\u002Fexport\u002Fdownload, or inference troubleshooting: use `sub-skills\u002Finference-evaluation\u002FSKILL.md`.\n- Custom trainers, planners, preprocessors, normalization, image I\u002FO, class discovery, `nnUNet_extTrainer`, or custom-trainer model portability: use `sub-skills\u002Fcustomization-extension\u002FSKILL.md`.\n\n## End-to-End Workflow\n\nFor a new dataset, the normal route is:\n\n```bash\n# 1) Prepare raw dataset in nnU-Net format.\npython sub-skills\u002Fdata-preparation\u002Fscripts\u002Fvalidate_dataset_json.py \u002Fpath\u002Fto\u002FnnUNet_raw\u002FDataset123_MyDataset --check-files\n\n# 2) Plan and preprocess.\nnnUNetv2_plan_and_preprocess -d 123 --verify_dataset_integrity\n\n# 3) Train folds; use --npz if model selection\u002Fensembling may be needed.\nnnUNetv2_train 123 3d_fullres 0 --npz\n\n# 4) Select\u002Fevaluate\u002Fpredict after training artifacts exist.\nnnUNetv2_find_best_configuration 123 -c 2d 3d_fullres\nnnUNetv2_predict -i INPUT_FOLDER -o OUTPUT_FOLDER -d 123 -c 3d_fullres\n```\n\nRead `references\u002Fworkflow-overview.md` for ordering, prerequisites, and cross-skill handoffs.\n\n## Core Commands\n\n- `nnUNetv2_plan_and_preprocess` runs dataset fingerprinting, experiment planning, and preprocessing together.\n- `nnUNetv2_extract_fingerprint`, `nnUNetv2_plan_experiment`, and `nnUNetv2_preprocess` run those stages separately.\n- `nnUNetv2_train` trains a dataset\u002Fconfiguration\u002Ffold, including validation and resume modes.\n- `nnUNetv2_predict` predicts from stored nnU-Net results; `nnUNetv2_predict_from_modelfolder` predicts from an explicit model folder.\n- `nnUNetv2_find_best_configuration`, `nnUNetv2_ensemble`, `nnUNetv2_apply_postprocessing`, and evaluation commands handle model selection and validation outputs.\n- `nnUNetv2_export_model_to_zip`, `nnUNetv2_install_pretrained_model_from_zip`, and `nnUNetv2_download_pretrained_model_by_url` move model bundles.\n\nRead `references\u002Fcli-map.md` for command ownership and when to inspect `-h`.\n\n## References and Helpers\n\n- `references\u002Frepo-provenance.md`: source version, evidence paths, and refresh baseline.\n- `references\u002Fworkflow-overview.md`: complete workflow order and handoffs between sub-skills.\n- `references\u002Fcli-map.md`: command map, owning sub-skill, and safe verification approach.\n- `references\u002Ftroubleshooting.md`: cross-cutting install, path, dependency, GPU, and workflow-order failures.\n- `scripts\u002Fcheck_nnunet_setup.py`: safe import, command, environment-variable, and optional Torch backend check.\n\n## Operating Rules\n\n- Do not skip dataset validation; malformed `dataset.json`, file endings, labels, or channel suffixes usually fail later during planning or prediction.\n- Use `--npz` during training if later `nnUNetv2_find_best_configuration` or probability ensembling may be needed; use `--val --npz` to recover validation probabilities for already-trained folds.\n- Treat training, preprocessing, full inference, benchmarks, and integration scripts as potentially expensive; use helper scripts here for checks and command generation, not for long runs.\n- When a model uses a custom trainer, ensure the class is importable on every machine that will continue training or run inference.\n- Keep generated commands generic; never rely on the original source checkout being present.\n","# nnU-Net v2\n\nUse this skill when the user needs practical help with nnU-Net v2, the self-configuring medical image segmentation framework exposed by the `nnunetv2` Python package and `nnUNetv2_*` command-line tools.\n\n## Quick Start\n\n1. Confirm the package and core commands are available:\n   ```bash\n   python scripts\u002Fcheck_nnunet_setup.py --require-commands\n   ```\n2. Confirm the nnU-Net storage environment variables are set for the requested workflow: `nnUNet_raw`, `nnUNet_preprocessed`, and `nnUNet_results`.\n3. Route to the focused sub-skill before giving detailed commands; nnU-Net workflows are order-dependent.\n4. Prefer CLI commands for user workflows and use Python APIs for programmatic integration, dry-run command generation, or validation helpers.\n\n## Route by Task\n\n- Dataset folders, `dataset.json`, labels, regions, ignore labels, file endings, MSD\u002Fv1 conversion, or path variables: use `sub-skills\u002Fdata-preparation\u002FSKILL.md`.\n- Fingerprint extraction, experiment planning, preprocessing, plans files, residual encoder presets, or rerun decisions: use `sub-skills\u002Fplanning-preprocessing\u002FSKILL.md`.\n- Training folds\u002Fconfigurations, `--npz`, validation-only reruns, resume, checkpoints, device\u002FDDP, pretrained weights, logging, or manual splits: use `sub-skills\u002Ftraining-configuration\u002FSKILL.md`.\n- Prediction, `predict_from_modelfolder`, ensembling, postprocessing, evaluation, best-configuration selection, model zip import\u002Fexport\u002Fdownload, or inference troubleshooting: use `sub-skills\u002Finference-evaluation\u002FSKILL.md`.\n- Custom trainers, planners, preprocessors, normalization, image I\u002FO, class discovery, `nnUNet_extTrainer`, or custom-trainer model portability: use `sub-skills\u002Fcustomization-extension\u002FSKILL.md`.\n\n## End-to-End Workflow\n\nFor a new dataset, the normal route is:\n\n```bash\n# 1) Prepare raw dataset in nnU-Net format.\npython sub-skills\u002Fdata-preparation\u002Fscripts\u002Fvalidate_dataset_json.py \u002Fpath\u002Fto\u002FnnUNet_raw\u002FDataset123_MyDataset --check-files\n\n# 2) Plan and preprocess.\nnnUNetv2_plan_and_preprocess -d 123 --verify_dataset_integrity\n\n# 3) Train folds; use --npz if model selection\u002Fensembling may be needed.\nnnUNetv2_train 123 3d_fullres 0 --npz\n\n# 4) Select\u002Fevaluate\u002Fpredict after training artifacts exist.\nnnUNetv2_find_best_configuration 123 -c 2d 3d_fullres\nnnUNetv2_predict -i INPUT_FOLDER -o OUTPUT_FOLDER -d 123 -c 3d_fullres\n```\n\nRead `references\u002Fworkflow-overview.md` for ordering, prerequisites, and cross-skill handoffs.\n\n## Core Commands\n\n- `nnUNetv2_plan_and_preprocess` runs dataset fingerprinting, experiment planning, and preprocessing together.\n- `nnUNetv2_extract_fingerprint`, `nnUNetv2_plan_experiment`, and `nnUNetv2_preprocess` run those stages separately.\n- `nnUNetv2_train` trains a dataset\u002Fconfiguration\u002Ffold, including validation and resume modes.\n- `nnUNetv2_predict` predicts from stored nnU-Net results; `nnUNetv2_predict_from_modelfolder` predicts from an explicit model folder.\n- `nnUNetv2_find_best_configuration`, `nnUNetv2_ensemble`, `nnUNetv2_apply_postprocessing`, and evaluation commands handle model selection and validation outputs.\n- `nnUNetv2_export_model_to_zip`, `nnUNetv2_install_pretrained_model_from_zip`, and `nnUNetv2_download_pretrained_model_by_url` move model bundles.\n\nRead `references\u002Fcli-map.md` for command ownership and when to inspect `-h`.\n\n## References and Helpers\n\n- `references\u002Frepo-provenance.md`: source version, evidence paths, and refresh baseline.\n- `references\u002Fworkflow-overview.md`: complete workflow order and handoffs between sub-skills.\n- `references\u002Fcli-map.md`: command map, owning sub-skill, and safe verification approach.\n- `references\u002Ftroubleshooting.md`: cross-cutting install, path, dependency, GPU, and workflow-order failures.\n- `scripts\u002Fcheck_nnunet_setup.py`: safe import, command, environment-variable, and optional Torch backend check.\n\n## Operating Rules\n\n- Do not skip dataset validation; malformed `dataset.json`, file endings, labels, or channel suffixes usually fail later during planning or prediction.\n- Use `--npz` during training if later `nnUNetv2_find_best_configuration` or probability ensembling may be needed; use `--val --npz` to recover validation probabilities for already-trained folds.\n- Treat training, preprocessing, full inference, benchmarks, and integration scripts as potentially expensive; use helper scripts here for checks and command generation, not for long runs.\n- When a model uses a custom trainer, ensure the class is importable on every machine that will continue training or run inference.\n- Keep generated commands generic; never rely on the original source checkout being present.\n",{"name":5,"license":23,"metadata":24,"description":7,"disable-model-invocation":26},"Apache 2.0",{"disco-role":25},"operating",true,"main","ac3fe1afa80fb9a09775ecfb2b6cc3ba850a2db6","skills\u002Frepositories\u002Frepo-skills\u002Fnnunetv2",27,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab","2026-09-03 10:25:21",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":26},[36,39,42],{"tool":37,"command":38},"npx","npx skills add VectorSpaceLab\u002FAREX-Skill --skill nnunetv2",{"tool":40,"command":41},"bunx","bunx skills add VectorSpaceLab\u002FAREX-Skill --skill nnunetv2",{"tool":43,"command":44},"pnpm","pnpm dlx skills add VectorSpaceLab\u002FAREX-Skill --skill nnunetv2","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fnnunetv2\u002FSKILL.md",[47,53,57,61,65,69],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fcli-map.md","REFERENCE","参考文档",4355,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fnnunetv2\u002Freferences\u002Fcli-map.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Frepo-provenance.md",2299,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fnnunetv2\u002Freferences\u002Frepo-provenance.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Frepo-routing-metadata.json",404,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fnnunetv2\u002Freferences\u002Frepo-routing-metadata.json",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Ftroubleshooting.md",4199,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fnnunetv2\u002Freferences\u002Ftroubleshooting.md",{"path":66,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fworkflow-overview.md",4256,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fnnunetv2\u002Freferences\u002Fworkflow-overview.md",{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"scripts\u002Fcheck_nnunet_setup.py","SCRIPT","脚本",3866,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fnnunetv2\u002Fscripts\u002Fcheck_nnunet_setup.py",[76,83,90,97,104,111],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"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.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-triton-opt\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"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":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"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":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"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":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"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":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"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",[],[]]