[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78SMH167D56F78NGD5YWQDY":3,"skill-same:01M78SMH167D56F78NGD5YWQDY":82},{"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},"01M78SMH167D56F78NGD5YWQDY","data-and-training",null,"Prepares AnyDoor datasets, preprocessing, training, and weight conversion.","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\u002Fany-door\u002Fsub-skills\u002Fdata-and-training\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: data-and-training\ndescription: \"Prepares AnyDoor datasets, preprocessing, training, and weight conversion.\"\nmetadata:\n  disco-role: operating\ndisable-model-invocation: true\nlicense: MIT\n---\n\n# Data and Training\n\nUse this sub-skill when the task is about AnyDoor dataset layout, preprocessing,\ndebugging data samples, starting training, or converting initialization\nweights.\n\n## What this sub-skill owns\n\n- Dataset path validation and dataset-family conventions.\n- UVO annotation reorganization.\n- Training recipe and resource planning.\n- Data-debug sampling and visualization.\n- Stable Diffusion 2.1 to AnyDoor-style weight conversion guardrails.\n\n## What this sub-skill does not own\n\n- Generation workflows and mask validation for inference.\n- Environment installation and checkpoint patching.\n- Demo launch or Cog prediction 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\u002Fdataset-formats.md`\n- `references\u002Ftraining-workflows.md`\n- `references\u002Fmodel-architecture.md`\n- `references\u002Ftroubleshooting.md`\n\n## Use these scripts\n\n- `scripts\u002Fcheck_dataset_config.py` to inspect `datasets.yaml`-style layouts.\n- `scripts\u002Frewrite_uvo_annotations.py` to convert UVO annotations into the repo’s\n  expected map format.\n- `scripts\u002Fconvert_control_init.py` to validate the SD2.1 conversion workflow.\n- `scripts\u002Frun_train_checked.sh` to print or run the training command after\n  validating the setup.\n\n## Trigger phrases\n\nThis is usually the right branch when the user says things like:\n\n- “How should I structure my dataset?”\n- “Why does the data loader fail?”\n- “How do I process UVO annotations?”\n- “What does run_dataset_debug do?”\n- “How do I start training?”\n- “How do I convert the SD2.1 checkpoint?”\n- “What datasets does AnyDoor mix during training?”\n\n## Input contract\n\nThe data side of AnyDoor expects user-provided roots for things like:\n\n- YouTube-VOS \u002F YouTube-VIS image and annotation trees,\n- VIPSeg panoptic masks,\n- UVO sparse videos and JSON mappings,\n- MOSE image and annotation roots,\n- MVImageNet text\u002Findex files and image trees,\n- VITON-HD, DressCode, FashionTryon, SAM, Saliency, and LVIS-style layouts.\n\nThe exact path keys live in `configs\u002Fdatasets.yaml`.\n\n## Output contract\n\nA successful data\u002Ftraining route should explain:\n\n- which dataset family the user is preparing,\n- what file layout that family expects,\n- which labels or annotation conventions matter,\n- what can be validated safely without loading the entire dataset,\n- and whether the task is a quick config check or a long-running training path.\n\n## Default workflow order\n\n1. Verify the dataset config structure.\n2. Confirm the file layout and label conventions for the chosen dataset family.\n3. Run a small preprocessing or debug helper if needed.\n4. Only then consider training or weight conversion.\n\n## Common decisions\n\n- **Dataset paths still contain placeholders**: stop and patch them first.\n- **UVO annotation layout is raw**: run the rewriter before training.\n- **Need a quick sanity check only**: use the dataset config checker instead of a\n  full dataloader.\n- **Training requested without checkpoints**: explain the initialization and\n  resource requirements first.\n- **Conversion requested**: point out the source script’s stale config path and\n  use the bundled guardrail script.\n\n## Troubleshooting focus\n\nThis branch owns symptoms such as:\n\n- placeholder dataset roots,\n- wrong foreground labels in parse masks,\n- missing `pycocotools`, `lvis`, or `panopticapi`,\n- dataset loaders that work only on real data and therefore need safe config\n  checks first,\n- Lightning\u002FDDP issues,\n- and the source weight-conversion helper’s path bug.\n\n## Handy reminders\n\n- The training recipe is multi-dataset and GPU-oriented.\n- `BaseDataset.process_pairs` produces the `ref`, `jpg`, `hint`, `extra_sizes`,\n  and crop metadata that the inference side also relies on.\n- Several dataset families use different foreground labels in parse masks.\n- Full training is much heavier than a config or import check.\n\n## Cross-links\n\nWhen the issue is really about setup or checkpoints, route back to\n`setup-and-checkpoints`.\nWhen the issue is really about generation or the demo, route to\n`inference-and-demo`.\n\n## Quality bar\n\nA future agent should be able to prepare AnyDoor data, explain the relevant\nannotations, and distinguish between a safe config validation and a heavy\ntraining run without reopening the source repository.\n","# Data and Training\n\nUse this sub-skill when the task is about AnyDoor dataset layout, preprocessing,\ndebugging data samples, starting training, or converting initialization\nweights.\n\n## What this sub-skill owns\n\n- Dataset path validation and dataset-family conventions.\n- UVO annotation reorganization.\n- Training recipe and resource planning.\n- Data-debug sampling and visualization.\n- Stable Diffusion 2.1 to AnyDoor-style weight conversion guardrails.\n\n## What this sub-skill does not own\n\n- Generation workflows and mask validation for inference.\n- Environment installation and checkpoint patching.\n- Demo launch or Cog prediction 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\u002Fdataset-formats.md`\n- `references\u002Ftraining-workflows.md`\n- `references\u002Fmodel-architecture.md`\n- `references\u002Ftroubleshooting.md`\n\n## Use these scripts\n\n- `scripts\u002Fcheck_dataset_config.py` to inspect `datasets.yaml`-style layouts.\n- `scripts\u002Frewrite_uvo_annotations.py` to convert UVO annotations into the repo’s\n  expected map format.\n- `scripts\u002Fconvert_control_init.py` to validate the SD2.1 conversion workflow.\n- `scripts\u002Frun_train_checked.sh` to print or run the training command after\n  validating the setup.\n\n## Trigger phrases\n\nThis is usually the right branch when the user says things like:\n\n- “How should I structure my dataset?”\n- “Why does the data loader fail?”\n- “How do I process UVO annotations?”\n- “What does run_dataset_debug do?”\n- “How do I start training?”\n- “How do I convert the SD2.1 checkpoint?”\n- “What datasets does AnyDoor mix during training?”\n\n## Input contract\n\nThe data side of AnyDoor expects user-provided roots for things like:\n\n- YouTube-VOS \u002F YouTube-VIS image and annotation trees,\n- VIPSeg panoptic masks,\n- UVO sparse videos and JSON mappings,\n- MOSE image and annotation roots,\n- MVImageNet text\u002Findex files and image trees,\n- VITON-HD, DressCode, FashionTryon, SAM, Saliency, and LVIS-style layouts.\n\nThe exact path keys live in `configs\u002Fdatasets.yaml`.\n\n## Output contract\n\nA successful data\u002Ftraining route should explain:\n\n- which dataset family the user is preparing,\n- what file layout that family expects,\n- which labels or annotation conventions matter,\n- what can be validated safely without loading the entire dataset,\n- and whether the task is a quick config check or a long-running training path.\n\n## Default workflow order\n\n1. Verify the dataset config structure.\n2. Confirm the file layout and label conventions for the chosen dataset family.\n3. Run a small preprocessing or debug helper if needed.\n4. Only then consider training or weight conversion.\n\n## Common decisions\n\n- **Dataset paths still contain placeholders**: stop and patch them first.\n- **UVO annotation layout is raw**: run the rewriter before training.\n- **Need a quick sanity check only**: use the dataset config checker instead of a\n  full dataloader.\n- **Training requested without checkpoints**: explain the initialization and\n  resource requirements first.\n- **Conversion requested**: point out the source script’s stale config path and\n  use the bundled guardrail script.\n\n## Troubleshooting focus\n\nThis branch owns symptoms such as:\n\n- placeholder dataset roots,\n- wrong foreground labels in parse masks,\n- missing `pycocotools`, `lvis`, or `panopticapi`,\n- dataset loaders that work only on real data and therefore need safe config\n  checks first,\n- Lightning\u002FDDP issues,\n- and the source weight-conversion helper’s path bug.\n\n## Handy reminders\n\n- The training recipe is multi-dataset and GPU-oriented.\n- `BaseDataset.process_pairs` produces the `ref`, `jpg`, `hint`, `extra_sizes`,\n  and crop metadata that the inference side also relies on.\n- Several dataset families use different foreground labels in parse masks.\n- Full training is much heavier than a config or import check.\n\n## Cross-links\n\nWhen the issue is really about setup or checkpoints, route back to\n`setup-and-checkpoints`.\nWhen the issue is really about generation or the demo, route to\n`inference-and-demo`.\n\n## Quality bar\n\nA future agent should be able to prepare AnyDoor data, explain the relevant\nannotations, and distinguish between a safe config validation and a heavy\ntraining run without reopening the source repository.\n",{"name":5,"license":14,"metadata":23,"description":7,"disable-model-invocation":25},{"disco-role":24},"operating",true,"main","ac3fe1afa80fb9a09775ecfb2b6cc3ba850a2db6","skills\u002Frepositories\u002Frepo-skills\u002Fany-door\u002Fsub-skills\u002Fdata-and-training",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 data-and-training",{"tool":39,"command":40},"bunx","bunx skills add VectorSpaceLab\u002FAREX-Skill --skill data-and-training",{"tool":42,"command":43},"pnpm","pnpm dlx skills add VectorSpaceLab\u002FAREX-Skill --skill data-and-training","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fany-door\u002Fsub-skills\u002Fdata-and-training\u002FSKILL.md",[46,52,56,60,64,70,74,78],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fdataset-formats.md","REFERENCE","参考文档",3075,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fany-door\u002Fsub-skills\u002Fdata-and-training\u002Freferences\u002Fdataset-formats.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fmodel-architecture.md",1673,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fany-door\u002Fsub-skills\u002Fdata-and-training\u002Freferences\u002Fmodel-architecture.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Ftraining-workflows.md",2120,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fany-door\u002Fsub-skills\u002Fdata-and-training\u002Freferences\u002Ftraining-workflows.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Ftroubleshooting.md",1505,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fany-door\u002Fsub-skills\u002Fdata-and-training\u002Freferences\u002Ftroubleshooting.md",{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"scripts\u002Fcheck_dataset_config.py","SCRIPT","脚本",3099,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fany-door\u002Fsub-skills\u002Fdata-and-training\u002Fscripts\u002Fcheck_dataset_config.py",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"scripts\u002Fconvert_control_init.py",2961,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fany-door\u002Fsub-skills\u002Fdata-and-training\u002Fscripts\u002Fconvert_control_init.py",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"scripts\u002Frewrite_uvo_annotations.py",1141,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fany-door\u002Fsub-skills\u002Fdata-and-training\u002Fscripts\u002Frewrite_uvo_annotations.py",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"scripts\u002Frun_train_checked.sh",1078,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fany-door\u002Fsub-skills\u002Fdata-and-training\u002Fscripts\u002Frun_train_checked.sh",[83,91,98,105,112,119],{"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":87,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"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":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":87,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"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":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":87,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"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":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":87,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"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":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":87,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"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":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":87,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"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",[],[]]