nebius/nebius-physical-ai/build-and-push-image

Claude Code and agent skill by nebius/nebius-physical-ai

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when building, tagging, validating, or publishing NPA workbench container images through immutable full-SHA public development tags and digest-identical supported GHCR releases.

Install

npx vskill@latest install nebius/nebius-physical-ai/build-and-push-image

SKILL.md

The same SKILL.md was published earlier as nebius/nebius-physical-ai/build-and-push-image.

Build And Push Image

Load and obey skills/atomic/secure-image-build/SKILL.md before every image build, tag, push, copy, or promotion. That skill defines the mandatory order and refusal conditions; this skill records NPA-specific build and GPU details.

Build Contract

Before building with npa/ as the Docker context, stage the top-level workflow catalog into the ignored package data from the repository root:

bash
npa/.venv/bin/python npa/src/npa/workflow_build.py --stage-catalog --package-root npa

Repeat after catalog edits. The generated main/ and testing/ copies under npa/src/npa/workflows/ belong only to the build context; edit workflows/main/ and workflows/testing/ as the source of truth.

  1. Build only a checked-in Dockerfile under npa/docker/workbench/<tool>/.
  2. Resolve the exact 40-character commit and use the one official namespace,

ghcr.io/nebius/nebius-physical-ai. A pre-release tag is exactly dev-<full-git-sha> on the normal npa-<tool> package.

  1. Require redistribution: public before any official push. Resolve the selected

image's current classification from npa/docker/workbench/packaging-contract.yaml and the restriction inventories in npa/src/npa/deploy/images.py; stop if they disagree. Build restricted images only into an operator-controlled registry; neither a private package nor a development tag changes licensing. Historical image classifications do not establish the eligibility of replacement bytes. The current catalog, for example, records cosmos3-super-benchmark as restricted; always re-read that classification before a build.

  1. Run every pre-publication security, packaging, payload, provenance, SBOM,

vulnerability, secret, non-root, base-pin, and bootstrap-contract gate before pushing the public development tag.

  1. After push, resolve the immutable digest, repeat exact-digest checks, and

verify anonymous pullability. Use that digest for functional GPU validation.

  1. Promote only the real-GPU-validated digest to the supported release tag with

npa.deploy.publish_public; verify digest parity and anonymous pull afterward, then record the accepted release digest for anonymous read-only health checks.

Use NPA_PUBLIC_REGISTRY only to select the configured official namespace. NPA_REGISTRY remains the generic build/BYOF destination. Repository-owned runtime defaults ignore it; custom runtime bytes require an explicit image or workflow --registry. Do not introduce a second official source registry or a separate pre-release package naming convention.

Packaging And Runtime Fetch

Read docs/workbench/container-packaging.md and update npa/docker/workbench/packaging-contract.yaml when an image or tier changes. Make the final stage non-root, pin resolvable bases by digest, keep credentials and generated data out of layers, and make service health machine-checkable.

Runtime-fetch images must prove absence on the built artifact. Use scan_image_omniverse_payload.py for Isaac-family images and scan_image_ltx_payload.py for LTX. LTX source and weights both remain runtime fetches under the operator's entitled HF_TOKEN; never fetch either at build time or cache acceptance in the image.

For SkyPilot workflow images, prove the versioned bootstrap behavior before adding its OCI label. A label is an attestation of tested behavior, not a switch that makes the behavior true.

GPU Architecture Coverage

Choose the GPU with skills/atomic/gpu-selection/SKILL.md. Prebuilt Torch wheels ship fixed architecture sets; TORCH_CUDA_ARCH_LIST affects only source-built extensions. Check wheel flags with torch._C._cuda_getArchFlags() and validate custom kernels on the target hardware.

npa-base's CUDA 13 contract covers sm_80, sm_90, sm_100, sm_103, and sm_120; its wheel must report sm_80, sm_90, sm_100, and sm_120. Validate datacenter Blackwell images with npa/scripts/validate_blackwell_image.sh <image> --target b200|b300 --gpu and record truthful additive tags in npa/docker/workbench/blackwell-dc-images.json.

Verify

bash
npa/.venv/bin/python -m pytest \
npa/tests/docker/ npa/tests/deploy/ \
npa/tests/guardrails/test_secure_image_build_skill.py \
npa/tests/guardrails/test_skills_index.py -q

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/nebius/nebius-physical-ai/build-and-push-image/badge)](https://verified-skill.com/skills/nebius/nebius-physical-ai/build-and-push-image)

Something wrong with this skill or its page? Tell us.