[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FCR2SSZV4QX0NPH1QPCG9E":3,"skill-same:01M7FCR2SSZV4QX0NPH1QPCG9E":67},{"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},"01M7FCR2SSZV4QX0NPH1QPCG9E","torchio",null,"Use TorchIO 2.0 for medical image loading, preprocessing, augmentation, patch-based training\u002Finference, CLI conversion, and I\u002FO troubleshooting.","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\u002F06-前端与设计\u002Ftorchio\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: torchio\ndescription: \"Use TorchIO 2.0 for medical image loading, preprocessing,\n  augmentation, patch-based training\u002Finference, CLI conversion, and I\u002FO\n  troubleshooting.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# TorchIO\n\nUse this skill when working with TorchIO, a PyTorch-oriented library for 3D medical image loading, preprocessing, augmentation, patch sampling, dense inference, and command-line image utilities.\n\n## Start Here\n\n1. Confirm the package imports:\n   ```python\n   import torchio as tio\n   print(tio.__version__)\n   ```\n2. Use TorchIO 2.0 names in generated code: `Flip`, `Affine`, `Noise`, `Motion`, `BiasField`, `Spike`, and `Ghosting` instead of old `Random*` class names.\n3. Build in-memory images with `tio.ScalarImage(tensor)` or `tio.LabelMap(tensor)` using 4D `(C, I, J, K)` tensors.\n4. Keep runtime examples self-contained with synthetic tensors or user-provided image paths; do not depend on TorchIO repository examples or tests.\n\n## Route by Task\n\n- **Data containers and validation**: use [data-model](sub-skills\u002Fdata-model\u002FSKILL.md) for `Image`, `ScalarImage`, `LabelMap`, `Subject`\u002F`Study`, affines, points, bounding boxes, lazy\u002Feager source handling, saving, and source-shape errors.\n- **Preprocessing and augmentation**: use [transforms](sub-skills\u002Ftransforms\u002FSKILL.md) for transform families, `Compose`, `OneOf`, `SomeOf`, include\u002Fexclude routing, per-instance batches, history\u002Finverse behavior, and MONAI\u002FCornucopia adapters.\n- **Patch training and dense inference**: use [patch-workflows](sub-skills\u002Fpatch-workflows\u002FSKILL.md) for `GridSampler`, `UniformSampler`, `WeightedSampler`, `LabelSampler`, `Queue`, `SubjectsLoader`, `PatchLocation`, and `PatchAggregator`.\n- **CLI, conversion, visualization, and remote I\u002FO**: use [cli-and-io](sub-skills\u002Fcli-and-io\u002FSKILL.md) for the `torchio` console entry point, `info`, `convert`, `transform`, `cache`, plotting\u002Fanimation, NIfTI-Zarr, cloud\u002Fremote extras, and cache\u002Fdownload caveats.\n\n## Shared References\n\n- Read [API quick map](references\u002Fapi-quick-map.md) when choosing which TorchIO class or sub-skill owns a task.\n- Read [troubleshooting](references\u002Ftroubleshooting.md) for install\u002Fimport, optional dependency, API drift, tensor shape, CLI, and workflow-routing failures.\n- Read [repo provenance](references\u002Frepo-provenance.md) before refreshing this skill against a newer TorchIO checkout.\n\n## Safe Smoke Checks\n\nRun the nearest bundled script after installing TorchIO and its base dependencies:\n\n```bash\npython sub-skills\u002Fdata-model\u002Fscripts\u002Fdata_model_smoke.py\npython sub-skills\u002Ftransforms\u002Fscripts\u002Ftransform_history_smoke.py\npython sub-skills\u002Ftransforms\u002Fscripts\u002Finclude_exclude_smoke.py\npython sub-skills\u002Fpatch-workflows\u002Fscripts\u002Fpatch_workflow_smoke.py\npython sub-skills\u002Fcli-and-io\u002Fscripts\u002Ftorchio_cli_smoke.py --print-only\n```\n\nUse full CLI smoke only when local temporary file creation and NIfTI conversion are acceptable:\n\n```bash\npython sub-skills\u002Fcli-and-io\u002Fscripts\u002Ftorchio_cli_smoke.py\n```\n\n## Install and Extras Guidance\n\n- Base install should provide `torch`, `nibabel`, `SimpleITK`, `numpy`, `tyro`, `fsspec[http]`, and TorchIO core APIs.\n- Optional extras are task-specific: `plot` for Matplotlib visualization, `video` for GIF\u002FMP4 animation, `monai` and `cornucopia` for transform adapters, `zarr` for NIfTI-Zarr, and cloud extras for `s3`, `azure`, or `gcs` remote storage.\n- CPU is sufficient for the skill workflows unless the user's own model or pipeline requires CUDA.\n\n## Common Decisions\n\n- Use `ScalarImage` for continuous intensity data and `LabelMap` for masks\u002Fsegmentations so spatial transforms use correct interpolation.\n- Use `Subject` to keep multiple images and metadata aligned through transforms and patch sampling.\n- Use `include`\u002F`exclude` transform arguments when only some image keys should change.\n- Use `GridSampler` plus `PatchAggregator` for dense inference; use `Queue` plus random samplers for stochastic patch training.\n- Use the CLI for one-off inspection\u002Fconversion and the Python API for pipelines that need precise parameter control, batching, or model integration.\n","# TorchIO\n\nUse this skill when working with TorchIO, a PyTorch-oriented library for 3D medical image loading, preprocessing, augmentation, patch sampling, dense inference, and command-line image utilities.\n\n## Start Here\n\n1. Confirm the package imports:\n   ```python\n   import torchio as tio\n   print(tio.__version__)\n   ```\n2. Use TorchIO 2.0 names in generated code: `Flip`, `Affine`, `Noise`, `Motion`, `BiasField`, `Spike`, and `Ghosting` instead of old `Random*` class names.\n3. Build in-memory images with `tio.ScalarImage(tensor)` or `tio.LabelMap(tensor)` using 4D `(C, I, J, K)` tensors.\n4. Keep runtime examples self-contained with synthetic tensors or user-provided image paths; do not depend on TorchIO repository examples or tests.\n\n## Route by Task\n\n- **Data containers and validation**: use [data-model](sub-skills\u002Fdata-model\u002FSKILL.md) for `Image`, `ScalarImage`, `LabelMap`, `Subject`\u002F`Study`, affines, points, bounding boxes, lazy\u002Feager source handling, saving, and source-shape errors.\n- **Preprocessing and augmentation**: use [transforms](sub-skills\u002Ftransforms\u002FSKILL.md) for transform families, `Compose`, `OneOf`, `SomeOf`, include\u002Fexclude routing, per-instance batches, history\u002Finverse behavior, and MONAI\u002FCornucopia adapters.\n- **Patch training and dense inference**: use [patch-workflows](sub-skills\u002Fpatch-workflows\u002FSKILL.md) for `GridSampler`, `UniformSampler`, `WeightedSampler`, `LabelSampler`, `Queue`, `SubjectsLoader`, `PatchLocation`, and `PatchAggregator`.\n- **CLI, conversion, visualization, and remote I\u002FO**: use [cli-and-io](sub-skills\u002Fcli-and-io\u002FSKILL.md) for the `torchio` console entry point, `info`, `convert`, `transform`, `cache`, plotting\u002Fanimation, NIfTI-Zarr, cloud\u002Fremote extras, and cache\u002Fdownload caveats.\n\n## Shared References\n\n- Read [API quick map](references\u002Fapi-quick-map.md) when choosing which TorchIO class or sub-skill owns a task.\n- Read [troubleshooting](references\u002Ftroubleshooting.md) for install\u002Fimport, optional dependency, API drift, tensor shape, CLI, and workflow-routing failures.\n- Read [repo provenance](references\u002Frepo-provenance.md) before refreshing this skill against a newer TorchIO checkout.\n\n## Safe Smoke Checks\n\nRun the nearest bundled script after installing TorchIO and its base dependencies:\n\n```bash\npython sub-skills\u002Fdata-model\u002Fscripts\u002Fdata_model_smoke.py\npython sub-skills\u002Ftransforms\u002Fscripts\u002Ftransform_history_smoke.py\npython sub-skills\u002Ftransforms\u002Fscripts\u002Finclude_exclude_smoke.py\npython sub-skills\u002Fpatch-workflows\u002Fscripts\u002Fpatch_workflow_smoke.py\npython sub-skills\u002Fcli-and-io\u002Fscripts\u002Ftorchio_cli_smoke.py --print-only\n```\n\nUse full CLI smoke only when local temporary file creation and NIfTI conversion are acceptable:\n\n```bash\npython sub-skills\u002Fcli-and-io\u002Fscripts\u002Ftorchio_cli_smoke.py\n```\n\n## Install and Extras Guidance\n\n- Base install should provide `torch`, `nibabel`, `SimpleITK`, `numpy`, `tyro`, `fsspec[http]`, and TorchIO core APIs.\n- Optional extras are task-specific: `plot` for Matplotlib visualization, `video` for GIF\u002FMP4 animation, `monai` and `cornucopia` for transform adapters, `zarr` for NIfTI-Zarr, and cloud extras for `s3`, `azure`, or `gcs` remote storage.\n- CPU is sufficient for the skill workflows unless the user's own model or pipeline requires CUDA.\n\n## Common Decisions\n\n- Use `ScalarImage` for continuous intensity data and `LabelMap` for masks\u002Fsegmentations so spatial transforms use correct interpolation.\n- Use `Subject` to keep multiple images and metadata aligned through transforms and patch sampling.\n- Use `include`\u002F`exclude` transform arguments when only some image keys should change.\n- Use `GridSampler` plus `PatchAggregator` for dense inference; use `Queue` plus random samplers for stochastic patch training.\n- Use the CLI for one-off inspection\u002Fconversion and the Python API for pipelines that need precise parameter control, batching, or model integration.\n",{"name":5,"license":24,"metadata":25,"description":7,"disable-model-invocation":27},"Apache 2.0",{"disco-role":26},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Ftorchio",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 torchio",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill torchio",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill torchio","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Ftorchio\u002FSKILL.md",[49,55,59,63],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fapi-quick-map.md","REFERENCE","参考文档",2479,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Ftorchio\u002Freferences\u002Fapi-quick-map.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Frepo-provenance.md",1259,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Ftorchio\u002Freferences\u002Frepo-provenance.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Frepo-routing-metadata.json",409,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Ftorchio\u002Freferences\u002Frepo-routing-metadata.json",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Ftroubleshooting.md",2940,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Ftorchio\u002Freferences\u002Ftroubleshooting.md",[68,76,81,88,95,102],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"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",[],[],{"skillNo":77,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"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":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"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":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"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":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"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",[],[]]