Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

singularity-apptainer

БесплатноБез исполняемых скриптовНе проверен

Use when the user asks about Singularity, Apptainer, HPC containers, running containers on clusters, or converting Docker images for HPC environments. Creates…

uw-ssecот uw-ssec★ 33 звезды на GitHub

Об этом скилле

Singularity/Apptainer

Primary Actions

  • Create and adjust .def definition files for scientific workloads.
  • Build, inspect, and test .sif images.
  • Convert Docker images to .sif for HPC use.
  • Configure MPI and GPU runtime flags for cluster jobs.
  • Provide Slurm-ready execution patterns.

Quick Command Card

# Build/pull
apptainer build image.sif definition.def
apptainer pull image.sif docker://python:3.12-slim

# Run/inspect/test
apptainer exec image.sif python --version
apptainer inspect image.sif
apptainer test image.sif

# GPU
apptainer exec --nv image.sif nvidia-smi

# MPI (example)
srun --mpi=pmix apptainer exec image.sif ./my_mpi_app

End-to-End Workflow With Validation Gates

  1. Build or convert image.
  2. Validate image metadata and %test checks.
  3. Run a runtime smoke command (apptainer exec ...).
  4. For GPU jobs, validate with --nv and nvidia-smi.
  5. For MPI jobs, run a small multi-rank test before scaling.
  6. If any gate fails, fix definition/runtime config and repeat from step 1.

Definition File At a Glance

Bootstrap / From
%post
%environment
%runscript
%test

Templates

Deep References

Установить singularity-apptainer в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/basic-definition.defassets/gpu-definition.defassets/mpi-definition.defreferences/definition-files.mdreferences/hpc-workflow-patterns.mdreferences/mpi-containers.mdreferences/validation-and-recovery.md

FAQ

Что делает скилл singularity-apptainer?

Use when the user asks about Singularity, Apptainer, HPC containers, running containers on clusters, or converting Docker images for HPC environments. Creates definition files, builds and validates .sif images, configures MPI/GPU execution, and integrates container runs with Slurm.

Как установить скилл singularity-apptainer?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл singularity-apptainer запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить singularity-apptainer с