agentsclimarketplace

Yocto image analysis

Skill prashantdivate/awesome-yocto-ai-agent-skills/yocto-image-analysis

Claude Agent Skills for Yocto Project, OpenEmbedded, and BitBake workflows - AI coding assistant skills for recipes, layers, images, BSPs, SDKs, metadata, QA, sstate, and build troubleshooting.

Install
npx -y skills add prashantdivate/awesome-yocto-ai-agent-skills --skill yocto-image-analysis

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 29 days oldThe repository was created 29 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Yocto image analysis skill for AI coding agents. Use to explain why a package is in an image, estimate image size impact, compare manifests, inspect package data, analyze dependencies, answer what-if package changes, reduce image footprint, inspect buildhistory, or use oe-pkgdata-util, bitbake -g, image manifests, license manifests, and installed package lists.

SKILL.md

1.8 KB, as published. Nobody here has run it

Yocto Image Analysis

Workflow

  1. Identify image recipe, MACHINE, DISTRO, package format, and actual deploy directory.
  2. Collect image manifests, package data, dependency graphs, and buildhistory when available.
  3. Trace inclusion from image recipe, packagegroups, features, runtime dependencies, recommends, and distro/machine policy.
  4. Estimate "what-if" changes by checking dependency chains before editing metadata.
  5. Route recipe changes to $yocto-recipe-maintenance and build failures to $yocto-build-debug.

Commands

oe-pkgdata-util list-pkgs
oe-pkgdata-util find-path <path>
oe-pkgdata-util lookup-recipe <pkg>
oe-pkgdata-util list-pkg-files <pkg>
bitbake -g <image>
bitbake -e <image>

Use find_image_package_refs.py with a build/repo path and package name for a quick text scan across manifests, package data, and dependency graph files.

References

Guardrails

  • Do not assume a package is directly listed in IMAGE_INSTALL; it may arrive through packagegroups, recommends, shlib deps, or image features.
  • Do not remove packages from an image without checking runtime dependencies and service impact.
  • Do not optimize size blindly; preserve required update, debug, recovery, and compliance artifacts.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.