AgentStack
SKILL verified MIT Self-run

Qemu Image Layout

skill-processmission-oh-my-qemu-qemu-image-layout · by processmission

Use as a QEMU workflow primitive to describe and verify raw, qcow2, SD, eMMC, flash, or firmware image layouts, including partitions, offsets, write operations, mutation policy, and hashes.

No reviews yet
0 installs
10 views
0.0% view→install

Install

$ agentstack add skill-processmission-oh-my-qemu-qemu-image-layout

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Are you the author of Qemu Image Layout? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

QEMU Image Layout

Use this primitive before packaging or booting any disk, SD, eMMC, flash, pflash, firmware, or multi-partition image.

Composition

  1. Start from qemu-flow-plan.
  2. Use qemu-source-provenance for every input artifact.
  3. Write the image contract to build/agent//image-layout.md.
  4. Feed verified image paths into qemu-boot-run.

Layout Record

Use this structure:

# Image Layout

## Image Summary

| Image | Format | Virtual size | Actual size | SHA256 | Mutable? |
| --- | --- | --- | --- | --- | --- |

## Partition or Region Map

| Region | Start | Size | Type | Filesystem | Purpose | Source |
| --- | --- | --- | --- | --- | --- | --- |

## Write Operations

| Order | Input | Output image | Offset/seek | Block size | Size | Command | Verified by |
| --- | --- | --- | --- | --- | --- | --- | --- |

## Boot-Relevant Files

## Mutation Policy

## Verification Notes

Rules

  • Work on a scratch copy unless the user explicitly wants to mutate the original image.
  • Record byte offsets or sector offsets unambiguously. Include block size when using dd.
  • Record partition start sectors before deriving absolute offsets.
  • Hash the image before and after packaging when repeatability matters.
  • Treat firmware, bootloader, kernel, DTB, rootfs, and modules as separate inputs even when packed into one image.
  • If a boot failure appears after repeated runs, check whether the image was mutated before changing QEMU model code.

Useful Checks

qemu-img info 
fdisk -l 
sfdisk -d 
file 
sha256sum 

Use platform-specific tools only when the local image format requires them, and record the exact command.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.