[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EPG66461YR1ZBYX14P64VC":3,"skill-same:01M7EPG66461YR1ZBYX14P64VC":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},"01M7EPG66461YR1ZBYX14P64VC","adapter-core",null,"Core PEFT adapter setup, configuration, target module selection, adapter lifecycle, model\u002Flayer status diagnostics, custom models, and low-level adapter injection.","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-安全渗透\u002Fpeft\u002Fsub-skills\u002Fadapter-core\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: adapter-core\ndescription: \"Core PEFT adapter setup, configuration, target module selection,\n  adapter lifecycle, model\u002Flayer status diagnostics, custom models, and\n  low-level adapter injection.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# Adapter Core\n\nUse this sub-skill when the task is about constructing PEFT configs, wrapping a model with adapters, managing adapters after creation, diagnosing adapter state, targeting modules in custom models, or using low-level adapter injection.\n\n## Route Here For\n\n- Install\u002Fimport smoke checks for `peft`, `torch`, `transformers`, and `accelerate` without downloading models.\n- Core API choices: `PeftConfig`, `TaskType`, `PeftType`, `get_peft_model`, `PeftModel`, and adapter names.\n- Adapter lifecycle: add, load, activate, disable, delete, inspect trainable parameters, and inspect model\u002Flayer status.\n- Target module selection for custom or non-Transformers `torch.nn.Module` models.\n- Low-level injection with `inject_adapter_in_model` when a `PeftModel` wrapper is not desired.\n- Diagnosing invalid task\u002FPEFT types, missing target modules, unsupported module classes, or unexpected trainable status.\n\n## Route Elsewhere\n\n- LoRA variants, quantized loading, DoRA, rsLoRA, QLoRA-style workflows, and LoRA-specific initialization: use `..\u002Flora-and-quantization\u002FSKILL.md`.\n- Prompt tuning, prefix tuning, p-tuning, soft prompts, or prompt encoder internals: use `..\u002Fprompt-and-soft-methods\u002FSKILL.md`.\n- Saving, loading checkpoints, merging adapters into base weights, or deployment packaging: use `..\u002Fsave-load-merge\u002FSKILL.md`.\n- Trainer, Accelerate, distributed, FSDP, DeepSpeed, or multi-GPU training integration: use `..\u002Ftraining-and-integrations\u002FSKILL.md`.\n\n## Start Fast\n\n1. Run `python scripts\u002Fcheck_peft_env.py` from this sub-skill directory to verify imports and local package facts.\n2. Read `references\u002Fapi-reference.md` for the core class\u002Ffunction surface and common enum values.\n3. Follow `references\u002Fworkflows.md` for adapter construction, custom model targeting, lifecycle management, and low-level injection.\n4. Use `references\u002Ftroubleshooting.md` when errors mention invalid task types, missing `target_modules`, unsupported modules, adapter status irregularities, or optional dependency imports.\n\n## Core Decision Pattern\n\n- Prefer `get_peft_model(base_model, peft_config, adapter_name=\"default\")` for normal Transformers and custom PyTorch models when PEFT should return a `PeftModel` wrapper with helper methods.\n- Use explicit `target_modules` for custom models unless the method and architecture have a known PEFT default mapping.\n- Use `modules_to_save` for non-adapter layers that must remain trainable and be stored with the adapter, such as custom heads or task heads.\n- Use `print_trainable_parameters()`, `get_model_status()`, and `get_layer_status()` before training when trainable counts, active adapters, or merged\u002Fdisabled states look surprising.\n- Use low-level `inject_adapter_in_model(peft_config, model, adapter_name=...)` only when the caller needs adapter layers in a plain `torch.nn.Module` and does not need `PeftModel` helper methods.\n\n## Bundled Materials\n\n- `references\u002Fapi-reference.md`: API inventory, enum usage, config validation, lifecycle helpers, and status helpers.\n- `references\u002Fworkflows.md`: practical recipes for standard wrapping, custom modules, target discovery, adapter lifecycle, and low-level injection.\n- `references\u002Ftroubleshooting.md`: diagnosis paths for target module, enum, trainability, optional dependency, custom module, and low-level injection failures.\n- `scripts\u002Fcheck_peft_env.py`: safe local import\u002Fconfig smoke check with `--help`, JSON output option, and optional CUDA facts.\n","# Adapter Core\n\nUse this sub-skill when the task is about constructing PEFT configs, wrapping a model with adapters, managing adapters after creation, diagnosing adapter state, targeting modules in custom models, or using low-level adapter injection.\n\n## Route Here For\n\n- Install\u002Fimport smoke checks for `peft`, `torch`, `transformers`, and `accelerate` without downloading models.\n- Core API choices: `PeftConfig`, `TaskType`, `PeftType`, `get_peft_model`, `PeftModel`, and adapter names.\n- Adapter lifecycle: add, load, activate, disable, delete, inspect trainable parameters, and inspect model\u002Flayer status.\n- Target module selection for custom or non-Transformers `torch.nn.Module` models.\n- Low-level injection with `inject_adapter_in_model` when a `PeftModel` wrapper is not desired.\n- Diagnosing invalid task\u002FPEFT types, missing target modules, unsupported module classes, or unexpected trainable status.\n\n## Route Elsewhere\n\n- LoRA variants, quantized loading, DoRA, rsLoRA, QLoRA-style workflows, and LoRA-specific initialization: use `..\u002Flora-and-quantization\u002FSKILL.md`.\n- Prompt tuning, prefix tuning, p-tuning, soft prompts, or prompt encoder internals: use `..\u002Fprompt-and-soft-methods\u002FSKILL.md`.\n- Saving, loading checkpoints, merging adapters into base weights, or deployment packaging: use `..\u002Fsave-load-merge\u002FSKILL.md`.\n- Trainer, Accelerate, distributed, FSDP, DeepSpeed, or multi-GPU training integration: use `..\u002Ftraining-and-integrations\u002FSKILL.md`.\n\n## Start Fast\n\n1. Run `python scripts\u002Fcheck_peft_env.py` from this sub-skill directory to verify imports and local package facts.\n2. Read `references\u002Fapi-reference.md` for the core class\u002Ffunction surface and common enum values.\n3. Follow `references\u002Fworkflows.md` for adapter construction, custom model targeting, lifecycle management, and low-level injection.\n4. Use `references\u002Ftroubleshooting.md` when errors mention invalid task types, missing `target_modules`, unsupported modules, adapter status irregularities, or optional dependency imports.\n\n## Core Decision Pattern\n\n- Prefer `get_peft_model(base_model, peft_config, adapter_name=\"default\")` for normal Transformers and custom PyTorch models when PEFT should return a `PeftModel` wrapper with helper methods.\n- Use explicit `target_modules` for custom models unless the method and architecture have a known PEFT default mapping.\n- Use `modules_to_save` for non-adapter layers that must remain trainable and be stored with the adapter, such as custom heads or task heads.\n- Use `print_trainable_parameters()`, `get_model_status()`, and `get_layer_status()` before training when trainable counts, active adapters, or merged\u002Fdisabled states look surprising.\n- Use low-level `inject_adapter_in_model(peft_config, model, adapter_name=...)` only when the caller needs adapter layers in a plain `torch.nn.Module` and does not need `PeftModel` helper methods.\n\n## Bundled Materials\n\n- `references\u002Fapi-reference.md`: API inventory, enum usage, config validation, lifecycle helpers, and status helpers.\n- `references\u002Fworkflows.md`: practical recipes for standard wrapping, custom modules, target discovery, adapter lifecycle, and low-level injection.\n- `references\u002Ftroubleshooting.md`: diagnosis paths for target module, enum, trainability, optional dependency, custom module, and low-level injection failures.\n- `scripts\u002Fcheck_peft_env.py`: safe local import\u002Fconfig smoke check with `--help`, JSON output option, and optional CUDA facts.\n",{"name":5,"license":24,"metadata":25,"description":7,"disable-model-invocation":27},"Apache 2.0",{"disco-role":26},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fpeft\u002Fsub-skills\u002Fadapter-core",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 adapter-core",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill adapter-core",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill adapter-core","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fpeft\u002Fsub-skills\u002Fadapter-core\u002FSKILL.md",[49,55,59],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fapi-reference.md","REFERENCE","参考文档",8115,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fpeft\u002Fsub-skills\u002Fadapter-core\u002Freferences\u002Fapi-reference.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Ftroubleshooting.md",8156,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fpeft\u002Fsub-skills\u002Fadapter-core\u002Freferences\u002Ftroubleshooting.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fworkflows.md",7337,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fpeft\u002Fsub-skills\u002Fadapter-core\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",[],[]]