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.
npx -y skills add prashantdivate/awesome-yocto-ai-agent-skills --skill yocto-image-analysisAssembled 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
- Identify image recipe,
MACHINE,DISTRO, package format, and actual deploy directory. - Collect image manifests, package data, dependency graphs, and buildhistory when available.
- Trace inclusion from image recipe, packagegroups, features, runtime dependencies, recommends, and distro/machine policy.
- Estimate "what-if" changes by checking dependency chains before editing metadata.
- Route recipe changes to
$yocto-recipe-maintenanceand 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
- image-analysis-playbook.md: why/what-if/image-size workflows.
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.