{"id":"97d81cbe-8d8f-4b37-ba1f-711b05a26957","shortId":"ASNtfL","kind":"skill","title":"zephyr-module","tagline":"Creating and integrating out-of-tree Zephyr modules. Covers module.yml configuration, Kconfig and CMake integration within a module, and West manifest inclusion. Trigger when developing reusable libraries, driver packages, or external software components for Zephyr.","description":"# Zephyr Modules\n\nExtend the Zephyr RTOS with reusable, out-of-tree modules that integrate seamlessly with the build system.\n\n## Core Workflows\n\n### 1. Defining a Module\nCreate the directory structure and metadata required for auto-discovery.\n- **Reference**: **[module_definition.md](references/module_definition.md)**\n- **Key Tools**: `zephyr/module.yml`, `zephyr/Kconfig`, `zephyr/CMakeLists.txt`.\n\n### 2. West Manifest Integration\nAdding your module to a workspace for distribution and versioning.\n- **Reference**: **[west_integration.md](references/west_integration.md)**\n- **Key Tools**: `west.yml`, `west update`, `west build -t list_modules`.\n\n### 3. Library Wrapping (Glue Code)\nWrapping external C/C++ libraries as Zephyr modules.\n- **Reference**: **[module_definition.md](references/module_definition.md#the-glue-pattern)**\n- **Key Tools**: `zephyr_library()`, `zephyr_include_directories()`.\n\n## Quick Start (module.yml)\n```yaml\nbuild:\n  cmake: .\n  kconfig: zephyr/Kconfig\n```\n\n## Validation Checklist\n- [ ] `west update` fetches module source from manifest without conflicts.\n- [ ] `west build -t list_modules` shows the module as discovered.\n- [ ] Module Kconfig options appear and can be enabled in build configuration.\n- [ ] Module sources are compiled and linked into the target application as expected.\n\n## Automation Tools\n- **[module_manifest_check.py](scripts/module_manifest_check.py)**: Validate required `build.cmake` and `build.kconfig` fields in `module.yml`.\n\n## Examples & Templates\n- **[module_yml_template.yml](assets/module_yml_template.yml)**: Starter module manifest for out-of-tree integration.\n\n## Resources\n\n- **[References](references/)**:\n  - `module_definition.md`: Structure and module.yml specification.\n  - `west_integration.md`: Manifest configuration and discovery tools.\n- **[Scripts](scripts/)**:\n  - `module_manifest_check.py`: Module manifest consistency checker.\n- **[Assets](assets/)**:\n  - `module_yml_template.yml`: Minimal `zephyr/module.yml` template.","tags":["zephyr","module","agent","skills","beriberikix","agent-skills","agentic-coding","zephyr-rtos"],"capabilities":["skill","source-beriberikix","skill-zephyr-module","topic-agent-skills","topic-agentic-coding","topic-zephyr-rtos"],"categories":["zephyr-agent-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/beriberikix/zephyr-agent-skills/zephyr-module","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add beriberikix/zephyr-agent-skills","source_repo":"https://github.com/beriberikix/zephyr-agent-skills","install_from":"skills.sh"}},"qualityScore":"0.462","qualityRationale":"deterministic score 0.46 from registry signals: · indexed on github topic:agent-skills · 25 github stars · SKILL.md body (2,005 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-24T07:01:43.276Z","embedding":null,"createdAt":"2026-04-18T23:05:06.057Z","updatedAt":"2026-04-24T07:01:43.276Z","lastSeenAt":"2026-04-24T07:01:43.276Z","tsv":"'1':62 '2':85 '3':112 'ad':89 'appear':170 'applic':187 'asset':236,237 'assets/module_yml_template.yml':205 'auto':75 'auto-discoveri':74 'autom':190 'build':58,108,142,158,176 'build.cmake':196 'build.kconfig':198 'c/c':119 'checker':235 'checklist':147 'cmake':18,143 'code':116 'compil':181 'compon':37 'configur':15,177,225 'conflict':156 'consist':234 'core':60 'cover':13 'creat':4,66 'defin':63 'develop':29 'directori':68,137 'discov':166 'discoveri':76,227 'distribut':96 'driver':32 'enabl':174 'exampl':202 'expect':189 'extend':42 'extern':35,118 'fetch':150 'field':199 'glue':115,129 'includ':136 'inclus':26 'integr':6,19,54,88,214 'kconfig':16,144,168 'key':80,102,131 'librari':31,113,120,134 'link':183 'list':110,160 'manifest':25,87,154,208,224,233 'metadata':71 'minim':239 'modul':3,12,22,41,52,65,91,111,123,151,161,164,167,178,207,232 'module.yml':14,140,201,221 'module_definition.md':78,125,218 'module_manifest_check.py':192,231 'module_yml_template.yml':204,238 'option':169 'out-of-tre':7,48,210 'packag':33 'pattern':130 'quick':138 'refer':77,99,124,216,217 'references/module_definition.md':79,126 'references/west_integration.md':101 'requir':72,195 'resourc':215 'reusabl':30,47 'rtos':45 'script':229,230 'scripts/module_manifest_check.py':193 'seamless':55 'show':162 'skill' 'skill-zephyr-module' 'softwar':36 'sourc':152,179 'source-beriberikix' 'specif':222 'start':139 'starter':206 'structur':69,219 'system':59 'target':186 'templat':203,241 'the-glue-pattern':127 'tool':81,103,132,191,228 'topic-agent-skills' 'topic-agentic-coding' 'topic-zephyr-rtos' 'tree':10,51,213 'trigger':27 'updat':106,149 'valid':146,194 'version':98 'west':24,86,105,107,148,157 'west.yml':104 'west_integration.md':100,223 'within':20 'without':155 'workflow':61 'workspac':94 'wrap':114,117 'yaml':141 'zephyr':2,11,39,40,44,122,133,135 'zephyr-modul':1 'zephyr/cmakelists.txt':84 'zephyr/kconfig':83,145 'zephyr/module.yml':82,240","prices":[{"id":"243e20ad-0953-4f49-aa33-0fd4ccfb7156","listingId":"97d81cbe-8d8f-4b37-ba1f-711b05a26957","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"beriberikix","category":"zephyr-agent-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T23:05:06.057Z"}],"sources":[{"listingId":"97d81cbe-8d8f-4b37-ba1f-711b05a26957","source":"github","sourceId":"beriberikix/zephyr-agent-skills/zephyr-module","sourceUrl":"https://github.com/beriberikix/zephyr-agent-skills/tree/main/skills/zephyr-module","isPrimary":false,"firstSeenAt":"2026-04-18T23:05:06.057Z","lastSeenAt":"2026-04-24T07:01:43.276Z"}],"details":{"listingId":"97d81cbe-8d8f-4b37-ba1f-711b05a26957","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"beriberikix","slug":"zephyr-module","github":{"repo":"beriberikix/zephyr-agent-skills","stars":25,"topics":["agent-skills","agentic-coding","zephyr-rtos"],"license":"apache-2.0","html_url":"https://github.com/beriberikix/zephyr-agent-skills","pushed_at":"2026-04-20T21:40:18Z","description":"A complete catalog of Agent Skills (agentskills.io) for Zephyr RTOS development.","skill_md_sha":"a9f69e9ab8254e87ac18b67939429f106210f6c2","skill_md_path":"skills/zephyr-module/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/beriberikix/zephyr-agent-skills/tree/main/skills/zephyr-module"},"layout":"multi","source":"github","category":"zephyr-agent-skills","frontmatter":{"name":"zephyr-module","description":"Creating and integrating out-of-tree Zephyr modules. Covers module.yml configuration, Kconfig and CMake integration within a module, and West manifest inclusion. Trigger when developing reusable libraries, driver packages, or external software components for Zephyr."},"skills_sh_url":"https://skills.sh/beriberikix/zephyr-agent-skills/zephyr-module"},"updatedAt":"2026-04-24T07:01:43.276Z"}}