azldev-image
What it does
This skill explains how to build and test system images with azldev, using KIWI definitions. It is for developers who create container or virtual machine images in an azldev distribution.
When to use it
- ✓When you need to build a container or virtual machine image from built packages.
- ✓When you want to boot a built image in a test virtual machine.
- ✓When you need to register or change an image's settings in its config.
Skill link
https://github.com/microsoft/azurelinux/blob/4.0/.agents/skills/azldev-image/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you build the container-base image in our azldev project and boot it in a test virtual machine?”
5 new skills a week. 1 minute to read.
How it works
The agent uses the image list, build, boot and test commands, with the image defined in its config. It checks the flags for the installed version of the tool before running it.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Build and boot images
An image assembles built RPMs into a deliverable — a container or a bootable VM.
azldev drives the build from a kiwi-ng definition; the .kiwi file itself is
upstream KIWI NG (docs) and azldev does not
own its schema.
Commands
Images are selected by their name as a positional argument (not -p).
| Task | Command |
|---|---|
| List images | azldev image list |
| Build an image (kiwi-ng) | azldev image build <name> |
| Boot an image in a QEMU VM | azldev image boot <name> |
| Run an image's tests | azldev image test <name> |
| Customize a pre-built image | azldev image customize |
azldev image build takes --local-repo / --remote-repo to add package sources and
--arch to target an architecture. When the selected distro version defines
kiwi-config-override, azldev passes it to KIWI with --config. These top-level
overrides have highest precedence. azldev image boot takes a built image name, or an
explicit --image-path / --iso. Confirm current flags with
azldev image <command> --help (there are more subcommands, e.g. inject-files).
Registering an image
Images are declared under [images.<name>] (conventionally in an images.toml):
[images.container-base]
description = "Container base image"
definition = { type = "kiwi", path = "container-base/container-base.kiwi", profile = "core" }
architectures = ["x86_64", "aarch64"]
[images.container-base.capabilities]
container = true
systemd = false
[images.container-base.properties]
openssl-fips-provider = "upstream"
[images.container-base.tests]
tests = [{ name = "smoke" }]
definition.typeiskiwi(the only type today);pathpoints at the.kiwifile;profileselects a kiwi profile (optional).- Boolean
capabilitiesare tri-state flags describing the image —machine-bootable,container,systemd,runtime-package-management,wsl,installer-media,fips-enabled, andcvm. Set only the ones that apply. propertiesis an extensible string-to-string metadata bag. For example,openssl-fips-provider = "upstream"records the image's provider policy without requiring azldev to define that property in its schema.architectures = ["x86_64", "aarch64"]is optional; when unset or empty, the image is treated as unrestricted (all recognized architectures). Set it to restrict which architecturesimage build --archallows for the image.tests.testslists the tests or test groupsazldev image testruns locally. An image ref may also setsku-groups = ["<name>", ...]to fan a test or group out across the VM sizes of one or more[sku-groups.<name>]entries; that fan-out is done by external test orchestration, not by localazldev image test. Do not mapsku-groupsonto arbitrary LISA tests: LISA tests carry their own requirements and are skipped when the SKU does not meet them, so this is meaningful only for the special case of multi-SKU performance tests.publish.channelslists the channels the image publishes to.
The kiwi definition
The .kiwi file is upstream KIWI NG XML — azldev does not own its schema. It selects the
image type (container vs. VM), package lists, repositories, and boot configuration. See
the KIWI NG documentation for the format and elements.
Generated by azldev docs agent; do not hand-edit.
FAQ
What format defines an image?
Images use KIWI NG definition files, an upstream format that the tool builds from.
Can I boot an image without rebuilding?
Yes. The skill says a built image name or an explicit image file can be booted.
Where is an image registered?
Images are declared in the project's configuration under an images section, conventionally in an images file.
Details
Original description by the author
Read this before building, booting, or configuring an azldev image. Explains the azldev image commands (list, build, boot, test, customize) and the [images.<name>] config (kiwi definition, capabilities, tests, publish); the kiwi XML format itself is upstream KIWI NG. Triggers include image build, image boot, kiwi, container image, VM image, images.toml.
repo: microsoft/azurelinux
Popularity
- GitHub stars
- 5.4k
- Ranking position
- #14963
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
azldev-add-component
5.4kHelps your agent add a new software component to an azldev Linux distribution build, from inspecting the upstream spec to validating the result.
azldev-build-component
5.4kHelps your agent build and debug an azldev package, including the render, build and test loop and fixes for failing build checks.
azldev-comp-toml
5.4kHelps your agent write, edit and review the component definition files that azldev uses to describe how each package is built.
azldev-mock
5.4kHelps your agent test and inspect built packages inside a mock build environment, so they never touch your own computer.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.