AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Yocto Agent Skills

skill-higangssh-yocto-agent-skills-yocto-agent-skills · by Higangssh

Official-doc-first Yocto Project and BitBake agent skills for creating or reviewing recipes, layers, images, machine/distro config, bbappends, build logs, QA errors, fetch/patch/package/rootfs failures, and modern BitBake override syntax. Use when working with Yocto/OpenEmbedded files such as .bb, .bbappend, .bbclass, layer.conf, local.conf, bblayers.conf, machine config, distro config, image rec…

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

Install

$ agentstack add skill-higangssh-yocto-agent-skills-yocto-agent-skills

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

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-higangssh-yocto-agent-skills-yocto-agent-skills)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Yocto Agent Skills? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Yocto Agent Skills

Use this root skill as a compatibility router when the full yocto-agent-skills repository is installed as one skill. Prefer the focused skills in skills/ when the host supports skill collections:

  • skills/yocto-doc-router for release-aware official documentation routing.
  • skills/bitbake-debug for task, log, package, rootfs, and build failure debugging.
  • skills/yocto-recipe-review for .bb, .bbappend, .bbclass, dependency, packaging, and override syntax review.
  • skills/yocto-layer-review for layer.conf, layer compatibility, priority, dependencies, and bbappend matching.
  • skills/yocto-image-rootfs for image recipes, package selection, do_rootfs, pkgdata, and package manager failures.
  • skills/yocto-bsp-kernel for machine, BSP, kernel provider, devicetree, U-Boot, and deploy artifacts.
  • skills/yocto-security-sbom for license, CVE, SPDX/SBOM, archiver, and compliance workflows.

Keep Yocto Project help grounded in current official documentation, real BitBake metadata, and build logs. Treat Yocto as release-sensitive: syntax, variables, classes, supported hosts, and QA checks can change by release.

Ground Rules

  1. Identify the user's Yocto release or branch first. If unknown, inspect LAYERSERIES_COMPAT, conf/layer.conf, poky branch, oe-core branch, or the build output. If still unknown, state the assumption and prefer current docs.
  2. Prefer official docs and local metadata over memory. Use [references/shared/official-doc-map.md](references/shared/official-doc-map.md) to route questions to the right manual before giving precise guidance.
  3. Ask for or inspect the smallest useful evidence: the failing task, the first fatal error, the relevant recipe or bbappend, conf/bblayers.conf, conf/local.conf, and tmp/work/.../temp/log.do_*.
  4. Do not present generic Linux fixes as Yocto fixes until you map them to BitBake variables, tasks, classes, packages, or layer configuration.
  5. Prefer modern override style (VAR:override, :append, :prepend, :remove) unless the target release requires old syntax.
  6. Never recommend deleting tmp/, downloads/, or sstate-cache/ as a first fix. Use targeted clean commands and explain rebuild impact.

Workflow

1. Classify the Request

  • Build failure: identify failing task (do_fetch, do_unpack, do_patch, do_configure, do_compile, do_install, do_package, do_package_qa, do_rootfs, do_image, kernel tasks).
  • Recipe work: inspect SUMMARY, LICENSE, LIC_FILES_CHKSUM, SRC_URI, SRCREV, S, inherit, DEPENDS, RDEPENDS:${PN}, FILES:${PN}, PACKAGECONFIG, and custom tasks.
  • Layer work: inspect conf/layer.conf, BBFILE_COLLECTIONS, BBFILES, BBFILE_PATTERN_*, BBFILE_PRIORITY_*, LAYERSERIES_COMPAT_*, LAYERDEPENDS_*, and bbappend coverage.
  • Image work: inspect image recipe, IMAGE_INSTALL, IMAGE_FEATURES, EXTRA_IMAGE_FEATURES, package manager, rootfs logs, and package availability.
  • Machine or distro work: inspect MACHINE, DISTRO, MACHINE_FEATURES, DISTRO_FEATURES, tune, kernel provider, bootloader, and BSP layer dependencies.
  • Syntax or modernization: inspect override syntax, assignment operators, anonymous Python, variable flags, task ordering, and class inheritance.

2. Gather Evidence

Run or request these commands when available:

bitbake-layers show-layers
bitbake-layers show-recipes 
bitbake-layers show-appends
bitbake -e  | less
bitbake -c listtasks 
bitbake -c devshell 
bitbake -c cleansstate 
bitbake -k 
bitbake -g 
oe-pkgdata-util list-pkgs
oe-pkgdata-util find-path '*/path/or/file'

For failures, inspect:

tmp/work////temp/log.do_
tmp/work////temp/run.do_
tmp/work////recipe-sysroot*
tmp/deploy/images//
tmp/deploy/licenses/
tmp/log/

3. Diagnose by Task

  • do_fetch: verify SRC_URI, protocol, branch, SRCREV, checksums, mirrors, credentials, network policy, and DL_DIR.
  • do_unpack: verify archive format, S, subdirectory layout, and multi-source unpack paths.
  • do_patch: verify patch paths in SRC_URI, strip level, patch order, fuzz, upstream status, and whether apply=yes/no is needed.
  • do_configure: verify inherited build class (autotools, cmake, meson, setuptools3, etc.), EXTRA_OECONF, EXTRA_OECMAKE, PACKAGECONFIG, sysroot dependencies, and host contamination.
  • do_compile: verify build-time tools in DEPENDS, cross-compile variables, generated headers, parallel build safety, and class-specific compile hooks.
  • do_install: verify install destination under ${D}, permissions, ownership, systemd/init files, and installed-vs-shipped packaging coverage.
  • do_package / do_package_qa: verify FILES:*, split packages, runtime dependency variables, debug/dev/static package rules, and QA messages.
  • do_rootfs: verify package names, runtime providers, IMAGE_INSTALL, package conflicts, license policy, postinstall scripts, and package feed data.
  • do_image: verify rootfs completion, IMAGE_FSTYPES, image features, boot artifacts, WIC kickstart files, and deploy output.

4. Review Changes

When reviewing a Yocto patch, produce findings first:

  • release compatibility risk
  • syntax or override errors
  • missing license/source integrity fields
  • missing build or runtime dependencies
  • layer priority or bbappend risk
  • packaging gaps, especially installed files not shipped
  • QA suppressions that hide real defects
  • host contamination or non-reproducible behavior
  • excessive cleans, global config changes, or build directory assumptions

5. Use References

  • For official documentation routing, read [references/shared/official-doc-map.md](references/shared/official-doc-map.md).
  • For compact domain guidance, task debugging, metadata syntax, variables, QA checks, and review checklists, read [references/shared/yocto-field-guide.md](references/shared/yocto-field-guide.md).
  • For deeper starter references, read references/bitbake/variables-core.md, references/bitbake/classes-core.md, references/yocto/qa-errors.md, and references/yocto/migration.md as needed.
  • For image/rootfs, BSP/kernel, security/SBOM, and task catalog work, read references/yocto/image-rootfs.md, references/yocto/bsp-kernel.md, references/yocto/security-sbom.md, and references/bitbake/tasks-reference.md.

Output Style

For troubleshooting, answer with:

  1. most likely cause
  2. evidence needed or observed
  3. exact Yocto/BitBake command or metadata change
  4. why it works in Yocto terms
  5. official doc section to verify

For code changes, keep edits minimal and release-aware. Show the changed .bb, .bbappend, .conf, or .bbclass snippet and mention the validation 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.