[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ET8J9DPBGC0GSA046V8PHX":3,"skill-same:01M7ET8J9DPBGC0GSA046V8PHX":66},{"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},"01M7ET8J9DPBGC0GSA046V8PHX","environments-and-vectorization",null,"Create and validate Gymnasium custom environments for Stable-Baselines3, then wrap them safely with Monitor, DummyVecEnv\u002FSubprocVecEnv, VecNormalize, VecCheckNan, and frame\u002Fdict\u002Fimage vector wrappers.","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\u002F04-安全渗透\u002Fstable-baselines3\u002Fsub-skills\u002Fenvironments-and-vectorization\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: environments-and-vectorization\ndescription: \"Create and validate Gymnasium custom environments for\n  Stable-Baselines3, then wrap them safely with Monitor,\n  DummyVecEnv\u002FSubprocVecEnv, VecNormalize, VecCheckNan, and frame\u002Fdict\u002Fimage\n  vector wrappers.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: MIT\n---\n\n# Environments And Vectorization\n\nUse this sub-skill when the task is about Stable-Baselines3 environment compatibility rather than algorithm selection: custom Gymnasium env APIs, `check_env`, vectorized env construction, VecEnv API semantics, Monitor logging, normalization, NaN checks, frame stacking, dict\u002Fimage observations, and multiprocessing caveats.\n\n## Route By Task\n\n- **Custom env contract or `check_env` failure**: use [references\u002Fcustom-envs.md](references\u002Fcustom-envs.md) for the required `reset()`\u002F`step()` API, spaces, image\u002Fdict observations, unsupported spaces, and the validation checklist.\n- **Vectorization, wrappers, or VecEnv behavior**: use [references\u002Fvectorized-envs.md](references\u002Fvectorized-envs.md) for `make_vec_env`, `DummyVecEnv`, `SubprocVecEnv`, automatic resets, `terminal_observation`, seeding\u002Foptions, `VecNormalize`, `VecCheckNan`, `VecFrameStack`, and dict\u002Fimage wrappers.\n- **Exact signatures and wrapper matrix**: use [references\u002Fapi-reference.md](references\u002Fapi-reference.md) for SB3 environment helper signatures and return-value expectations.\n- **Errors, warnings, and edge cases**: use [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) for reset\u002Fstep shape mismatches, Gymnasium vs VecEnv API confusion, unsupported spaces, image warnings, non-zero-start spaces, NaNs\u002FInfs, and subprocess start-method failures.\n- **Quick local validation**: run `python sub-skills\u002Fenvironments-and-vectorization\u002Fscripts\u002Fcheck_custom_env.py --mode valid` or `--mode invalid` from a copied skill tree that has Stable-Baselines3 installed.\n\n## Boundaries\n\n- This sub-skill covers env creation, validation, wrapping, vectorization, and observation\u002Faction-space compatibility.\n- For choosing PPO\u002FSAC\u002FDQN\u002FA2C\u002FTD3\u002FDDPG\u002FHerReplayBuffer or setting training hyperparameters, route to `training-and-algorithms`.\n- For evaluation callbacks, model save\u002Fload, `VecNormalize` persistence during evaluation, or rollout metrics, route to `evaluation-and-persistence`.\n- For custom policy classes, feature extractors, `MultiInputPolicy` internals, or `normalize_images=False` policy details, route to `policies-and-customization` after confirming the env observation routing here.\n","# Environments And Vectorization\n\nUse this sub-skill when the task is about Stable-Baselines3 environment compatibility rather than algorithm selection: custom Gymnasium env APIs, `check_env`, vectorized env construction, VecEnv API semantics, Monitor logging, normalization, NaN checks, frame stacking, dict\u002Fimage observations, and multiprocessing caveats.\n\n## Route By Task\n\n- **Custom env contract or `check_env` failure**: use [references\u002Fcustom-envs.md](references\u002Fcustom-envs.md) for the required `reset()`\u002F`step()` API, spaces, image\u002Fdict observations, unsupported spaces, and the validation checklist.\n- **Vectorization, wrappers, or VecEnv behavior**: use [references\u002Fvectorized-envs.md](references\u002Fvectorized-envs.md) for `make_vec_env`, `DummyVecEnv`, `SubprocVecEnv`, automatic resets, `terminal_observation`, seeding\u002Foptions, `VecNormalize`, `VecCheckNan`, `VecFrameStack`, and dict\u002Fimage wrappers.\n- **Exact signatures and wrapper matrix**: use [references\u002Fapi-reference.md](references\u002Fapi-reference.md) for SB3 environment helper signatures and return-value expectations.\n- **Errors, warnings, and edge cases**: use [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) for reset\u002Fstep shape mismatches, Gymnasium vs VecEnv API confusion, unsupported spaces, image warnings, non-zero-start spaces, NaNs\u002FInfs, and subprocess start-method failures.\n- **Quick local validation**: run `python sub-skills\u002Fenvironments-and-vectorization\u002Fscripts\u002Fcheck_custom_env.py --mode valid` or `--mode invalid` from a copied skill tree that has Stable-Baselines3 installed.\n\n## Boundaries\n\n- This sub-skill covers env creation, validation, wrapping, vectorization, and observation\u002Faction-space compatibility.\n- For choosing PPO\u002FSAC\u002FDQN\u002FA2C\u002FTD3\u002FDDPG\u002FHerReplayBuffer or setting training hyperparameters, route to `training-and-algorithms`.\n- For evaluation callbacks, model save\u002Fload, `VecNormalize` persistence during evaluation, or rollout metrics, route to `evaluation-and-persistence`.\n- For custom policy classes, feature extractors, `MultiInputPolicy` internals, or `normalize_images=False` policy details, route to `policies-and-customization` after confirming the env observation routing here.\n",{"name":5,"license":15,"metadata":24,"description":7,"disable-model-invocation":26},{"disco-role":25},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fstable-baselines3\u002Fsub-skills\u002Fenvironments-and-vectorization",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 environments-and-vectorization",{"tool":41,"command":42},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill environments-and-vectorization",{"tool":44,"command":45},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill environments-and-vectorization","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fstable-baselines3\u002Fsub-skills\u002Fenvironments-and-vectorization\u002FSKILL.md",[48,54,58,62],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fapi-reference.md","REFERENCE","参考文档",3943,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fstable-baselines3\u002Fsub-skills\u002Fenvironments-and-vectorization\u002Freferences\u002Fapi-reference.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fcustom-envs.md",5005,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fstable-baselines3\u002Fsub-skills\u002Fenvironments-and-vectorization\u002Freferences\u002Fcustom-envs.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Ftroubleshooting.md",6009,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fstable-baselines3\u002Fsub-skills\u002Fenvironments-and-vectorization\u002Freferences\u002Ftroubleshooting.md",{"path":63,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Fvectorized-envs.md",6016,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fstable-baselines3\u002Fsub-skills\u002Fenvironments-and-vectorization\u002Freferences\u002Fvectorized-envs.md",[67,75,80,87,94,101],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":74},"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",[],[],"2026-11-16 10:05:34",{"skillNo":76,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":74},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":74},"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":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":74},"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":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":74},"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":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":74},"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",[],[]]