asset-pipeline

Build, checksum, and resolve Capsem VM kernel, initrd, and rootfs assets.

68|10|Updated Sep 26, 2025
One-click install
npx skills add https://github.com/google/capsem --skill asset-pipeline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: asset-pipeline
Source: https://github.com/google/capsem/tree/main/skills/asset-pipeline
Command: npx skills add https://github.com/google/capsem --skill asset-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Asset management for Capsem VMs: building, checksumming, resolving, and verifying boot-time assets (kernel, initrd, rootfs) to ensure reliable, reproducible boots.

Core Features & Use Cases

  • Asset build, manifest generation, and per-arch asset organization for multi-arch deployments.
  • Hash verification and boot-time checks to detect mismatches and prevent failed boots.
  • Runtime asset resolution and optional downloads guided by a manifest to streamline asset delivery.

Quick Start

Run just run to repack the initrd, regenerate the manifest, and verify boot hashes.

Frequently Asked Questions about asset-pipeline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate VM boot-time asset resolution and hash verification?

VM boot-time asset resolution and hash verification are automated by generating versioned manifests and applying runtime checks to detect mismatches, preventing failed boots. The pipeline resolves kernel, initrd, and rootfs assets on demand using these manifests.

What's the best way to manage multi-arch VM kernel and rootfs assets?

Managing multi-arch VM kernel and rootfs assets is handled through per-arch asset layouts and manifest generation. This organization ensures assets are correctly mapped and resolved for each architecture during boot preparation.

How do I build and checksum Capsem VM boot assets?

Building and checksumming Capsem VM boot assets involves repacking the initrd, regenerating the manifest, and verifying boot hashes. Running the quick start command executes this full end-to-end asset preparation cycle.

Why does my VM boot fail after an asset update?

VM boot failures after an asset update often occur when boot-time hash verification detects a checksum mismatch. The pipeline applies runtime checks against versioned manifests to catch these mismatches and prevent unreliable boots.

Do I need per-arch asset layouts for multi-arch VM deployments?

Per-arch asset layouts are required for multi-arch VM deployments to ensure correct asset organization and manifest generation. The pipeline relies on these layouts to securely resolve and verify boot assets across different architectures.

Can I download VM boot assets on demand during runtime?

Downloading VM boot assets on demand during runtime is supported through manifest-guided asset resolution. The pipeline streamlines asset delivery by resolving and fetching kernel, initrd, and rootfs files as needed at boot time.