[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EHMKAX5BRWAVB5QD21E674":3,"skill-same:01M7EHMKAX5BRWAVB5QD21E674":63},{"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},"01M7EHMKAX5BRWAVB5QD21E674","training-and-adapters",null,"Prepare and reason about DeTikZify training, pretraining, refinement, sketchification, TikZero adapter workflows, checkpoints, and distributed GPU launch patterns.","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\u002F04-安全渗透\u002Fdetikzify\u002Fsub-skills\u002Ftraining-and-adapters\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: training-and-adapters\ndescription: \"Prepare and reason about DeTikZify training, pretraining,\n  refinement, sketchification, TikZero adapter workflows, checkpoints, and\n  distributed GPU launch patterns.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# Training and Adapters\n\nUse this sub-skill when the task is about fine-tuning, pretraining, refinement, sketchification, TikZero adapter work, distributed GPU launch patterns, or checkpoint recovery in DeTikZify.\n\nRoute away from this sub-skill when the task is only about one-off inference, the browser UI, or evaluation metrics.\n\n## Fast Path\n\n1. Confirm the package and GPU environment are healthy:\n   ```bash\n   python scripts\u002Fapi_smoke.py\n   ```\n2. Read the workflow reference before starting a long run:\n   ```text\n   references\u002Fworkflows.md\n   ```\n3. Check the training-specific failure modes if the launch uses DeepSpeed, TRL, or adapter checkpoints:\n   ```text\n   references\u002Ftroubleshooting.md\n   ```\n\n## What This Sub-Skill Owns\n\n- standard fine-tuning on DaTikZ-style data\n- projection pretraining on large figure datasets\n- GRPO \u002F self-feedback refinement workflows\n- sketchification and sketch-augmented training data generation\n- TikZero adapter pretraining and end-to-end adapter fine-tuning\n- checkpoint resumption, `WORLD_SIZE`, `RANK`, and distributed GPU launch concerns\n- DeepSpeed and gradient-checkpointing choices\n\n## Common Decisions\n\n- Use `torchrun --nproc_per_node gpu` for the repo's GPU-first training scripts.\n- Use `deepspeed` only when the job needs it; do not add it to every run by default.\n- Use `gradient_checkpointing` when memory pressure matters more than speed.\n- Watch the output directory handling: some flows resume from the last checkpoint unless `overwrite` or a fresh directory is chosen.\n- Keep the dataset requirements explicit: DaTikZ, ArxivCap, SPIQA, OpenMoji, adapter checkpoints, and sketch\u002Fparquet artifacts are workflow-specific.\n- Treat `examples\u002Frefine.py` as the most dependency-heavy path because it needs TRL vision support plus compile-backed rewards.\n\n## Bundled References\n\n- [references\u002Fcli-reference.md](references\u002Fcli-reference.md): command-line arguments, launch patterns, and output behavior.\n- [references\u002Fworkflows.md](references\u002Fworkflows.md): end-to-end training, pretraining, refinement, and TikZero recipes.\n- [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md): long-run failures, missing dependencies, checkpoint, and distributed training issues.\n\n## Guardrails\n\n- These workflows are intentionally expensive. Use them only when the user actually wants to train or refine a model.\n- Do not assume CPU fallback is adequate for the repo's training paths.\n- Do not start from the UI or inference sub-skill when the task is mainly about gradients, checkpoints, or dataset transforms.\n","# Training and Adapters\n\nUse this sub-skill when the task is about fine-tuning, pretraining, refinement, sketchification, TikZero adapter work, distributed GPU launch patterns, or checkpoint recovery in DeTikZify.\n\nRoute away from this sub-skill when the task is only about one-off inference, the browser UI, or evaluation metrics.\n\n## Fast Path\n\n1. Confirm the package and GPU environment are healthy:\n   ```bash\n   python scripts\u002Fapi_smoke.py\n   ```\n2. Read the workflow reference before starting a long run:\n   ```text\n   references\u002Fworkflows.md\n   ```\n3. Check the training-specific failure modes if the launch uses DeepSpeed, TRL, or adapter checkpoints:\n   ```text\n   references\u002Ftroubleshooting.md\n   ```\n\n## What This Sub-Skill Owns\n\n- standard fine-tuning on DaTikZ-style data\n- projection pretraining on large figure datasets\n- GRPO \u002F self-feedback refinement workflows\n- sketchification and sketch-augmented training data generation\n- TikZero adapter pretraining and end-to-end adapter fine-tuning\n- checkpoint resumption, `WORLD_SIZE`, `RANK`, and distributed GPU launch concerns\n- DeepSpeed and gradient-checkpointing choices\n\n## Common Decisions\n\n- Use `torchrun --nproc_per_node gpu` for the repo's GPU-first training scripts.\n- Use `deepspeed` only when the job needs it; do not add it to every run by default.\n- Use `gradient_checkpointing` when memory pressure matters more than speed.\n- Watch the output directory handling: some flows resume from the last checkpoint unless `overwrite` or a fresh directory is chosen.\n- Keep the dataset requirements explicit: DaTikZ, ArxivCap, SPIQA, OpenMoji, adapter checkpoints, and sketch\u002Fparquet artifacts are workflow-specific.\n- Treat `examples\u002Frefine.py` as the most dependency-heavy path because it needs TRL vision support plus compile-backed rewards.\n\n## Bundled References\n\n- [references\u002Fcli-reference.md](references\u002Fcli-reference.md): command-line arguments, launch patterns, and output behavior.\n- [references\u002Fworkflows.md](references\u002Fworkflows.md): end-to-end training, pretraining, refinement, and TikZero recipes.\n- [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md): long-run failures, missing dependencies, checkpoint, and distributed training issues.\n\n## Guardrails\n\n- These workflows are intentionally expensive. Use them only when the user actually wants to train or refine a model.\n- Do not assume CPU fallback is adequate for the repo's training paths.\n- Do not start from the UI or inference sub-skill when the task is mainly about gradients, checkpoints, or dataset transforms.\n",{"name":5,"license":24,"metadata":25,"description":7,"disable-model-invocation":27},"Apache 2.0",{"disco-role":26},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fdetikzify\u002Fsub-skills\u002Ftraining-and-adapters",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 training-and-adapters",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill training-and-adapters",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill training-and-adapters","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fdetikzify\u002Fsub-skills\u002Ftraining-and-adapters\u002FSKILL.md",[49,55,59],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fcli-reference.md","REFERENCE","参考文档",1376,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fdetikzify\u002Fsub-skills\u002Ftraining-and-adapters\u002Freferences\u002Fcli-reference.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Ftroubleshooting.md",1529,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fdetikzify\u002Fsub-skills\u002Ftraining-and-adapters\u002Freferences\u002Ftroubleshooting.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fworkflows.md",1886,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fdetikzify\u002Fsub-skills\u002Ftraining-and-adapters\u002Freferences\u002Fworkflows.md",[64,73,78,85,92,99],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":72},"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",[],[],"2026-11-16 10:05:34",{"skillNo":74,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":72},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":72},"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":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":72},"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":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":72},"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":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":72},"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",[],[]]