[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FEYBV43P772AKBFG0KTTHW":3,"skill-same:01M7FEYBV43P772AKBFG0KTTHW":113},{"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":39,"commitSha":40,"skillDirectory":41,"forksCount":14,"repositoryHtmlUrl":42,"repositoryHomepageUrl":42,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M7FEYBV43P772AKBFG0KTTHW","hpc-gpu-stack",null,"Build, review, debug, and launch CUDA- and GPU-accelerated HPC workflows. Use when working with `nvcc`, host-compiler compatibility, CUDA-aware MPI, rank-to-GPU mapping, `CUDA_VISIBLE_DEVICES`, Slurm GPU scheduling, GPU memory or stream behavior, or CUDA build and runtime failures.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-gpu-stack\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: hpc-gpu-stack\ndescription: \"Build, review, debug, and launch CUDA- and GPU-accelerated HPC workflows. Use when working with `nvcc`, host-compiler compatibility, CUDA-aware MPI, rank-to-GPU mapping, `CUDA_VISIBLE_DEVICES`, Slurm GPU scheduling, GPU memory or stream behavior, or CUDA build and runtime failures.\"\ncategory: high-performance-computing\ndomain: high-performance-computing\nsubdomain: general\nversion: 1.0.0\nlicense: MIT\nrisk: low\nsource:\n  repository: \"SciMate-AI\u002FHPC-Skills\"\n  commit: \"4ea8069188\"\n  imported_at: \"2026-09-20\"\n  license: \"MIT\"\nplatforms:\n  - claude-code\n  - cursor\n  - codex\n  - gemini\n  - antigravity\n  - copilot\n---\n\n\n# HPC GPU Stack\n\nTreat GPU execution as one coherent stack: CUDA toolchain, host compiler, launcher, scheduler mapping, and device visibility must agree before kernel tuning matters.\n\n## Start\n\n1. Read `references\u002Fcuda-and-host-compiler-matrix.md` before choosing `nvcc`, host compiler, or a CUDA build baseline.\n2. Read `references\u002Fgpu-aware-mpi-and-rank-mapping.md` when the workflow spans MPI ranks, one-rank-per-GPU layouts, or CUDA-aware MPI.\n3. Read `references\u002Fdevice-visibility-and-scheduler-integration.md` when Slurm, `CUDA_VISIBLE_DEVICES`, MIG, or scheduler-provided GPU allocation is involved.\n4. Read `references\u002Fmemory-streams-and-overlap-playbook.md` when debugging device memory pressure, pinned-memory transfers, streams, or overlap assumptions.\n5. Read `references\u002Fbuild-and-launch-workflow.md` when turning a CUDA code path into a reproducible compile-and-run workflow.\n6. Read `references\u002Fruntime-debugging-and-profiling.md` when kernels fail at runtime, ranks see the wrong device, or performance is unexpectedly poor.\n7. Read `references\u002Ferror-recovery.md` when configure, compile, launch, or runtime CUDA behavior fails.\n8. Read `references\u002Ferror-pattern-dictionary.md` when a GPU failure needs a fast pattern match.\n\n## Work sequence\n\n1. Confirm the execution model first:\n   - single GPU\n   - one MPI rank per GPU\n   - hybrid MPI plus threads with explicit rank-to-GPU placement\n2. Keep CUDA toolkit, host compiler, and MPI stack mutually compatible.\n3. Let the scheduler expose the intended GPU allocation before forcing manual device selection.\n4. Get a minimal kernel and launch baseline working before tuning streams, overlap, or transport variables.\n5. Reproduce failures on one node and the smallest GPU count that still shows the issue before scaling out.\n\n## Guardrails\n\n- Do not assume `nvcc` accepts any host compiler visible in `PATH`.\n- Do not mix rank-to-GPU mapping logic from Open MPI, MPICH-family, and Slurm without checking which environment variables are actually set.\n- Do not tune streams or overlap to compensate for a broken device-mapping or memory-capacity issue.\n- Do not debug multi-node GPU failures before a single-node baseline is trustworthy.\n\n## Additional References\n\nLoad these on demand:\n\n- `references\u002Fcuda-and-host-compiler-matrix.md` for compiler-compatibility and build-baseline decisions\n- `references\u002Fgpu-aware-mpi-and-rank-mapping.md` for CUDA-aware MPI and rank placement rules\n- `references\u002Fdevice-visibility-and-scheduler-integration.md` for scheduler-exposed GPU visibility and Slurm integration\n- `references\u002Fmemory-streams-and-overlap-playbook.md` for memory hierarchy, streams, and transfer overlap\n- `references\u002Fbuild-and-launch-workflow.md` for reproducible build and launch sequencing\n- `references\u002Fruntime-debugging-and-profiling.md` for runtime inspection and performance triage\n- `references\u002Ferror-pattern-dictionary.md` for common GPU failure signatures\n\n## Reusable Templates\n\nUse `assets\u002Ftemplates\u002F` when a concrete starting point is faster than rebuilding the GPU workflow from scratch, especially:\n\n- `cuda_vector_add_minimal.cu`\n- `nvcc_build_example.sh`\n- `cuda_single_gpu_slurm.sh`\n- `cuda_mpi_gpu_slurm.sh`\n\n## Outputs\n\nSummarize:\n\n- CUDA toolkit and host-compiler path chosen\n- rank-to-GPU mapping or single-GPU launch path\n- scheduler or visibility assumptions\n- memory and stream model if relevant\n- the exact build or runtime failure class if the workflow is being repaired\n","# HPC GPU Stack\n\nTreat GPU execution as one coherent stack: CUDA toolchain, host compiler, launcher, scheduler mapping, and device visibility must agree before kernel tuning matters.\n\n## Start\n\n1. Read `references\u002Fcuda-and-host-compiler-matrix.md` before choosing `nvcc`, host compiler, or a CUDA build baseline.\n2. Read `references\u002Fgpu-aware-mpi-and-rank-mapping.md` when the workflow spans MPI ranks, one-rank-per-GPU layouts, or CUDA-aware MPI.\n3. Read `references\u002Fdevice-visibility-and-scheduler-integration.md` when Slurm, `CUDA_VISIBLE_DEVICES`, MIG, or scheduler-provided GPU allocation is involved.\n4. Read `references\u002Fmemory-streams-and-overlap-playbook.md` when debugging device memory pressure, pinned-memory transfers, streams, or overlap assumptions.\n5. Read `references\u002Fbuild-and-launch-workflow.md` when turning a CUDA code path into a reproducible compile-and-run workflow.\n6. Read `references\u002Fruntime-debugging-and-profiling.md` when kernels fail at runtime, ranks see the wrong device, or performance is unexpectedly poor.\n7. Read `references\u002Ferror-recovery.md` when configure, compile, launch, or runtime CUDA behavior fails.\n8. Read `references\u002Ferror-pattern-dictionary.md` when a GPU failure needs a fast pattern match.\n\n## Work sequence\n\n1. Confirm the execution model first:\n   - single GPU\n   - one MPI rank per GPU\n   - hybrid MPI plus threads with explicit rank-to-GPU placement\n2. Keep CUDA toolkit, host compiler, and MPI stack mutually compatible.\n3. Let the scheduler expose the intended GPU allocation before forcing manual device selection.\n4. Get a minimal kernel and launch baseline working before tuning streams, overlap, or transport variables.\n5. Reproduce failures on one node and the smallest GPU count that still shows the issue before scaling out.\n\n## Guardrails\n\n- Do not assume `nvcc` accepts any host compiler visible in `PATH`.\n- Do not mix rank-to-GPU mapping logic from Open MPI, MPICH-family, and Slurm without checking which environment variables are actually set.\n- Do not tune streams or overlap to compensate for a broken device-mapping or memory-capacity issue.\n- Do not debug multi-node GPU failures before a single-node baseline is trustworthy.\n\n## Additional References\n\nLoad these on demand:\n\n- `references\u002Fcuda-and-host-compiler-matrix.md` for compiler-compatibility and build-baseline decisions\n- `references\u002Fgpu-aware-mpi-and-rank-mapping.md` for CUDA-aware MPI and rank placement rules\n- `references\u002Fdevice-visibility-and-scheduler-integration.md` for scheduler-exposed GPU visibility and Slurm integration\n- `references\u002Fmemory-streams-and-overlap-playbook.md` for memory hierarchy, streams, and transfer overlap\n- `references\u002Fbuild-and-launch-workflow.md` for reproducible build and launch sequencing\n- `references\u002Fruntime-debugging-and-profiling.md` for runtime inspection and performance triage\n- `references\u002Ferror-pattern-dictionary.md` for common GPU failure signatures\n\n## Reusable Templates\n\nUse `assets\u002Ftemplates\u002F` when a concrete starting point is faster than rebuilding the GPU workflow from scratch, especially:\n\n- `cuda_vector_add_minimal.cu`\n- `nvcc_build_example.sh`\n- `cuda_single_gpu_slurm.sh`\n- `cuda_mpi_gpu_slurm.sh`\n\n## Outputs\n\nSummarize:\n\n- CUDA toolkit and host-compiler path chosen\n- rank-to-GPU mapping or single-GPU launch path\n- scheduler or visibility assumptions\n- memory and stream model if relevant\n- the exact build or runtime failure class if the workflow is being repaired\n",{"name":5,"risk":24,"domain":25,"source":26,"license":15,"version":30,"category":25,"platforms":31,"subdomain":38,"description":7},"low","high-performance-computing",{"commit":27,"license":15,"repository":28,"imported_at":29},"4ea8069188","SciMate-AI\u002FHPC-Skills","2026-09-20","1.0.0",[32,33,34,35,36,37],"claude-code","cursor","codex","gemini","antigravity","copilot","general","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fhigh-performance-computing\u002Fhpc-gpu-stack","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill hpc-gpu-stack",{"tool":51,"command":52},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill hpc-gpu-stack",{"tool":54,"command":55},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill hpc-gpu-stack","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-gpu-stack\u002FSKILL.md",true,[59,65,69,75,79,85,89,93,97,101,105,109],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"assets\u002Ftemplates\u002Fcuda_mpi_gpu_slurm.sh","SCRIPT","脚本",463,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-gpu-stack\u002Fassets\u002Ftemplates\u002Fcuda_mpi_gpu_slurm.sh",{"path":66,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":67,"sourceHtmlUrl":68},"assets\u002Ftemplates\u002Fcuda_single_gpu_slurm.sh",399,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-gpu-stack\u002Fassets\u002Ftemplates\u002Fcuda_single_gpu_slurm.sh",{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"assets\u002Ftemplates\u002Fcuda_vector_add_minimal.cu","ASSET","资产文件",1126,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-gpu-stack\u002Fassets\u002Ftemplates\u002Fcuda_vector_add_minimal.cu",{"path":76,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":77,"sourceHtmlUrl":78},"assets\u002Ftemplates\u002Fnvcc_build_example.sh",297,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-gpu-stack\u002Fassets\u002Ftemplates\u002Fnvcc_build_example.sh",{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fbuild-and-launch-workflow.md","REFERENCE","参考文档",807,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-gpu-stack\u002Freferences\u002Fbuild-and-launch-workflow.md",{"path":86,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fcuda-and-host-compiler-matrix.md",1407,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-gpu-stack\u002Freferences\u002Fcuda-and-host-compiler-matrix.md",{"path":90,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fdevice-visibility-and-scheduler-integration.md",1243,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-gpu-stack\u002Freferences\u002Fdevice-visibility-and-scheduler-integration.md",{"path":94,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Ferror-pattern-dictionary.md",1240,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-gpu-stack\u002Freferences\u002Ferror-pattern-dictionary.md",{"path":98,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":99,"sourceHtmlUrl":100},"references\u002Ferror-recovery.md",756,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-gpu-stack\u002Freferences\u002Ferror-recovery.md",{"path":102,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":103,"sourceHtmlUrl":104},"references\u002Fgpu-aware-mpi-and-rank-mapping.md",1255,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-gpu-stack\u002Freferences\u002Fgpu-aware-mpi-and-rank-mapping.md",{"path":106,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":107,"sourceHtmlUrl":108},"references\u002Fmemory-streams-and-overlap-playbook.md",1016,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-gpu-stack\u002Freferences\u002Fmemory-streams-and-overlap-playbook.md",{"path":110,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":111,"sourceHtmlUrl":112},"references\u002Fruntime-debugging-and-profiling.md",804,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-gpu-stack\u002Freferences\u002Fruntime-debugging-and-profiling.md",[114,121,128,135,142,149],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":19},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":19},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":19},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":19},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":19},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]