zephyr-module

Create and integrate out-of-tree Zephyr modules with Kconfig, CMake, and West manifests.

59|13|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/beriberikix/zephyr-agent-skills --skill zephyr-module
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: zephyr-module
Source: https://github.com/beriberikix/zephyr-agent-skills/tree/main/skills/zephyr-module
Command: npx skills add https://github.com/beriberikix/zephyr-agent-skills --skill zephyr-module

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill enables creating and integrating out-of-tree Zephyr modules into a project, enabling reuse and modular architecture across Zephyr workspaces.

Core Features & Use Cases

  • Module metadata and discovery via zephyr/module.yml to allow automatic inclusion in builds.
  • Build system integration with Kconfig and CMake so modules compile and configure correctly.
  • West manifest support to add modules to workspaces for distribution and version control.
  • Use Case: Develop a reusable driver package or library hosted as a separate module and include it in multiple Zephyr projects.

Quick Start

Follow the patterns in the references to create a new zephyr/module.yml, wire Kconfig and CMake in the module, and add the module to a West workspace with a west.yml manifest.

Frequently Asked Questions about zephyr-module

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

FAQPage Schema
How do I add an out-of-tree Zephyr module to my project?

To add an out-of-tree Zephyr module, create a zephyr/module.yml file for metadata discovery, wire Kconfig and CMake for build integration, and add the module to your West workspace manifest.

What is zephyr/module.yml used for?

The zephyr/module.yml file provides module metadata that enables automatic discovery and inclusion of external libraries or drivers during Zephyr workspace builds.

How do I configure Kconfig and CMake for a Zephyr module?

Configuring Kconfig and CMake for a Zephyr module involves wiring the build system files according to standard Zephyr patterns to ensure external components compile and configure correctly.

Can I distribute a reusable driver package using a West manifest?

Yes, you can use a West manifest to add modules to Zephyr workspaces, enabling version control and distribution of reusable driver packages or external libraries across multiple projects.

What is the best way to share libraries across multiple Zephyr workspaces?

The best way to share libraries across Zephyr workspaces is developing them as out-of-tree modules with module.yml metadata and including them via West manifests for reliable build integration.