build-and-push-image

build-and-push-image is a skill for Claude Code, Codex from nebius/nebius-physical-ai. It costs 39 tokens per session (1,060 once invoked), scanned A, original, Apache-2.0.

A controlled process for building, checking, and publishing container images for the NPA workbench. A container image packages an application and its dependencies so it can run consistently.

In plain words
What is it for?
Use it to build images from approved Dockerfiles, apply immutable Git-based tags, run security and packaging checks, publish to GHCR, and validate the released image on GPUs.
Why use it?
It reduces the risk of publishing the wrong build, an insecure image, or an image that cannot be pulled and validated by users.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build images from approved Dockerfiles, apply immutable Git-based tags, run security and packaging checks, publish to GHCR, and validate the released image on GPUs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nebius/nebius-physical-ai/build-and-push-image
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nebius/nebius-physical-ai --skill build-and-push-image
Clone the repo
git clone --depth 1 https://github.com/nebius/nebius-physical-ai

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for build-and-push-image

README.md
[![agentmods](https://agentmods.dev/badge/skills/nebius/nebius-physical-ai/build-and-push-image/github.svg)](https://agentmods.dev/skills/nebius/nebius-physical-ai/build-and-push-image)
Your own site
<a href="https://agentmods.dev/skills/nebius/nebius-physical-ai/build-and-push-image"><img src="https://agentmods.dev/badge/skills/nebius/nebius-physical-ai/build-and-push-image/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for build-and-push-image

Your own site · 80×15
<a href="https://agentmods.dev/skills/nebius/nebius-physical-ai/build-and-push-image"><img src="https://agentmods.dev/badge/skills/nebius/nebius-physical-ai/build-and-push-image.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,060 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.01060
Opus 5 $0.00019 $0.00530
Sonnet 5 $0.00008 $0.00212
Haiku 4.5 $0.00004 $0.00106

Measured 3d ago against content hash 759a709be898, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

build-and-push-image scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/atomic/build-and-push-image/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

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.
  3. 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.
  4. 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.
  5. After push, resolve the immutable digest, repeat exact-digest checks, and verify anonymous pullability. Use that digest for functional GPU validation.
  6. 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.

Read the full file on GitHub · 90 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +16 lines 759a709be898
  2. 5d ago Changed d18c99c0f5d3
  3. 6d ago Changed · +2 lines d49de5d621d0
  4. 11d ago First seen · 72 lines · 39 tokens per session scan A 118df022e157

Subscribe to this mod's changes

build-and-push-image is a skill published in the GitHub repository nebius/nebius-physical-ai (28 stars, last pushed today), licensed Apache-2.0. It adds 39 tokens to every session and 1,060 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

compute-env-setup

Set up a reproducible Feynman compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.

companion-inc/feynman · 45 tokens

securing-kubernetes-on-cloud

This skill covers hardening managed Kubernetes clusters on EKS, AKS, and GKE by implementing Pod Security Standards, network policies, workload identity, RBAC scoping, image admission controls, and runtime security monitoring. It addresses cloud-specific security features including IRSA for EKS, Workload Identity for…

xalgorix/xalgorix · 80 tokens

detecting-privilege-escalation-in-kubernetes-pods

Detect and prevent privilege escalation in Kubernetes pods by monitoring security contexts, capabilities, and syscall patterns with Falco and OPA policies.

xalgorix/xalgorix · 40 tokens

implementing-rbac-hardening-for-kubernetes

Harden Kubernetes Role-Based Access Control by implementing least-privilege policies, auditing role bindings, eliminating cluster-admin sprawl, and integrating external identity providers.

xalgorix/xalgorix · 41 tokens

docker-socket-mount

Docker / containerd socket mounted into a container → host RCE. Common in CI runners, GitOps controllers (ArgoCD, Flux), and 'Docker-in-Docker' setups. Single-command escape via docker run --rm --privileged -v /:/host alpine chroot /host.

PurpleAILAB/Decepticon · 67 tokens