[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F7KBF2T48EBQD9DYJQEXW2":3,"skill-same:01M7F7KBF2T48EBQD9DYJQEXW2":66},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":47},"01M7F7KBF2T48EBQD9DYJQEXW2","inference-and-demo",null,"Runs AnyDoor image generation, demo, and prediction workflows.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fany-door\u002Fsub-skills\u002Finference-and-demo\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: inference-and-demo\ndescription: \"Runs AnyDoor image generation, demo, and prediction workflows.\"\nmetadata:\n  disco-role: operating\ndisable-model-invocation: true\nlicense: MIT\n---\n\n# Inference and Demo\n\nUse this sub-skill when the task is about generating a customized image,\nlaunching the local Gradio demo, or understanding the prediction interface.\n\n## What this sub-skill owns\n\n- Single-image AnyDoor inference.\n- VITON-HD-style batch inference.\n- Mask and image validation before generation.\n- Local Gradio launch behavior and interactive options.\n- Cog \u002F Replicate-style prediction input and output contracts.\n\n## What this sub-skill does not own\n\n- Environment installation and checkpoint patching.\n- Dataset format design or training data preparation.\n- Weight conversion and training launch details.\n\nRoute those to the sibling sub-skills.\n\n## Read first\n\n- `..\u002F..\u002Freferences\u002Foverview.md`\n- `..\u002F..\u002Freferences\u002Fcheckpoints-and-configs.md`\n- `..\u002F..\u002Freferences\u002Ftroubleshooting.md`\n- `references\u002Finference-workflows.md`\n- `references\u002Fmask-and-image-formats.md`\n- `references\u002Fdemo-and-cog-deployment.md`\n- `references\u002Ftroubleshooting.md`\n\n## Use these scripts\n\n- `scripts\u002Fvalidate_inference_inputs.py` to check image and mask pairs.\n- `scripts\u002Frun_inference_checked.sh` to validate a repo root before running the\n  source inference entry point.\n- `scripts\u002Flaunch_gradio_checked.sh` to validate the same prerequisites before a\n  local demo launch.\n\n## Trigger phrases\n\nThis is usually the right branch when the user says things like:\n\n- “Generate from this reference object.”\n- “How do I run inference on a single image?”\n- “I need VITON-HD results.”\n- “Launch the local demo.”\n- “What does the Cog predictor expect?”\n- “Why is my mask or crop wrong?”\n- “Can the demo refine the reference mask?”\n\n## Input contract\n\nThe main generation route expects:\n\n- a reference image,\n- a reference mask or alpha channel,\n- a target\u002Fbackground image,\n- a target mask,\n- and the patched AnyDoor \u002F DINOv2 checkpoints.\n\nThe preprocessing contract is mask-aware:\n\n- masks must be non-empty,\n- masks must match the image size you intend to use,\n- and masks should be binary by the time they reach the generation step.\n\n## Output contract\n\nA successful generation route should explain:\n\n- where the customized image is saved,\n- whether the result is a single image or a composite visualization,\n- which guidance, strength, and step settings were used,\n- and whether the output comes from the standard or shape-control path.\n\n## Default workflow order\n\n1. Run the environment preflight from `setup-and-checkpoints` if you have not\n   already done so.\n2. Validate the input images and masks.\n3. Confirm the checkpoints are patched and accessible.\n4. Run the generation or demo launch command.\n5. If the result is wrong, inspect the mask and crop assumptions before changing\n   model settings.\n\n## Common decisions\n\n- **Reference image has alpha**: derive the reference mask from alpha when that\n  is the cleanest representation.\n- **Separate reference mask exists**: prefer explicit validation over guessing.\n- **Interactive mask refinement**: treat it as optional and explain the weight\n  requirement.\n- **Shape control**: explain that it changes how the target mask influences the\n  collage path.\n- **Cog deployment**: document the download\u002Fcache assumption so the user knows\n  when offline use will fail.\n\n## Troubleshooting focus\n\nThis branch owns symptoms such as:\n\n- empty or non-binary masks,\n- wrong crop placement,\n- target\u002Freference mask dimension mismatches,\n- checkpoint placeholders that were never patched,\n- demo launch issues,\n- Cog network download failures,\n- and generation failures that are really data-shape problems.\n\n## Handy reminders\n\n- The runtime defaults in the source scripts use 512x512 generation space.\n- Guidance scale and DDIM steps are part of the user-facing API; document them.\n- The local demo is intentionally coarse-mask sensitive.\n- A successful import check does not prove the generation path is ready.\n\n## Cross-links\n\nWhen the issue is actually about setup or checkpoints, route back to\n`setup-and-checkpoints`.\nWhen the issue is about dataset layout, route to `data-and-training`.\n\n## Quality bar\n\nA future agent should be able to answer generation and demo questions from this\nbranch alone, plus the bundled references and validation scripts, without\nreopening the source repository.\n","# Inference and Demo\n\nUse this sub-skill when the task is about generating a customized image,\nlaunching the local Gradio demo, or understanding the prediction interface.\n\n## What this sub-skill owns\n\n- Single-image AnyDoor inference.\n- VITON-HD-style batch inference.\n- Mask and image validation before generation.\n- Local Gradio launch behavior and interactive options.\n- Cog \u002F Replicate-style prediction input and output contracts.\n\n## What this sub-skill does not own\n\n- Environment installation and checkpoint patching.\n- Dataset format design or training data preparation.\n- Weight conversion and training launch details.\n\nRoute those to the sibling sub-skills.\n\n## Read first\n\n- `..\u002F..\u002Freferences\u002Foverview.md`\n- `..\u002F..\u002Freferences\u002Fcheckpoints-and-configs.md`\n- `..\u002F..\u002Freferences\u002Ftroubleshooting.md`\n- `references\u002Finference-workflows.md`\n- `references\u002Fmask-and-image-formats.md`\n- `references\u002Fdemo-and-cog-deployment.md`\n- `references\u002Ftroubleshooting.md`\n\n## Use these scripts\n\n- `scripts\u002Fvalidate_inference_inputs.py` to check image and mask pairs.\n- `scripts\u002Frun_inference_checked.sh` to validate a repo root before running the\n  source inference entry point.\n- `scripts\u002Flaunch_gradio_checked.sh` to validate the same prerequisites before a\n  local demo launch.\n\n## Trigger phrases\n\nThis is usually the right branch when the user says things like:\n\n- “Generate from this reference object.”\n- “How do I run inference on a single image?”\n- “I need VITON-HD results.”\n- “Launch the local demo.”\n- “What does the Cog predictor expect?”\n- “Why is my mask or crop wrong?”\n- “Can the demo refine the reference mask?”\n\n## Input contract\n\nThe main generation route expects:\n\n- a reference image,\n- a reference mask or alpha channel,\n- a target\u002Fbackground image,\n- a target mask,\n- and the patched AnyDoor \u002F DINOv2 checkpoints.\n\nThe preprocessing contract is mask-aware:\n\n- masks must be non-empty,\n- masks must match the image size you intend to use,\n- and masks should be binary by the time they reach the generation step.\n\n## Output contract\n\nA successful generation route should explain:\n\n- where the customized image is saved,\n- whether the result is a single image or a composite visualization,\n- which guidance, strength, and step settings were used,\n- and whether the output comes from the standard or shape-control path.\n\n## Default workflow order\n\n1. Run the environment preflight from `setup-and-checkpoints` if you have not\n   already done so.\n2. Validate the input images and masks.\n3. Confirm the checkpoints are patched and accessible.\n4. Run the generation or demo launch command.\n5. If the result is wrong, inspect the mask and crop assumptions before changing\n   model settings.\n\n## Common decisions\n\n- **Reference image has alpha**: derive the reference mask from alpha when that\n  is the cleanest representation.\n- **Separate reference mask exists**: prefer explicit validation over guessing.\n- **Interactive mask refinement**: treat it as optional and explain the weight\n  requirement.\n- **Shape control**: explain that it changes how the target mask influences the\n  collage path.\n- **Cog deployment**: document the download\u002Fcache assumption so the user knows\n  when offline use will fail.\n\n## Troubleshooting focus\n\nThis branch owns symptoms such as:\n\n- empty or non-binary masks,\n- wrong crop placement,\n- target\u002Freference mask dimension mismatches,\n- checkpoint placeholders that were never patched,\n- demo launch issues,\n- Cog network download failures,\n- and generation failures that are really data-shape problems.\n\n## Handy reminders\n\n- The runtime defaults in the source scripts use 512x512 generation space.\n- Guidance scale and DDIM steps are part of the user-facing API; document them.\n- The local demo is intentionally coarse-mask sensitive.\n- A successful import check does not prove the generation path is ready.\n\n## Cross-links\n\nWhen the issue is actually about setup or checkpoints, route back to\n`setup-and-checkpoints`.\nWhen the issue is about dataset layout, route to `data-and-training`.\n\n## Quality bar\n\nA future agent should be able to answer generation and demo questions from this\nbranch alone, plus the bundled references and validation scripts, without\nreopening the source repository.\n",{"name":5,"license":15,"metadata":24,"description":7,"disable-model-invocation":26},{"disco-role":25},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fany-door\u002Fsub-skills\u002Finference-and-demo",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":36,"prompt":46,"zipAvailable":26},[37,40,43],{"tool":38,"command":39},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill inference-and-demo",{"tool":41,"command":42},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill inference-and-demo",{"tool":44,"command":45},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill inference-and-demo","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fany-door\u002Fsub-skills\u002Finference-and-demo\u002FSKILL.md",[48,54,58,62],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fdemo-and-cog-deployment.md","REFERENCE","参考文档",1672,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fany-door\u002Fsub-skills\u002Finference-and-demo\u002Freferences\u002Fdemo-and-cog-deployment.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Finference-workflows.md",2228,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fany-door\u002Fsub-skills\u002Finference-and-demo\u002Freferences\u002Finference-workflows.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fmask-and-image-formats.md",1929,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fany-door\u002Fsub-skills\u002Finference-and-demo\u002Freferences\u002Fmask-and-image-formats.md",{"path":63,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Ftroubleshooting.md",1412,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fany-door\u002Fsub-skills\u002Finference-and-demo\u002Freferences\u002Ftroubleshooting.md",[67,74,79,86,93,100],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"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.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":75,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"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":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"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":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"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":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"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":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"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",[],[]]