{"id":"fea991da-9369-4d15-9986-fe5cd0bf79f4","shortId":"nhzDdg","kind":"skill","title":"connectivity-ip","tagline":"IP networking fundamentals for Zephyr RTOS. Covers IoT protocol selection (LwM2M, CoAP, MQTT), IP stack configuration and trimming (IPv4/IPv6, UDP/TCP), and professional SDK integration as Zephyr modules using West manifests. Trigger when building cloud-connected applications, op","description":"# Zephyr Connectivity: IP Networking\n\nBuild memory-efficient, cloud-connected applications using Zephyr's modular IP stack and industry-standard IoT protocols.\n\n## Core Workflows\n\n### 1. Protocol Selection\nChoose the right protocol (LwM2M, CoAP, MQTT) based on your device's power and management needs.\n- **Reference**: **[protocol_selection.md](references/protocol_selection.md)**\n- **Key Tools**: `CONFIG_COAP`, `CONFIG_LWM2M`, `CONFIG_MQTT_LIB`.\n\n### 2. IP Stack Configuration\nTune the networking stack to save Flash and RAM while ensuring reliable communication.\n- **Reference**: **[ip_stack_config.md](references/ip_stack_config.md)**\n- **Key Tools**: `CONFIG_NET_IPV4`, `CONFIG_NET_BUF_RX_COUNT`, DNS resolver.\n\n### 3. SDK & Module Integration\nIntegrate external cloud SDKs and libraries as first-class Zephyr modules.\n- **Reference**: **[sdk_module_integration.md](references/sdk_module_integration.md)**\n- **Key Tools**: `west.yml`, `zephyr/module.yml`, `name-allowlist`.\n\n## Quick Start (Kconfig for CoAP)\n```kconfig\n# Minimal stack for CoAP over UDP\nCONFIG_NETWORKING=y\nCONFIG_NET_UDP=y\nCONFIG_NET_IPV4=y\nCONFIG_COAP=y\nCONFIG_DNS_RESOLVER=y\n```\n\n## Professional Patterns (Cloud Connectivity)\n- **Extreme Trimming**: Disable TCP and IPv6 if not strictly required to reclaim 10KB+ of RAM.\n- **Manifest Control**: Use an `allow-list` in your `west.yml` to prevent cloning hundreds of megabytes of unused vendor modules.\n- **Async DNS**: Use the asynchronous DNS resolver to prevent blocking the main application thread during host lookup.\n\n## Automation Tools\n- **[net_config_audit.py](scripts/net_config_audit.py)**: Audit `prj.conf` networking flags for protocol/profile consistency.\n\n## Examples & Templates\n- **[prj_minimal_coap.conf](assets/prj_minimal_coap.conf)**: Starter footprint-trimmed CoAP-over-UDP configuration.\n\n## Validation Checklist\n- [ ] Device obtains network connectivity and resolves DNS for the configured backend.\n- [ ] Selected protocol path (CoAP, MQTT, or LwM2M) completes connect and message exchange.\n- [ ] Disabled stack features (for example IPv6 or TCP) are absent from final `.config` when trimmed.\n- [ ] RAM/Flash footprint meets the expected optimization target after stack tuning.\n\n## Resources\n\n- **[References](references/)**:\n  - `protocol_selection.md`: LwM2M vs CoAP vs MQTT.\n  - `ip_stack_config.md`: Optimizing buffers and disabling unused protocols.\n  - `sdk_module_integration.md`: West manifest management and SDK modules.\n- **[Scripts](scripts/)**:\n  - `net_config_audit.py`: Quick audit helper for IP stack Kconfig flags.\n- **[Assets](assets/)**:\n  - `prj_minimal_coap.conf`: Baseline minimal IP profile template.","tags":["connectivity","zephyr","agent","skills","beriberikix","agent-skills","agentic-coding","zephyr-rtos"],"capabilities":["skill","source-beriberikix","skill-connectivity-ip","topic-agent-skills","topic-agentic-coding","topic-zephyr-rtos"],"categories":["zephyr-agent-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/beriberikix/zephyr-agent-skills/connectivity-ip","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,669 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:41.709Z","embedding":null,"createdAt":"2026-04-18T23:04:53.086Z","updatedAt":"2026-04-24T07:01:41.709Z","lastSeenAt":"2026-04-24T07:01:41.709Z","tsv":"'1':68 '10kb':203 '2':99 '3':131 'absent':301 'allow':211 'allow-list':210 'allowlist':156 'applic':40,53,238 'asset':351,352 'assets/prj_minimal_coap.conf':257 'async':226 'asynchron':230 'audit':247,344 'autom':243 'backend':279 'base':78 'baselin':354 'block':235 'buf':126 'buffer':328 'build':36,46 'checklist':268 'choos':71 'class':144 'clone':218 'cloud':38,51,137,189 'cloud-connect':37,50 'coap':15,76,93,161,166,181,263,283,323 'coap-over-udp':262 'communic':115 'complet':287 'config':92,94,96,121,124,169,172,176,180,183,304 'configur':19,102,266,278 'connect':2,39,43,52,190,272,288 'connectivity-ip':1 'consist':253 'control':207 'core':66 'count':128 'cover':10 'devic':81,269 'disabl':193,292,330 'dns':129,184,227,231,275 'effici':49 'ensur':113 'exampl':254,296 'exchang':291 'expect':311 'extern':136 'extrem':191 'featur':294 'final':303 'first':143 'first-class':142 'flag':250,350 'flash':109 'footprint':260,308 'footprint-trim':259 'fundament':6 'helper':345 'host':241 'hundr':219 'industri':62 'industry-standard':61 'integr':27,134,135 'iot':11,64 'ip':3,4,17,44,58,100,347,356 'ip_stack_config.md':117,326 'ipv4':123,178 'ipv4/ipv6':22 'ipv6':196,297 'kconfig':159,162,349 'key':90,119,150 'lib':98 'librari':140 'list':212 'lookup':242 'lwm2m':14,75,95,286,321 'main':237 'manag':85,336 'manifest':33,206,335 'meet':309 'megabyt':221 'memori':48 'memory-effici':47 'messag':290 'minim':163,355 'modul':30,133,146,225,339 'modular':57 'mqtt':16,77,97,284,325 'name':155 'name-allowlist':154 'need':86 'net':122,125,173,177 'net_config_audit.py':245,342 'network':5,45,105,170,249,271 'obtain':270 'op':41 'optim':312,327 'path':282 'pattern':188 'power':83 'prevent':217,234 'prj.conf':248 'prj_minimal_coap.conf':256,353 'profession':25,187 'profil':357 'protocol':12,65,69,74,281,332 'protocol/profile':252 'protocol_selection.md':88,320 'quick':157,343 'ram':111,205 'ram/flash':307 'reclaim':202 'refer':87,116,147,318,319 'references/ip_stack_config.md':118 'references/protocol_selection.md':89 'references/sdk_module_integration.md':149 'reliabl':114 'requir':200 'resolv':130,185,232,274 'resourc':317 'right':73 'rtos':9 'rx':127 'save':108 'script':340,341 'scripts/net_config_audit.py':246 'sdk':26,132,338 'sdk_module_integration.md':148,333 'sdks':138 'select':13,70,280 'skill' 'skill-connectivity-ip' 'source-beriberikix' 'stack':18,59,101,106,164,293,315,348 'standard':63 'start':158 'starter':258 'strict':199 'target':313 'tcp':194,299 'templat':255,358 'thread':239 'tool':91,120,151,244 'topic-agent-skills' 'topic-agentic-coding' 'topic-zephyr-rtos' 'trigger':34 'trim':21,192,261,306 'tune':103,316 'udp':168,174,265 'udp/tcp':23 'unus':223,331 'use':31,54,208,228 'valid':267 'vendor':224 'vs':322,324 'west':32,334 'west.yml':152,215 'workflow':67 'y':171,175,179,182,186 'zephyr':8,29,42,55,145 'zephyr/module.yml':153","prices":[{"id":"75da7c9a-6212-4451-bf5d-850901da8c3b","listingId":"fea991da-9369-4d15-9986-fe5cd0bf79f4","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:04:53.086Z"}],"sources":[{"listingId":"fea991da-9369-4d15-9986-fe5cd0bf79f4","source":"github","sourceId":"beriberikix/zephyr-agent-skills/connectivity-ip","sourceUrl":"https://github.com/beriberikix/zephyr-agent-skills/tree/main/skills/connectivity-ip","isPrimary":false,"firstSeenAt":"2026-04-18T23:04:53.086Z","lastSeenAt":"2026-04-24T07:01:41.709Z"}],"details":{"listingId":"fea991da-9369-4d15-9986-fe5cd0bf79f4","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"beriberikix","slug":"connectivity-ip","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":"5071ed0ab28a3ac683944762f7f349949059da5a","skill_md_path":"skills/connectivity-ip/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/beriberikix/zephyr-agent-skills/tree/main/skills/connectivity-ip"},"layout":"multi","source":"github","category":"zephyr-agent-skills","frontmatter":{"name":"connectivity-ip","description":"IP networking fundamentals for Zephyr RTOS. Covers IoT protocol selection (LwM2M, CoAP, MQTT), IP stack configuration and trimming (IPv4/IPv6, UDP/TCP), and professional SDK integration as Zephyr modules using West manifests. Trigger when building cloud-connected applications, optimizing network memory usage, or integrating external cloud SDKs."},"skills_sh_url":"https://skills.sh/beriberikix/zephyr-agent-skills/connectivity-ip"},"updatedAt":"2026-04-24T07:01:41.709Z"}}