[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F63Z69QSAT864HYBCBKA0S":3,"skill-same:01M7F63Z69QSAT864HYBCBKA0S":62},{"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},"01M7F63Z69QSAT864HYBCBKA0S","procedural-training",null,"Wire Tianshou 2.0.1 procedural training pipelines with explicit environments, networks, policies, algorithms, collectors, and trainer params.","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\u002F05-技能与代理开发\u002Ftianshou\u002Fsub-skills\u002Fprocedural-training\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: procedural-training\ndescription: \"Wire Tianshou 2.0.1 procedural training pipelines with explicit\n  environments, networks, policies, algorithms, collectors, and trainer params.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: MIT\n---\n\n# Procedural Training\n\nUse this sub-skill when a user asks for manual Tianshou object wiring, low-level algorithm research, custom policies\u002Falgorithms, or phrases such as \"procedural API\", \"manual DQN\u002FPPO\u002FSAC\", \"build policy\u002Fnet\u002Ftrainer\", `OffPolicyTrainerParams`, or `DiscreteQLearningPolicy`.\n\n## Use This For\n\n- Building explicit Tianshou 2.0.1 pipelines from Gymnasium environments, networks, policies, algorithm objects, collectors, replay buffers, and trainer params.\n- Selecting procedural algorithm families such as DQN variants, PPO, SAC, DDPG, TD3, TRPO, A2C, NPG, and Reinforce.\n- Writing custom `Policy` or `Algorithm` subclasses and checking forward\u002Fupdate contracts before training.\n- Diagnosing wiring errors around action spaces, action scaling, optimizers, trainer counts, and NaN\u002Floss failures.\n\n## Route Elsewhere\n\n- Prefer `..\u002Fhighlevel-experiments\u002FSKILL.md` for declarative experiment builders, high-level configs, persistence-first workflows, and quick benchmark-style experiments.\n- Use `..\u002Fdata-collection\u002FSKILL.md` for replay buffer internals, collector hooks, custom `Batch`\u002Fbuffer flows, vector buffer tuning, and dataset collection details.\n- Use `..\u002Foffline-and-specialized-rl\u002FSKILL.md` for offline RL, imitation learning, model-based RL, multi-agent RL, or domain-specific specializations.\n\n## Fast Start\n\n1. Confirm `tianshou` imports and that optional environment dependencies are installed only for the requested task family.\n2. Create one probe environment and vectorized train\u002Ftest environments, usually `DummyVectorEnv` for local CPU smoke tests.\n3. Extract observation\u002Faction metadata with `SpaceInfo.from_env(env)` or the Gymnasium spaces directly.\n4. Build network modules (`Net`, discrete\u002Fcontinuous actors, critics) that match the observation and action spaces.\n5. Build a policy, then wrap it in the matching algorithm object with `AdamOptimizerFactory` or another optimizer factory.\n6. Build collectors with a replay buffer for off-policy algorithms or a rollout buffer sized for on-policy collection.\n7. Pass `OffPolicyTrainerParams`, `OnPolicyTrainerParams`, or `OfflineTrainerParams` to `algorithm.run_training(...)` only after a construction smoke passes.\n\n## References\n\n- `references\u002Fworkflows.md` gives object construction order, on-policy\u002Foff-policy loops, custom extension points, trainer params, and validation checks.\n- `references\u002Fapi-reference.md` summarizes the procedural classes, current signatures, network helpers, and algorithm family map.\n- `references\u002Ftroubleshooting.md` covers action-space mismatches, action scaling, optimizer\u002Fmodel wiring, trainer count settings, NaNs, optional dependencies, and CLI\u002FAPI misuse.\n- `scripts\u002Fcheck_procedural_dqn_components.py` constructs tiny CartPole DQN components, runs a one-step collector smoke, and performs a policy forward pass without long training.\n\n## Guardrails\n\n- Keep procedural examples bounded until object wiring, action shapes, and collector counts are proven.\n- Do not require the original Tianshou repository checkout at runtime; bundled scripts use installed public packages only.\n- Avoid MuJoCo, Atari, Box2D, VizDoom, EnvPool, Ray, or robotics imports unless the user explicitly installed and requested those extras.\n- For dict observations and action masks, preserve the nested observation contract expected by `DiscreteQLearningPolicy.forward`: `batch.obs` may contain the original observation plus `mask`.\n","# Procedural Training\n\nUse this sub-skill when a user asks for manual Tianshou object wiring, low-level algorithm research, custom policies\u002Falgorithms, or phrases such as \"procedural API\", \"manual DQN\u002FPPO\u002FSAC\", \"build policy\u002Fnet\u002Ftrainer\", `OffPolicyTrainerParams`, or `DiscreteQLearningPolicy`.\n\n## Use This For\n\n- Building explicit Tianshou 2.0.1 pipelines from Gymnasium environments, networks, policies, algorithm objects, collectors, replay buffers, and trainer params.\n- Selecting procedural algorithm families such as DQN variants, PPO, SAC, DDPG, TD3, TRPO, A2C, NPG, and Reinforce.\n- Writing custom `Policy` or `Algorithm` subclasses and checking forward\u002Fupdate contracts before training.\n- Diagnosing wiring errors around action spaces, action scaling, optimizers, trainer counts, and NaN\u002Floss failures.\n\n## Route Elsewhere\n\n- Prefer `..\u002Fhighlevel-experiments\u002FSKILL.md` for declarative experiment builders, high-level configs, persistence-first workflows, and quick benchmark-style experiments.\n- Use `..\u002Fdata-collection\u002FSKILL.md` for replay buffer internals, collector hooks, custom `Batch`\u002Fbuffer flows, vector buffer tuning, and dataset collection details.\n- Use `..\u002Foffline-and-specialized-rl\u002FSKILL.md` for offline RL, imitation learning, model-based RL, multi-agent RL, or domain-specific specializations.\n\n## Fast Start\n\n1. Confirm `tianshou` imports and that optional environment dependencies are installed only for the requested task family.\n2. Create one probe environment and vectorized train\u002Ftest environments, usually `DummyVectorEnv` for local CPU smoke tests.\n3. Extract observation\u002Faction metadata with `SpaceInfo.from_env(env)` or the Gymnasium spaces directly.\n4. Build network modules (`Net`, discrete\u002Fcontinuous actors, critics) that match the observation and action spaces.\n5. Build a policy, then wrap it in the matching algorithm object with `AdamOptimizerFactory` or another optimizer factory.\n6. Build collectors with a replay buffer for off-policy algorithms or a rollout buffer sized for on-policy collection.\n7. Pass `OffPolicyTrainerParams`, `OnPolicyTrainerParams`, or `OfflineTrainerParams` to `algorithm.run_training(...)` only after a construction smoke passes.\n\n## References\n\n- `references\u002Fworkflows.md` gives object construction order, on-policy\u002Foff-policy loops, custom extension points, trainer params, and validation checks.\n- `references\u002Fapi-reference.md` summarizes the procedural classes, current signatures, network helpers, and algorithm family map.\n- `references\u002Ftroubleshooting.md` covers action-space mismatches, action scaling, optimizer\u002Fmodel wiring, trainer count settings, NaNs, optional dependencies, and CLI\u002FAPI misuse.\n- `scripts\u002Fcheck_procedural_dqn_components.py` constructs tiny CartPole DQN components, runs a one-step collector smoke, and performs a policy forward pass without long training.\n\n## Guardrails\n\n- Keep procedural examples bounded until object wiring, action shapes, and collector counts are proven.\n- Do not require the original Tianshou repository checkout at runtime; bundled scripts use installed public packages only.\n- Avoid MuJoCo, Atari, Box2D, VizDoom, EnvPool, Ray, or robotics imports unless the user explicitly installed and requested those extras.\n- For dict observations and action masks, preserve the nested observation contract expected by `DiscreteQLearningPolicy.forward`: `batch.obs` may contain the original observation plus `mask`.\n",{"name":5,"license":15,"metadata":24,"description":7,"disable-model-invocation":26},{"disco-role":25},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Ftianshou\u002Fsub-skills\u002Fprocedural-training",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 procedural-training",{"tool":41,"command":42},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill procedural-training",{"tool":44,"command":45},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill procedural-training","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Ftianshou\u002Fsub-skills\u002Fprocedural-training\u002FSKILL.md",[48,54,58],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fapi-reference.md","REFERENCE","参考文档",8839,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Ftianshou\u002Fsub-skills\u002Fprocedural-training\u002Freferences\u002Fapi-reference.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Ftroubleshooting.md",7552,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Ftianshou\u002Fsub-skills\u002Fprocedural-training\u002Freferences\u002Ftroubleshooting.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fworkflows.md",8796,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Ftianshou\u002Fsub-skills\u002Fprocedural-training\u002Freferences\u002Fworkflows.md",[63,70,75,82,89,96],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"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":71,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"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":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"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":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"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":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"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":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"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",[],[]]