[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78ZEPBB4397FHXVJWABVAEM":3,"skill-same:01M78ZEPBB4397FHXVJWABVAEM":72},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":47},"01M78ZEPBB4397FHXVJWABVAEM","data-preparation",null,"Prepare LLM Foundry pretraining, fine-tuning, raw-text, Delta\u002FDatabricks, and contrastive-pair data safely.","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\u002Fllm-foundry\u002Fsub-skills\u002Fdata-preparation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: data-preparation\ndescription: \"Prepare LLM Foundry pretraining, fine-tuning, raw-text,\n  Delta\u002FDatabricks, and contrastive-pair data safely.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\n  repo-skill: llm-foundry\n  coverage: data-preparation\nlicense: Apache 2.0\n---\n\n# LLM Foundry data preparation\n\nUse this sub-skill when the user needs to create, validate, inspect, or troubleshoot data for LLM Foundry pretraining, supervised fine-tuning, raw text conversion, Delta\u002FDatabricks export, StreamingDataset\u002FMDS consumption, or contrastive-pair dataloaders.\n\n## Route first\n\n- **Data conversion and schemas:** read [references\u002Fdata-formats.md](references\u002Fdata-formats.md).\n- **End-to-end prep recipes:** read [references\u002Fworkflows.md](references\u002Fworkflows.md).\n- **Exact public CLI\u002FAPI options:** read [references\u002Fcli-reference.md](references\u002Fcli-reference.md).\n- **Errors, validation, and credentials:** read [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md).\n- **Safe local probe:** run `python scripts\u002Fllmfoundry_data_prep_smoke.py --help` from any directory, then use `--fixture PATH` for local JSONL\u002Fschema checks.\n\n## Scope and boundaries\n\nThis sub-skill covers:\n\n- Public `llmfoundry data_prep` commands: `convert_dataset_hf`, `convert_dataset_json`, `convert_finetuning_dataset`, `convert_text_to_mds`, and `convert_delta_to_json`.\n- MDS\u002FStreamingDataset split layouts, `remote`\u002F`local`\u002F`split`\u002F`streams` cache fields, `max_seq_len`, tokenizer\u002Fconcat choices, safe type handling, and split\u002Fcache validation.\n- Pretraining text JSON\u002FJSONL, local JSON, supervised fine-tuning prompt\u002Fresponse and chat schemas, target loss policies, raw text folders, Delta-export JSONL, and contrastive-pair formats.\n- Data-prep API facts for `StreamingTextDataset`, `StreamingFinetuningDataset`, `build_text_dataloader`, `build_finetuning_dataloader`, and `convert_*_from_args` wrappers.\n\nRoute elsewhere:\n\n- Training YAML launch details, optimizers, schedulers, callbacks, and checkpointing → `training-finetuning`.\n- ICL\u002Fevaluation task datasets and Eval Gauntlet schemas → `evaluation`.\n- Model registries, model internals, tokenizer registry extension, and package-wide API details → `package-apis-configuration`.\n\n## Safe operating defaults\n\n1. Prefer local schema validation before conversion. Use the bundled smoke script to inspect imports\u002Fsignatures and to validate JSONL keys without downloading models or datasets.\n2. Treat Hugging Face dataset loads, tokenizer loads, remote object stores, and Databricks queries as network\u002Fcredential operations. Ask before running them unless the user explicitly authorized them.\n3. Keep generated MDS outputs isolated by split, e.g. `out_root\u002Ftrain\u002Findex.json` plus shard files. Do not overwrite non-empty output folders; choose a new output root or clean intentionally.\n4. Keep `allow_unsafe_types: false` for MDS reading unless the user understands that Pickle-like shard types can execute code during deserialization.\n5. For supervised fine-tuning, default decoder-only target policy is `target_prompts: none`, `target_responses: last`; for encoder-decoder it must remain `none`\u002F`last`.\n\n## Provenance\n\nThis sub-skill distills public CLI definitions, data module signatures, data-prep README behavior, installed package facts, and data\u002Ftokenizer tests. Runtime instructions are self-contained; no source checkout, review artifact, or local path is required after this skill is loaded.\n","# LLM Foundry data preparation\n\nUse this sub-skill when the user needs to create, validate, inspect, or troubleshoot data for LLM Foundry pretraining, supervised fine-tuning, raw text conversion, Delta\u002FDatabricks export, StreamingDataset\u002FMDS consumption, or contrastive-pair dataloaders.\n\n## Route first\n\n- **Data conversion and schemas:** read [references\u002Fdata-formats.md](references\u002Fdata-formats.md).\n- **End-to-end prep recipes:** read [references\u002Fworkflows.md](references\u002Fworkflows.md).\n- **Exact public CLI\u002FAPI options:** read [references\u002Fcli-reference.md](references\u002Fcli-reference.md).\n- **Errors, validation, and credentials:** read [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md).\n- **Safe local probe:** run `python scripts\u002Fllmfoundry_data_prep_smoke.py --help` from any directory, then use `--fixture PATH` for local JSONL\u002Fschema checks.\n\n## Scope and boundaries\n\nThis sub-skill covers:\n\n- Public `llmfoundry data_prep` commands: `convert_dataset_hf`, `convert_dataset_json`, `convert_finetuning_dataset`, `convert_text_to_mds`, and `convert_delta_to_json`.\n- MDS\u002FStreamingDataset split layouts, `remote`\u002F`local`\u002F`split`\u002F`streams` cache fields, `max_seq_len`, tokenizer\u002Fconcat choices, safe type handling, and split\u002Fcache validation.\n- Pretraining text JSON\u002FJSONL, local JSON, supervised fine-tuning prompt\u002Fresponse and chat schemas, target loss policies, raw text folders, Delta-export JSONL, and contrastive-pair formats.\n- Data-prep API facts for `StreamingTextDataset`, `StreamingFinetuningDataset`, `build_text_dataloader`, `build_finetuning_dataloader`, and `convert_*_from_args` wrappers.\n\nRoute elsewhere:\n\n- Training YAML launch details, optimizers, schedulers, callbacks, and checkpointing → `training-finetuning`.\n- ICL\u002Fevaluation task datasets and Eval Gauntlet schemas → `evaluation`.\n- Model registries, model internals, tokenizer registry extension, and package-wide API details → `package-apis-configuration`.\n\n## Safe operating defaults\n\n1. Prefer local schema validation before conversion. Use the bundled smoke script to inspect imports\u002Fsignatures and to validate JSONL keys without downloading models or datasets.\n2. Treat Hugging Face dataset loads, tokenizer loads, remote object stores, and Databricks queries as network\u002Fcredential operations. Ask before running them unless the user explicitly authorized them.\n3. Keep generated MDS outputs isolated by split, e.g. `out_root\u002Ftrain\u002Findex.json` plus shard files. Do not overwrite non-empty output folders; choose a new output root or clean intentionally.\n4. Keep `allow_unsafe_types: false` for MDS reading unless the user understands that Pickle-like shard types can execute code during deserialization.\n5. For supervised fine-tuning, default decoder-only target policy is `target_prompts: none`, `target_responses: last`; for encoder-decoder it must remain `none`\u002F`last`.\n\n## Provenance\n\nThis sub-skill distills public CLI definitions, data module signatures, data-prep README behavior, installed package facts, and data\u002Ftokenizer tests. Runtime instructions are self-contained; no source checkout, review artifact, or local path is required after this skill is loaded.\n",{"name":5,"license":23,"metadata":24,"description":7,"disable-model-invocation":27},"Apache 2.0",{"coverage":5,"disco-role":25,"repo-skill":26},"operating","llm-foundry",true,"main","ac3fe1afa80fb9a09775ecfb2b6cc3ba850a2db6","skills\u002Frepositories\u002Frepo-skills\u002Fllm-foundry\u002Fsub-skills\u002Fdata-preparation",27,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab","2026-09-03 10:25:21",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":27},[37,40,43],{"tool":38,"command":39},"npx","npx skills add VectorSpaceLab\u002FAREX-Skill --skill data-preparation",{"tool":41,"command":42},"bunx","bunx skills add VectorSpaceLab\u002FAREX-Skill --skill data-preparation",{"tool":44,"command":45},"pnpm","pnpm dlx skills add VectorSpaceLab\u002FAREX-Skill --skill data-preparation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fllm-foundry\u002Fsub-skills\u002Fdata-preparation\u002FSKILL.md",[48,54,58,62,66],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fcli-reference.md","REFERENCE","参考文档",15375,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fllm-foundry\u002Fsub-skills\u002Fdata-preparation\u002Freferences\u002Fcli-reference.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fdata-formats.md",9634,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fllm-foundry\u002Fsub-skills\u002Fdata-preparation\u002Freferences\u002Fdata-formats.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Ftroubleshooting.md",11716,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fllm-foundry\u002Fsub-skills\u002Fdata-preparation\u002Freferences\u002Ftroubleshooting.md",{"path":63,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Fworkflows.md",13255,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fllm-foundry\u002Fsub-skills\u002Fdata-preparation\u002Freferences\u002Fworkflows.md",{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002Fllmfoundry_data_prep_smoke.py","SCRIPT","脚本",18100,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fllm-foundry\u002Fsub-skills\u002Fdata-preparation\u002Fscripts\u002Fllmfoundry_data_prep_smoke.py",[73,80,87,94,101,108],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"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":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"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":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"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":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"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":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"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":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"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",[],[]]