Yocto Agent Skills

Official-doc-first Yocto Project and BitBake skills for AI coding agents.
Yocto is release-sensitive, deeply configurable, and easy for general LLMs to hallucinate. This repository gives agents focused skills for routing to official documentation, debugging BitBake failures, reviewing recipes, reviewing layers, diagnosing image/rootfs problems, working through BSP/kernel issues, and handling security/SBOM workflows.
Korean documentation: README.ko.md
Skills
skills/yocto-doc-router: release-aware routing to the right Yocto, OpenEmbedded, and BitBake official documentation.
skills/bitbake-debug: task/log/rootfs/package/provider debugging for BitBake build failures.
skills/yocto-recipe-review: recipe, bbappend, bbclass, dependency, packaging, licensing, and override syntax review.
skills/yocto-layer-review: layer.conf, layer compatibility, priority, dependency, provider, and bbappend matching review.
skills/yocto-image-rootfs: image recipes, package names, IMAGE_INSTALL, IMAGE_FEATURES, do_rootfs, pkgdata, and package manager issues.
skills/yocto-bsp-kernel: machine config, BSP layers, kernel providers, devicetree, defconfig, U-Boot, and deploy artifacts.
skills/yocto-security-sbom: license metadata, CVE checks, SPDX/SBOM, archiver/copyleft flows, and compliance artifacts.
The root SKILL.md remains as a compatibility router for hosts that install a repository as a single skill.
What It Helps With
- Debugging BitBake task failures:
do_fetch, do_unpack, do_patch, do_configure, do_compile, do_install, do_package, do_package_qa, do_rootfs, do_image
- Writing and reviewing
.bb, .bbappend, .bbclass, image recipes, machine config, distro config, and layer.conf
- Modernizing BitBake override syntax:
VAR:append, FILES:${PN}, RDEPENDS:${PN}, task overrides, and package overrides
- Reviewing layers, bbappends, provider selection, package splitting, rootfs failures, QA messages, kernel/BSP metadata, and image composition
- Reducing common AI mistakes around
DEPENDS vs RDEPENDS, recipe names vs package names, SRCREV, LIC_FILES_CHKSUM, INSANE_SKIP, host contamination, and sstate cleanup
Installation
Every skill folder is self-contained: it carries the references it links to, so a skill
keeps working when installed on its own.
Claude Code
The repository is also a Claude Code plugin. Add the marketplace and install:
/plugin marketplace add Higangssh/yocto-agent-skills
/plugin install yocto-agent-skills@yocto-skills
All seven skills load as /yocto-agent-skills:<skill>, and Claude invokes them
automatically when a task matches. To try them without installing:
claude --plugin-dir /path/to/yocto-agent-skills
Codex and other collection-aware agents
Install the individual folders under skills/.
mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills"
for skill in yocto-doc-router bitbake-debug yocto-recipe-review yocto-layer-review yocto-image-rootfs yocto-bsp-kernel yocto-security-sbom; do
ln -s "$(pwd)/skills/$skill" "${CODEX_HOME:-$HOME/.codex}/skills/$skill"
done
For hosts that install one folder as one skill, install the repository root:
mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills"
ln -s "$(pwd)" "${CODEX_HOME:-$HOME/.codex}/skills/yocto-agent-skills"
Example Prompts
Use yocto-doc-router to find the current docs for this QA check on my release.
Use bitbake-debug to diagnose this do_rootfs failure.
Use yocto-recipe-review to review this recipe and modernize the override syntax.
Use yocto-layer-review to explain why this bbappend is not being applied.
Use yocto-image-rootfs to find why my package is not in the final image.
Use yocto-bsp-kernel to debug why my devicetree is missing from deploy/images.
Use yocto-security-sbom to review this license checksum and SBOM setup.
Contents